Skip to content

Conversation

rhenium
Copy link
Member

@rhenium rhenium commented Aug 12, 2025

In OpenSSL's master branch, importing/loading a key in the FIPS mode automatically performs a pair-wise consistency check. This breaks tests for OpenSSL::PKey::EC#check_key and DH#params_ok? as they use deliberately invalid keys. These methods would not be useful in the FIPS mode anyway.

Fixes: #926

In OpenSSL's master branch, importing/loading a key in the FIPS mode
automatically performs a pair-wise consistency check. This breaks tests
for OpenSSL::PKey::EC#check_key and DH#params_ok? as they use
deliberately invalid keys. These methods would not be useful in the
FIPS mode anyway.

Fixes ruby#926
@rhenium rhenium force-pushed the ky/pkey-fix-fips-ci branch from 7336e35 to 25ad8f4 Compare August 12, 2025 17:45
@rhenium rhenium merged commit 58cf287 into ruby:master Aug 12, 2025
41 checks passed
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.

openssl-master: rake test_fips failures about keys
1 participant