Closed vergenzt closed 3 months ago
If I'm reading it correctly, I think the conclusion in https://bugs.debian.org/1014517 is that Debian does not support (and hasn't ever supported) FIPS mode? :confused:
(I'm not an APT maintainer, and I think https://bugs.debian.org/1014517 really is a more appropriate place to discuss/track this. I'm not really seeing anything we could change in the way we generate/package the rootfs tarballs of the pure Debian upstream builds that might affect this in any meaningful way.)
Any idea why the issue only cropped up in the Docker images recently? (~4 days ago) IIUC I think my team's Docker builds have been succeeding under a FIPS-enabled host system before that point.
Currently thinking I'll just work around this by using an older version of Debian, but I'm curious to figure out why it only recently started impacting builds if it's supposedly never been supported. 🤔
The Debian images haven't changed in any way recently (even the last rebuild was ~3 weeks ago). :sweat_smile:
You could try going through https://hub.docker.com/_/debian/tags?name=bookworm-20 as a rough way to travel back in time and try a bunch of older versions of the bookworm
image to try and narrow down where it was working.
$ crane ls debian | grep -E '^bookworm-[0-9]+$' | sort -r | head
bookworm-20230703
bookworm-20230612
bookworm-20230522
bookworm-20230502
bookworm-20230411
bookworm-20230320
bookworm-20230227
bookworm-20230208
bookworm-20230202
bookworm-20230109
I'm going to go ahead and close this per the discussion in https://bugs.debian.org/1014517 -- looks like there's more work to do upstream before "FIPS mode enabled Debian" can be a thing. :see_no_evil:
Related mailing list discussion: Bug#1014517: apt - Fails in FIPS mode in libgcrypt
I originally filed this at https://github.com/docker-library/python/issues/855, but filing here as it seems to be closer to the source of the issue.
Any ideas for how to resolve this?
Repro:
Doesn't seem to affect older versions of debian: