Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this change?
In addition to a
build.json
fileactions-riff-raff
will also produce asigstore-hashes.json
file which lists all of the SHA256 file hashes of the files being uploaded to riff-raff.sigstore-hashes.json
is signed using Sigstore. This allows riff-raff to verify that thesigstore-hashes.json
file has been created by a workflow in the Guardian organisation, and perhaps eventually that the repository uploading the artifact has access to the project being deployed to.In the short term we can get riff-raff to add a warning to any builds that don't have a sigstore-hashes.json file and/or have files that have been tampered with, but eventually, once adoption is high enough, fail builds that don't have an attached
sigstore-hashes.json
file.How to test
How can we measure success?
Have we considered potential risks?
Images
Accessibility