Skip to content

Conversation

@corhere
Copy link
Collaborator

@corhere corhere commented Dec 18, 2025

The MD5 hash algorithm panics under GODEBUG=fips140=only. Calculate the digest of the seccomp profile using SHA256 instead. The message containing the digest is informational only so changing the hash algorithm should not introduce any compatibility breaks. And as far as I can tell the DockerOpt.msg field is a dead store so this change should have no observable impact on behaviour aside from not panicking when run in FIPS140-only mode.

The MD5 hash algorithm panics under GODEBUG=fips140=only. Calculate the
digest of the seccomp profile using SHA256 instead. The message
containing the digest is informational only so changing the hash
algorithm should not introduce any compatibility breaks. And as far as I
can tell the DockerOpt.msg field is a dead store so this change should
have no observable impact on behaviour aside from not panicking when run
in FIPS140-only mode.

Signed-off-by: Cory Snider <csnider@mirantis.com>
(cherry picked from commit e91fb78)
Signed-off-by: Cory Snider <csnider@mirantis.com>
Copy link
Contributor

@yevchuk-kostiantyn yevchuk-kostiantyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@corhere corhere requested a review from chenyaooo January 14, 2026 17:49
@corhere corhere enabled auto-merge (squash) January 15, 2026 18:16
Copy link

@mlimardo1984 mlimardo1984 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGMT, thanks!

@corhere corhere merged commit b6be1eb into Mirantis:release/0.3 Jan 20, 2026
12 checks passed
@corhere corhere deleted the backport-0.3/no-md5 branch January 21, 2026 18:09
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.

5 participants