mirror of
https://github.com/django/django.git
synced 2025-08-01 09:32:50 +00:00
Refs #27468 -- Added tests and release notes for signing.dumps()/loads() changes.
Follow up to 71c4fb7beb
.
This commit is contained in:
parent
f4ac167119
commit
1d6fdca557
4 changed files with 17 additions and 5 deletions
|
@ -418,9 +418,10 @@ Security
|
|||
origins. If you need the previous behavior, explicitly set
|
||||
:setting:`SECURE_REFERRER_POLICY` to ``None``.
|
||||
|
||||
* The default :class:`django.core.signing.Signer` algorithm is changed to the
|
||||
SHA-256. Support for signatures made with the old SHA-1 algorithm remains
|
||||
until Django 4.0.
|
||||
* The default algorithm of :class:`django.core.signing.Signer`,
|
||||
:meth:`django.core.signing.loads`, and :meth:`django.core.signing.dumps` is
|
||||
changed to the SHA-256. Support for signatures made with the old SHA-1
|
||||
algorithm remains until Django 4.0.
|
||||
|
||||
Also, the new ``algorithm`` parameter of the
|
||||
:class:`~django.core.signing.Signer` allows customizing the hashing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue