summaryrefslogtreecommitdiff
path: root/passlib/tests/test_sha_crypt.py
Commit message (Collapse)AuthorAgeFilesLines
* wow. lots of rearrangingEli Collins2011-01-281-123/+0
| | | | | | | | ======================== * back to 1.2 structure * moved h64 helpers into utils.h64 module * pared down CryptHandler * tightened UTs somewhat
* misc updatesEli Collins2011-01-241-6/+4
| | | | | | | | | | | ============ * wrote up info about sha-crypt deviations from spec * split sha crypt backends into separate function * sha crypt now checks if os crypt supports $5$ and $6$, and uses them instead of pure python backend * md5 crypt backend split into separate function * added support for apache variant of md5 crypt ("apr-md5-crypt", in same file) * handler: _norm_salt can now handle min_salt_chars=0 * handler: _norm_salt has validate code split into separate method (for sha crypt)
* bugfixin'Eli Collins2011-01-191-87/+81
| | | | | | | | | ========= * 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/+131
|
* finishing splitting hash implementations & tests into separate files; all ↵Eli Collins2011-01-071-131/+0
| | | | UTs pass
* sha & md5 crypt now coerce unicode to utf-8Eli Collins2011-01-071-0/+1
|
* rearrangingEli Collins2011-01-071-0/+130
=========== * moved hash.py to package * in process of rearranging so core code is in hash.base, and separate submodules exist for each of the algorithms. - sha crypt split out - unix crypt split out - similar refactor of UT files * moved hash64 encoding helpers to passlib.util.H64 class * reversed order of h64 encoding helpers so offsets match order of output * added H64 unit tests unix crypt ---------- (yes this is overkill for legacy crypt) * cleaned up builtin unix_crypt semantics * wrapping stdlib crypt to deal w/ border case errors * added better unix crypt backend test suite