| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
* cleaned up source of des_crypt variants and DES util functions
* DES utils functions now have tighter input validation, full UT coverage
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
* safe_crypt() improved - accepts unicode/bytes for salt, checks for NULL, returns None on failure
* added test_crypt() wrapper to simplify backend checks.
* removed native=True from most to_string() implementations, unused now.
* updated UTs
|
| |
|
|
| |
classes to make filtering easier
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
* new utils.Base64Engine() provides flexible class for encoding arbitrary base64 charmaps.
it should also be a bit faster than the old h64 module.
* predefined 'h64' instance has mostly the same methods as the old h64 module
which it takes the place off - so imports should be unaffected.
(the only the exception of the xxx_dc_xxx methods, which now use the 'h64big' instance)
* replaced utils._blowfish base64 encoding with custom Base64Engine instance
to reduce code duplication.
* more through unittests for Base64Engine.
|
| |
|
|
| |
*much* shorter codepath when calling CryptContext.encrypt(), etc
|
| |
|
|
| |
CHANGELOG for details)
|
| | |
|
| |
|
|
| |
MissingBackendError if no backends available
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
handler
|
| | |
|
| | |
|
| |
|
|
| |
large amount of integration example code
|
| |
|
|
|
|
| |
===========================
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.
|
| |
|
|
| |
pass)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
===============================
* 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
|
| | |
|
| | |
|
| | |
|
| |
|