diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2016-06-10 17:00:05 -0400 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2016-06-10 17:00:05 -0400 |
| commit | cc883a81ab27931a05c319a05eac080d6afd9c2d (patch) | |
| tree | 25a05514bdb5465a20960aad201ec9b319a0a229 /docs/lib/passlib.context.rst | |
| parent | e94db1b7b1d2b531f26cc4295e005daa7638b0f3 (diff) | |
| download | passlib-cc883a81ab27931a05c319a05eac080d6afd9c2d.tar.gz | |
passlib.context: deprecating the 'all' preset scheme --
only legitimate use was for 'vary_rounds' option, which is being phased out,
and other uses like 'min_rounds' were a security issue.
* fixed CryptContext() tests to stop uses "all" kwds
* issue dep warning if "all" scheme is used
* issue config warning if anything but "vary_rounds" is used,
since config needs to be changed (regardless of passlib version)
Diffstat (limited to 'docs/lib/passlib.context.rst')
| -rw-r--r-- | docs/lib/passlib.context.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/lib/passlib.context.rst b/docs/lib/passlib.context.rst index 7511170..5dc9d5f 100644 --- a/docs/lib/passlib.context.rst +++ b/docs/lib/passlib.context.rst @@ -299,6 +299,11 @@ Global Algorithm Options option for all the schemes where it was not overridden with an explicit :samp:`{scheme}__vary_rounds` option. + .. deprecated:: 1.7 + + This special scheme is deprecated as of Passlib 1.7, and will be removed in Passlib 2.0. + It's only legitimate use was for ``vary_rounds``, which is also being removed in Passlib 2.0. + .. _user-categories: .. rst-class:: html-toggle |
