summaryrefslogtreecommitdiff
path: root/passlib/unix.py
Commit message (Collapse)AuthorAgeFilesLines
* large rearrangment of structureEli Collins2011-02-161-2/+2
| | | | | | | | | | | | | | | | | | | | =============================== * 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)
* added netbsd's sha1-crypt (needs doc)Eli Collins2011-02-091-2/+2
|
* misc fixesEli Collins2011-02-071-6/+6
| | | | | | | ========== * CryptContext.is_compliant() now checks rounds parameter * some typo fixes * removed docs from CryptHandler - text is now in docs/password_hash_api.rst
* sql workEli Collins2011-02-071-1/+16
| | | | | | | | ======== * combined passlib.mysql, passlib.postgres -> passlib.sqldb (contents were too small to be worth multiple modules) * added helper to read postgres plaintext passwords * added documentation for passlib.sqldb
* bugfixeEli Collins2011-02-071-1/+1
|
* major work on policy systemEli Collins2011-02-041-13/+15
| | | | | | | | | | | | | | | | | =========================== * added documentation detailing policy system's keys and functionality * split policy-related code out of CryptContext into CryptPolicy object * added 'category' kwd to all relevant CryptContext methods * implemented parsing & introspection methods for CryptPolicy * added rounds management to CryptContext, per policy specification * attempt at documenting passlib.unix (incomplete) TODO ---- * ability to create composite CryptPolicy objects * per-hash handling of policy compliance checks * UTs for policy system
* added DisabledHandler to all unix contexts; checked BSDs for exactly which ↵Eli Collins2011-02-031-8/+51
| | | | algorithms they support
* rearranged some modulesEli Collins2011-01-301-1/+1
|
* wow. lots of rearrangingEli Collins2011-01-281-0/+26
======================== * back to 1.2 structure * moved h64 helpers into utils.h64 module * pared down CryptHandler * tightened UTs somewhat