summaryrefslogtreecommitdiff
path: root/docs/lib/passlib.exc.rst
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2020-05-12 12:05:34 -0400
committerEli Collins <elic@assurancetechnologies.com>2020-05-12 12:05:34 -0400
commitfd5f041dbd807f18cb250ce13c16c0c4b7362cac (patch)
tree9800afab0ea3da684d7623d111012182f520fcbc /docs/lib/passlib.exc.rst
parent75971aa30aa80a6ec24861b8afb3d38151b1fa44 (diff)
downloadpasslib-fd5f041dbd807f18cb250ce13c16c0c4b7362cac.tar.gz
bcrypt / os_crypt backend: now throws new PasswordValueError()
when encoding issue is found, to separate this from an unexpected error when calling crypt.crypt() (these will still raise MissingBackendError). also tweaked internal safe_verify() helper to catch errors thrown by os_crypt backend (MissingBackendError would previously slip through, causing spurious UT failures)
Diffstat (limited to 'docs/lib/passlib.exc.rst')
-rw-r--r--docs/lib/passlib.exc.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/lib/passlib.exc.rst b/docs/lib/passlib.exc.rst
index 10647a3..f6e67ee 100644
--- a/docs/lib/passlib.exc.rst
+++ b/docs/lib/passlib.exc.rst
@@ -15,6 +15,8 @@ Exceptions
.. index::
pair: environmental variable; PASSLIB_MAX_PASSWORD_SIZE
+.. autoexception:: PasswordValueError
+
.. autoexception:: PasswordSizeError
.. autoexception:: PasswordTruncateError