On Mon, 21 Sep 2009, Gary V. Vaughan wrote:

So I should be passing the public key of the remote host to libcurl, and not the public part of the private key I'm using to authenticate?

And my next point was going to be that known_hosts provides host key management as defence against MITM attacks, so explicitly requiring a public key (host key, or the public part of my auth key) still seems unnecessary.

It is, but that's because libssh2 only offer such an API still.

--

 / daniel.haxx.se

Reply via email to