Will,
I found the problem: be careful with leading/trailing whitespace with
the keys. I augmented my application to first remove leading and
trailing whitespaces from the key data and it now works as expected.
Knowing from your tip that the key is just a copy if keyfile without
decoding saved m
The frommemory() function takes a buffer that is the contents of the key file
including header, etc with no decoding. It only works with the OpenSSL backend
at the moment, IIRC.
Cheers,
Will
> I authenticate using libssh2_userauth_publickey_fromfile() and it
> works just fine. But when I switc