Verify Coder releases
Verify Coder release artifacts with GPG-signed checksums, build provenance attestations, and the container image SBOM.
On this page
This guide is for Coder deployment administrators who download Coder release artifacts. Use it to confirm that an artifact came from the Coder release pipeline and that nobody changed it after the build. Verify an artifact before you install it or copy it into an internal mirror or registry.
Each Coder release publishes the following verification data:
- A checksum file signed with the Coder release key, a GNU Privacy Guard (GPG) key. It covers every file that the release pipeline uploads to the GitHub release.
- Build provenance attestations in the Supply-chain Levels for Software Artifacts (SLSA) provenance format, published as GitHub artifact attestations.
- A software bill of materials (SBOM) for the container image in the Software Package Data Exchange (SPDX) JSON format. It's attached to the image as a signed attestation and to the GitHub release as a file.
- Detached GPG signatures for the standalone CLI binaries on
releases.coder.com. - Operating system code signatures on the Windows and macOS binaries.
The release pipeline creates provenance attestations on a best-effort basis, and a release can publish without them. The signed checksum file is the verification method that covers every file the release pipeline uploads to the GitHub release. The Source code archives that GitHub generates for each release aren't in the checksum file.
What you can verify
What you can verify| Artifact | Where to get it | How to verify it |
|---|---|---|
| Archives, packages, and the Windows installer | GitHub release | Signed checksums, provenance |
| Helm charts for Coder, provisioners, and AI Gateway | GitHub release, https://helm.coder.com/v2, or oci://ghcr.io/coder/chart | Signed checksums, provenance |
| SBOM file and offline docs | GitHub release | Signed checksums |
Container image ghcr.io/coder/coder:v<version> | GitHub Container Registry | Provenance, SBOM attestation |
Standalone CLI binaries, such as coder-linux-amd64 | https://releases.coder.com/coder-cli/<version>/ | Detached GPG signature |
| CLI binaries in the Windows and macOS archives, installer | GitHub release | Operating system code signature |
Prerequisites
PrerequisitesInstall the tools for the checks you plan to run:
- GnuPG for the checksum file and CLI binary signatures.
On Windows, install Gpg4win, which adds
gpgto PowerShell. - The GitHub CLI, signed in with
gh auth login, for provenance attestations and release downloads. - Cosign version 2 or 3 for the container image SBOM.
- On Linux and macOS,
jqto extract the SBOM from the attestation.
The commands on this page use a VERSION variable and a SOURCE_REF variable.
Set VERSION to the release you want to verify, without the leading v (for example, 2.38.6).
SOURCE_REF is the Git ref the release was built from.
Releases published since November 16, 2026 are built on their release branch, release/<major>.<minor>.
Earlier releases were built from their tag, refs/tags/v<version>.
A release candidate may also be built on main (refs/heads/main):
VERSION="<version>"
SOURCE_REF="refs/heads/release/$(echo "$VERSION" | cut -d. -f1,2)"
# For a release published before November 16, 2026:
# SOURCE_REF="refs/tags/v${VERSION}"VERSION="<version>"
SOURCE_REF="refs/heads/release/$(echo "$VERSION" | cut -d. -f1,2)"
# For a release published before November 16, 2026:
# SOURCE_REF="refs/tags/v${VERSION}"$VERSION = "<version>"
$SOURCE_REF = "refs/heads/release/" + (($VERSION -split "\.")[0..1] -join ".")
# For a release published before November 16, 2026:
# $SOURCE_REF = "refs/tags/v${VERSION}"Commands on this page that show no Windows variant run unchanged in PowerShell.
Import the Coder release key
Import the Coder release keyThe Coder release key signs the checksum file and the standalone CLI binaries.
-
Download the Coder release key:
curl -fsSLO https://raw.githubusercontent.com/coder/coder/main/release.keycurl -fsSLO https://raw.githubusercontent.com/coder/coder/main/release.keyInvoke-WebRequest -Uri https://raw.githubusercontent.com/coder/coder/main/release.key -OutFile release.key -
Display the key and its fingerprint:
gpg --show-keys --with-fingerprint release.keyThe user ID is
Coder Release Signing Key <[email protected]>. GPG also printsWARNING: No valid encryption subkey left over.The warning is about the key's encryption subkey, which signature checks don't use. -
Confirm that the primary key fingerprint matches the published fingerprint:
21C9 6B1C B950 7188 74F6 4DBD 6A5A 671B 5E40 A3B9 -
Import the key:
gpg --import release.keyThe output confirms the import:
gpg: key <key ID>: public key "Coder Release Signing Key <[email protected]>" imported
Verify a release file with GPG
Verify a release file with GPGThe coder_<version>_checksums.txt file lists the SHA-256 hash of every other file that the release pipeline uploads to the GitHub release.
The coder_<version>_checksums.txt.asc file is its detached GPG signature.
-
Import the Coder release key, as Import the Coder release key describes.
-
Download the checksum file, its signature, and the artifact you want to verify.
If your artifact isn't
linux_amd64.tar.gz, replace that suffix, for example withdarwin_arm64.ziporwindows_amd64.zip:gh release download "v${VERSION}" --repo coder/coder --pattern "coder_${VERSION}_checksums.txt*" --pattern "coder_${VERSION}_linux_amd64.tar.gz" -
Verify the signature on the checksum file:
gpg --verify "coder_${VERSION}_checksums.txt.asc" "coder_${VERSION}_checksums.txt"The output includes a good signature from the Coder release key:
gpg: Good signature from "Coder Release Signing Key <[email protected]>" [unknown]GPG also warns that the key is not certified with a trusted signature. The warning means that you haven't marked the key as trusted in your local keyring. The fingerprint check when you imported the key is what ties the key to Coder.
-
Check the artifact's hash against the checksum file.
If you downloaded a different artifact, replace the file name in the command:
grep " coder_${VERSION}_linux_amd64.tar.gz$" "coder_${VERSION}_checksums.txt" | sha256sum --checkgrep " coder_${VERSION}_darwin_arm64.zip$" "coder_${VERSION}_checksums.txt" | shasum -a 256 --check$File = "coder_${VERSION}_windows_amd64.zip" $Expected = (Select-String -Path "coder_${VERSION}_checksums.txt" -SimpleMatch " $File").Line.Split(" ")[0] $Actual = (Get-FileHash -Algorithm SHA256 $File).Hash.ToLower() if ($Actual -eq $Expected) { "${File}: OK" } else { "${File}: FAILED" }The command prints the file name followed by
OK:coder_<version>_linux_amd64.tar.gz: OK
If the signature check or the hash check fails, do not install the artifact.
Verify a standalone CLI binary with GPG
Verify a standalone CLI binary with GPGCoder publishes standalone CLI binaries for each release at https://releases.coder.com/coder-cli/<version>/, each with a detached .asc signature.
The binaries are named coder-<os>-<arch>:
coder-darwin-amd64andcoder-darwin-arm64coder-linux-amd64,coder-linux-arm64, andcoder-linux-armv7coder-windows-amd64.exeandcoder-windows-arm64.exe
-
Import the Coder release key, as Import the Coder release key describes.
-
Set
BINARYto the binary for your platform, then download the binary and its signature:BINARY="coder-linux-amd64" curl -fsSLO "https://releases.coder.com/coder-cli/${VERSION}/${BINARY}" curl -fsSLO "https://releases.coder.com/coder-cli/${VERSION}/${BINARY}.asc"BINARY="coder-linux-amd64" curl -fsSLO "https://releases.coder.com/coder-cli/${VERSION}/${BINARY}" curl -fsSLO "https://releases.coder.com/coder-cli/${VERSION}/${BINARY}.asc"$BINARY = "coder-windows-amd64.exe" Invoke-WebRequest -Uri "https://releases.coder.com/coder-cli/${VERSION}/${BINARY}" -OutFile $BINARY Invoke-WebRequest -Uri "https://releases.coder.com/coder-cli/${VERSION}/${BINARY}.asc" -OutFile "${BINARY}.asc" -
Verify the signature:
gpg --verify "${BINARY}.asc" "${BINARY}"The output includes
Good signature from "Coder Release Signing Key <[email protected]>".
Verify build provenance with the GitHub CLI
Verify build provenance with the GitHub CLIA provenance attestation records which repository, workflow, and Git ref built an artifact. The GitHub CLI checks that the attestation is signed and that it matches the artifact's digest.
Provenance attestations can exist for the container image, the archives, the packages, the Windows installer, and the Helm charts. The checksum file, the SBOM file, the offline docs, and the standalone CLI binaries have no provenance attestation.
Verify a release file
Verify a release fileRun gh attestation verify on a file that you downloaded from the GitHub release or from https://helm.coder.com/v2:
gh attestation verify "coder_${VERSION}_linux_amd64.tar.gz" --repo coder/coder --signer-workflow coder/coder/.github/workflows/release.yaml --source-ref "${SOURCE_REF}"When the attestation matches, the output ends with the build workflow and the release branch:
✓ Verification succeeded!
The following 1 attestation matched the policy criteria
- Attestation #1
- Build repo:..... coder/coder
- Build workflow:. .github/workflows/release.yaml@refs/heads/release/<major.minor>
- Signer repo:.... coder/coder
- Signer workflow: .github/workflows/release.yaml@refs/heads/release/<major.minor>A Helm chart that you pull from oci://ghcr.io/coder/chart with helm pull has a different file name, such as coder-<version>.tgz, and the same contents.
Run the same command on that file.
If GitHub has no attestation for the file's digest, the command fails with HTTP 404: Not Found.
For a file on the GitHub release, verify it with the signed checksum file instead.
Verify the container image
Verify the container imagePass the image reference with the oci:// prefix:
gh attestation verify "oci://ghcr.io/coder/coder:v${VERSION}" --repo coder/coder --signer-workflow coder/coder/.github/workflows/release.yaml --source-ref "${SOURCE_REF}"The output has the same format as the output for a release file. The tag points to the multi-architecture image index, and the attestation covers that index digest.
If the command fails with HTTP 404: Not Found, verify the SBOM attestation instead.
Its signing certificate also identifies the Coder release workflow and the release branch.
Verify the container image SBOM with Cosign
Verify the container image SBOM with CosignThe release pipeline generates an SPDX SBOM for ghcr.io/coder/coder:v<version> and signs it as an attestation on the image with Sigstore keyless signing.
The signing certificate identifies the Coder release workflow and the release branch.
-
Verify the SBOM attestation and save the SBOM.
If you use Cosign 2, remove the
--new-bundle-format=falseline from the command. Cosign 3 needs the flag to read the older attestation format that the SBOM attestation uses, and it prints a warning that the flag is deprecated.cosign verify-attestation \ --new-bundle-format=false \ --type spdxjson \ --certificate-identity "https://github.com/coder/coder/.github/workflows/release.yaml@${SOURCE_REF}" \ --certificate-oidc-issuer https://token.actions.githubusercontent.com \ "ghcr.io/coder/coder:v${VERSION}" \ | jq -r '.payload' | base64 -d | jq '.predicate' > "coder_${VERSION}_image_sbom.spdx.json"cosign verify-attestation \ --new-bundle-format=false \ --type spdxjson \ --certificate-identity "https://github.com/coder/coder/.github/workflows/release.yaml@${SOURCE_REF}" \ --certificate-oidc-issuer https://token.actions.githubusercontent.com \ "ghcr.io/coder/coder:v${VERSION}" \ | jq -r '.payload' | base64 -d | jq '.predicate' > "coder_${VERSION}_image_sbom.spdx.json"$Envelope = cosign verify-attestation ` --new-bundle-format=false ` --type spdxjson ` --certificate-identity "https://github.com/coder/coder/.github/workflows/release.yaml@${SOURCE_REF}" ` --certificate-oidc-issuer https://token.actions.githubusercontent.com ` "ghcr.io/coder/coder:v${VERSION}" | ConvertFrom-Json $Statement = [Text.Encoding]::UTF8.GetString([Convert]::FromBase64String($Envelope.payload)) | ConvertFrom-Json $Statement.predicate | ConvertTo-Json -Depth 100 | Set-Content "coder_${VERSION}_image_sbom.spdx.json"Cosign prints the checks it performed and the certificate details to the terminal. The output includes these lines:
The following checks were performed on each of these signatures: - The cosign claims were validated - Existence of the claims in the transparency log was verified offline - The code-signing certificate was verified using trusted certificate authority certificates Certificate subject: https://github.com/coder/coder/.github/workflows/release.yaml@refs/heads/release/<major.minor> Certificate issuer URL: https://token.actions.githubusercontent.com -
Open
coder_<version>_image_sbom.spdx.jsonin your SBOM or vulnerability scanning tool.
The same SBOM is attached to the GitHub release as coder_<version>_sbom.spdx.json, and the signed checksum file covers it.
When the release is the highest Coder version that isn't a release candidate, the release pipeline also publishes ghcr.io/coder/coder:latest.
The release then includes coder_latest_sbom.spdx.json for that image.
Check operating system code signatures
Check operating system code signaturesCoder signs the Windows CLI binary and the Windows installer with an Extended Validation (EV) code signing certificate. Coder signs the macOS CLI binary with an Apple Developer certificate and notarizes the macOS archives with Apple. These signatures let the operating system check the publisher when you run the binary.
Extract coder from the coder_<version>_darwin_<arch>.zip archive, then display its signature:
codesign -dvv coderThe signing authority is TODO(security): confirm the Apple Developer ID and Team ID to publish.
If the Mac has internet access, check that Gatekeeper accepts the notarized binary:
spctl --assess -vvv -t install coderThe archive doesn't include the notarization ticket, so spctl downloads the ticket from Apple.
Without internet access, the check fails even for a genuine binary.
Display the signature on the installer or on coder.exe from the coder_<version>_windows_<arch>.zip archive:
Get-AuthenticodeSignature ".\coder_${VERSION}_windows_amd64_installer.exe" | Format-List Status, SignerCertificateThe Status is Valid.
The signer certificate subject is TODO(security): confirm the EV certificate subject to publish.