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 <[email protected]> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. _______________________________________________ Zope-Dev maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
