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: Alexander Lamaison <swish_at_lammy.co.uk>
Date: Fri, 5 Nov 2010 09:34:07 +0000

On 5 November 2010 09:23, Mark Smith <mts-filtered_at_avcosystems.co.uk> wrote:
> 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.

Just skimming it, it looks pretty good. What work does it still need?

Alex
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-11-05