FYI, I was seeking the same functionality not too long ago. I sent in a
patch back in March to the list:
http://www.libssh2.org/mail/libssh2-devel-archive-2012-03/0134.shtml
On Mon, Sep 10, 2012 at 5:14 AM, libssh2 Trac <trac_at_libssh2.stuge.se> wrote:
> #248: A small patch to handle private key in memory
> --------------------------+-------------------
> Reporter: intron | Owner:
> Type: enhancement | Status: new
> Priority: normal | Milestone: 1.4.3
> Component: API | Version: 1.4.2
> Resolution: | Keywords:
> Blocked By: | Blocks:
> --------------------------+-------------------
>
> Comment (by alamaison):
>
> I'd like to see this feature in libssh2 but as a new API function, not
> using this magic string. In fact, libssh2_userauth_publickey might give
> you all you need to implement this without modifying libssh2 at all.
> Though, of course, it would be nicer to have it included in the API for
> others to benefit.
>
> Also, any solution should address libgcrypt as well.
>
> --
> Ticket URL: <https://trac.libssh2.org/ticket/248#comment:1>
> libssh2 <https://trac.libssh2.org/>
> C library for writing portable SSH2 clients
>
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-09-10