Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-59678

Backport fips-crypto-policies bind-mounter dracut module

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-10.0
    • None
    • dracut
    • None
    • dracut-103-1.el10
    • Hide
      bd3c1e1cc2f656f7ee4ff47e00ca716d52a86a3d
      a2096dafdbfc88eed91ce34b1f4d27e7eb7ca839
      Show
      bd3c1e1cc2f656f7ee4ff47e00ca716d52a86a3d a2096dafdbfc88eed91ce34b1f4d27e7eb7ca839
    • rhel-sst-cs-plumbers
    • ssg_core_services
    • 10
    • 26
    • 1
    • Hide

      Will be resolved by rebase to 103, including downstream Fedora patches.

       

      Show
      Will be resolved by rebase to 103, including downstream Fedora patches.  
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • All
    • None

      Goal

      Switching a system to FIPS mode by adding fips=1 to the kernel command line should automatically switch the crypto-policy to FIPS if it is not based on it already. This should be done using a bind-mount so that the previous policy is restored should the user choose to disable FIPS mode again. This must happen before systemd is started to ensure systemd's use of cryptography complies with the appropriate policies, so it should happen in the initramfs.

      A PR to do this has been merged upstream and can be backported.

      Acceptance criteria

      A list of verification conditions, successful functional tests, or expected outcomes in order to declare this story/task successfully completed.

      • When the system is booted with fips=1 on the kernel command line and the current crypto-policy is not FIPS or does not start with FIPS:, bind mounts over /etc/crypto-policies/back-ends and /etc/crypto-policies/config should be created
      • In all other situations, nothing should change.

      The crypto team can verify this for you.

              pvalena@redhat.com Pavel Valena
              cllang@redhat.com Clemens Lang
              dracut maint mailing list dracut maint mailing list
              qe-baseos-daemons qe-baseos-daemons
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: