summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* release 1.6Eli Collins2012-05-012-3/+3
|
* last minute documentation updatesEli Collins2012-05-016-16/+20
|
* misc testing fixesEli Collins2012-05-015-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 filesEli Collins2012-05-013-26/+28
|
* added environment variables to doc indexEli Collins2012-05-013-0/+7
|
* loads of documentation updatesEli Collins2012-05-0128-185/+282
|
* bunch bugfixes to the unittestsEli Collins2012-05-018-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 utilsEli Collins2012-05-013-9/+9
|
* updated various bit of documentation; made 1.6 changelog presentableEli Collins2012-04-3010-323/+393
|
* removed unused file - derivative of it is over in cmdline-dev branchEli Collins2012-04-301-229/+0
|
* assorted bugfixes & additional test coverageEli Collins2012-04-3011-143/+190
|
* removed annoying builtin-bcrypt warning, decreased rounds on some test ↵Eli Collins2012-04-305-65/+69
| | | | vectors for speed
* test_ext_django: removed redundant tests, broke into separate test casesEli Collins2012-04-301-401/+460
|
* utils.handlers: fleshed out tests; fixed some bugsEli Collins2012-04-302-35/+235
|
* unix_disabled updated to accept only certain strings, rather than act as ↵Eli Collins2012-04-302-35/+93
| | | | wildcard
* fleshed out passlib.apache tests; small bugfixe to moduleEli Collins2012-04-302-44/+123
|
* context cleanupEli Collins2012-04-303-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 coverageEli Collins2012-04-308-34/+33
|
* all os_crypt hashes now forbidden NULL charsEli Collins2012-04-305-23/+47
|
* splitcomma won't dieEli Collins2012-04-304-23/+23
|
* better coverage of crypto routines, fixed some bugsEli Collins2012-04-303-248/+302
|
* unittest cleanups, better coverage, etcEli Collins2012-04-305-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 bugsEli Collins2012-04-2817-71/+167
|
* forgot to list django 1.4 hashes in registry, some other notesEli Collins2012-04-273-3/+7
|
* mass rename of old alias for PasswordHash interfaceEli Collins2012-04-2721-47/+47
|
* assorted small details that weren't covered in the last few mergesEli Collins2012-04-277-14/+36
|
* updated front matter and other documentationEli Collins2012-04-2721-297/+438
|
* merged rewrite of CryptContext documentation - (near-) full tutorial and ↵Eli Collins2012-04-2710-911/+1384
| | | | reference
* merging rewrite of all hash documentation, and password hash apiEli Collins2012-04-2761-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 publicEli Collins2012-04-2715-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 formatsEli Collins2012-04-276-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 Collins2012-04-275-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 Collins2012-04-271-0/+44
| | | | containing ALL hashes, with the exception of ones with problematic identify() methods
* added experimental GenericHandler.bitsize() method, which estimates bitsize ↵Eli Collins2012-04-272-9/+78
| | | | of hash components
* made support for encoding context keyword uniformEli Collins2012-04-274-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 CryptContextEli Collins2012-04-274-6/+67
|
* stripping out "passprep" feature - code was working, but the api isn't read ↵Eli Collins2012-04-275-164/+2
| | | | for release. will adjust issue 24.
* context change - shortened hash_needs_update() to needs_update()Eli Collins2012-04-277-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 contextEli Collins2012-04-271-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 checksEli Collins2012-04-275-213/+222
|
* renamed 'errname' to 'param' for to_unicode, etc; to match some of the other ↵Eli Collins2012-04-278-42/+42
| | | | helper functions
* sped up pbkdf2 implementation by 60% or so - upped the rounds for all pbkdf2 ↵Eli Collins2012-04-195-65/+84
| | | | hashes
* add posargs supports to tox config, passes all args to noseEli Collins2012-04-171-6/+12
|
* setup warning filters early in TestCase to work around HandlerCase warning ↵Eli Collins2012-04-173-4/+7
| | | | issue w/ os_crypt proxying builtin bcrypt
* added missed package to setupEli Collins2012-04-171-1/+2
|
* updated tox config, moved GAE helper into tests module to silence tox warningEli Collins2012-04-174-31/+99
|
* changed bcrypt's os_crypt backend to try alternatives before bailing.Eli Collins2012-04-173-9/+10
|
* reworked fuzz verifier system, so that we can skip $2x$ hashes during bcrypt ↵Eli Collins2012-04-172-66/+93
| | | | crypt() testing
* disabling saslprep() support under Jython - it lacks the stringprep moduleEli Collins2012-04-178-63/+51
|
* a bunch of bugfixes found during unittestingEli Collins2012-04-179-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