Emma-Jane MacKinnon-LeeLocal confidential computing · Attestation · Hardware provenance
Active2024–

Receipts between machines

A minimal format for signed, attested receipts that let devices settle small amounts of real physical work with each other.

Emma-Jane MacKinnon-Lee and Connor O'Shiel research: field gateway collecting signed receipts between machines
A gateway, a weather station, a pump.

A machine-to-machine economy needs proof before payment. A weather station selling a reading to an irrigation controller, a gateway renting inference to a sensor, a meter crediting a neighbour's battery: in each case the buyer should be able to check what was done, by which device, in what software state.

With Connor O'Shiel, this project defines a receipt of a few hundred bytes: device identity, firmware measurement, quantity of work, timestamp or nonce, all encoded in CBOR and signed with COSE using a DICE-derived key, with a reference to a recent attestation result. Gateways batch receipts into Merkle commitments so that any single receipt can later be proven without publishing the rest.

The design principles are deliberately conservative: keep the value at stake in each interaction small; anchor value in measurable physical work; and keep pricing and settlement at the boundary, where people can see aggregate behaviour. Connor's narrative threat models, told by sensor, gateway, operator and attacker, have been the main tool for testing them.

M2M economyCOSECBORMerklesigned receipts