Skip to content

hmac: enable tests in the FIPS mode#1042

Merged
rhenium merged 1 commit intoruby:masterfrom
rhenium:ky/hmac-tests-fips-mode
Apr 29, 2026
Merged

hmac: enable tests in the FIPS mode#1042
rhenium merged 1 commit intoruby:masterfrom
rhenium:ky/hmac-tests-fips-mode

Conversation

@rhenium
Copy link
Copy Markdown
Member

@rhenium rhenium commented Apr 29, 2026

Fix CI with OpenSSL master in the FIPS mode. With the fips provider in OpenSSL master, HMAC keys shorter than 112 bits are rejected and MD5 is disallowed. Update tests to use SHA-2 and longer keys.

Fix CI with OpenSSL master in the FIPS mode. With the fips provider in
OpenSSL master, HMAC keys shorter than 112 bits are rejected and MD5 is
disallowed. Update tests to use SHA-2 and longer keys.
@rhenium rhenium merged commit 14a2a27 into ruby:master Apr 29, 2026
47 checks passed
@junaruga
Copy link
Copy Markdown
Member

Thank you for your work on fixing test_hmac.rb in FIPS!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants