Signing SBOMs in workflows#1281
Conversation
|
|
Hi @lefosg, |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1281 +/- ##
==========================================
- Coverage 91.59% 91.53% -0.06%
==========================================
Files 6 6
Lines 3259 3261 +2
Branches 902 904 +2
==========================================
Hits 2985 2985
Misses 132 132
- Partials 142 144 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Thank you for the contribution @lefosg ! As a matter of security we are typically weary of externally owned Github actions - especially ones that themselves are helping implement security. I understand the need for signing our releases. Would you be open to the idea of us signing our entire release (including SBOM) or us signing our own SBOM (without cosign)? |
…TOS#1281) Cadence/Xtensa: Move Tensilica demos to Partner-Supported-Demos submodule Add a README to this deprecated demos directory indicating where to find the latest Tensilica test code. Signed-off-by: Ian Thompson <ianst@cadence.com>



To provide transparency in the supply chain of the release, cosign (a client for Sigstore) is used to sign the SBOM. It is now common to provide signed artifacts and later on, before deployment, verify the SBOM's signature. This ensures integrity and authenticity (the SBOM has not been tampered with and, only authorized entities - the GitHub runner - produces/signs the SBOM)
Changes
Added two steps in the
auto-release.yml, right after generating the SBOM, before commiting the changes.It is easy to reproduce locally. Install
cosign. Download the release. Run the two commands added in theattest sbomstep. The first command (cosign sign-blob) should produce two files. As a sanity check, the second command verifies the signature, plus that the entity that signed is indeed the GitHub runner.Checklist:
Related Issue
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.