Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify the CRDS.tar.gz SPDX signature prior to opening PR #217

Open
viccuad opened this issue Apr 13, 2023 · 0 comments
Open

Verify the CRDS.tar.gz SPDX signature prior to opening PR #217

viccuad opened this issue Apr 13, 2023 · 0 comments

Comments

@viccuad
Copy link
Member

viccuad commented Apr 13, 2023

Seldomly, we have changes to the CRDs definitions. These are shipped as part of kubewarden-controller releases, under a file called CRDS.tar.gz.

Contrary to other artifacts that the helm charts consume (such as container image tags, for example policy-server:v1.5.0 or kubewarden-controller:v1.5.0), the CRDs definitions are taking as files. We should verify them cryptographically prior to consumption.

Note:
Even if we currently don't verify the signature, the consumption of the CRDs definitions happens via a PR, that is reviewed by a human.

Acceptance Criteria

Check that the CRDS.tar.gz matches with that one listed in kubewarden-controller-sbom.spdx (SPDXID: SPDXRef-File-kubewarden-controller-CRDS.tar.gz), and that the spdx file signature is valid.

@viccuad viccuad changed the title Verify the CRDS.tar.gz SPDX signature prior to consumption Verify the CRDS.tar.gz SPDX signature prior to opening PR Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant