Podman ignores FIPS policy modifiers #23213
Replies: 3 comments 1 reply
-
$ cat /tmp/crypto-policies/config You would like to change the check in podman/vendor/github.com/containers/common/pkg/subscriptions/subscriptions.go To also check if /etc/crypto-policies is a mount point? |
Beta Was this translation helpful? Give feedback.
-
As a work around I recompiled podman without the code which enforces fips on the container. Mounting /etc/crypto-policies with bind volumes works really good. @rhatdan: Can we expect a solution to the discussion in matter? |
Beta Was this translation helpful? Give feedback.
-
Interested in opening a PR? |
Beta Was this translation helpful? Give feedback.
-
podman/vendor/github.com/containers/common/pkg/subscriptions/subscriptions.go
Lines 347 to 395 in b5bfd72
podman-4.9.4-1 on almalinux 8.10
If the user has a crypto-policy modifier there is no way for him to have it inside the container.
1 - Create a policy modifier
2 - Activate the policy
3 - Reboot
4 - Check crypto-policy
5 - Check inside container
6 - Try with bind volume
Beta Was this translation helpful? Give feedback.
All reactions