Repository navigation
Description
Two user-facing passages became stale the moment #501 merged, and both are the last sentence a reader gets on the subject — so the wrong claim is the one they leave with.
docs/index.md:259-262:
The checksum is always verified and there is no flag to skip it. Note what that establishes: the
.sha256travels the same channel as the tarball, so a mismatch means a corrupted or tampered download, not that the release is authentic. That is a signature's job, and this project does not sign releases yet.
README.md:367-370:
The packages are unsigned for the same reason, and what stands in for a signature is a checksum: … That is a weaker guarantee than a signature — it establishes that the file arrived intact, not who built it.
#501 added exactly the thing both passages say is absent: publish writes an aggregate checksums.txt over every artifact and signs it with cosign sign-blob --bundle using the run's OIDC token, so a release carries checksums.txt and checksums.txt.cosign.bundle. The signature's identity is the workflow that produced it (.../release.yml@refs/tags/vX.Y.Z), which is precisely "who built it".
Do not fix this yet, and that is the point of filing it rather than doing it
Both passages are still true today. publish runs only on a tag, so the signing step has never executed and no published release carries a bundle. Updating the docs now would tell a reader to fetch checksums.txt.cosign.bundle from v0.14.0, where it does not exist — trading a stale limitation for an instruction that fails.
The correct trigger is: the first release whose assets actually include checksums.txt.cosign.bundle. At that point:
- Rewrite both closing sentences. The honest new statement is narrow: the checksums file is signed, so origin is established for any asset whose hash it covers. The
.deb/.rpmremain unsigned in the rpm/apt sense, which is a different mechanism (see below). - Add the
cosign verify-blobinvocation to the docs.publishalready prints it into the release notes, so the docs and the notes should not disagree — define it once or copy it deliberately. - Keep the existing distinction that makes these passages good: a
.sha256travelling the same channel as its asset proves integrity, not origin. That reasoning stays correct and is why the cosign bundle matters.
What must not be overstated in the rewrite
The GPG story is separate and unchanged, and conflating the two would be the easy mistake. The GPG key was never signing the release — it signs the rpm's embedded signature and the apt/yum repository metadata. Cosign is not a substitute for either: apt and dnf verify a repository with GPG and nothing else. So after the rewrite it is still true that:
- the published
.rpmfiles carry no embedded signature, andrpm -Kon one reportsdigests OKand exits 0 — which is not a verification, and a reader could mistake it for one; - there is still no apt or yum repository, for the reasons
README.md:360-365already gives well.
That state is deliberate, warned, and asserted rather than assumed: the import step emits a ::warning:: naming the intended state, and the "Every rpm's signature state is the intended one" step in release.yml checks both branches with rpm -K and asserts the unsigned case rather than skipping it — because two situations produce an unsigned rpm (no secret, the intended state; and a secret that failed to reach nfpm, which happened once via a $GITHUB_ENV write in the same shell as make) and they are indistinguishable from a green run. Nothing about that needs changing; it just must not be described as signed.
Acceptance
- Both passages describe what the release actually carries, verified against a real release's asset list rather than against the workflow.
- No doc instructs a reader to fetch an asset that release does not have.
- The rpm/apt GPG position is stated separately from the cosign position, so neither is read as covering the other.
Activity
release: cut 0.15.0, and correct four references to a release that ne…