summaryrefslogtreecommitdiff
path: root/docs/lib/passlib.context.rst
Commit message (Collapse)AuthorAgeFilesLines
* passlib.utils.handlers / HasRounds: the 'rounds' keyword is now treatedEli Collins2016-06-101-0/+15
| | | | | | | | | | | as a fallback for 'default_rounds', 'min_rounds', and 'max_rounds'. this makes it easier to specify a django-style policy of "deprecate all hashes which have a differing rounds value". * removed special handling from 'rounds' from CryptContext parser * tweaked affected CryptContext serialization tests * added test for new behavior
* passlib.context: deprecating the 'all' preset scheme --Eli Collins2016-06-101-0/+5
| | | | | | | | | | 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)
* deprecating the 'vary_rounds' option -- *very* little security benefit,Eli Collins2016-06-101-0/+6
| | | | | | | 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
* .encrypt() method renamed to .hash(), other api cleanupsEli Collins2016-06-101-17/+18
| | | | | | | | | | | | | | | | .encrypt() ---------- hash.encrypt() & context.encrypt() have been renamed to .hash(). this should take care of the long-standing issue 21 (the poor naming of .encrypt). per docs, legacy aliases will remain in place until passlib 2.0. .genhash() / .genconfig() ------------------------- taking advantage of this reorganization to also deprecate .genconfig() and .genhash() -- they're not really useful in a modern system, nor as needed for historical support as initially thought: .genconfig() will be retired completely in passlib 2.0; .genhash() is rolled into the new .hash() method along with .encrypt().
* Merge with stableEli Collins2016-02-091-0/+1
|\
| * CryptContext: callers can now provider contextual keywords for any hash in ↵Eli Collins2016-02-081-0/+1
| | | | | | | | | | | | the context, and they will only be passed on for the hashes that support them (fixes issue 63).
* | a few bits of cleanup from min_verify_timeEli Collins2015-01-271-2/+5
|/
* gathered together a few more documentation updatesEli Collins2013-12-281-2/+2
|
* massive cleanup of documentation typos, thanks to Thomas Waldmann (issue 27, ↵Eli Collins2013-12-271-6/+6
| | | | comment 7) (transplant of r1f5b8860b743 from default branch)
* minor documentation updatesEli Collins2013-01-191-0/+45
| | | | | | | | | | | * added some backwards-compat & error handling notes to CryptContext, as suggested by Thomas Waldmann (https://code.google.com/p/passlib/issues/detail?id=27#c2) * clarified alg descriptions and internal comments for lmhash, md5_crypt, cisco, et al * deprecated_method() decorator now checks if ".. deprecated::" stanza already present in docstring * hash_needs_update() won't be removed until release 2.0
* updated to use cloud_sptheme 1.5 -- fancier table layoutsEli Collins2012-09-201-7/+9
|
* _CryptConfig now pre-calculates default scheme for each category, checks ↵Eli Collins2012-07-091-2/+2
| | | | | | | against deprecated list (closes issue 39) * also added some unittests to catch 3 cases covered in issue 39, and some others as well.
* updated various bit of documentation; made 1.6 changelog presentableEli Collins2012-04-301-0/+2
|
* merged rewrite of CryptContext documentation - (near-) full tutorial and ↵Eli Collins2012-04-271-43/+423
| | | | reference
* various documentation updatesEli Collins2011-05-041-1/+6
|
* rearranged/expanded CryptContext docsEli Collins2011-04-261-247/+19
|
* minor additions to documentationEli Collins2011-04-061-2/+4
|
* CryptContext documentation: split interface listing to separate file; added ↵Eli Collins2011-03-281-9/+188
| | | | large amount of integration example code
* documentation updatesEli Collins2011-03-241-12/+14
| | | | | | | | | | | | ===================== * CryptContext docs finished * README / LICENSE updated * license text changed to correct BSD wording * embarassingly, the history.rst is kinda off about release versions. tried to make it give readers better outline. * misc doc updates * some handler names (eg: 'context', 'all') now forbidden by register_crypt_handler() * bumped setup.cfg to b1
* lots of work documenting CryptContext classEli Collins2011-03-231-165/+81
|
* split passlib.base into passlib.registry & passlib.context - the two have ↵Eli Collins2011-03-221-0/+167
little to do with eachother