Skip to content

Conversation

@markusboehme
Copy link
Member

Move the no-cryptography check from gops.yaml into the new go/assert-no-crypto pipeline. Then use it to ensure the build of iptables-wrappers can be used in an environment requiring FIPS compliance.

Add the go/assert-no-crypto pipeline to check that a Go module build
does not import any crypto packages. Package builds can use that to
ensure they are usable in FIPS context.

This takes the code of the check from gops.yaml in preparation of
further use.

Signed-off-by: Markus Boehme <markus.boehme@chainguard.dev>
@markusboehme markusboehme requested a review from xnox December 5, 2025 11:30
@markusboehme markusboehme requested a review from a team as a code owner December 5, 2025 11:30
@markusboehme
Copy link
Member Author

epoch-bot is failing, but I'm intentionally not bumping the epoch since this is a build-time check that is not affecting the output.

@xnox
Copy link
Member

xnox commented Dec 5, 2025

epoch-bot is failing, but I'm intentionally not bumping the epoch since this is a build-time check that is not affecting the output.

please bump the epoch - the rebuild is cheap; and we want to see the CI run to see that the build passes with this change.

Copy link
Member

@xnox xnox left a comment

Choose a reason for hiding this comment

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

please rebuild both packages.

The new go/assert-no-crypto pipeline is using the open-coded check from
gops.yaml verbatim. Switch to using the pipeline instead.

Signed-off-by: Markus Boehme <markus.boehme@chainguard.dev>
To be able to use iptables-wrappers in a FIPS context, ensure it is not
using any cryptography.

Signed-off-by: Markus Boehme <markus.boehme@chainguard.dev>
@markusboehme markusboehme requested a review from xnox December 5, 2025 11:50
@octo-sts octo-sts bot added the bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages. label Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants