diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2020-05-12 12:05:34 -0400 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2020-05-12 12:05:34 -0400 |
| commit | fd5f041dbd807f18cb250ce13c16c0c4b7362cac (patch) | |
| tree | 9800afab0ea3da684d7623d111012182f520fcbc /docs/lib/passlib.exc.rst | |
| parent | 75971aa30aa80a6ec24861b8afb3d38151b1fa44 (diff) | |
| download | passlib-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.rst | 2 |
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 |
