Skip to content

ci: update gpgkms to v0.2.1 - #566

Open
deansheather wants to merge 1 commit into
mainfrom
deansheather/ple-146-gpgkms-v0.2.1
Open

deansheather wants to merge 1 commit into
mainfrom
deansheather/ple-146-gpgkms-v0.2.1

Conversation

@deansheather

Copy link
Copy Markdown
Collaborator

Updates the gpgkms that signs releases from v0.2.0 to v0.2.1 (c4dfbf6, coder/gpgkms#12).

What changes in v0.2.1

  • Cloud KMS calls (GetPublicKey and AsymmetricSign) are now tried up to 5 times, waiting 1s, 2s, 4s and 8s in between, when they fail with a transient error. That covers KMS 5xx/408/429, network errors, per-request timeouts, and failures to fetch workload identity credentials.
  • Other KMS 4xx errors (permission denied, not found) still fail immediately. If the job is cancelled, gpgkms stops retrying and returns the context error.
  • Every KMS signature is still checked locally before it is used.

This fixes PLE-146. In that run, every gpgkms call failed with credentials: status code 503: upstream connect error … and the build failed.

Does the signing key change?

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

Validation

  • go install github.com/coder/gpgkms/cmd/gpgkms@c4dfbf6… with the checksum database on.
  • actionlint v1.7.12 shows only the two workflow_(repository|sha) warnings that test.yml already ignores.
  • The full check runs on the next release, in the release environment.

Opened by Xum on behalf of @deansheather.

@linear-code

linear-code Bot commented Nov 25, 2026

Copy link
Copy Markdown

PLE-146

This branch was successfully deployed

1 active deployment
cla — 1c8d0bc8 Deployed Nov 25, 2026 by deansheather via CLAssistant #1915
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants