Replies: 1 comment
-
|
The checksum-argument part of this proposal is now tracked in #10589. The cosign verification part remains under discussion here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
In the current
contrib/install.shscript, the checksum is fetched from the download location:trivy/contrib/install.sh
Lines 59 to 61 in bda9710
I'd like to be able to either use
cosignor pass a checksum as an argument tocontrib/install.shto ensure that the binaries don't change. This would help prevent tampering of the binaries.After this feature has been added to
contrib/install.sh, it would be useful to support this in https://github.com/aquasecurity/setup-trivy and https://github.com/aquasecurity/trivy-action. It would prevent modifications to the binaries when using pinned hashes for the actions.Example of validating with sigstore/
cosign:https://github.com/aquasecurity/trivy/security/advisories/GHSA-69fq-xp46-6x23#:~:text=How%20to%20Verify%20Existing%20Installations
Target
None
Scanner
None
Beta Was this translation helpful? Give feedback.
All reactions