libgit2 / git2go

Git to Go; bindings for libgit2. Like McDonald's but tastier.
MIT License
1.93k stars 316 forks source link

Expose the ssh.PublicKey into the CertificateCheckCallback (#818) #821

Closed github-actions[bot] closed 3 years ago

github-actions[bot] commented 3 years ago

This change exposes the raw SSH hostkey and the ssh.PublicKey into the CertificateCheckCallback, so that callers can do better validations.

(cherry picked from commit dcc9331226b5ec340fe4cf7fa3f6b5188d8779e9)

lhchavez commented 3 years ago

not supported in this version