On windows 10 create keys "TLS 1.3\Client" under "Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols"
and two DWORDS "DisabledByDefault" with value 0 and Enabled with value 1.
Then create a repository and add a remote with https://github.com/libgit2/libgit2sharp.git and run a git fetch.
Expected behavior
No error fetch is executed
Actual behavior
Error "could not decrypt tls message"
Version of LibGit2Sharp (release number or SHA1)
LibGit2Sharp 0.30.0 but can also be reproduced with 0.27.2
Operating system(s) tested; .NET runtime tested
Win 10 22H2 x64 .NET 4.8
This issue can also reproduced with the LibGit2Sharp.Tests
Reproduction steps
On windows 10 create keys "TLS 1.3\Client" under "Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols" and two DWORDS "DisabledByDefault" with value 0 and Enabled with value 1.
Then create a repository and add a remote with https://github.com/libgit2/libgit2sharp.git and run a git fetch.
Expected behavior
No error fetch is executed
Actual behavior
Error "could not decrypt tls message"
Version of LibGit2Sharp (release number or SHA1)
LibGit2Sharp 0.30.0 but can also be reproduced with 0.27.2
Operating system(s) tested; .NET runtime tested
Win 10 22H2 x64 .NET 4.8
This issue can also reproduced with the LibGit2Sharp.Tests