Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

deansheather
Copy link
Member

(cherry picked from commit dc0919d)

### Description
This PR introduces GPG signing for all Coder *slim-binaries*.
Detached signatures will allow users to verify the integrity and
authenticity of the binaries they download.

### Changes
  * `scripts/sign_with_gpg.sh`: New script to sign a given binary
     using GPG. It imports the release key, signs the binary, and
     verifies the signature.
   * `scripts/build_go.sh`: Updated to call `sign_with_gpg.sh` when the
     `CODER_SIGN_GPG` environment variable is set to 1.
   * `.github/workflows/release.yaml`: The` CODER_SIGN_GPG` environment
     variable is now set to 1 during the release build, enabling GPG
     signing for all release binaries.
   * `.github/workflows/ci.yaml`: The `CODER_SIGN_GPG` environment
     variable is now set to 1 during the CI build, enabling GPG
     signing for all CI binaries.
* `Makefile`: Detached signatures are moved to the `/site/out/bin/
`directory

(cherry picked from commit dc0919d)
@deansheather deansheather changed the title feat: sign coder binaries with the release key using GPG (#18774) cherry: feat: sign coder binaries with the release key using GPG (#18774) Jul 15, 2025
@deansheather deansheather merged commit 5096582 into release/2.24 Jul 15, 2025
31 of 34 checks passed
@deansheather deansheather deleted the dean/cherry-sigs-2.24 branch July 15, 2025 08:23
@github-actions github-actions bot locked and limited conversation to collaborators Jul 15, 2025
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.

3 participants