EJLThe Trust StackEdited by Emma-Jane MacKinnon-Lee
Local

Local confidential computing: can't, not won't

Most confidential computing still leans on a distant cloud for verification. The local variant keeps the enclave, the verifier and the data on hardware you can touch, and replaces a promise with a property.

By Emma-Jane MacKinnon-Lee, editorUpdated 21 October 202615 min read
Emmajanemackinnonlee local attestation bench: sensor board verified by a phone with no network
Local verification: a sensor, a phone and no network cable.

The difference between a policy and a property

A privacy policy is a statement of intent. It says that an organisation will not read, sell or share your data, and it is backed by contracts, regulators and reputation. These are real protections, but they are all forms of won't. They depend on the continued good behaviour of people you cannot see.

Local confidential computing aims for can't. If a health sensor encrypts its readings with a key sealed inside its own secure element, and that key is released only to firmware whose measurement matches a published value, then no one, including the manufacturer's support staff, has a way to read those readings without changing the firmware, and changing the firmware changes the key. The guarantee is mathematical and physical, not contractual. It can still fail, through bugs or physical attacks, but it fails in ways that can be analysed rather than in ways that depend on trust.

What local means

Local refers to three things at once. The trusted execution environment lives on the device: a phone's secure enclave, a microcontroller's TrustZone partition, a RISC-V enclave, a small secure element. The data stays on the device, or leaves it only in encrypted or minimised form. And verification happens nearby, ideally without a network: a phone verifies a wearable, a gateway verifies a sensor, two machines on the same bench verify each other.

The last point is the one most often missed. Many on-device TEEs still report to a cloud service that decides whether they are genuine. That is convenient, but it reintroduces a remote party whose availability and honesty you depend on. A local design distributes the Verifier role to hardware the user or operator controls, using the same RATS roles described in RFC 9334.

Sealing, identity and offline trust

Sealing is the mechanism that keeps data bound to code. A sealing key is derived from the device's hardware secret and the measurement of the software that requests it. Data encrypted with that key can be decrypted only by the same software on the same device. DICE, the Trusted Computing Group's Device Identifier Composition Engine, generalises this: each boot layer derives a Compound Device Identifier from the secret of the layer below and the measurement of the layer above, so identity and keys change automatically when software changes.

Offline verification requires preparation. The Verifier needs the manufacturer's endorsement certificates and the reference values for current firmware before it goes offline. In practice this means signed bundles distributed on update, on removable media or by a short online step at installation. It is more work than calling an API, but the work is visible and auditable, which is the point.

Where it fits

The strongest cases are those where data is intimate and connectivity is unreliable: medical wearables, home sensors, agricultural equipment, industrial controllers, vehicles. They are also the cases where a cloud dependency becomes a liability, because a service shutdown or an outage can strand devices that were otherwise working perfectly.

Local confidential computing is not a rejection of the cloud. Large workloads will continue to run in confidential virtual machines. It is a reminder that the trust boundary should sit where the data is born, and that the most private computation is often the one that never has to leave the device at all.

Standards and projects named
  • TCG DICE Layering Architecture
  • IETF RFC 9334
  • Arm TrustZone for Cortex-M
  • Keystone
  • TPM 2.0 sealing
Glossary terms in this explainer
Read next