Skip to content

Releases and agent updates

Tagged releases (vX.Y.Z, signed tags) build for amd64 and arm64:

  • limdm-agent packages as deb, rpm, Arch (.pkg.tar.zst) and Alpine (.apk), and a tar.gz with limdm-agent, limdm-desktop and limdm,
  • limdm-server packages as deb and rpm, and a tar.gz,
  • the container image ghcr.io/maltekiefer/limdm-server,
  • limdm_<version>_SHA256SUMS with its signature limdm_<version>_SHA256SUMS.sig, SBOMs and provenance attestations.

The release job waits for approval of the release environment.

Rollout of agent versions to devices: Agent updates.

Release key

Self updates fail closed. An agent installs an update only when the release SHA256SUMS carry a valid signature of the release key whose public half is compiled into it. An agent built without a public key (make build without UPDATE_PUBKEY) refuses every self update and reports the event "agent update to X failed: ... built without a release signing key"; update such devices with the package manager.

limdm-server keygen -out release.key          # once; prints the public key
  • Secret RELEASE_SIGNING_KEY of the protected release environment: content of release.key. The release workflow signs SHA256SUMS and uploads SHA256SUMS.sig.
  • Repository variable UPDATE_PUBKEY: the printed public key. Release builds embed it.
  • The workflow fails when either is missing; it never publishes unsigned checksums.

The private key is a CI secret, not an offline key. It is protected by the environment's required reviewers and the tag ruleset, so anyone who can approve a release run can sign. Keep a copy of release.key outside GitHub to rotate or recover it.

Manual signing: limdm-server sign -key release.key limdm_<version>_SHA256SUMS (-key-env VAR reads the hex key from a variable), or with a key in an HSM: limdm-server sign -pkcs11 LABEL limdm_<version>_SHA256SUMS (server built with -tags pkcs11, Release key). The signature goes to stdout.