summaryrefslogtreecommitdiff
path: root/docs/lib/passlib.utils.rst
Commit message (Collapse)AuthorAgeFilesLines
* work on des_crypt familyEli Collins2012-04-131-1/+1
| | | | | * cleaned up source of des_crypt variants and DES util functions * DES utils functions now have tighter input validation, full UT coverage
* doc tweaksEli Collins2012-03-101-4/+5
|
* documentation updates for last two commitsEli Collins2012-02-081-6/+3
|
* simplified crypt.crypt() wrappersEli Collins2012-01-191-1/+1
| | | | | | | * safe_crypt() improved - accepts unicode/bytes for salt, checks for NULL, returns None on failure * added test_crypt() wrapper to simplify backend checks. * removed native=True from most to_string() implementations, unused now. * updated UTs
* split exceptions/warnings to separate module; added some additional warning ↵Eli Collins2012-01-181-4/+0
| | | | classes to make filtering easier
* documentation updates for latest round of changesEli Collins2012-01-181-19/+48
|
* deprecated unused int<->bytes utilsEli Collins2012-01-181-2/+0
|
* replaced utils.h64 module with utils.Base64Engine instanceEli Collins2012-01-181-1/+66
| | | | | | | | | | | * new utils.Base64Engine() provides flexible class for encoding arbitrary base64 charmaps. it should also be a bit faster than the old h64 module. * predefined 'h64' instance has mostly the same methods as the old h64 module which it takes the place off - so imports should be unaffected. (the only the exception of the xxx_dc_xxx methods, which now use the 'h64big' instance) * replaced utils._blowfish base64 encoding with custom Base64Engine instance to reduce code duplication. * more through unittests for Base64Engine.
* large rewrite of how CryptPolicy is parsed and compiled; should result in ↵Eli Collins2011-12-221-4/+2
| | | | *much* shorter codepath when calling CryptContext.encrypt(), etc
* all verify() methods now use "constant time" comparison function (see ↵Eli Collins2011-12-011-0/+1
| | | | CHANGELOG for details)
* misc doc changesEli Collins2011-09-141-3/+3
|
* cleaned up and documented HasManyBackends behavior; now raises ↵Eli Collins2011-07-081-0/+2
| | | | MissingBackendError if no backends available
* minor typo & doc tweaksEli Collins2011-06-201-7/+0
|
* misc cleanupsEli Collins2011-06-021-2/+0
|
* small doc updatesEli Collins2011-05-031-0/+25
|
* tightened salt info specifications; improved salt info conformance testsEli Collins2011-05-031-0/+4
|
* initial stab at documenting passlib.utils.handlers, and how to make a custom ↵Eli Collins2011-04-121-5/+0
| | | | handler
* minor additions to documentationEli Collins2011-04-061-0/+5
|
* added a generate_password() convenience methodEli Collins2011-03-291-0/+2
|
* CryptContext documentation: split interface listing to separate file; added ↵Eli Collins2011-03-281-0/+3
| | | | large amount of integration example code
* big rename: driver->handlerEli Collins2011-03-221-1/+1
| | | | | | =========================== Renamed all references from password hash "driver" -> password hash "handler", to be more consistent with existing phrasing. This also required rearranging quite a lot of modules.
* passlib.apache: improved interface; added docs & UTs (all passlib.apache uts ↵Eli Collins2011-03-171-0/+1
| | | | pass)
* large rearrangment of structureEli Collins2011-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | =============================== * moved passlib.hash package to passlib.drivers * combined some passlib.driver modules together (eg ext_des_crypt merged w/ des_crypt) * renamed all hash classes to lower case, to match name attrs. * renamed ext_des_crypt to bsdi_crypt * added special proxy module "passlib.hash" which lazily loads drivers from correct location - registry system reworked, has list of locations for builtin drivers, and capability for apps to add more - passlib.hash *is* the registry, changes to it affect list - thanks to this, documentation can remain, pointing to passlib.hash.xxx as location for driver * moved passlib.utils.handlers to passlib.utils.drivers, renamed classes from XxxHandler -> XxxHash * combined all driver tests into single passlib/tests/test_drivers.py file * NOTE: disabled default unicode testing, not ready for that yet * all driver UTs pass (others not checked)
* cleanupsEli Collins2011-02-141-13/+0
| | | | | | | | | | | | | ======== * removed from utils since they're not used: norm_salt, norm_rounds, gen_salt * commented out from utils since they're not used: abstractmethod, abstractclassmethod, memoized_class_property * removed passlib.hash.__skel - no longer used * rearranged utils.handlers: - all handler helper classes now inherit from eachother - BaseHandler (renamed from WrappedHandler) - ExtHandler (inherits from BaseHandler, was previously the one named BaseHandler) - StaticHandler (inherits from ExtHandler, renamed from PlainHandler) * converted test_handler classes to use ExtHandler & StaticHandler
* work on autogenerating function docstrings for hash modulesEli Collins2011-02-021-3/+1
|
* added nthash support; document updatesEli Collins2011-02-011-1/+1
|
* more work on docEli Collins2011-02-011-3/+1
|
* updated docsEli Collins2011-01-311-0/+79