summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/lib/passlib.context-options.rst3
-rw-r--r--docs/lib/passlib.context-usage.rst3
2 files changed, 4 insertions, 2 deletions
diff --git a/docs/lib/passlib.context-options.rst b/docs/lib/passlib.context-options.rst
index 8a6a19e..3792da1 100644
--- a/docs/lib/passlib.context-options.rst
+++ b/docs/lib/passlib.context-options.rst
@@ -206,7 +206,8 @@ A sample policy file:
min_verify_time = 0.1
#set some common options for all schemes
- all.vary_rounds = 10%
+ all.vary_rounds = 10%%
+ ; NOTE the '%' above has to be escaped due to configparser interpolation
#setup some hash-specific defaults
sha512_crypt.min_rounds = 40000
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',