Closed
Description
As far as I can see the remote_callbacks struct is not properly initialized with the certificate_check
callback (https://libgit2.org/libgit2/#v0.23.2/type/git_remote_callbacks).
Lines 384 to 387 in 611a3b3
This makes it impossible to "bypass" certificate checks for example when testing remotes. So I think simply adding to the callback options is enough, but do not quote me on that!
cdata.certificate_check = C._certificate_cb
This also may be the problem for #945
P.S. Its point about certificate_check
vs certificate
still stands so that could also be sorted out.
Metadata
Metadata
Assignees
Labels
No labels