Subject: Re: userauth_publickey_fromfile() fails occasionally for no reason

Re: userauth_publickey_fromfile() fails occasionally for no reason

From: Peter Stuge <peter_at_stuge.se>
Date: Thu, 17 Dec 2009 10:09:29 +0100

Simon Josefsson wrote:
> I'm not sure what you are referring to here. What I think the code
> is assuming is that we know exactly how the DSA S-exp outputs looks
> like,

The assumption is about how the r and s integer data is stored in the
sexp (leading 0 byte) and I think it'd be better to only use the MPI
API to fetch them.

Simon Josefsson wrote:
> So rather than having me revert the patch I pushed and cause more
> confusion, let's see if you can test the new patch (post it to the
> list?) and let you/Peter push that.

*nods* Yes, no need to revert. The suggested patch is attached,
although it may apply only without Kamil's patch attached.

//Peter

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Received on 2009-12-17