summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* closing this branch due to bitrot, see issue 3 message for detailsdrupal7Eli Collins2013-12-270-0/+0
|
* initial work on supporting all the hash types of Drupal7; need test vectors ↵Eli Collins2011-03-241-5/+137
| | | | and to write a drupal7_context
* removed pure-python bcrypt implementation, wasn't fast enough to be usuable, ↵Eli Collins2011-03-247-739/+5
| | | | and probably never will be.
* reworked how vary_rounds works to properly account for log2 rounds parametersEli Collins2011-03-241-6/+14
|
* added phpass_context & phpbb3_context to passlib.appsEli Collins2011-03-246-11/+42
|
* documentation updatesEli Collins2011-03-2414-237/+456
| | | | | | | | | | | | ===================== * CryptContext docs finished * README / LICENSE updated * license text changed to correct BSD wording * embarassingly, the history.rst is kinda off about release versions. tried to make it give readers better outline. * misc doc updates * some handler names (eg: 'context', 'all') now forbidden by register_crypt_handler() * bumped setup.cfg to b1
* added internal noteEli Collins2011-03-231-0/+5
|
* lots of work documenting CryptContext classEli Collins2011-03-237-255/+423
|
* various CryptContext improvementsEli Collins2011-03-232-9/+28
| | | | | | | ================================= * tweaked vary_rounds code to not "bunch up" when it hits min/max rounds * updated default policy settings * issues warning if min verify time is exceeded
* updated & documentated passlib.hosts moduleEli Collins2011-03-232-68/+141
|
* misc doc changesEli Collins2011-03-234-8/+20
|
* passlib.apps workEli Collins2011-03-239-64/+134
| | | | | | | ================= * renamed passlib.servers -> passlib.apps * added custom_app_context, for quickly adding hashes to new apps * documented module
* added documentation for passlib.registryEli Collins2011-03-232-4/+75
|
* ldap_plaintext: replaces ldap_cleartext, has proper behavior (using ↵Eli Collins2011-03-234-17/+18
| | | | slappasswd as reference)
* removed interdependancy between test_context & test_utils_handlersEli Collins2011-03-221-19/+17
|
* big rename: changed base handler class namesEli Collins2011-03-2219-96/+96
| | | | | | | | ============================================ renamed the classes in passlib.utils.handlers, for clarity in code: * BaseHash -> SimpleHandler * ExtHash -> ExtendedHandler * BackendExtHash -> MultiBackendHandler
* big rename: driver->handlerEli Collins2011-03-2227-92/+92
| | | | | | =========================== 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.
* split passlib.base into passlib.registry & passlib.context - the two have ↵Eli Collins2011-03-2218-391/+425
| | | | little to do with eachother
* bugfixes to ldap schemesEli Collins2011-03-224-9/+13
|
* documentation work & rearrangingEli Collins2011-03-2229-276/+457
| | | | | | | | | | ================================ * 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
* cleaned up registry code, added more UTs.Eli Collins2011-03-218-105/+311
|
* bugfixes, tweaks, test casesEli Collins2011-03-1811-146/+612
| | | | | | | | | | | | | | | | | ============================ * now at 99% coverage * changed some error types * bugfix to min_verify_time code * tests for registry, some cryptcontext border cases * ldap hash tests * tests for rest of utils * tests for skeleton hash classes in passlib.utils.drivers * moved validate_class code from skeleton hash classes to HandlerCase main things still needing testing: * category support for CryptContext/Policy * some bits of registry
* removed postres_plaintext, redundantEli Collins2011-03-187-56/+7
|
* coverage workEli Collins2011-03-1813-38/+158
| | | | | | | | | | | ============= * 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-1810-7/+463
|
* disabled pure-python bcrypt backend - just too painfully slow to count as ↵Eli Collins2011-03-174-22/+41
| | | | "supporting" bcrypt
* to simplify things, merged StaticHash's minimal amount of code into ExtHash, ↵Eli Collins2011-03-173-90/+41
| | | | and removed StaticHash entirely
* bugfixesEli Collins2011-03-177-22/+70
| | | | | | | | | | ======== * 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
* passlib.apache: improved interface; added docs & UTs (all passlib.apache uts ↵Eli Collins2011-03-176-51/+610
| | | | pass)
* removed some old codeEli Collins2011-03-151-115/+0
|
* apache & misc workEli Collins2011-03-153-15/+188
| | | | | | | | ================== * 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-152-0/+126
|
* documentation workEli Collins2011-03-1425-243/+258
| | | | | | | ================== * finished password hash api description * various documentation cleanups * removed unused quickstart doc
* supporting hashes addedEli Collins2011-03-1413-55/+401
| | | | | | | | ======================= * 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
* merged test_utils_pbkdf2.py into test_utils.pyEli Collins2011-03-143-143/+127
|
* fixed wart - CryptContext now searches schemes in order, instead of reverse ↵Eli Collins2011-03-056-22/+50
| | | | order (and default is now first option)
* CryptPolicy.get_options() now caches resultsEli Collins2011-03-041-4/+20
|
* UT workEli Collins2011-03-045-97/+222
| | | | | | | | | | | | ======= * commented out test_frontend entirely, until frontend added back * CryptContext._prepare_settings now a private method * added CryptContext UT for forbidden options * added CryptContext UT for _prepare_settings as exposed through genconfig() this should test all the main _prepare_settings behaviors * added basic test for _prepare_settings() as exposed through encrypt() as well * sample hashes for test_utils_drivers *
* cryptcontext workEli Collins2011-03-033-69/+102
| | | | | | | | | | | | | ================= * hash_needs_update() method - renamed method from hash_is_compliant() - cleaned up code - added UT for method * prepare_settings() methods - renamed method from norm_handler_settings() - cleaned up code - TODO: write UT * renamed "vary_default_rounds" to "vary_rounds", was too verbose
* finished documenting specific interface details for all existing password hashesEli Collins2011-03-0325-221/+400
|
* updated documentation for des-crypt & md5-crypt variantsEli Collins2011-03-0310-27/+116
|
* work on interface documentation (bcrypt)Eli Collins2011-03-023-24/+59
|
* removed autodocument() method (stub left for now)Eli Collins2011-03-021-204/+2
|
* factored out policy item parsingEli Collins2011-03-021-34/+38
|
* tweaked masthead fontEli Collins2011-03-022-66/+30
|
* doc tweaksEli Collins2011-03-012-1/+3
|
* policy/context workEli Collins2011-02-285-628/+593
| | | | | | | | | | | | | =================== * tweaks to policy kwds/format: - renamed "default" hash category to "all" - renamed "fallback" kwd to "default" * added salt_charset to password hash api * removed some legacy formats from policy parser * minor renames to a lot of policy parser methods * UTs for CryptPolicy & CryptContext added - all tests currently pass - CryptContext tests not *quite* done
* bugfixes to Crypt PolicyEli Collins2011-02-281-4/+7
|
* HandlerCaseEli Collins2011-02-267-240/+232
| | | | | | | | =========== * refactored common handler test case (HandlerCase) * removed some needless tests * added support for genhash / genconfig * bugfixes to des_crypt & nthash that above changes revealed
* minor changes to CryptContext / CryptPolicyEli Collins2011-02-251-25/+43
|