23 Sep
2009
23 Sep
'09
8:07 a.m.
On 2009-9-22 18:59, Daniel Holth wrote:
At least on Python 2.6, SSHAPasswordManager().checkPassword(hash, password) fails if hash is unicode, which it always is if stored in some databases. SSHAPasswordManager should encode the hash to utf-8 before trying to un-base64.
Isn't that a bug in those databases. The hash is not a unicode string but a bytestring. Wichert. -- Wichert Akkerman <wichert@wiggy.net> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple.