libgit2 / libgit2/libgit2sharp

libgit2sharp-ssh :user cancelled certificate check exception

Open
#1,600 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
3.5k
Forks
925
PR merge metrics
No merged PRs in 30d

Description

Reproduction steps

win7/win 10 using the libgit2sharp-ssh 1.0.2
clone repository using app written in visual studio 2015 update 3
throw exception : "user cancelled certificate check"
(when cloning using gitBash not with code works fine )

Expected behavior

clone via https under corporate proxy

Actual behavior

my app was using libgit2sharp version 0.22.0 and everything was working fine, also under corporate proxy .
after updating the dll to libgit2sharp-ssh i get the exception : "user cancelled certificate check" when using https/http (ssh option works ok)

Version of LibGit2Sharp (release number or SHA1)

ibgit2sharp-ssh 1.0.2

Operating system(s) tested; .NET runtime tested

C# .net 4.5

is libgit2sharp-ssh not support proxy ?
if not, how can i implement connection to git with https/http and ssh with corporate proxy .

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the HTTPS/HTTP clone with LibGit2Sharp-SSH 1.0.2 on .NET 4.5 behind a corporate proxy, comparing it with version 0.22.0 and the working SSH path. Investigate the certificate-check exception and proxy behavior; done means establishing whether proxy support is expected and providing a verified fix or documented limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, git
Domain
devtools, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.