[Zope-dev] zope.password

Wichert Akkerman wichert at wiggy.net
Wed Sep 23 04:07:32 EDT 2009


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 at wiggy.net>   It is simple to make things.
http://www.wiggy.net/                  It is hard to make things simple.


More information about the Zope-Dev mailing list