Subject: Re: [libssh2] #248: A small patch to handle private key in memory

Re: [libssh2] #248: A small patch to handle private key in memory

From: Alexander Lamaison <>
Date: Mon, 10 Sep 2012 13:42:00 +0100

>> 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.

On 10 September 2012 13:22, Joe Turpin <> wrote:
> FYI, I was seeking the same functionality not too long ago. I sent in a
> patch back in March to the list:

Indeed you did. Did anyone review it or did it get lost in the list?

If not already done, could someone else review this patch (Dan?
Peter?) I've no time to read anything till October :(

From a quick skim, it seems like it duplicates a lot of code, no?

Swish - Easy SFTP for Windows Explorer (
Received on 2012-09-10