summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-09-14 21:24:11 (GMT)
committerGitHub <noreply@github.com>2023-09-14 21:24:11 (GMT)
commite091b9f20fa8e409003af79f3c468b8225e6dcd3 (patch)
tree8e4365448f7842dc31b9aac70cb689706111a9d8 /Misc
parentd7dc3d9455de93310ccde13ceafe84d426790a5c (diff)
downloadcpython-e091b9f20fa8e409003af79f3c468b8225e6dcd3.zip
cpython-e091b9f20fa8e409003af79f3c468b8225e6dcd3.tar.gz
cpython-e091b9f20fa8e409003af79f3c468b8225e6dcd3.tar.bz2
gh-109396: Fix test_socket.test_hmac_sha1() in FIPS mode (#109423)
Use a longer key: FIPS mode requires at least of at least 112 bits. The previous key was only 32 bits.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Tests/2023-09-14-22-58-47.gh-issue-109396.J1a4jR.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2023-09-14-22-58-47.gh-issue-109396.J1a4jR.rst b/Misc/NEWS.d/next/Tests/2023-09-14-22-58-47.gh-issue-109396.J1a4jR.rst
new file mode 100644
index 0000000..71150ec
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2023-09-14-22-58-47.gh-issue-109396.J1a4jR.rst
@@ -0,0 +1,3 @@
+Fix ``test_socket.test_hmac_sha1()`` in FIPS mode. Use a longer key: FIPS
+mode requires at least of at least 112 bits. The previous key was only 32
+bits. Patch by Victor Stinner.