Skip to content

[3.9] gh-109396: Fix test_socket.test_hmac_sha1() in FIPS mode (GH-109423)#125107

Merged
ambv merged 3 commits intopython:3.9from
miss-islington:backport-f7bfac4-3.9
Nov 4, 2024
Merged

[3.9] gh-109396: Fix test_socket.test_hmac_sha1() in FIPS mode (GH-109423)#125107
ambv merged 3 commits intopython:3.9from
miss-islington:backport-f7bfac4-3.9

Conversation

@miss-islington
Copy link
Contributor

gh-109396: Fix test_socket.test_hmac_sha1() in FIPS mode (GH-109423)

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 e091b9f)

(cherry picked from commit f7bfac4)

Co-authored-by: Miss Islington (bot) 31488909+miss-islington@users.noreply.github.com
Co-authored-by: Victor Stinner vstinner@python.org

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants