Add signed SBOM to troubleshoot (#414)

This change will generate a signed software bill of materials and add it to the repository release archives when the project is released.
This commit is contained in:
John Murphy
2021-09-21 13:55:41 -05:00
committed by GitHub
parent 48287097d8
commit 639bf7a832
6 changed files with 78 additions and 0 deletions

View File

@@ -39,3 +39,16 @@ For details on creating the custom resource files that drive support-bundle coll
# Community
For questions about using Troubleshoot, there's a [Replicated Community](https://help.replicated.com/community) forum, and a [#app-troubleshoot channel in Kubernetes Slack](https://kubernetes.slack.com/channels/app-troubleshoot).
# Software Bill of Materials
A signed SBOM that includes Troubleshoot dependencies is included in each release.
- **troubleshoot-sbom.tgz** contains a software bill of materials for Troubleshoot.
- **troubleshoot-sbom.tgz.sig** is the digital signature for troubleshoot-sbom.tgz
- **key.pub** is the public key from the key pair used to sign troubleshoot-sbom.tgz
The following example illustrates using [cosign](https://github.com/sigstore/cosign) to verify that **troubleshoot-sbom.tgz** has
not been tampered with.
```shell
$ cosign verify-blob -key key.pub -signature troubleshoot-sbom.tgz.sig troubleshoot-sbom.tgz
Verified OK
```