summaryrefslogtreecommitdiff
path: root/passlib/utils
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2019-11-10 10:51:15 -0500
committerEli Collins <elic@assurancetechnologies.com>2019-11-10 10:51:15 -0500
commitff5754b5bf7caaccab3cea32392a7b6b50e47137 (patch)
tree5515ace157460beaebddd1fc6ccd15262a2d703e /passlib/utils
parentb31323a8a2f1ab624269a69e8f765c4ddafbe345 (diff)
downloadpasslib-ff5754b5bf7caaccab3cea32392a7b6b50e47137.tar.gz
argon2 -- added support for type "ID" hashes & for generating type "D" hashes.
* updated requirements to latest version of argon2_cffi & argon2pure; though internal code should work with older versions. * reworked argon2 module internals to handle wider range of hash types; and make default customizable via "type" kwd. * added reference vectors for "D" and "ID" hashes
Diffstat (limited to 'passlib/utils')
-rw-r--r--passlib/utils/handlers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/passlib/utils/handlers.py b/passlib/utils/handlers.py
index a84b33c..bb6f224 100644
--- a/passlib/utils/handlers.py
+++ b/passlib/utils/handlers.py
@@ -1169,6 +1169,7 @@ class HasManyIdents(GenericHandler):
return value
# failure!
+ # XXX: give this it's own error type?
raise ValueError("invalid ident: %r" % (ident,))
#===================================================================