Skip to content

Commit 4d696a8

Browse files
committed
add documentation about how to verify the signed images
Signed-off-by: Jan Larwig <[email protected]>
1 parent d35826f commit 4d696a8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,23 @@ Linting/validation uses the [helm/chart-testing tool](https://github.com/helm/ch
1818
ct lint --all --config ct.yaml
1919
ct install --all --config ct.yaml
2020
```
21+
22+
## Verify Signed Helm Charts
23+
24+
With the introduction of cosign as a keyless method of signing artifacts you can
25+
verify the integrity of the artifacts using the following command:
26+
27+
```
28+
VERSION=8.2.2
29+
cosign verify --certificate-oidc-issuer https://token.actions.githubusercontent.com \
30+
--certificate-github-workflow-repository oauth2-proxy/manifests \
31+
--certificate-github-workflow-name "Release Charts" \
32+
--certificate-github-workflow-ref main \
33+
--certificate-identity "https://github.com/oauth2-proxy/manifests/.github/workflows/release.yaml@main" \
34+
"oci://ghcr.io/oauth2-proxy/manifests/charts/oauth2-proxy@${VERSION}" | jq
35+
```
36+
37+
Note:
38+
We utilize cosign to verify images signed with the KEYLESS mode. To learn more
39+
visit the official documentation on [Keyless Signatures](https://docs.sigstore.dev/cosign/signing/overview/#the-signing-witnessing-and-verifying-process).
40+

0 commit comments

Comments
 (0)