#31358: Increase default password salt size in BasePasswordHasher.
--------------------------------------+------------------------------------
Reporter: Jon Moroney | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Utilities | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by Jon Moroney):
Just pushed an update for the points you've mentioned. One bit that jumps
out at me is that I'm changing the behavior of `must_update` by raising an
exception
{{{
def must_update(self, encoded):
decoded = self.decode()
if 'salt' not in decoded:
raise PendingDeprecationWarning('Decode not fully implemented.
Decode will be required in future releases.')
return False
}}}
Also out of curiosity. Why no typing?
--
Ticket URL: <https://code.djangoproject.com/ticket/31358#comment:25>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.46cd9b6c24bec6d0f946fc7deb684b70%40djangoproject.com.