A self-hoster cannot verify a release: the image signer's public key is published nowhere they can read #21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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). Av*release is signed: the forge package list showssha256-<digest>.sigand.attbeside 0.6.1. But the key that verifies it lives only in macula-fleet (edge/gitops/signer-keys.pub, the image signer'scosign.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 verifyline against it, run once against a released digest.Purpose met. Landed as
60ad8805(PR 23).cosign.pubat the repository root is the image signer's public key (sha256 60d95553...6a3375), and README "Run it on your own box" step 3 givescosign 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.