summaryrefslogtreecommitdiff
path: root/passlib/tests/test_frontend.py
Commit message (Collapse)AuthorAgeFilesLines
* large rearrangment of structureEli Collins2011-02-161-4/+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)
* wow. lots of rearrangingEli Collins2011-01-281-4/+4
| | | | | | | | ======================== * back to 1.2 structure * moved h64 helpers into utils.h64 module * pared down CryptHandler * tightened UTs somewhat
* ExtCryptHandlerEli Collins2011-01-201-2/+2
| | | | | | | | | | | | | | =============== * renamed CryptHandlerHelper to ExtCryptHandler * moved parse/render interface to ExtCryptHandler, formalized it somewhat * added default identify() and verify() methods to ExtCryptHandler * sha crypt: tweaked render() to be able to create config strings * sha crypt: added implicit_rounds kwd support to encrypt() * bcrypt: changed 'ident' kwd to use 'omit_null_suffix' (defaults to True) * bcrypt: added render() method (can also create config strings) * all UTs passed * TODO: add UTs for ExtCryptHandler subclasses - mainly, verify that parse() and render() work correctly
* bugfixin'Eli Collins2011-01-191-20/+26
| | | | | | | | | ========= * bumped to 1.3 * refactored UTs a little bit * updated UTs to match new layout & protocols * lots of bug fixes * all UTs pass
* relocated passlib.hash.XXX to passlib.XXX; all UTs passEli Collins2011-01-141-0/+102