fixup! fixup! Add artifacts signing.

This commit is contained in:
2025-12-15 00:16:16 +00:00
parent 9fd8f9b03b
commit 391bce366d
3 changed files with 9 additions and 14 deletions
+2
View File
@@ -12,6 +12,8 @@ on:
permissions:
contents: write
packages: write
id-token: write
jobs:
release:
+2 -9
View File
@@ -74,17 +74,10 @@ homebrew_casks:
signs:
- cmd: cosign
env:
- COSIGN_PASSWORD={{ .Env.COSIGN_PASSWORD }}
certificate: "${artifact}.pem"
signature: "${artifact}.sigstore.json"
args:
- sign-blob
- "--key"
- "/tmp/cosign.key"
- "--output-signature"
- "${signature}"
- "--output-certificate"
- "${certificate}"
- "--bundle=${signature}"
- "${artifact}"
- "--yes"
artifacts: checksum
+5 -5
View File
@@ -85,14 +85,14 @@ make build && make install
### Verifying Release Signatures
All release checksums are signed with [cosign](https://github.com/sigstore/cosign). To verify:
All release checksums are signed with [cosign](https://github.com/sigstore/cosign) using keyless signing. To verify:
```bash
# Download the checksum file and its signature
# Then verify with:
# Download the checksum file and its sigstore bundle from the release
cosign verify-blob \
--key https://raw.githubusercontent.com/lukaszraczylo/lukaszraczylo/main/cosign.pub \
--signature kportal-<version>-checksums.txt.sig \
--certificate-identity-regexp "https://github.com/lukaszraczylo/kportal/.*" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
--bundle "kportal-<version>-checksums.txt.sigstore.json" \
kportal-<version>-checksums.txt
```