libgit2 / libgit2/libgit2sharp
Unable to load shared Lib "git2-106a5f2" or one of its dependencies & "Negotiate" authentication is not supported
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- C#
- Estrellas
- 3.5k
- Forks
- 925
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con los pasos de reproducción usando LibGit2Sharp 0.26.2 y 0.27.0-preview-0182 en el contenedor Linux de .NET 6 descrito. Inspecciona el callback de CloneOptions usando DefaultCredentials y compara los fallos de carga de la biblioteca nativa y los fallos de Negotiate entre esas versiones. Se considera terminado cuando el fallo relevante es reproducible y se documenta su resolución compatible o su limitación.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp, git, linux
- Área
- authentication, backend, operating-systems
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100