-
Notifications
You must be signed in to change notification settings - Fork 26
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
Implement RFC0038 Amendment: Reproducible CycloneDX SBOMs #367
Comments
5 tasks
8 tasks
Repository owner
moved this from 📨 PR Opened
to ✅ Done
in Paketo Workstreams
Aug 3, 2022
Repository owner
moved this from 🚧 In Progress
to ✅ Done
in Paketo Roadmap 2022
Aug 3, 2022
This was referenced Aug 3, 2022
This was referenced Aug 3, 2022
This was referenced Aug 8, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Enhancement
Now that paketo-buildpacks/rfcs#220 has been approved and merged, we should make changes to the CycloneDX SBOM implementation so that CycloneDX JSON v1.3 and v1.4 SBOMs generated by Paketo buildpacks are reproducible. This means omitting the
metadata.timestamp
andserialNumber
fields from the SBOM output.Both CycloneDX 1.3 and 1.4 SBOMs should be reproducible.
Possible Solution
sbom.FormattedReader.Read()
function to edit the CycloneDX JSON after it's generated and/orsbom.Format.Encode()
implementation so that it doesn't include the non-reproducible fields in the generated SBOM struct.Motivation
If SBOMs are not reproducible, they make buildpack-built images non-reproducible. Buildpack users and buildpack authors using packit shouldn't compromise build reproducibility just to get image SBOMs.
The text was updated successfully, but these errors were encountered: