<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chango.git/django/utils/crypto.py, branch devmain</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/chango.git/atom?h=devmain</id>
<link rel='self' href='http://cgit.adnoto.dev/chango.git/atom?h=devmain'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/'/>
<updated>2026-06-10T14:17:34Z</updated>
<entry>
<title>Fixed #37142 -- Moved django_file_prefixes() to django.utils.warnings.</title>
<updated>2026-06-10T14:17:34Z</updated>
<author>
<name>zhengkangyang</name>
<email>1872483761@qq.com</email>
</author>
<published>2026-06-06T08:17:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=f970a98e464320c09dde8d45009eadfb4d038a57'/>
<id>urn:sha1:f970a98e464320c09dde8d45009eadfb4d038a57</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #37078 -- Deprecated SHA-1 default for salted_hmac() and base64_hmac() algorithm.</title>
<updated>2026-05-04T17:45:16Z</updated>
<author>
<name>Denny Biasiolli</name>
<email>dennybiasiolli@users.noreply.github.com</email>
</author>
<published>2026-04-30T17:53:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=0f4fff79d33b7cc84822e66bd1fc16caf8222e3a'/>
<id>urn:sha1:0f4fff79d33b7cc84822e66bd1fc16caf8222e3a</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Fixed #36572 -- Revert "Fixed #36546 -- Deprecated django.utils.crypto.constant_time_compare() in favor of hmac.compare_digest()."</title>
<updated>2025-08-27T08:50:50Z</updated>
<author>
<name>Sarah Boyce</name>
<email>42296566+sarahboyce@users.noreply.github.com</email>
</author>
<published>2025-08-26T11:37:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=d0e4dd5cdd743a5c43c4ccc2c8fa29d3982eaa71'/>
<id>urn:sha1:d0e4dd5cdd743a5c43c4ccc2c8fa29d3982eaa71</id>
<content type='text'>
This reverts commit 0246f478882c26bc1fe293224653074cd46a90d0.
</content>
</entry>
<entry>
<title>Fixed #36546 -- Deprecated django.utils.crypto.constant_time_compare() in favor of hmac.compare_digest().</title>
<updated>2025-08-25T12:45:16Z</updated>
<author>
<name>SaJH</name>
<email>wogur981208@gmail.com</email>
</author>
<published>2025-08-22T13:32:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=0246f478882c26bc1fe293224653074cd46a90d0'/>
<id>urn:sha1:0246f478882c26bc1fe293224653074cd46a90d0</id>
<content type='text'>
Signed-off-by: SaJH &lt;wogur981208@gmail.com&gt;
</content>
</entry>
<entry>
<title>Removed double spaces after periods and within phrases.</title>
<updated>2025-07-23T13:09:43Z</updated>
<author>
<name>Sarah Boyce</name>
<email>42296566+sarahboyce@users.noreply.github.com</email>
</author>
<published>2025-07-18T13:37:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=1ecf6889cabc9f3f60d3fdd651468cddd8f4da6e'/>
<id>urn:sha1:1ecf6889cabc9f3f60d3fdd651468cddd8f4da6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Applied Black's 2024 stable style.</title>
<updated>2024-01-26T11:45:07Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2024-01-26T11:45:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=305757aec19c9d5111e4d76095ae0acd66163e4b'/>
<id>urn:sha1:305757aec19c9d5111e4d76095ae0acd66163e4b</id>
<content type='text'>
https://github.com/psf/black/releases/tag/24.1.0</content>
</entry>
<entry>
<title>Fixed #34233 -- Dropped support for Python 3.8 and 3.9.</title>
<updated>2023-01-18T08:46:01Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2023-01-18T08:46:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=3bbe22dafcc69c5ffa79707f5a74eb1faf466e12'/>
<id>urn:sha1:3bbe22dafcc69c5ffa79707f5a74eb1faf466e12</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #33476 -- Reformatted code with Black.</title>
<updated>2022-02-07T19:37:05Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2022-02-03T19:24:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=9c19aff7c7561e3a82978a272ecdaad40dda5c00'/>
<id>urn:sha1:9c19aff7c7561e3a82978a272ecdaad40dda5c00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #28401 -- Allowed hashlib.md5() calls to work with FIPS kernels.</title>
<updated>2021-10-12T06:58:27Z</updated>
<author>
<name>Ade Lee</name>
<email>alee@redhat.com</email>
</author>
<published>2021-08-10T22:13:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=d10c7bfe56f025ccc690721c9f13e7029b777b9c'/>
<id>urn:sha1:d10c7bfe56f025ccc690721c9f13e7029b777b9c</id>
<content type='text'>
md5 is not an approved algorithm in FIPS mode, and trying to instantiate
a hashlib.md5() will fail when the system is running in FIPS mode.

md5 is allowed when in a non-security context. There is a plan to add a
keyword parameter (usedforsecurity) to hashlib.md5() to annotate whether
or not the instance is being used in a security context.

In the case where it is not, the instantiation of md5 will be allowed.
See https://bugs.python.org/issue9216 for more details.

Some downstream python versions already support this parameter. To
support these versions, a new encapsulation of md5() has been added.
This encapsulation will pass through the usedforsecurity parameter in
the case where the parameter is supported, and strip it if it is not.

Co-authored-by: Mariusz Felisiak &lt;felisiak.mariusz@gmail.com&gt;
</content>
</entry>
<entry>
<title>Refs #31359 -- Made get_random_string()'s length argument required.</title>
<updated>2021-01-14T16:50:04Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2021-01-13T21:33:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=be6e46813010f47e3dec22dd8c360df2dcf53369'/>
<id>urn:sha1:be6e46813010f47e3dec22dd8c360df2dcf53369</id>
<content type='text'>
Per deprecation timeline.
</content>
</entry>
</feed>
