Skip to content

ci: update gpgkms to v0.2.0 - #562

Merged
deansheather merged 1 commit into
mainfrom
ci/gpgkms-v0.2.0
Nov 17, 2026
Merged

deansheather merged 1 commit into
mainfrom
ci/gpgkms-v0.2.0

Conversation

@deansheather

Copy link
Copy Markdown
Collaborator

Updates the gpgkms that signs releases from v0.1.2 to v0.2.0 (5417e87, coder/gpgkms#9).

What changes in v0.2.0

  • NewKMSSigner requires an HSM protection level and rejects software and external keys. gpg-terraform-provider version 1 is HSM (checked with gcloud kms keys versions describe).
  • Each KMS request is limited to one minute, and the CLI cancels on SIGINT and SIGTERM, so a hung KMS call no longer runs until the job times out.
  • sign -out is written to a temp file next to it and renamed into place, and an -out that is the file being signed is refused. goreleaser's signature path is a normal file in dist/.
  • -prepend and -lifetime are validated more strictly. This workflow uses neither.

Does the signing key change?

No. The derivation is unchanged: gpgkms's golden and compat tests pass unchanged at v0.2.0, so release-signing-key.sh check should still match .github/release-signing-key.asc (fingerprint EF0673941FEDAD5AA5AC2630EBCCC3677A166837) byte for byte, and the job stops before publishing if it doesn't.

Validation

  • go install github.com/coder/gpgkms/cmd/gpgkms@5417e87… with the checksum database on.
  • The full check runs on the next release, in the release environment.

Opened by Xum on behalf of @deansheather.

@deansheather
deansheather merged commit 72f1ba3 into main Nov 17, 2026
8 checks passed
@deansheather
deansheather deleted the ci/gpgkms-v0.2.0 branch November 17, 2026 07:59
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 17, 2026

This branch was successfully deployed

1 active deployment
cla — b31bffd6 Deployed Nov 17, 2026 by deansheather via CLAssistant #1904
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants