On Jan 13, 2010, at 5:13 AM, Daniel Stenberg wrote:
> On Wed, 13 Jan 2010, Simon Josefsson wrote:
>> The agent code has been sitting in libssh2 for some time, and I don't recall any reports about it. Maybe it would help to get it more tested if we make a release? It would be great to have that support in debian squeeze, since it allows applications to do smart-card authentication with libssh2.
> I'm all for it! Let's aim at a release next week to give a few more days to cleanup or whatever.
There's still the fix for incorrect username/password in userauth.c that I don't think is in; here's the synopsis:
Begin forwarded message:
> From: Dave McCaldon <davem_at_intersystems.com>
> Date: November 25, 2009 4:18:50 PM EST
> To: libssh2 development <libssh2-devel_at_cool.haxx.se>
> Subject: [PATCH] userauth.c: libssh2_userauth_password() to handle SSH_MSG_USERAUTH_FAILURE
> Reply-To: libssh2 development <libssh2-devel_at_cool.haxx.se>
> Attached is a patch to libssh2_userauth_password() to handle a failed login (i.e. bad username and/or password). When a failed login occurs, the server responds with SSH_MSG_USERAUTH_FAILURE which isn't handled in libssh2_userauth_password() and it ends up dropping out with -1, but the error code given is LIBSSH2_ERROR_EAGAIN, which isn't correct.
Received on 2010-01-13