summaryrefslogtreecommitdiff
path: root/docs/lib/passlib.context.rst
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2016-06-29 10:53:29 -0400
committerEli Collins <elic@assurancetechnologies.com>2016-06-29 10:53:29 -0400
commit165283cc679059ed16dbf38897bbe07f7ed163c3 (patch)
tree6c2da8650350a84862df2406e7d9c82967be3f1d /docs/lib/passlib.context.rst
parentea62ff70d48b8d30f17b6f3cd7187158fc6999b5 (diff)
downloadpasslib-165283cc679059ed16dbf38897bbe07f7ed163c3.tar.gz
CryptContext: improved handling of global options to be passed to handlers
* now have whitelist of allowed global settings which will be passed to all hashes. all other bare options will be passed to CryptContext itself. * this makes the "all" scheme warnings a bit cleaner -- using the scheme explicitly will now ALWAYS create a warning, and any non-whitelisted global hash setting will also create a warning. * get_scheme_options_with_flag() now filters out any global settings which don't apply to a particular handler; simplifies a HasRounds workaround previously in _create_record(), and makes things more rugged.
Diffstat (limited to 'docs/lib/passlib.context.rst')
0 files changed, 0 insertions, 0 deletions