Add RHEL openssh 9.9p1 FIPS patch for wolfProvider#332
Open
ColtonWilley wants to merge 2 commits intowolfSSL:masterfrom
Open
Add RHEL openssh 9.9p1 FIPS patch for wolfProvider#332ColtonWilley wants to merge 2 commits intowolfSSL:masterfrom
ColtonWilley wants to merge 2 commits intowolfSSL:masterfrom
Conversation
Adds openssh-RHEL-9.9p1-FIPS-wolfprov.patch for running the regress suite against RHEL/CentOS Stream 10's patched openssh-9.9p1 (which ships ~78 RHEL patches on top of upstream 9.9p1) under FIPS-mode enforcement with wolfProvider. The patch follows the philosophy of the existing openssh-V_9_6_P1-FIPS-wolfprov patch: aggressive skip first, with a FIPS-compliant cipher/MAC pin in test_kex so the unit test still runs and exercises SSHKDF. Also drops the post-quantum kex entries (MLKEM, sntrup761) from test_kex.c, which RHEL's crypto-policies activate even though upstream V_9_9_P1 leaves them dormant. README updated to point users at the new patch.
t1 fails on stock RHEL openssh in FIPS mode (without wolfProvider) too, not just under our patches. The fixture is a 1024-bit RSA private key, which FIPS rejects when ssh-keygen attempts to roundtrip it via -i. Verified on a real CentOS Stream 10 VM with kernel fips=1 and crypto-policies FIPS active.
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
openssh-RHEL-9.9p1-FIPS-wolfprov.patchfor running the regress suite of RHEL / CentOS Stream 10's patched openssh-9.9p1 (which carries ~78 patches on top of upstream 9.9p1) under FIPS-mode wolfProvider. Same skip-first philosophy as the existing V_9_6_P1 FIPS patch, plus a FIPS-compliant cipher/MAC pin intest_kexso SSHKDF still gets exercised. Also strips the MLKEM/sntrup761 kex entries that RHEL's crypto-policies activate but upstream 9.9p1 leaves dormant.