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

Reply via email to