libgit2 / libgit2/libgit2sharp

Unable to load shared Lib "git2-106a5f2" or one of its dependencies & "Negotiate" authentication is not supported

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

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

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

説明

Reproduction steps

Our .net 6 app uses LibGit2Sharp 0.26.2 version . Our git is in Bitbucket which accepts Kerberos via SPNEGO. It all works fine in our windows environment. when we do dotnet publish ...... -r linux-x64 , I see that the 'git2-106a5f2' is also copied. A container is created with Linux/ubi7 to run the app, where we get the Unable to load shared Lib "git2-106a5f2" or one of its dependencies

Later I upgraded it to 0.27.0-preview-0182 which fixed Unable to load shared Lib "git2-106a5f2". However, it start throwing "Negotiate" authentication is not supported when Repo.Clone is called with CloneOptions.

CloneOptions is given a new DefaultCredentials() call back , to work with SPNEGO.

Version of LibGit2Sharp (release number or SHA1)

LibGit2Sharp 0.26.2 - Unable to load shared Lib "git2-106a5f2"

0.27.0-preview-0182 - "Negotiate" authentication is not supported

Operating system(s) tested; .NET runtime tested

.net 6

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

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

はじめの一歩

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

調査の方向性

説明されている .NET 6 Linux コンテナーで LibGit2Sharp 0.26.2 と 0.27.0-preview-0182 を使用して、まず再現手順を確認します。DefaultCredentials を使用する CloneOptions コールバックを調査し、これらのバージョン間でネイティブ ライブラリの読み込み失敗と Negotiate の失敗を比較します。関連する失敗を再現でき、そのサポートされている解決策または制限事項が文書化されていれば完了です。

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

評価

技術スタック
csharp, git, linux
領域
authentication, backend, operating-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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