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

Attachment: libssh2-1.2.6-pubkey.diff
Description: Binary data

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

Reply via email to