Skip to content

[WIP] checkfips: Allow FIPS upgrades in 8.8 #1056

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

neverpanic
Copy link

The addupgradebootentry actor does already preserve fips=1 on the kernel command line, so the upgrade initramfs is correctly booted in FIPS mode.

The upgrade initramfs does not correctly enable FIPS mode for all libraries due to a bug in dracut that also affects all normal boot environments generated by dracut. See rhbz#2176560 for a report of this problem. Once this is fixed, we can enable leapp upgrades in FIPS mode.

The systemd-nspawn container in the upgrade initramfs does correctly pass /proc and has the required files (OpenSSL FIPS provider, OpenSSL configuration file, crypto-policies, GnuTLS HMAC integrity checksums) installed, so that part already behaves as expected in a FIPS uprgade scenario.

See: OAMG-7824

The addupgradebootentry actor does already preserve fips=1 on the kernel
command line, so the upgrade initramfs is correctly booted in FIPS mode.

The upgrade initramfs does not correctly enable FIPS mode for all
libraries due to a bug in dracut that also affects all normal boot
environments generated by dracut. See rhbz#2176560 for a report of this
problem. Once this is fixed, we can enable leapp upgrades in FIPS mode.

The systemd-nspawn container in the upgrade initramfs does correctly
pass /proc and has the required files (OpenSSL FIPS provider, OpenSSL
configuration file, crypto-policies, GnuTLS HMAC integrity checksums)
installed, so that part already behaves as expected in a FIPS uprgade
scenario.

See: OAMG-7824
Signed-off-by: Clemens Lang <[email protected]>
@github-actions
Copy link

Thank you for contributing to the Leapp project!

Please note that every PR needs to comply with the Leapp Guidelines and must pass all tests in order to be mergeable.
If you want to request a review or rebuild a package in copr, you can use following commands as a comment:

  • review please to notify leapp developers of review request
  • /packit copr-build to submit a public copr build using packit

To launch regression testing public members of oamg organization can leave the following comment:

  • /rerun to schedule basic regression tests using this pr build and leapp*master* as artifacts
  • /rerun 42 to schedule basic regression tests using this pr build and leapp*PR42* as artifacts
  • /rerun-sst to schedule sst tests using this pr build and leapp*master* as artifacts
  • /rerun-sst 42 to schedule sst tests using this pr build and leapp*PR42* as artifacts

Please open ticket in case you experience technical problem with the CI. (RH internal only)

Note: In case there are problems with tests not being triggered automatically on new PR/commit or pending for a long time, please consider rerunning the CI by commenting leapp-ci build (might require several comments). If the problem persists, contact leapp-infra.

@neverpanic neverpanic changed the title checkfips: Allow FIPS upgrades in 8.8 [WIP] checkfips: Allow FIPS upgrades in 8.8 Mar 10, 2023
@neverpanic
Copy link
Author

See #1053.

@neverpanic neverpanic closed this Mar 10, 2023
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