libgit2 / libgit2/libgit2sharp
Certificate Verification Failed "unknown certificate lookup failure"
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 3.5k
- フォーク
- 925
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I recently updated libgit2sharp (v0.26.2) to the latest v0.30.0.
Some of my product users are located in Taiwan, some are in China, and some are from Europe and the United States.
Before the upgrade, the company's internal repository could be accessed normally through the Repository.Clone API.
(URL and WorkDir only, no other options)
After the upgrade, users located in China will fail and get an error about SSL/TLS being unable to verify, as shown below.
We tried to troubleshoot other network issues and confirmed that all users were on the same OS version and supported TLS 1.2/1.3 only.
And do cross comparison with git CLI (git v2.43.0).
Everyone can download normally through the CLI, and will not encounter SSL/TLS verification errors when using libgit2sharp v0.26.2.
Only users located in China will encounter SSL/TLS verification failure in libgit2sharp v0.30.0.
Version of LibGit2Sharp (release number or SHA1)
v0.30.0
Operating system(s) tested; .NET runtime tested
Windows11
OS Build 22631.3593
Windows Feature Experience Pack 1000.22700.1003.0
.NET Framework 4.7.2
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Repository.Clone API から開始し、libgit2sharp v0.26.2 と v0.30.0 の間で証明書検証の動作を比較します。影響を受ける環境の Windows 11 と .NET Framework 4.7.2 で失敗を再現します。内部リポジトリを SSL/TLS 検証エラーなしでクローンできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, git
- 領域
- devtools, security
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100