| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* test os_crypt backend has functional fallback
* test handler methods accept all unicode/bytes combinations for secret & hash
* fixed some incorrect error messages & types being caught & raised
* other minor cleanups
|
| |
|
|
| |
classes to make filtering easier
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* moved bytes compat functions from utils to utils.compat
(bord, bjoin, bjoin_ints, bjoin_elems, ujoin)
* renamed bord -> belem_ord for clarify
* a bunch of to_native_str() always use ascii, and
have fixed input types (always bytes or always unicode).
these don't need overhead of to_native_str(), so replaced
those calls with two new funcs: compat.bascii_to_str() /
compat.uascii_to_str()
* cleaned up a lot of imports from utils/utils.compat to
pull from correct module
* simplified the to_string() logic of a bunch of handlers
to reduce unicode<->byte transitions
|
| | |
|
| | |
|
| |
|
|
|
|
| |
decided that to_hash_str will always return native string,
feature of hashes being returned as unicode under python 2
is better done through a CryptContext option.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
* kdfs, md4, and utils proper
* updated UTs
* added to_native_str helper
* added some UTs for new to_bytes / to_unicode etc methods
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
================================
* 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
|
| |
|
|
|
|
|
|
| |
=======================
* 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
|
| | |
|
| | |
|
| | |
|
| |
|