tonytautai home/local-ai/data-privacy/governance/tech/crypto/confidential

./attest --enclave

Enclaves Protect Memory, Not Judgement.

Confidential computing ai promises the one thing ordinary encryption cannot: protecting the document while the model reads it. The promise is real and narrower than the brochure.

Tony Tautai

confidential computing ai

The Problem It Solves

confidential computing ai

Every other technique in the page on privacy preserving crypto leaves a gap at inference, when the document is decrypted into memory. Confidential computing closes that gap with hardware: a region of the processor, an enclave, where memory is encrypted and even the operating system and the cloud operator cannot read it. The model runs inside the enclave. The document is decrypted only there.

Attestation is the second half. The enclave can produce a signed statement of exactly which code is running inside it, so you can verify that the model you expected, and nothing else, is handling your file.

What You Still Trust

The chip vendor, whose hardware and firmware define the enclave. The attestation service, usually also the chip vendor or the cloud operator. The code inside the enclave, which you can verify by hash but rarely read. And the people who wrote that code, since an enclave running a model that logs its inputs to disk is an enclave that leaks on purpose. Confidential computing moves trust; it does not remove it. For a firm with a professional secrecy duty, the question becomes whether a chip vendor's attestation is something you can explain to a client.

What It Costs

confidential computing ai

Enclave memory is limited and enclave compute is slower, which matters for large models. The tooling is still specialised and the skills to verify an attestation chain are rare outside large IT teams. And the whole arrangement only makes sense on hardware you do not own; on a machine in your own building, you already have what the enclave is trying to simulate.

Against the Local Alternative

confidential computing ai

That last point is our position. A small model on a mini PC on the customer's LAN gets the benefit confidential computing is designed to deliver, data decrypted only on a machine the owner controls, without the attestation chain, because the owner can walk over and look at it. The trade is hardware to buy and maintain. For firms that need hosted scale, enclaves are the serious option and worth the complexity.

The techniques around it each cover a different moment. Storage is the subject of our guide to ai data encryption at rest, and an enclave without encrypted storage leaks the moment the output is written to disk. Protection of people inside a trained model, which an enclave does nothing for, is the subject of a closer look at differential privacy ai explained. Training without moving the data, often combined with enclaves on each site, is in a closer look at federated learning explained. And the mathematical cousin, which would need no trusted hardware at all, is in homomorphic encryption ai, explained.

Ask a vendor who offers confidential computing for the attestation report of a real run. If they cannot produce one, the enclave is a slide.

ssh [email protected]

Prove it on your documents.

Every engagement starts the same way: we run the system on a sample of your own files, under NDA/DPA, and hand you a written report with the scores, misses included. No commitment.

Test it on my documents Request a diagnostic