Skip to content
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

RFC: Signed RiffRaff Artifacts #101

Closed
wants to merge 1 commit into from
Closed

RFC: Signed RiffRaff Artifacts #101

wants to merge 1 commit into from

Conversation

AshCorr
Copy link
Member

@AshCorr AshCorr commented Jan 5, 2024

What does this change?

In addition to a build.json file actions-riff-raff will also produce a sigstore-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 the sigstore-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

@AshCorr AshCorr force-pushed the ash/hashes branch 7 times, most recently from e4e696a to be3b06c Compare January 5, 2024 15:31
@AshCorr AshCorr changed the title Generate a hash of published artifact RFC: Signed RiffRaff Artifacts Jan 5, 2024
Copy link

This PR is stale because it has been open 30 days with no activity. Unless a comment is added or the “stale” label removed, this will be closed in 3 days

@github-actions github-actions bot added the Stale label Feb 12, 2024
@AshCorr
Copy link
Member Author

AshCorr commented Feb 12, 2024

not yet!

@github-actions github-actions bot removed the Stale label Feb 13, 2024
Copy link

This PR is stale because it has been open 30 days with no activity. Unless a comment is added or the “stale” label removed, this will be closed in 3 days

@github-actions github-actions bot added the Stale label Mar 18, 2024
Copy link

This PR was closed because it has been stalled for 3 days with no activity.

@github-actions github-actions bot closed this Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant