Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #12 from suzuki-shunsuke/docs/verify
Browse files Browse the repository at this point in the history
verify
  • Loading branch information
suzuki-shunsuke authored Jan 21, 2023
2 parents 1a90779 + 4a7dfb5 commit 6c31a3d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,23 @@ cosign sign-blob \

## Verify checksum files by Cosign

You can verify a checksum file by Cosign.

```sh
COSIGN_EXPERIMENTAL=1 cosign verify-blob \
--signature https://github.com/suzuki-shunsuke/example-sigstore-cosign/releases/download/v0.1.0-5/checksums.txt.sig \
--certificate https://github.com/suzuki-shunsuke/example-sigstore-cosign/releases/download/v0.1.0-5/checksums.txt.pem \
--certificate-github-workflow-repository suzuki-shunsuke/example-sigstore-cosign \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
checksums.txt
```

```sh
sha256sum --ignore-missing -c checksums.txt
```

## Advanced: Separate GitHub Actions jobs for least privilege

## Sign checksum files by GoReleaser


Expand Down

0 comments on commit 6c31a3d

Please sign in to comment.