Skip to content

Commit

Permalink
Update docs for cosign v2 (#725)
Browse files Browse the repository at this point in the history
Verified both getting started and signed provenance tutorials.
  • Loading branch information
wlynch authored Feb 25, 2023
1 parent c3d0f04 commit 555cdda
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/tutorials/getting-started-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,20 @@ tkn tr describe --last -o jsonpath="{.metadata.annotations.chains\.tekton\.dev/s

Finally, we can check the signature with [cosign]:

```shell
$ cosign verify-blob-attestation --insecure-ignore-tlog --key k8s://tekton-chains/signing-secrets --signature sig --type slsaprovenance --check-claims=false /dev/null
Verified OK
```

<details><summary>If using Cosign v1</summary>

```shell
$ cosign verify-blob --key k8s://tekton-chains/signing-secrets --signature sig sig
Verified OK
```

</details>

Now we have a verifiable record of the `TaskRun`!

## What you just created
Expand Down

0 comments on commit 555cdda

Please sign in to comment.