| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
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
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
=================
* renamed passlib.servers -> passlib.apps
* added custom_app_context, for quickly adding hashes to new apps
* documented module
|
| | |
|
| |
|
|
| |
slappasswd as reference)
|
| |
|
|
|
|
| |
===========================
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
|
| | |
|
| |
|
|
| |
pass)
|
| |
|
|
|
|
|
| |
==================
* 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)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
=================
* 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
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
==================
updated des crypt, crypt16, bigcrypt, bsdi crypt docs:
* added details of algorithm
* added security issues section
* updated deviations text
* other doc updates
|
| | |
|
| | |
|
| |
|
|
|
|
| |
=====================
* 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)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
========
* removed from utils since they're not used: norm_salt, norm_rounds, gen_salt
* commented out from utils since they're not used: abstractmethod, abstractclassmethod, memoized_class_property
* removed passlib.hash.__skel - no longer used
* rearranged utils.handlers:
- all handler helper classes now inherit from eachother
- BaseHandler (renamed from WrappedHandler)
- ExtHandler (inherits from BaseHandler, was previously the one named BaseHandler)
- StaticHandler (inherits from ExtHandler, renamed from PlainHandler)
* converted test_handler classes to use ExtHandler & StaticHandler
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
==========
* CryptContext.is_compliant() now checks rounds parameter
* some typo fixes
* removed docs from CryptHandler - text is now in docs/password_hash_api.rst
|
| | |
|
| |
|
|
|
|
|
|
| |
========
* combined passlib.mysql, passlib.postgres -> passlib.sqldb
(contents were too small to be worth multiple modules)
* added helper to read postgres plaintext passwords
* added documentation for passlib.sqldb
|
| |
|
|
|
|
|
|
| |
================
* (temporarily?) commented out frontend methods in toplevel passlib module
* bugfixes to CryptPolicy
* added min_verify_time to CryptPolicy
* added default policy config file
|
| |
|
|
| |
of array accesses
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
===========================
* added documentation detailing policy system's keys and functionality
* split policy-related code out of CryptContext into CryptPolicy object
* added 'category' kwd to all relevant CryptContext methods
* implemented parsing & introspection methods for CryptPolicy
* added rounds management to CryptContext, per policy specification
* attempt at documenting passlib.unix (incomplete)
TODO
----
* ability to create composite CryptPolicy objects
* per-hash handling of policy compliance checks
* UTs for policy system
|
| |
|
|
|
|
| |
=======================
* replaced h64.encode_xxx_offsets() functions with h64.encode_transposed_bytes() and list of offsets
* affects sha256-crypt, sha512-crypt, md5-crypt, sun-md5-crypt
|
| |
|
|
|
|
|
| |
=====================
* documentation added for mysql & postgres hashes
* enhanced autodocument() function's output
* added usage examples for more hashes
|
| | |
|
| | |
|
| |
|
|
|
|
| |
=================
* fills in per-handler defaults from configuration
* added genconfig() and genhash() passthrough methods
|
| | |
|
| | |
|
| | |
|