cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl or libssh2 somewhat random authentication failures

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 21 Mar 2008 08:32:05 -0700

On Fri, Mar 21, 2008 at 03:01:40PM +0100, Yang Tse wrote:
> The failure happens in lib/ssh.c when
> libssh2_userauth_publickey_fromfile() is called it fails with "SSH
> public key authentication failed: Invalid signature for supplied
> public key, or bad username/public key combination".
>
> But it is a really absurd failure. Previous to this failure other 6XX
> tests have run and have authenticated properly. And after the failure
> other 6XX tests also authenticate properly. And even further, when the
> SFTP/SCP server is started the test harness performs a valid
> authentication. So I mostly suspect that the problem is with the code
> itself and not a 'key' real problem.

That's pretty bizarre. Note that someone has posted a couple of logs for
the "good" and "bad" scenarios as part of a bug report:

http://sourceforge.net/tracker/index.php?func=detail&aid=1832491&group_id=125852&atid=703942

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-03-21