diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2012-04-09 15:29:44 -0400 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2012-04-09 15:29:44 -0400 |
| commit | 34f766f4a2f11b19ce233e136e435c131531e42c (patch) | |
| tree | 8f9a0ffd3f091c2e14b2447093e6faf1791b710b /docs | |
| parent | ba4550d9dc9d12bf3ee714fb05040ebbf4adb8e8 (diff) | |
| download | passlib-34f766f4a2f11b19ce233e136e435c131531e42c.tar.gz | |
removed default policy file & object
was using default policy to store recommended defaults for hashes,
but it only affects CryptContext objects, and users seem to frequent
using the handler objects directly - so going to store recommended
defaults in the handler from now on.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/lib/passlib.context-options.rst | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/docs/lib/passlib.context-options.rst b/docs/lib/passlib.context-options.rst index 042b64a..4f0bcbe 100644 --- a/docs/lib/passlib.context-options.rst +++ b/docs/lib/passlib.context-options.rst @@ -217,14 +217,6 @@ of the category string it wants to use, and add an additional separator to the k the need to use a different hash for a particular category can instead be acheived by overridden the ``default`` context option. -Default Policy -============== -PassLib defines a library-default policy, providing (hopefully) sensible defaults for new contexts. -When a new CryptContext is created, a policy is generated from it's constructor arguments, which is then composited -over the library-default policy. You may optionally override the default policy used by overriding the ``policy`` keyword -of CryptContext. This default policy object may be imported as :data:`passlib.context.default_policy`, -or viewed in the source code under ``$SOURCE/passlib/default.cfg``. - Sample Policy File ================== A sample policy file: |
