Skip to content

Commit cbf5bcd

Browse files
committed
Address mdtro feedback
1 parent b547ba4 commit cbf5bcd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182
for file in sentry-prevent-cli_*/sentry-prevent-cli_*; do
183183
cosign sign-blob $file --bundle "$file.bundle" --yes;
184184
# Test verification because why not
185-
cosign verify-blob $file --bundle "$file.bundle" --certificate-identity-regexp=^https://github.com/getsentry/prevent-cli/ --certificate-oidc-issuer=https://token.actions.githubusercontent.com
185+
cosign verify-blob $file --bundle "$file.bundle" --certificate-identity-regexp="^https://github\.com/getsentry/prevent-cli/\.github/workflows/build\.yml@refs/heads/release/[0-9]+\.[0-9]+\.[0-9]+" --certificate-oidc-issuer=https://token.actions.githubusercontent.com
186186
done
187187
188188
- name: Upload release artifact

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Then, use `cosign` to verify the binary:
3939
```
4040
cosign verify-blob sentry-prevent-cli \
4141
--bundle sentry-prevent-cli_macos.bundle \
42-
--certificate-identity-regexp=^https://github.com/getsentry/prevent-cli \
42+
--certificate-identity-regexp="^https://github\.com/getsentry/prevent-cli/\.github/workflows/build\.yml@refs/heads/release/[0-9]+\.[0-9]+\.[0-9]+" \
4343
--certificate-oidc-issuer=https://token.actions.githubusercontent.com
4444
```
4545
The OIDC identity here is associated with the specific workflow run that signs the binary. If the verification succeeds, you can trust you've recieved the same binary we built in our GitHub Actions workflow.

0 commit comments

Comments
 (0)