Skip to content

feat: sign coder binaries with the release key using GPG #18774

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

jdomeracki-coder
Copy link

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

@jdomeracki-coder jdomeracki-coder force-pushed the jdomeracki-coder/gpg-signing branch from 3c01e7d to e80259c Compare July 7, 2025 16:21
@jdomeracki-coder jdomeracki-coder force-pushed the jdomeracki-coder/gpg-signing branch from 90e69df to ddd2ada Compare July 8, 2025 12:52
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