| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
===========================
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.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
================================
* 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
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
=============
* 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
|
| | |
|
| |
|
|
| |
"supporting" bcrypt
|
| |
|
|
|
|
|
|
|
|
| |
========
* 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
|
| |
|
|
|
|
|
|
| |
==================
* added prelim helpers for htpasswd & htdigest
* bugfix to ldap hashes
* added CryptContext.replace() back
* NOTE: all above need UTs and docs
|
| | |
|
| |
|
|
|
|
|
| |
==================
* finished password hash api description
* various documentation cleanups
* removed unused quickstart doc
|
| |
|
|
|
|
|
|
| |
=======================
* 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
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
===========
* refactored common handler test case (HandlerCase)
* removed some needless tests
* added support for genhash / genconfig
* bugfixes to des_crypt & nthash that above changes revealed
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
=====================
* 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
|
| |
|
|
|
|
| |
=====================
* added doc files
* bugfix to bigcrypt (w/ UT for it)
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
===============================
* 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)
|
| |
|