Skip to content

Commit

Permalink
extract provenance
Browse files Browse the repository at this point in the history
Signed-off-by: Ramon Petgrave <[email protected]>
  • Loading branch information
ramonpetgrave64 committed Nov 20, 2024
1 parent bf11fd5 commit 9ea12ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/scripts/pre-submit.e2e.generic.default.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ set -euo pipefail
source "./.github/workflows/scripts/e2e-verify.common.sh"

# TODO(github.com/slsa-framework/slsa-github-generator/issues/129): Address base64 output format.
ATTESTATION=$(cat "$PROVENANCE")
# ATTESTATION=$(cat "$PROVENANCE")
ATTESTATION=$(cat "$PROVENANCE" | jq -r '.dsseEnvelope.payload' | base64 -d | jq)

# Verify common provenance fields.
e2e_verify_common_all "$ATTESTATION"
Expand Down

0 comments on commit 9ea12ef

Please sign in to comment.