Skip to content

Commit

Permalink
test sha 256
Browse files Browse the repository at this point in the history
  • Loading branch information
AEnguerrand committed Dec 2, 2024
1 parent efd173f commit eb4cdb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sigtstorejs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: npm pack
- name: Generate provenance statement with package as attestation subject
run: |
sha512=$(shasum -a 512 aenguerrand-examplepackage12-0.4.0.tgz | awk '{print $1}')
sha512=$(shasum -a 256 aenguerrand-examplepackage12-0.4.0.tgz | awk '{print $1}')
npx @npmcli/provenance-cli generate -o provenance-statement.json --subject-name="pkg:npm/%40aenguerrand/[email protected]" --subject-digest="$sha512"
- name: Sign provenance statement
run: npx @sigstore/cli attest ./provenance-statement.json -o provenance.sigstore.json
Expand Down

0 comments on commit eb4cdb9

Please sign in to comment.