Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git Fetch fails with could not decrypt tls message when TLS 1.3 is allowed #2089

Open
pde-cds opened this issue Apr 11, 2024 · 0 comments
Open

Comments

@pde-cds
Copy link

pde-cds commented Apr 11, 2024

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.
image
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant