libgit2 / libgit2/libgit2sharp

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

オープン
#2,089 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
C#
スター
3.5k
フォーク
925
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、TLS 1.3 を有効にした Windows 10 で報告された LibGit2Sharp.Tests の再現手順を実行し、その後 “could not decrypt tls message” エラーを発生させる HTTPS fetch の経路を追跡します。fetch がこのエラーなしで完了し、既存のテストスイートで回帰がカバーされれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp, git
領域
networking, security
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。