]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] gh-109396: Fix test_socket.test_hmac_sha1() in FIPS mode (GH-109423) (GH-125107)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 4 Nov 2024 15:17:48 +0000 (16:17 +0100)
committerGitHub <noreply@github.com>
Mon, 4 Nov 2024 15:17:48 +0000 (16:17 +0100)
commit011fb84db5fdbdfe542188b2259f2c42d5862122
tree22ac073300dac1dcbbcd01384ee0fe341667d092
parent633555735a023d3e4d92ba31da35b1205f9ecbd7
[3.9] gh-109396: Fix test_socket.test_hmac_sha1() in FIPS mode (GH-109423) (GH-125107)

Use a longer key: FIPS mode requires at least of at least 112 bits.
The previous key was only 32 bits.

(cherry picked from commit e091b9f20fa8e409003af79f3c468b8225e6dcd3)
(cherry picked from commit f7bfac4b3dd30920f97a542fd78c355ce62aa267)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
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]