Subject: RE: Using libssh2_userauth_publickey_fromfile() when I don't havea public key

RE: Using libssh2_userauth_publickey_fromfile() when I don't havea public key

From: Mark Smith <mts-filtered_at_avcosystems.co.uk>
Date: Fri, 5 Nov 2010 09:23:50 -0000

Jose wrote:
> I've been looking at that, too. The public key can be derived
> (extracted) from the private key,
> but that requires logic to do so. That logic is not available in
> libssh2, maybe because
> it is not SSH, but crypto functionality.

This is the (openssl) patch I use, last applied against 1.2.6, supplied by
another user some time ago. It's certainly not in a state to commit, but
what I can say is that it seems to work for me. I never found a gcrypt
equivalent.

Regards,

-- 
Mark Smith


_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Received on 2010-11-05