diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2011-05-09 12:02:56 -0400 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2011-05-09 12:02:56 -0400 |
| commit | f11e2725199e3073ad381e166f560de5e4f2152a (patch) | |
| tree | 5a2d01c89bc37d25130e347072ae732b71155bc2 | |
| parent | 97bdfdd2315923c1d37fe0870bf79042876937c9 (diff) | |
| download | passlib-f11e2725199e3073ad381e166f560de5e4f2152a.tar.gz | |
note about stray load of bcrypt hash - should add UTs to check passlib.apps & passlib.hosts to detect any more of these
| -rw-r--r-- | passlib/apps.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/passlib/apps.py b/passlib/apps.py index 3b2e5d2..59643bf 100644 --- a/passlib/apps.py +++ b/passlib/apps.py @@ -86,6 +86,8 @@ postgres_context = LazyCryptContext(["postgres_md5"]) #========================================================= phpass_context = LazyCryptContext( schemes=["bcrypt", "bsdi_crypt", "phpass",], + + #XXX: make this lazy as well? causes bcrypt hash to always get loaded default="bcrypt" if hash.bcrypt.has_backend() else "bsdi_crypt", ) |
