summaryrefslogtreecommitdiff
path: root/passlib/drivers
Commit message (Collapse)AuthorAgeFilesLines
* big rename: driver->handlerEli Collins2011-03-2215-2932/+0
| | | | | | =========================== 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.
* bugfixes to ldap schemesEli Collins2011-03-221-0/+2
|
* documentation work & rearrangingEli Collins2011-03-221-0/+59
| | | | | | | | | | ================================ * added documentation for overview, ldap digests * lots of other documentation updates * renamed passlib.unix -> passlib.hosts * renamed passlib.sqldb -> passlib.servers * added passlib.servers.custom_app_context for quickstart purposes * added ldap {CLEARTEXT} support
* removed postres_plaintext, redundantEli Collins2011-03-181-32/+0
|
* coverage workEli Collins2011-03-183-7/+8
| | | | | | | | | | | ============= * restored "default" mode for set_backend() * bugfix: HandlerCase now sets backend explicitly, incorrect backend checks were previously happening * added UT for genhash(secret, None) * enabled HandlerCase.supports_unicode for all hashes * added some needed test cases revealed by coverage check * added "pragma: no cover" for a select few branches that don't need testing * all UTs pass, 92% coverage
* added Oracle 10 & 11 password hashes, with docs & UTsEli Collins2011-03-181-0/+186
|
* disabled pure-python bcrypt backend - just too painfully slow to count as ↵Eli Collins2011-03-171-15/+24
| | | | "supporting" bcrypt
* bugfixesEli Collins2011-03-172-5/+5
| | | | | | | | | | ======== * bugfix: test_apache now backdates mtime on files instead of time.sleep() - more reliable across OS's * bugfix: bcrypt & md5_crypt used classmethod() on _has_backend_xxx attrs instead of classproperty() * added backendmixin test suite to HandlerCase to detect regression of above backend bug * added test case for CryptContext.replace() * added setUp/cleanUp support to create_backend_case() (fixes ut test bug) * all UTs passed
* apache & misc workEli Collins2011-03-151-4/+4
| | | | | | | | ================== * added prelim helpers for htpasswd & htdigest * bugfix to ldap hashes * added CryptContext.replace() back * NOTE: all above need UTs and docs
* added ldap's {MD5} {SHA} {SMD5} {SSHA} formats (still needs docs & UTs)Eli Collins2011-03-151-0/+122
|
* documentation workEli Collins2011-03-142-4/+6
| | | | | | | ================== * finished password hash api description * various documentation cleanups * removed unused quickstart doc
* supporting hashes addedEli Collins2011-03-143-2/+173
| | | | | | | | ======================= * added unix_fallback scheme, for detecting wildcard/disabled passwords in /etc/shadow files * added plaintext scheme, for migrating existing application * added hex md4/md5/sha1/sha256/sha512 schemes, for migrating existing applications * docs & UTs added for above schemes
* finished documenting specific interface details for all existing password hashesEli Collins2011-03-039-61/+166
|
* updated documentation for des-crypt & md5-crypt variantsEli Collins2011-03-033-13/+92
|
* work on interface documentation (bcrypt)Eli Collins2011-03-021-7/+30
|
* HandlerCaseEli Collins2011-02-262-2/+2
| | | | | | | | =========== * refactored common handler test case (HandlerCase) * removed some needless tests * added support for genhash / genconfig * bugfixes to des_crypt & nthash that above changes revealed
* misc documentation cleanupsEli Collins2011-02-251-7/+12
|
* misc documentation updatesEli Collins2011-02-241-1/+1
|
* misc CryptPolicy workEli Collins2011-02-171-0/+2
| | | | | | | | | ===================== * simplified from_sources() code to use iteritems() * renamed as_dict / as_string / as_file -> to_dict() / to_string() / to_path(), for consistency * CryptContext default rounds now accounts for log2 rounds func * CryptPolicy.replace() allows clone+mutate of existing policies (ala datetime.replace) * removed CryptPolicy.iteritems() 'minimal' kwd - needless complication
* bigcrypt/crypt16 workEli Collins2011-02-171-1/+1
| | | | | | ===================== * added doc files * bugfix to bigcrypt (w/ UT for it)
* added bigcrypt & crypt16 as described in perl Authen-Passphrase documentationEli Collins2011-02-161-1/+140
|
* large rearrangment of structureEli Collins2011-02-1612-224/+96
| | | | | | | | | | | | | | | | | | | | =============================== * 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)
* moved passlib.hash to passlib.driversEli Collins2011-02-1612-0/+2187