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)
commite40b7da21f76047bb09e7c34e19a0d34797870e8
tree899bf2ca4635281b846e4b676e75d01aed3ceb69
parent06fca9a6a48ba9209a7ba34a2022254d8c7940c9
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