8000 Add support for libgit2 git_transport_certificate_check_cb · Issue #505 · libgit2/objective-git · GitHub
[go: up one dir, main page]

Skip to content
Add support for libgit2 git_transport_certificate_check_cb #505
Open
@phatblat

Description

@phatblat

It looks like the old way of providing libgit2 with certificate locations doesn't work without OpenSSL #499.

After a little bit of research, I think that
git_transport_certificate_check_cb (part of git_remote_callbacks) needs to be exposed somehow so that applications can provide custom server trust validation. This may be essential for sandboxed apps if the new SecureTransport support in libgit2 doesn't already tap into the root CA certs.

This callback was added in libgit2 0.22

Update: This callback appears to be unnecessary for normal certificate validation. It's only needed for providing a custom cert.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0