Subject: Re: Libssh2: Libgcrypt authentication failure

Re: Libssh2: Libgcrypt authentication failure

From: Alexander Lamaison <swish_at_lammy.co.uk>
Date: Sun, 22 Aug 2010 12:54:10 +0100

On 22 August 2010 08:58, Paul Romero <paulr_at_rcom-software.com> wrote:
>
> I am experiencing a problem with libssh2 version 1.2.6 which
> I don't understand. The symptoms are described below and suggest
> the problem is specific to libgcrypt. Any insight about the
> problem would be greatly appreciated
...
>    const char *username="paulr"; /* System Must stripped */
>    const char *password="secret_agent";
>    const char *loclfile="sftp_write_nonblock.c";
...
> while ((rc = libssh2_userauth_publickey_fromfile(session, username,
>        "/home/paulr/.ssh/id_rsa.pub",
>        "/home/paulr/.ssh/id_rsa",
>        password)) == LIBSSH2_ERROR_EAGAIN);

I vaguely remember someone saying that libgcrypt can't handle a
private key with a passphrase. Is this true or am I making things up?

Alex

--
Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org)
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-08-22