[Zope-dev] zope.password

Daniel Holth dholth at gmail.com
Tue Sep 22 12:59:08 EDT 2009


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.

zope.password is conspicuously missing a DelegatingPasswordManager that
parses hashes in the form of {scheme}hash and uses
getUtility(IPasswordManager, SCHEME) to check a variety of schemes.

Thanks,

Daniel Holth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-dev/attachments/20090922/adf24b2f/attachment.html 


More information about the Zope-Dev mailing list