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

fix: use base64 output file for provenance for large assets #7496

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

saisatishkarra
Copy link
Contributor

@saisatishkarra saisatishkarra commented Jun 5, 2024

Summary

GH jobs redacts base64 encoded string of large assets and might contain secrets. There is no way to pass the encoded digest as job outputs for provenance.

Failed workflow: https://github.com/Kong/insomnia/actions/runs/9383289942/job/25836570705#step:8:49 with digest redacted leading to send failed job output considered sensitive

Issue: https://github.com/orgs/community/discussions/37942

Solution:

Refer https://github.com/slsa-framework/slsa-github-generator/blob/main/internal/builders/generic/README.md#getting-started

@jackkav jackkav merged commit 2033709 into develop Jun 5, 2024
7 checks passed
@jackkav jackkav deleted the fix/slsa-binary-digest branch June 5, 2024 14:04
stefancruz pushed a commit to stefancruz/insomnia that referenced this pull request Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants