Skip to content

Commit 1adb0ac

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

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,24 @@ 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 for signing artifacts you can verify the
25+
integrity of our 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+
39+
We utilize cosign to sign and verify artifacts with the KEYLESS mode. To learn
40+
more about how keyless signing is done, visit the official documentation about
41+
[Keyless Signatures](https://docs.sigstore.dev/cosign/signing/overview/#the-signing-witnessing-and-verifying-process).

0 commit comments

Comments
 (0)