Skip to content
← Back to writing

September 25, 2026

Signed the long way

v2.3.54 went out unsigned. Before cutting v2.3.55 I checked every runner, found that none of the 11 could sign, and built a release job that refuses to build on a machine that can't.

Two days earlier, Eight.ly OS v2.3.54 had shipped without its signature. The release had six files on it and the two that matter for trust, SHA256SUMS.sig and SHA256SUMS.cert, were not among them. Every appliance in the fleet has been able to check those since EOS-1289, so a box offered v2.3.54 had nothing to verify against. On the 25th I cut the next release, and I did it the slow way, by the runbook, and the first step was checking whether any of my build machines could actually sign.

Terminal capture of real gh output: v2.3.54 carries no SHA256SUMS.sig or .cert while v2.3.55 and v2.3.56 do, followed by the six Build and Release runs with the runner each one drew and its verdict, timestamps in UTC, and the annotation that stopped the first run on eightly-ci-6.

How the day started

That afternoon I found the sprint in a state I had not agreed to. A sprint had been started before I was ready, it held far more than one day of work, and nine tickets had been moved past QA without anyone reading the work against the ticket. I paused the work. The nine went back to QA and got checked one at a time against their acceptance criteria. Then I asked for a release, to be cut by the runbook and not the way v2.3.54 had been. No shortcuts on the thing that ships to people's boxes. v2.3.55 was a security release too: it carried the fix that makes an API key do only what you granted it, which on v2.3.54 it did not.

Not one runner could sign

The runbook says the next release is not cut until every eligible runner has been shown to sign. So the first piece of work, EOS-2380, was a read-only pass over all 11 online runners, run as the user each runner service runs as. The answer came back at 16:25: not one of them could sign under the release job as it stood on dev.

There were two separate reasons, and either would have been enough.

The first was a probe that could never pass. My LAN sits behind a Comcast gateway that intercepts TLS to fulcio.sigstore.dev, the service that issues the short-lived signing certificate, so signing goes through an SSH tunnel on testprox. A script checked that tunnel by sending a GET to /api/v2/signingCert and accepting anything from 200 to 499. That endpoint only takes POST. Real Fulcio answers a GET there with 501. Through the same tunnel, rootCert and trustBundle answered 200 and an empty POST answered 400, so the route was healthy the whole time. The probe failed on every runner by construction, and the release job skipped signing on every runner because of it. There was an hourly workflow meant to watch the tunnel, and it would have shown this weeks ago, but it had never run once. Scheduled workflows only fire from the default branch, and that file existed only on dev.

The second reason was sudo. The release step wrote a line into /etc/hosts to point Fulcio at the tunnel, and 10 of the 11 runners have no passwordless sudo for the runner account. gitrunner1 through 6 already had the line from a fix in August. gitrunner7 and eightly-ci-4, 5 and 6 had nothing. gitrunner9, a Lima VM on the i9 MacBook, had sudo but could not reach testprox at all.

Signing in a container, and checking first

The fix was EOS-2381. Signing now runs inside cosign's own container, started with --add-host fulcio.sigstore.dev:192.168.1.183, which needs no sudo and changes nothing on the host. The probe asks trustBundle, an endpoint that answers 200 when things are healthy, and its tests use Fulcio's real 501 as a fixture. A pull request that touches signing runs a smoke job that keyless-signs a throwaway file on a real runner and fails if no signature comes back.

The part I care about most is the preflight. Signing is best effort on purpose, because I don't want a Sigstore outage to block a security fix forever. The trouble with best effort is that it fails quietly, and that is how v2.3.54 went out. So the release job now signs a test blob before it builds anything. If the runner it drew cannot sign, the job stops and says so in words, and the owner can re-dispatch against the tag to draw another runner, or pass allow_unsigned=true to publish unsigned as a deliberate decision, which means an unsigned release now needs someone to choose it.

Six dispatches, two releases

The first v2.3.55 dispatch drew eightly-ci-6 and stopped. I had believed containers would work everywhere because docker info answered on all 11 runners. That only shows the daemon is up. On eightly-ci-4, 5 and 6, which are LXC containers on the T320 at .107, runc is refused a network sysctl, so no container can start on Docker's default network. The preflight caught exactly that before a single file was built. The second dispatch drew gitrunner9 and stopped too, because it cannot reach the tunnel. The third drew gitrunner3, signed, and v2.3.55 was published at 18:27 with both files and a release-installable verdict of verified.

For the T320 runners I measured --network host on all three, and it worked, so that went in as PR #1712. The v2.3.56 cut that evening carried the arrays-mount-after-reboot fix (EOS-2385, fstab options MergerFS 2.40 refuses) and the cluster read fix (EOS-2386). It drew gitrunner9 twice and stopped twice. Then gitrunner9 came out of the pool, and the next dispatch drew eightly-ci-5, one of the runners that could not start a container that afternoon. It signed through the host network and published at 22:19. In the capture above the clock is UTC, which is why that last run reads as the 26th.

Across the six runs, four stopped before building and two published signed releases, and none of them put an unsigned file on GitHub.

What I am keeping from it

Whether v2.3.52, v2.3.53 or v2.3.54 got signed had depended on which runner happened to pick up the job. v2.3.53 drew eightly-ci-2 and signed. v2.3.54 drew eightly-ci-5 and did not. Nothing in the pipeline knew the difference, and a warning in the log was the only trace. Now the runner has to prove it can sign before the release starts, and a release that cannot be signed has to be published unsigned on purpose by a person who typed the flag.

I also learned something about myself as the person running these agents. The release itself was fine once I slowed it down. What went wrong earlier in the day was speed: too much pulled into one sprint, tickets moved forward because they looked done. That release took six dispatches and the whole evening, and I would rather have that than another fast one I have to apologise for.