| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
and to write a drupal7_context
|
| |
|
|
| |
and probably never will be.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
=====================
* 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
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
=================================
* 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
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
=================
* renamed passlib.servers -> passlib.apps
* added custom_app_context, for quickly adding hashes to new apps
* documented module
|
| | |
|
| |
|
|
| |
slappasswd as reference)
|
| | |
|
| |
|
|
|
|
|
|
| |
============================================
renamed the classes in passlib.utils.handlers, for clarity in code:
* BaseHash -> SimpleHandler
* ExtHash -> ExtendedHandler
* BackendExtHash -> MultiBackendHandler
|
| |
|
|
|
|
| |
===========================
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.
|
| |
|
|
| |
little to do with eachother
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
================================
* 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
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
============================
* 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
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
=============
* 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
|
| |
|
|
| |
and removed StaticHash entirely
|
| |
|
|
|
|
|
|
|
|
| |
========
* 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
|
| |
|
|
| |
pass)
|
| | |
|
| |
|
|
|
|
|
|
| |
==================
* 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
|
| | |
|
| |
|
|
| |
order (and default is now first option)
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
=======
* 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
*
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
=================
* 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
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
===================
* 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
|
| | |
|
| |
|
|
|
|
|
|
| |
===========
* refactored common handler test case (HandlerCase)
* removed some needless tests
* added support for genhash / genconfig
* bugfixes to des_crypt & nthash that above changes revealed
|
| | |
|