| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
=====================
* moved unix style algorithms into passlib.unix package
* renamed unix-crypt to des-crypt
* moved a bunch of utils into new utils pacakge
* NOTE: imports currently broken
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
=============================
* changing basic alg protocol
- setting_kwds attr which includes salt/rounds kwds
- encrypt no longer accepts hash as input
- encrypt now must accept setting_kwds (eg salt/rounds) as input
- verify now throws error if hash missing / invalid
- identify same as always
- parse / render now optional inclusions
- hash_bytes renamed to checksum_bytes
- has_salt / has_rounds removed
- added default_rounds / min_rounds / max_rounds attrs
* added CryptAlgorithmHelper with some common helper routines
- _norm_rounds(), applies default/min/max attrs to input
- setting_kwds autocalculates if needed
* added generate & validate salt helpers (replacing old ones)
* replacing overengineered rng w/ simpler one (1/2 done)
* NOTE: UTs need updating!!!
|
| | |
|
| |
|
|
| |
much fewer features (old one was over-engineered)
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
fallback if urandom not present
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
===========
* moved hash.py to package
* in process of rearranging so core code is in hash.base,
and separate submodules exist for each of the algorithms.
- sha crypt split out
- unix crypt split out
- similar refactor of UT files
* moved hash64 encoding helpers to passlib.util.H64 class
* reversed order of h64 encoding helpers so offsets match order of output
* added H64 unit tests
unix crypt
----------
(yes this is overkill for legacy crypt)
* cleaned up builtin unix_crypt semantics
* wrapping stdlib crypt to deal w/ border case errors
* added better unix crypt backend test suite
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|