publish: sign SHA256SUMS with minisign #386

Merged
jcoffey-dev merged 1 commits from ci/sign-release-sha256sums into main 2026-11-13 15:05:55 +00:00
Owner

Sign each release's SHA256SUMS with the inbuxa suite's minisign key, so a server/relay download can be verified against the public key the docs publish (https://docs.inbuxa.org/install/verifying/) -- the same scheme the installer, cli and migrate releases now use.

This is deliberately separate from the existing relay .sig signing (relay-sign with RELAY_RELEASE_KEY), which the server uses only to let a relay accept a binary as an auto-upgrade. The relay flow is untouched.

Change is to the binaries job in .gitea/workflows/publish.yml only (AGPL CI infra; no SEL-marked source touched): a minisign step after SHA256SUMS is built (Alpine apk add minisign), and SHA256SUMS.minisig added to the attach list. The step no-ops with a warning when MINISIGN_SECRET_KEY is unset, and the attach loop skips the signature if it's absent -- exactly like the three tools.

Before this does anything, MINISIGN_SECRET_KEY must be added to inbuxa-server's Gitea secrets (the same suite key already on installer/cli/migrate; its value is the unencrypted /run/media/john/PROJECTS1/inbuxa-release.key). Suggest adding the secret, then merging, so the first signed server release follows.

Left out on purpose: the release-notes body text still says with SHA256SUMS and doesn't mention the signature, to avoid claiming 'signed' on a release cut before the secret is set. Trivial follow-up once signing is confirmed. YAML validated; both embedded Python blocks compile; no Go changed so CI is unaffected.

Sign each release's `SHA256SUMS` with the inbuxa suite's minisign key, so a server/relay download can be verified against the public key the docs publish (https://docs.inbuxa.org/install/verifying/) -- the same scheme the installer, cli and migrate releases now use. This is deliberately separate from the existing relay `.sig` signing (`relay-sign` with `RELAY_RELEASE_KEY`), which the server uses only to let a relay accept a binary as an auto-upgrade. The relay flow is untouched. Change is to the `binaries` job in `.gitea/workflows/publish.yml` only (AGPL CI infra; no SEL-marked source touched): a minisign step after `SHA256SUMS` is built (Alpine `apk add minisign`), and `SHA256SUMS.minisig` added to the attach list. The step **no-ops with a warning when `MINISIGN_SECRET_KEY` is unset**, and the attach loop skips the signature if it's absent -- exactly like the three tools. **Before this does anything, `MINISIGN_SECRET_KEY` must be added to inbuxa-server's Gitea secrets** (the same suite key already on installer/cli/migrate; its value is the unencrypted `/run/media/john/PROJECTS1/inbuxa-release.key`). Suggest adding the secret, then merging, so the first signed server release follows. Left out on purpose: the release-notes body text still says `with SHA256SUMS` and doesn't mention the signature, to avoid claiming 'signed' on a release cut before the secret is set. Trivial follow-up once signing is confirmed. YAML validated; both embedded Python blocks compile; no Go changed so CI is unaffected.
jcoffey-dev added 1 commit 2026-11-13 14:17:43 +00:00
publish: sign SHA256SUMS with minisign
ci / fork-checks (pull_request) Skipped
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 21m48s
e44dfeed24
jcoffey-dev merged commit 2548600455 into main 2026-11-13 15:05:55 +00:00
jcoffey-dev deleted branch ci/sign-release-sha256sums 2026-11-13 15:05:56 +00:00
Sign in to join this conversation.