diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2012-04-17 15:10:07 -0400 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2012-04-17 15:10:07 -0400 |
| commit | ab5a64cea160b07477874e646bb3c11511af3967 (patch) | |
| tree | 6646759a4d74d1ea419ec2b9cd5dea005147070f /passlib/tests | |
| parent | 29e7c681bed9a2a9b96f71b56b0bf4edca8ef044 (diff) | |
| download | passlib-ab5a64cea160b07477874e646bb3c11511af3967.tar.gz | |
bugfix: set des_crypt.checksum_size, so it will now reject hashes with missing chars
Diffstat (limited to 'passlib/tests')
| -rw-r--r-- | passlib/tests/test_handlers.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/passlib/tests/test_handlers.py b/passlib/tests/test_handlers.py index b06d100..259a58f 100644 --- a/passlib/tests/test_handlers.py +++ b/passlib/tests/test_handlers.py @@ -643,6 +643,10 @@ class _des_crypt_test(HandlerCase): # bad char in otherwise correctly formatted hash #\/ '!gAwTx2l6NADI', + + # wrong size + 'OgAwTx2l6NAD', + 'OgAwTx2l6NADIj', ] platform_crypt_support = dict( |
