summaryrefslogtreecommitdiff
path: root/passlib
Commit message (Collapse)AuthorAgeFilesLines
...
* StaticHandler now provides internal _norm_hash() method for subclasses to ↵Eli Collins2011-06-227-67/+64
| | | | | | | | override * enhanced StaticHandler.verify method to normalize hash unicode/bytes better * changed various StaticHandler-derived classes to use _norm_hash() instead of re-implementing verify() * oracle, postgres hashes now derive from StaticHandler instead of object.
* PHPass now prefers portable hash over bsdi-cryptEli Collins2011-06-221-2/+2
|
* GenericHandler.checksum_chars now defaults to ``None``, instead of implicit ↵Eli Collins2011-06-2012-2/+18
| | | | H64_CHARS
* removed 'encoding' kwd from pbkdf1 / pbkdf2 - unused, uneeded, and ↵Eli Collins2011-06-201-13/+10
| | | | complicates things - kdfs should all use bytes only.
* minor fixesEli Collins2011-06-202-2/+2
|
* minor typo & doc tweaksEli Collins2011-06-201-3/+3
|
* made undocumented lmhash func compat w/ py3Eli Collins2011-06-202-13/+20
|
* added UT for safe_os_crypt(), helper method is_ascii_safe()Eli Collins2011-06-203-5/+76
|
* apache module rewritten for py3 compatEli Collins2011-06-203-80/+307
| | | | | | | | * added 'encoding' kwd to Htpasswd, Htdigest constructors, allowing user/realm encoding to be specified. * treats file as bytes internally * added UTs for encoding-specific behavior * added render_bytes() util helper - py2/3 compatible replacement for using % formatting with bytes
* converted remaining handlers to py3 compat (all unix crypt hashes)Eli Collins2011-06-177-202/+285
|
* converted md5crypt to py3 compatEli Collins2011-06-174-70/+174
| | | | | * added safe_os_crypt() to work around some major issues with stdlib crypt under 2 vs 3 * added some render_mcX helpers to match parse_mcX helpers under utils.handlers
* pbkdf2 handlers now py3 compatEli Collins2011-06-174-54/+76
|
* converted handlers to py3 compat: fshp, mysql, oracle, postgres, roundup, phpassEli Collins2011-06-177-59/+89
|
* converts handlers .digests, .ldap_digests, .misc to be py3 compatEli Collins2011-06-174-51/+60
| | | | * also allows PrefixWrapper test to pass
* base HandlerCase, and utils.handlers UTs, converted to support unicode policyEli Collins2011-06-173-69/+132
|
* utils.handlers reworked.Eli Collins2011-06-172-30/+113
| | | | | | | | | | NOTE: this commit breaks pretty much all hashes in passlib, until they're converted. * added to_hash_str() helper to abstract policy re: password hash return values * GenericHandler & mixins now use unicode internally everywhere. per policy, bytes are assumed to be ascii, and decoded. * HasRawSalt/HasRawChecksum now refuse to accept unicode inputs, and only use bytes. * PrefixWrapper now uses unicode internally wherever possible.
* made cond2to3 parse errors more informativeEli Collins2011-06-171-6/+6
|
* made some changes to custom TestCase base class, to work better w/ unittest2Eli Collins2011-06-171-42/+60
|
* rest of utils now py3 compatEli Collins2011-06-174-131/+317
| | | | | | | * kdfs, md4, and utils proper * updated UTs * added to_native_str helper * added some UTs for new to_bytes / to_unicode etc methods
* utils.des now py3 compat; fixed some other utils as wellEli Collins2011-06-173-20/+40
|
* utils.h64 now py3 compatibleEli Collins2011-06-173-99/+210
| | | | | | | * rewrote internals a bit * added some more utils helpers to deal w/ bytes elements beings ints, not just bytes-slices * added 'bytes' type checks to most h64 funcs * updated H64 UTs till they pass
* basic work to make CryptContext unicode aware.Eli Collins2011-06-163-47/+211
| | | | | | * updated CryptContext UTs as well. * also added some general unicode<->bytes helpers to utils (needs UTs). * also a few 2to3 conditional hints added to CryptContext so passlib can load
* cleaned up try/except clause that caused issue under py3Eli Collins2011-06-041-6/+4
|
* starting work on py3 compatibility; wrote 2to3 conditional include system ↵Eli Collins2011-06-042-0/+153
| | | | inspired by SQLAlchemy's setup script
* updated sample config per last commitEli Collins2011-06-041-2/+2
|
* bugfix: changed CryptPolicy to use SafeConfigParser (as it really should ↵Eli Collins2011-06-043-7/+61
| | | | | | | | have all along) * this may break parsing of some files which have "vary_rounds = 10%", that should now read "vary_rounds = 10%%". * currently detecting that case, and falling back to old behavior + userwarning * passlib 1.6 will let this be fatal.
* updated changelogEli Collins2011-06-021-0/+15
|
* misc cleanupsEli Collins2011-06-024-83/+1
|
* added support for Cryptacular's PBKDF2 formatEli Collins2011-06-024-1/+111
|
* added FSHP supportEli Collins2011-06-023-0/+233
|
* kdf enhancementsEli Collins2011-06-022-53/+209
| | | | | | | * renamed _resolve_prf() to get_prf(), documented interface * added pbkdf1 support * added 'encoding' kwd to pbkdf1 & pbkdf2, for easier handling of unicode inputs *
* added support for BCryptor as bcrypt backendEli Collins2011-06-012-9/+21
|
* removed some things that were deprecated under 1.4Eli Collins2011-06-012-683/+0
|
* start of 1.5 developmentEli Collins2011-06-011-1/+1
|
* various documentation updatesEli Collins2011-06-011-4/+18
|
* replace legacy exc constructorEli Collins2011-05-091-1/+1
|
* note about stray load of bcrypt hash - should add UTs to check passlib.apps ↵Eli Collins2011-05-091-0/+2
| | | | & passlib.hosts to detect any more of these
* patch to md4 module for pypy compat; noted pypy compat in changelogEli Collins2011-05-042-5/+27
|
* set roundup15_context to deprecate older schemesEli Collins2011-05-041-1/+6
|
* tightened salt info specifications; improved salt info conformance testsEli Collins2011-05-037-75/+154
|
* import fix for roundup testcaseEli Collins2011-05-031-1/+1
|
* split HandlerCase verify_invalid test into verify_malformed & ↵Eli Collins2011-05-031-4/+9
| | | | verify_unidentified, to make failures easier to diagnose
* sun_md5_crypt: added new test cases; enhanced to support $$ format, variable ↵Eli Collins2011-05-032-72/+181
| | | | salt size; updated docs
* added some index entries; minor doc tweaksEli Collins2011-04-291-2/+2
|
* added documentation for roundup hashes & contextEli Collins2011-04-291-3/+5
|
* added ldap_pbkdf2_{digest} variants; UTs & docs; removed prefix from ↵Eli Collins2011-04-295-14/+61
| | | | pdkdf2_sha1 for compat w/ existing hashes
* large rework of documentation; mainly to give more room to LDAP hashes, and ↵Eli Collins2011-04-292-3/+12
| | | | document ldap CRYPT hashes
* tweak to PrefixWrapper to only issue HasManyIdents warning if orig_prefix is ↵Eli Collins2011-04-261-2/+2
| | | | being used
* rearranged/expanded CryptContext docsEli Collins2011-04-261-3/+3
|
* added rfc6070 pbkdf2 test vectors for completenessEli Collins2011-04-251-0/+39
|