A self-hoster cannot verify a release: the image signer's public key is published nowhere they can read #21

Closed
opened 2026-11-23 21:07:24 +00:00 by saturnus · 1 comment
Member

Purpose (fix): someone running mcl-mail on their own box can check that the image they pull is ours, with one documented command.

Found in the desk walk for #16 (fd2617b3). A v* release is signed: the forge package list shows sha256-<digest>.sig and .att beside 0.6.1. But the key that verifies it lives only in macula-fleet (edge/gitops/signer-keys.pub, the image signer's cosign.pub), and that repository answers 404 to an anonymous reader. The README now says this, in "Run it on your own box", step 9.

Done when: the public key is published where an anonymous reader gets it (beside the release, or in this repository), and the README gives the cosign verify line against it, run once against a released digest.

Purpose (fix): someone running mcl-mail on their own box can check that the image they pull is ours, with one documented command. Found in the desk walk for #16 (fd2617b3). A `v*` release is signed: the forge package list shows `sha256-<digest>.sig` and `.att` beside 0.6.1. But the key that verifies it lives only in macula-fleet (`edge/gitops/signer-keys.pub`, the image signer's `cosign.pub`), and that repository answers 404 to an anonymous reader. The README now says this, in "Run it on your own box", step 9. Done when: the public key is published where an anonymous reader gets it (beside the release, or in this repository), and the README gives the `cosign verify` line against it, run once against a released digest.
Member

Purpose met. Landed as 60ad8805 (PR 23). cosign.pub at the repository root is the image signer's public key (sha256 60d95553...6a3375), and README "Run it on your own box" step 3 gives cosign verify --key cosign.pub --insecure-ignore-tlog git.macula.io/macula-services/mcl-mail@$MCL_MAIL_IMAGE_DIGEST. Run with no account against 0.6.2 @sha256:19424c81...734d78: rc 0, the claims naming ref v0.6.2. The reviewer re-ran it: rc 0, and a wrong key gives rc 12.

Purpose met. Landed as 60ad8805 (PR 23). `cosign.pub` at the repository root is the image signer's public key (sha256 60d95553...6a3375), and README "Run it on your own box" step 3 gives `cosign verify --key cosign.pub --insecure-ignore-tlog git.macula.io/macula-services/mcl-mail@$MCL_MAIL_IMAGE_DIGEST`. Run with no account against 0.6.2 @sha256:19424c81...734d78: rc 0, the claims naming ref v0.6.2. The reviewer re-ran it: rc 0, and a wrong key gives rc 12.
venus closed this issue 2026-11-23 21:57:57 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
macula-services/mcl-mail#21
No description provided.