Switch password handler to passlib's PBKDF2
authorJeremy Stanley <fungi@yuggoth.org>
Wed, 18 Feb 2015 03:35:59 +0000 (03:35 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Wed, 18 Feb 2015 03:35:59 +0000 (03:35 +0000)
commit70d0f64a6079d83f8937a51c23d4c721cbb6672c
tree278510b77597ed1739bb0ef7ab624e3acfa41385
parent3a2229d8923d5240b2a7c95dafc8a6e0b35e06da
Switch password handler to passlib's PBKDF2

The passlib implementation of PBKDF2 is strong, portable and more
heavily audited. Use that instead of implementing our own custom
handler. Also simplify password use by dropping optional parameters
from the create and verify functions, and don't bother carrying the
old upgrade_legacy_hash public function forward; it can be reworked
to provide in-place hash upgrades later if desired.
lib/mudpy/password.py
requirements.txt