#37078: Change default algorithm of salted_hmac() from SHA-1 to SHA-256
-------------------------------------+-------------------------------------
Reporter: Denny Biasiolli | Owner: Denny
Type: | Biasiolli
Cleanup/optimization | Status: closed
Component: Utilities | Version: dev
Severity: Normal | Resolution: fixed
Keywords: security, crypto | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls <jacobtylerwalls@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"0f4fff79d33b7cc84822e66bd1fc16caf8222e3a" 0f4fff79]:
{{{#!CommitTicketReference repository=""
revision="0f4fff79d33b7cc84822e66bd1fc16caf8222e3a"
Fixed #37078 -- Deprecated SHA-1 default for salted_hmac() and
base64_hmac() algorithm.
Deprecated the default value of the algorithm argument in
django.utils.crypto.salted_hmac() and django.core.signing.base64_hmac(),
which will change from 'sha1' to 'sha256' in Django 7.0.
}}}
--
Ticket URL: <
https://code.djangoproject.com/ticket/37078#comment:11>