Skip to content

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

Merged
jackkav merged 1 commit intodevelopfrom
fix/slsa-binary-digest
Jun 5, 2024
Merged

fix: use base64 output file for provenance for large assets#7496
jackkav merged 1 commit intodevelopfrom
fix/slsa-binary-digest

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

@saisatishkarra saisatishkarra requested a review from jackkav June 5, 2024 14:00
@jackkav jackkav merged commit 2033709 into develop Jun 5, 2024
@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.

3 participants