Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | various minor updates to documentation & code comments | Eli Collins | 2012-06-27 | 1 | -2/+2 |
| | |||||
* | md5_crypt deprecated by author, updated docs accordingly | Eli Collins | 2012-06-27 | 2 | -1/+12 |
| | |||||
* | replaced HAS_INTEGER_MTIME flag with more reliable workaround | Eli Collins | 2012-06-27 | 2 | -4/+12 |
| | |||||
* | reworked platform_crypt_support test to be more granular, updated to account ↵ | Eli Collins | 2012-06-27 | 2 | -68/+50 |
| | | | | for FreeBSD 8.3+ supporting SHA512-Crypt | ||||
* | minor documentation updates - typo in changes, better listing of ident ↵ | Eli Collins | 2012-05-17 | 1 | -6/+10 |
| | | | | values for bcrypt | ||||
* | minor documentation updates | Eli Collins | 2012-05-08 | 1 | -1/+1 |
| | |||||
* | updated index entries | Eli Collins | 2012-05-02 | 1 | -3/+4 |
| | |||||
* | forgot to document the relaxed=True keyword, and the strict-parameters policy. | Eli Collins | 2012-05-02 | 15 | -1/+264 |
| | |||||
* | release 1.6 | Eli Collins | 2012-05-01 | 1 | -1/+1 |
| | |||||
* | last minute documentation updates | Eli Collins | 2012-05-01 | 1 | -2/+3 |
| | |||||
* | misc testing fixes | Eli Collins | 2012-05-01 | 3 | -61/+62 |
| | | | | | | | | | | | * bcrypt fuzz fix: detect $2$ hashes w/ passwords like 'abc' 'abcabc' and regenerate, since $2$ would hash them the same. one in a million chance, but I hit it. * django_bcrypt: skip multi-ident testing entirely, only one prefix is used. * get_fuzz_settings() now handles passwords too, so handlers can alter them * get_fuzz_ident() now checks os_supports_ident() directly, so bcrypt test doesn't have to * test_14_salt_chars now cleans up salt, so bcrypt test doesn't have to * glitch in fuzz skip code * add tox.ini to sdist | ||||
* | loads of documentation updates | Eli Collins | 2012-05-01 | 6 | -50/+123 |
| | |||||
* | bunch bugfixes to the unittests | Eli Collins | 2012-05-01 | 8 | -84/+116 |
| | | | | | | | | | * timer issues under windows * id() issues under jython * mtime issues under jython & darwin * corrected expectations of test_ext_django's patch checker * added darwin flags to platform_os_crypt info * fixed regression in os_crypt backend test mocking | ||||
* | moved is_ascii_codec() helper to utils | Eli Collins | 2012-05-01 | 2 | -9/+8 |
| | |||||
* | updated various bit of documentation; made 1.6 changelog presentable | Eli Collins | 2012-04-30 | 1 | -1/+0 |
| | |||||
* | removed unused file - derivative of it is over in cmdline-dev branch | Eli Collins | 2012-04-30 | 1 | -229/+0 |
| | |||||
* | assorted bugfixes & additional test coverage | Eli Collins | 2012-04-30 | 10 | -142/+189 |
| | |||||
* | removed annoying builtin-bcrypt warning, decreased rounds on some test ↵ | Eli Collins | 2012-04-30 | 4 | -60/+65 |
| | | | | vectors for speed | ||||
* | test_ext_django: removed redundant tests, broke into separate test cases | Eli Collins | 2012-04-30 | 1 | -401/+460 |
| | |||||
* | utils.handlers: fleshed out tests; fixed some bugs | Eli Collins | 2012-04-30 | 2 | -35/+235 |
| | |||||
* | unix_disabled updated to accept only certain strings, rather than act as ↵ | Eli Collins | 2012-04-30 | 2 | -35/+93 |
| | | | | wildcard | ||||
* | fleshed out passlib.apache tests; small bugfixe to module | Eli Collins | 2012-04-30 | 2 | -44/+123 |
| | |||||
* | context cleanup | Eli Collins | 2012-04-30 | 3 | -625/+287 |
| | | | | | | | | * removed redundant tests from test_context_deprecated * fleshed out missing tests in test_context * commented out some unused methods in CryptContext (__str__, _simplify) * consolidated unregistered handler tracking in CryptContext * stripped to_string(compact=True) support out, no real purpose | ||||
* | excluded some branches from coverage | Eli Collins | 2012-04-30 | 8 | -34/+33 |
| | |||||
* | all os_crypt hashes now forbidden NULL chars | Eli Collins | 2012-04-30 | 5 | -23/+47 |
| | |||||
* | splitcomma won't die | Eli Collins | 2012-04-30 | 4 | -23/+23 |
| | |||||
* | better coverage of crypto routines, fixed some bugs | Eli Collins | 2012-04-30 | 3 | -248/+302 |
| | |||||
* | unittest cleanups, better coverage, etc | Eli Collins | 2012-04-30 | 4 | -574/+761 |
| | | | | | | | | | | | | | | | * split ut2 backports into separate module to keep them distinct from customizations * added backport of skip() / skipIf(), simplified a bunch of code * "PASSLIB_TESTS" env var renamed to "PASSLIB_TEST_MODE", has one of three values (quick,default,full) * assertWarningList() can now be used as context manager * added TestCase.mktemp(), and some capability tests via TestCase.require_xxx() * HandlerCase - subclasses can now modify do_xxx() settings and context using unified interface. - defaults to lower number of rounds for all hashes, to speed up UTs - create_backend_case() is now classmethod that yields multiple backends - added test to ensure os_crypt hashes forbid NULL chars - EncodingHandlerMixin for common tests of 'encoding' keyword | ||||
* | added some missing tests; fixed a bunch of bugs | Eli Collins | 2012-04-28 | 17 | -71/+167 |
| | |||||
* | forgot to list django 1.4 hashes in registry, some other notes | Eli Collins | 2012-04-27 | 3 | -3/+7 |
| | |||||
* | mass rename of old alias for PasswordHash interface | Eli Collins | 2012-04-27 | 19 | -45/+45 |
| | |||||
* | assorted small details that weren't covered in the last few merges | Eli Collins | 2012-04-27 | 5 | -10/+21 |
| | |||||
* | updated front matter and other documentation | Eli Collins | 2012-04-27 | 4 | -32/+54 |
| | |||||
* | merged rewrite of CryptContext documentation - (near-) full tutorial and ↵ | Eli Collins | 2012-04-27 | 1 | -260/+407 |
| | | | | reference | ||||
* | merging rewrite of all hash documentation, and password hash api | Eli Collins | 2012-04-27 | 19 | -133/+216 |
| | | | | | | | * password hash api rewritten to center around PasswordHash abstract class * extended walkthrough and documentation for PasswordHash interface * pared down the per-hash examples, added links to PasswordHash * updates docs and warnings | ||||
* | near complete rewrite of django plugin, now making public | Eli Collins | 2012-04-27 | 11 | -697/+1387 |
| | | | | | | | | | | | - monkeypatching now formalized w/ a patch manager, and should be *much* more resilient. - patch states reduced greatly, simplified code and tests - now handles django 1.4 correctly - patches hashers module as well (had to write some new wrappers) - added experimental methods GenericHandler.parsehash() to back our wrapper of Hasher.safe_summary() - XXX: doesn't currently import current HASHER state, - XXX: can't import hashers into passlib either -- though left initial notes on this | ||||
* | added support for the new Django 1.4 hash formats | Eli Collins | 2012-04-27 | 4 | -88/+347 |
| | | | | | | - updated salt handling of the existing django hashes, in a way which should be backwards compatible w/ django 1.0 - UTs now test Django hasher output against passlib handlers (reverse was already being done) - refactor of fuzz testing to reuse some of the methods. | ||||
* | finally added abstract base class for the password hash interface -- ↵ | Eli Collins | 2012-04-27 | 5 | -33/+208 |
| | | | | | | passlib.ifc.PasswordHash (also had to make some tweaks to fix class repr due to ABCMeta) | ||||
* | added undocumented apps.master_context to add in testing - context ↵ | Eli Collins | 2012-04-27 | 1 | -0/+44 |
| | | | | containing ALL hashes, with the exception of ones with problematic identify() methods | ||||
* | added experimental GenericHandler.bitsize() method, which estimates bitsize ↵ | Eli Collins | 2012-04-27 | 2 | -9/+78 |
| | | | | of hash components | ||||
* | made support for encoding context keyword uniform | Eli Collins | 2012-04-27 | 4 | -33/+42 |
| | | | | | | - plaintext, ldap_plaintext, lmhash, htdigest all support it - also expose default_encoding attribute - moved HasEncodingContext from lmhash to handlers | ||||
* | added deprecated="auto" support to CryptContext | Eli Collins | 2012-04-27 | 2 | -6/+60 |
| | |||||
* | stripping out "passprep" feature - code was working, but the api isn't read ↵ | Eli Collins | 2012-04-27 | 3 | -123/+2 |
| | | | | for release. will adjust issue 24. | ||||
* | context change - shortened hash_needs_update() to needs_update() | Eli Collins | 2012-04-27 | 7 | -50/+64 |
| | | | | | | | - renamed internal update hooks as well - needs_update() now accepts an optional copy of the password. this is unused for now, but should pave the way for properly migrating crypt_blowfish $2x$ hashes in the next release. | ||||
* | internal changed to context | Eli Collins | 2012-04-27 | 1 | -29/+37 |
| | | | | | | - handler() uses scheme=None instead of "default" for default scheme - factored out common _get_or_identify_record() from genhash, verify, etc - added schemes & category typecheck to _get_record(), takes care of primary interface methods | ||||
* | cleaned up the registry code -- less redundant data, more type checks | Eli Collins | 2012-04-27 | 5 | -213/+222 |
| | |||||
* | renamed 'errname' to 'param' for to_unicode, etc; to match some of the other ↵ | Eli Collins | 2012-04-27 | 8 | -42/+42 |
| | | | | helper functions | ||||
* | sped up pbkdf2 implementation by 60% or so - upped the rounds for all pbkdf2 ↵ | Eli Collins | 2012-04-19 | 3 | -64/+68 |
| | | | | hashes | ||||
* | setup warning filters early in TestCase to work around HandlerCase warning ↵ | Eli Collins | 2012-04-17 | 3 | -4/+7 |
| | | | | issue w/ os_crypt proxying builtin bcrypt | ||||
* | updated tox config, moved GAE helper into tests module to silence tox warning | Eli Collins | 2012-04-17 | 1 | -0/+37 |
| |