Skip to content

Commit 361dbf7

Browse files
authored
Recommend verification with GitHub CLI (#2074)
1 parent 8971e62 commit 361dbf7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,21 @@ NOTE: The Chocolatey package is NOT directly maintained by the TFLint maintainer
4040

4141
### Verification
4242

43-
#### Cosign
43+
#### GitHub CLI (Recommended)
4444

45-
[Cosign](https://github.com/sigstore/cosign) `verify-blob` command ensures that the release was built with GitHub Actions in this repository.
45+
[Artifact Attestations](https://docs.github.com/en/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds) are available that can be verified using the GitHub CLI.
4646

4747
```console
48-
cosign verify-blob --certificate=checksums.txt.pem --signature=checksums.txt.keyless.sig --certificate-identity-regexp="^https://github.com/terraform-linters/tflint" --certificate-oidc-issuer=https://token.actions.githubusercontent.com checksums.txt
48+
gh attestation verify checksums.txt -R terraform-linters/tflint
4949
sha256sum --ignore-missing -c checksums.txt
5050
```
5151

52-
#### GitHub CLI (Beta)
52+
#### Cosign
5353

54-
[Artifact Attestations](https://docs.github.com/en/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds) are available that can be verified using the GitHub CLI.
54+
[Cosign](https://github.com/sigstore/cosign) `verify-blob` command ensures that the release was built with GitHub Actions in this repository.
5555

5656
```console
57-
gh attestation verify checksums.txt -R terraform-linters/tflint
57+
cosign verify-blob --certificate=checksums.txt.pem --signature=checksums.txt.keyless.sig --certificate-identity-regexp="^https://github.com/terraform-linters/tflint" --certificate-oidc-issuer=https://token.actions.githubusercontent.com checksums.txt
5858
sha256sum --ignore-missing -c checksums.txt
5959
```
6060

0 commit comments

Comments
 (0)