]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109396: Fix test_socket.test_hmac_sha1() in FIPS mode (#109423)
authorVictor Stinner <vstinner@python.org>
Thu, 14 Sep 2023 21:24:11 +0000 (23:24 +0200)
committerGitHub <noreply@github.com>
Thu, 14 Sep 2023 21:24:11 +0000 (21:24 +0000)
commite091b9f20fa8e409003af79f3c468b8225e6dcd3
tree8e4365448f7842dc31b9aac70cb689706111a9d8
parentd7dc3d9455de93310ccde13ceafe84d426790a5c
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.
Lib/test/test_socket.py
Misc/NEWS.d/next/Tests/2023-09-14-22-58-47.gh-issue-109396.J1a4jR.rst [new file with mode: 0644]