diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2011-06-04 01:33:57 -0400 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2011-06-04 01:33:57 -0400 |
| commit | d915c25dcfcf02c88b78bbcb5dae3a8a44d14ccf (patch) | |
| tree | c153d6321b2af7331fb8f7d1e2995ae92e125bdd /docs/lib/passlib.context-usage.rst | |
| parent | 4c2cc7645212952daedc9080c20c32083fbeb7ce (diff) | |
| download | passlib-d915c25dcfcf02c88b78bbcb5dae3a8a44d14ccf.tar.gz | |
bugfix: changed CryptPolicy to use SafeConfigParser (as it really should have all along)
* this may break parsing of some files which have "vary_rounds = 10%", that should now read "vary_rounds = 10%%".
* currently detecting that case, and falling back to old behavior + userwarning
* passlib 1.6 will let this be fatal.
Diffstat (limited to 'docs/lib/passlib.context-usage.rst')
| -rw-r--r-- | docs/lib/passlib.context-usage.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/lib/passlib.context-usage.rst b/docs/lib/passlib.context-usage.rst index 8464a1e..8609d6d 100644 --- a/docs/lib/passlib.context-usage.rst +++ b/docs/lib/passlib.context-usage.rst @@ -142,7 +142,8 @@ applications with advanced policy requirements may want to create a hash policy ;the 'vary' field will cause each new hash to randomly vary ;from the default by the specified %. pbkdf2_sha1.default_rounds = 20000 - pbkdf2_sha1.vary_rounds = 10% + pbkdf2_sha1.vary_rounds = 10%% + ; NOTE the '%' above has to be doubled due to configparser interpolation ;applications can choose to treat certain user accounts differently, ;by assigning different types of account to a 'user category', |
