A connected device that agrees to replace its own software remotely is taking the weightiest decision of its life as a device. Before saying yes, ours now asks four questions, and one wrong answer is enough for it to keep the software it already has.
Update of 28 November 2026.
Delivery by phone was carried out for real on 21 November 2026: an iPhone handed the Cube, inside its encrypted Bluetooth session, the updates for the eyes and for the Walter board. The “Where we stand” paragraph, at the end of the article, still listed it as to be done.
Since 22 November, the offer that announces an update to the Cube has also carried a signature designed to withstand a quantum computer (see Post-quantum in the Cube). Since 28 November, the image has been encrypted for this one Cube when it arrives over 4G, as it already was when delivered by phone. The four questions do not change: encryption hides the image, the signature says where it comes from.
On 24 November, we changed the keys that sign the updates. The version that brought the new key was installed by cable; since then, an image signed with the old key has been refused.
Rollback has also been used for real. On 25 November, version 0.8.18, received over 4G, stopped at start-up for lack of memory; the Cube rolled back to 0.8.17 on its own and recorded it in its log. Version 0.8.19 fixed the fault the same day. What the European Cyber Resilience Act expects of updates, and what happens when the service that distributes them stops, is set out in When the network or the service stops.
We explained on Trust-Buster why the signed update is the first brick to lay, well before any new algorithm. This article, by contrast, looks at the brick itself: what it checks, what others built before us, and what we left aside.
A signature does not tell the whole story
The digital signature of an image (the file that contains the device’s complete software) proves that it does come from whoever holds the key. It proves neither that this image is meant for this device, nor that it is newer than the one running. Yet these two gaps open the way to attacks that do not require breaking any cryptography. The threat model of the IETF (Internet Engineering Task Force, the body that standardises Internet protocols), in RFC 9124, describes them matter-of-factly: an attacker sends an old but valid manifest, with an old but valid image, and the device reinstalls of its own accord a version whose flaws are known; or the attacker sends a valid image intended for another type of device. In both cases everything is authentic, and that is precisely the problem.
Hence the four questions. Who signed? Is it for me? Is it newer than what I have? Is what I received exactly what the signer signed?
What already exists
People with fleets far larger than ours mapped out this ground long ago.
| Project | Where it comes from | What it brings |
|---|---|---|
| SUIT (RFC 9019 and RFC 9124) | The IETF, for constrained devices | An update architecture and the list of what a manifest must contain, threat by threat |
| MCUboot | 32-bit microcontrollers | A bootloader that verifies the signature of the image and can refuse an older version |
The law is joining in too. The European Cyber Resilience Act (see also what it changes when a service stops), (EU) 2024/2847, requires in its Annex I that products be designed so that their vulnerabilities can be fixed through security updates, and that manufacturers provide “mechanisms to securely distribute updates”. Its Article 71 makes it applicable from 11 December 2027. The text does not say how to go about it, and it mandates none of the projects in the table.
What we wrote: a short, readable manifest
A manifest accompanies each image: it is a small file that describes it and that the device reads first. Ours fits in a few lines of text, which can be read with the naked eye: the device model targeted, the software version, what identifies the image, and the signature of the whole. It is not an implementation of SUIT, whose manifest is much richer, but it follows its spirit: keep only what answers the four questions.
The device judges the whole manifest before touching its memory, then checks that the image received is indeed the one that was signed. It refuses an equal version just as it refuses an older one, which also rules out replaying an update already done. At the slightest anomaly, the old software stays in place.
What this brings
We had already described our move to hawkBit, the server from the Eclipse Foundation that organises update campaigns. With the manifest, the server’s role changes: it carries, but it is no longer the authority. The device decides, on the strength of a signature produced elsewhere, and a distribution server that picked the wrong file, or was tricked, would get nothing but a refusal.
Added on 21 November 2026. We have taken this logic to its conclusion: hawkBit has been uninstalled. The manifest now travels by two paths. The connected Cube receives it over 4G, in its already-authenticated channel. The Trust-Buster Cube, which has no network access, receives it from a phone that merely carries the image, encrypted for this one Cube. In both cases, it is the same manifest and the same four questions. See the article on remote updates.
As reading the manifest depends on no hardware, the same code also compiles on a computer, where it is far more convenient to feed it corrupted manifests.
What we left aside
We did not adopt the SUIT format, which would have been the natural choice for speaking the same language as other tools. Our manifest carries a version number precisely so that this choice can be revisited.
Lastly, there is a modest but real operating cost. The version written in the manifest must be the one the image carries inside it, otherwise the device, once updated, still believes it is behind and asks for the same image again. The discipline is simple, and it does not forgive “near enough”.
Where we stand.
This verification was first tested on a computer, against fourteen cases, among them a replayed version, a rollback, another model, a manifest modified after signing and a signature made with another key.
Updated on 21 November 2026. It now runs on the board, in the Cube’s firmware. On 20 November, on the test-bench Cube, it validated updates received over 4G for the Walter board and for the board that drives the eyes. The Walter board also verifies a second signature at start-up: secure boot has been active there since 19 November. Delivery by phone, for the Trust-Buster Cube, has been tested on a computer and not yet between a real phone and the real Cube.
Sources
- RFC 9019, A Firmware Update Architecture for Internet of Things, April 2021.
- RFC 9124, A Manifest Information Model for Firmware Updates in IoT Devices, January 2022: the threat model and the elements of a manifest.
- MCUboot, a secure bootloader for 32-bit microcontrollers; its design page describes signature verification and the refusal of earlier versions.
- Regulation (EU) 2024/2847 on cyber resilience, EUR-Lex: Annex I, Part I, point 2(c), Part II, point 7, and Article 71.
- Eclipse hawkBit, update deployment server.
- In this notebook: Remote updates: from hawkBit to 4G, The Cube decides on its own and Making a connected device last.
A question, an objection? contact@ops-devices.eu, or on Bluesky.