diff options
Diffstat (limited to 'passlib/exc.py')
-rw-r--r-- | passlib/exc.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/passlib/exc.py b/passlib/exc.py index 0192951..cb158e7 100644 --- a/passlib/exc.py +++ b/passlib/exc.py @@ -56,6 +56,14 @@ class PasslibRuntimeWarning(PasslibWarning): that the developers would love to hear under what conditions it occurred. """ +class PasslibSecurityWarning(PasslibWarning): + """Special warning issued when Passlib encounters something + that might affect security. + + The main reason this is issued is when Passlib's pure-python bcrypt + backend is used, to warn that it's 20x too slow to acheive real security. + """ + #========================================================================== # eof #========================================================================== |