Daniel Stenberg wrote:
> On Wed, 15 Dec 2010, Mark Riordan wrote:
>
> > Is there a way in libssh2 to derive the public key from the private key, or
> > otherwise make it unnecessary for the user to have the public key file?
> > I've been reading the doc (and the code a bit) and haven't figured one out
> > yet.
>
> Are you looking for Mark Smith's patch perhaps?
>
> http://www.libssh2.org/mail/libssh2-devel-archive-2010-12/0009.shtml
>
> We've been discussing on IRC recently how to proceed with this due to the
> missing gcrypt support, but I think I'm in favour of adding this feature for
> openssl-builds as a start even if nobody steps up to do the gcrypt side of it
> just yet.
>
Is this related to the fact the libgcrypt can't decode
passphrase encrypted private RSA keys ?
>
> --
>
> / daniel.haxx.se
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
-- Paul Romero RCOM Communications Software Phone/Fax: (510)339-2628 E-Mail: paulr_at_rcom-software.com _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2010-12-16