Skip to content

Add RHEL openssh 9.9p1 FIPS patch for wolfProvider#332

Open
ColtonWilley wants to merge 2 commits intowolfSSL:masterfrom
ColtonWilley:wp_openssh_rhel_fips_patch
Open

Add RHEL openssh 9.9p1 FIPS patch for wolfProvider#332
ColtonWilley wants to merge 2 commits intowolfSSL:masterfrom
ColtonWilley:wp_openssh_rhel_fips_patch

Conversation

@ColtonWilley
Copy link
Copy Markdown
Contributor

Adds openssh-RHEL-9.9p1-FIPS-wolfprov.patch for 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 in test_kex so SSHKDF still gets exercised. Also strips the MLKEM/sntrup761 kex entries that RHEL's crypto-policies activate but upstream 9.9p1 leaves dormant.

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.
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.

1 participant