Changes between Version 1 and Version 2 of Ticket #24115
- Timestamp:
- Jan 11, 2015, 3:25:33 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24115 – Description
v1 v2 1 If the number of rounds is changed for the [https://github.com/django/django/blob/5dddd79433ceb88ab67d9851b49a44ce5b8f509c/django/contrib/auth/hashers.py#L273 bcrypt hashers] it does not appear that the must_update will never return True. This is because the [https://github.com/django/django/blob/5dddd79433ceb88ab67d9851b49a44ce5b8f509c/django/contrib/auth/hashers.py#L216 default implementation is used].1 If the number of rounds is changed for the [https://github.com/django/django/blob/5dddd79433ceb88ab67d9851b49a44ce5b8f509c/django/contrib/auth/hashers.py#L273 bcrypt hashers] it does not appear that the must_update will ever return True. This is because the [https://github.com/django/django/blob/5dddd79433ceb88ab67d9851b49a44ce5b8f509c/django/contrib/auth/hashers.py#L216 default implementation is used]. 2 2 3 3 For comparison, see [https://pythonhosted.org/passlib/lib/passlib.context.html#hash-migration passlib] which does in fact perform migrations for bcrypt.