A tamper-evident public update log
A signature tells you who signed an image. It does not tell you that anyone else was ever allowed to see it. That second property is the one that decides whether a stolen signing key costs you an incident report or a fleet.
Signing solves one problem completely and another one not at all
Completely: an attacker who does not hold your signing key cannot produce an image your devices will accept. Post-quantum signatures extend that guarantee past the point where ECDSA stops providing it, which is the whole subject of the rest of this site.
Not at all: an attacker who does hold the key can produce an image your devices will accept, and nothing about the image reveals that it was never part of a public release. Signature verification cannot help here, because the signature is genuine.
Run through the cases that actually happen. Credentials to the signing HSM are phished. A build machine with signing access is compromised. An engineer with legitimate access is leaving and is angry. A large customer asks for — or a jurisdiction compels — one special build for one site, which then quietly becomes three. A signing key is used correctly for ten years and then restored from a backup onto a second machine by someone following a disaster-recovery runbook nobody had tested.
In every one of those, the signature is valid. The device boots. Your telemetry shows a version string the image itself chose. There is no cryptographic question to ask, because the cryptography is working as designed.
Publish the list, and make the list impossible to edit afterwards
An append-only log of every image you sign, published so that everyone sees the same list, closes the gap. The property being claimed is deliberately narrow and worth stating precisely:
It is not “the log is trustworthy”. It is that the log cannot be changed after the fact without the change being detectable — including by you, its operator. That is what tamper-evident means here. It is a weaker claim than “trusted” and a far more useful one, because it is a claim your customer’s auditor can verify rather than accept.
The consequence for the cases above: a build that was signed but never published either gets rejected by the device or shows up in a public list with a timestamp on it. The attacker’s options narrow to “be seen” or “be refused”. Neither of those is “be silent”, and silent is the one that costs you the fleet.
Four steps, and none of them are new
-
Sign
Your signing service produces the image signature exactly as it does today. One extra output: a log entry holding the image digest and its metadata — product, version, hardware identifier, build inputs, whatever your release process already records.
-
Append
The entry is appended to the log. The log is a Merkle tree: each entry is a leaf, and the tree has a single 32-byte root that commits to every entry in it. Change one byte of one entry and the root changes.
-
Publish the root
The root is published periodically, somewhere widely replicated and append-only, where it can be fetched by anyone and not quietly rewritten by you. If two parties ever see different roots for the same log position, the log has been caught — that is the whole enforcement mechanism, and it does not require anyone to trust the operator.
-
Check inclusion
Before accepting an image, the verifier asks for an inclusion proof: the sibling hashes along the path from this entry’s leaf up to the root. Recomputing the root from the leaf and that path either matches the published root or it does not. The same check works for a device at boot, for your support engineer in the field, and for your customer’s auditor three years later.
It adds no new cryptography to the component you cannot patch
An inclusion proof in a log of N entries is log₂(N) hashes. For a million published images that is 20 hashes — about 640 bytes of proof — and verifying it is 20 SHA-256 invocations over 64 bytes each.
Your device already has SHA-256, because that is the only primitive LMS verification needs. So log-inclusion checking adds no new algorithm, no new library, and no new attack surface to the boot path. It adds a few hundred bytes of proof to parse and a 32-byte root to store next to the public key — and the parser is the same kind of length-checked, no-panic byte walking the signature parser already does.
That is a real advantage of having chosen a hash-based signature scheme for the bottom tiers, and it was not the original reason for choosing one.
Four things, in the language of your problems
- A targeted build stops being silent. An image signed with your real key but never published is refused by a device that requires inclusion. If the attacker publishes it to get past that, it is in a public list with a timestamp, visible to you and to anyone monitoring. Either outcome is detection. Today there is no third outcome to detect.
- Key compromise becomes bounded and discoverable. Right now a stolen signing key is undetectable until a device misbehaves badly enough for someone to investigate — which in a 15-year deployment could be years. With a log, the window between misuse and evidence is the publication interval, and the evidence is timestamped by someone other than the attacker.
- “What is this unit running” becomes a checkable claim. A field dispute, a safety investigation, a warranty argument, a regulator’s question about a specific serial number. The answer becomes a digest plus an inclusion proof rather than a row in a database that somebody with write access could have changed — including, from your customer’s point of view, you.
- Recall scope stops being an archaeology project. The log is the authoritative, timestamped list of what you shipped and when, and it is the same list your customer and their auditor see. Nobody has to reconcile three build systems and a spreadsheet under time pressure.
This is not a new idea, and that is the point
The web PKI has run exactly this mechanism, at internet scale, since 2013. Certificate Transparency — RFC 6962, now RFC 9162 — requires certificates to be published to append-only logs, and browsers enforce it: a certificate without evidence of log inclusion is not trusted. It has caught real misissuance, including by certificate authorities who were not expecting to be caught, and it did so because the evidence was public rather than because anyone audited them.
The sum of what is proposed here is: do for firmware images what browsers already do for certificates.
Firmware is in several ways the easier case. There are vastly fewer images than certificates, so the logs are small and the proofs are short. The publisher and the verifier are usually the same organisation, so there is no cross-industry governance problem to solve first. And the device already carries the hash function, which is the only primitive involved.
Where the root gets published
A log root is a 32-byte value. For the tamper-evidence to be worth anything, it has to be published somewhere that is append-only, replicated beyond the vendor’s control, and timestamped by someone other than the vendor. Any medium with those three properties works, and the device’s check is identical in every case: recompute a root, compare 32 bytes.
The log we could run for you has the third property and not the second. It is one service on our own infrastructure, so it is replicated beyond you and not beyond us — which is a smaller claim than this kind of page usually makes, and it is the one that is true. It is the last row of the table below, stated at what it is, and the two rows we would actually recommend are not ours.
| Where the root goes | Append-only | Replicated beyond you | Timestamped by | Honest assessment |
|---|---|---|---|---|
| Your own server | No | No | You | Fine against accidental corruption. Useless against anyone who can write to your server, which includes anyone who has already compromised your signing pipeline. |
| Your server, with independent witnesses co-signing each root | Effectively | Yes, to the extent the witness set is independent | The witnesses | The Certificate Transparency model, and well-proven. The cost is organisational: you have to recruit witnesses who are genuinely independent of you and keep them running for the life of the product. |
| A sector registry run by a regulator or industry body | Depends on the registry | Yes | The body | The strongest option where one exists, because it is the party already asking the questions. Most sectors do not have one. |
| A log we anchor, on infrastructure we runThe medium we can offer today | By our operation, not by anyone’s enforcement | No — it is one service, on servers we run | Us | This is the first row of this table with our name in the operator column instead of yours, and that is the whole of the difference. One log, anchored by us, on infrastructure we operate. Nobody else holds a copy, nobody else co-signs a root, and the timestamp is ours. We retain administrative authority over that record, and we have used authority of that kind before — after an incident, to change rules we had already published. So: it is worth something, because it moves the timestamp out of your build pipeline and into a second organisation’s, and a compromise of your signing machine does not then also control the evidence. It is worth nothing against us. Independent replication — several operators holding the same roots, so that a disagreement is visible to anyone who looks — is on the roadmap and is not built. |
What we can offer is the fourth row, and the fourth row is one server. It is useful as a second place to cross-check against, and as a timestamp held by somebody other than your own release pipeline. It is not replication, it is not independent of us, and an auditor who treats it as either has been misled. If that is the property you need, you need the second or third row, and we would rather help you stand one up than claim our own log is something it is not.
Getting from here to there is a specific piece of work, not a wish: publish each root in a documented format, let other parties fetch and co-sign it, and make a disagreement between two copies something anyone can detect without our co-operation. Until that exists and someone other than us is running it, the replicated beyond you column for our log reads no.
What stays true regardless: the device stores a 32-byte root and checks a Merkle path, so the medium is a configuration choice and not a different design. That is why this page describes a log rather than a product.
What a log does not do
- It does not prevent a key compromise. It makes one discoverable and bounds the window. Your HSM, your access control and your signing-service state management are still the primary controls, and nothing here substitutes for them.
- It does not tell you an image is safe. It tells you the image is the one that was published to everyone. A published backdoor is still a backdoor — publicly, with a timestamp. The claim is transparency, not correctness, and conflating the two is how this kind of scheme gets oversold.
- It does nothing if nobody looks. Certificate Transparency works because independent monitors watch the logs and raise alarms. A log with no monitor is a log that will not catch anything. Who watches yours — you, your customers, a third party, an automated check in your own release pipeline — is a programme decision that has to be made deliberately, and it is the part most likely to be skipped.
- Requiring inclusion on-device trades availability for integrity. A device that refuses an image because it could not fetch an inclusion proof is a device that cannot be patched when the network is down — which is precisely when you may most need to patch it. The intended resolution is to ship the inclusion proof inside the image, next to the signature, so the device makes no network call at verify time and the check is entirely offline. A few hundred extra bytes in the image, no new failure mode. That is the design, and it is untested, which is exactly the kind of thing that should be argued about before Phase 5 rather than after.
- It adds a second thing you must never lose. The log and its publication history become part of what you have to preserve for the service life of the product, alongside the signing keys and the leaf counter. That is a real operational obligation and it belongs in the plan from the start rather than in a runbook written after the first audit.
Argue with this
This page describes a design with no code behind it. The most valuable thing a product security lead can do with it is tell us where it breaks against a real release process — particularly the offline-proof approach, and particularly if you operate in a sector where the registry row of that table is already occupied.
The implemented part of BlockleOS is Phase 1, and the honest account of what it has and has not been measured doing is on the measured numbers page.