I have a site where I'm happy to let phpBB handle all of the registering of people, but I would like a way to tap into that authentication with my mod_python stuff. With phpBB 2 it was easy since the passwords were stored as a simple MD5 hash, but phpBB 3 wisely added in some salting.
So here are python version of _hash_crypt_private and _hash_encode64 which handle all the magic for phpBB3.
Link:
http://code.google.com/p/scriptsandscriptsandscripts/source/browse/trunk/user_check.py
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment