diff options
author | Victor Stinner <vstinner@python.org> | 2023-09-14 21:24:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-14 21:24:11 (GMT) |
commit | e091b9f20fa8e409003af79f3c468b8225e6dcd3 (patch) | |
tree | 8e4365448f7842dc31b9aac70cb689706111a9d8 /Misc | |
parent | d7dc3d9455de93310ccde13ceafe84d426790a5c (diff) | |
download | cpython-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.rst | 3 |
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. |