summaryrefslogtreecommitdiff
path: root/docs/lib/passlib.context.rst
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2016-06-10 16:46:32 -0400
committerEli Collins <elic@assurancetechnologies.com>2016-06-10 16:46:32 -0400
commite94db1b7b1d2b531f26cc4295e005daa7638b0f3 (patch)
treeb31fd267dc8fd7eebf8d4f261467644dfcd97219 /docs/lib/passlib.context.rst
parent3e9e3d33197d4c7ec66776582a0be0123b816ef0 (diff)
downloadpasslib-e94db1b7b1d2b531f26cc4295e005daa7638b0f3.tar.gz
deprecating the 'vary_rounds' option -- *very* little security benefit,
and not worth the amount of code it requires to support it. * stripped out vary_rounds from all internal presets * added deprecation warning if it's ever used
Diffstat (limited to 'docs/lib/passlib.context.rst')
-rw-r--r--docs/lib/passlib.context.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/lib/passlib.context.rst b/docs/lib/passlib.context.rst
index 595a986..7511170 100644
--- a/docs/lib/passlib.context.rst
+++ b/docs/lib/passlib.context.rst
@@ -209,6 +209,12 @@ in ``schemes``, and :samp:`{option}` one of the parameters below:
:samp:`{scheme}__vary_rounds`
+ .. deprecated:: 1.7
+
+ This option has been deprecated as of Passlib 1.7, and will be removed in Passlib 2.0.
+ The (very minimal) security benefit it provides was judged to not be worth code complexity
+ it requires.
+
Instead of using a fixed rounds value (such as specified by
``default_rounds``, above); this option will cause each call
to :meth:`~CryptContext.hash` to vary the default rounds value