Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | release 1.6 | Eli Collins | 2012-05-01 | 2 | -3/+3 | |
| | ||||||
* | last minute documentation updates | Eli Collins | 2012-05-01 | 6 | -16/+20 | |
| | ||||||
* | misc testing fixes | Eli Collins | 2012-05-01 | 5 | -67/+66 | |
| | | | | | | | | | | | * 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 | |||||
* | final tweaks to test config files | Eli Collins | 2012-05-01 | 3 | -26/+28 | |
| | ||||||
* | added environment variables to doc index | Eli Collins | 2012-05-01 | 3 | -0/+7 | |
| | ||||||
* | loads of documentation updates | Eli Collins | 2012-05-01 | 28 | -185/+282 | |
| | ||||||
* | 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 | 3 | -9/+9 | |
| | ||||||
* | updated various bit of documentation; made 1.6 changelog presentable | Eli Collins | 2012-04-30 | 10 | -323/+393 | |
| | ||||||
* | 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 | 11 | -143/+190 | |
| | ||||||
* | removed annoying builtin-bcrypt warning, decreased rounds on some test ↵ | Eli Collins | 2012-04-30 | 5 | -65/+69 | |
| | | | | 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 | 5 | -599/+823 | |
| | | | | | | | | | | | | | | | * 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 | 21 | -47/+47 | |
| | ||||||
* | assorted small details that weren't covered in the last few merges | Eli Collins | 2012-04-27 | 7 | -14/+36 | |
| | ||||||
* | updated front matter and other documentation | Eli Collins | 2012-04-27 | 21 | -297/+438 | |
| | ||||||
* | merged rewrite of CryptContext documentation - (near-) full tutorial and ↵ | Eli Collins | 2012-04-27 | 10 | -911/+1384 | |
| | | | | reference | |||||
* | merging rewrite of all hash documentation, and password hash api | Eli Collins | 2012-04-27 | 61 | -1492/+1701 | |
| | | | | | | | * 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 | 15 | -808/+1518 | |
| | | | | | | | | | | | - 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 | 6 | -99/+393 | |
| | | | | | | - 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 | 4 | -6/+67 | |
| | ||||||
* | stripping out "passprep" feature - code was working, but the api isn't read ↵ | Eli Collins | 2012-04-27 | 5 | -164/+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 | 5 | -65/+84 | |
| | | | | hashes | |||||
* | add posargs supports to tox config, passes all args to nose | Eli Collins | 2012-04-17 | 1 | -6/+12 | |
| | ||||||
* | 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 | |||||
* | added missed package to setup | Eli Collins | 2012-04-17 | 1 | -1/+2 | |
| | ||||||
* | updated tox config, moved GAE helper into tests module to silence tox warning | Eli Collins | 2012-04-17 | 4 | -31/+99 | |
| | ||||||
* | changed bcrypt's os_crypt backend to try alternatives before bailing. | Eli Collins | 2012-04-17 | 3 | -9/+10 | |
| | ||||||
* | reworked fuzz verifier system, so that we can skip $2x$ hashes during bcrypt ↵ | Eli Collins | 2012-04-17 | 2 | -66/+93 | |
| | | | | crypt() testing | |||||
* | disabling saslprep() support under Jython - it lacks the stringprep module | Eli Collins | 2012-04-17 | 8 | -63/+51 | |
| | ||||||
* | a bunch of bugfixes found during unittesting | Eli Collins | 2012-04-17 | 9 | -20/+56 | |
| | | | | | | | | | | * bsdi_crypt apparently available on openbsd 4.9 * typo fixes * ConfigParser apparently only uses OrderedDict for >= PY27, adjusted CryptContext test accordingly * fixed test that depended on sha256_crypt.default_rounds * handle os_crypt backend w/ no fallback (bcrypt) * let _norm_rounds accept longs |