summaryrefslogtreecommitdiff
path: root/django/contrib/auth/tests/hashers.py
AgeCommit message (Collapse)Author
2013-04-02Modified auth to work with unittest2 discovery.Preston Timmons
2013-03-26Fixed #20138 -- Added BCryptSHA256PasswordHasherDonald Stufft
BCryptSHA256PasswordHasher pre-hashes the users password using SHA256 to prevent the 72 byte truncation inherient in the BCrypt algorithm.
2013-02-25Fixed #18144 -- Restored compatibility with SHA1 hashes with empty salt.Aymeric Augustin
Thanks dahool for the report and initial version of the patch.
2013-02-02Fixed #18144 -- Added backwards compatibility with old unsalted MD5 passwordsClaude Paroz
Thanks apreobrazhensky at gmail.com for the report.
2012-12-22Fixed #19509 -- Fixed crypt/bcrypt non-ascii password encodingClaude Paroz
Also systematically added non-ascii passwords in hashers test suite. Thanks Vaal for the report.
2012-09-12Fixed #18182 -- Made is_usable_password check if hashing algorithm is correctClaude Paroz
The display of the ReadOnlyPasswordHashWidget has also been improved to distinguish empty/unusable password from erroneous password. Fixed #18453 also. Thanks danielr and Leo for the reports and Moritz Sichert for the initial patch.
2012-06-07Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.Claude Paroz
Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review.
2012-06-06Fixed #18184 -- Moved algorithm identification code to hashers moduleClaude Paroz
Thanks Eli Collins for the report and the patch.
2012-03-30Use the class decorator syntax available in Python >= 2.6. Refs #17965.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17829 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-29Fixes #17777 and makes tests run again.Paul McMillan
Adds a salted MD5 hasher for backwards compatibility. Thanks gunnar@g10f.de for the report. Also fixes a bug preventing the hasher tests from being run during contrib tests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-23Renovated password hashing, including the forgotten files in r17253.Paul McMillan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17254 bcc190cf-cafb-0310-a4f2-bffc1f526a37