tonytautai home/local-ai/data-privacy/governance/tech/crypto/at-rest

cryptsetup status

Encrypted on Disk, Plaintext in the Model.

Ai data encryption at rest is the baseline every vendor claims. It is necessary and it is also the technique that protects the least interesting moment in the life of a document.

Tony Tautai

ai data encryption at rest

What It Actually Covers

ai data encryption at rest

Encryption at rest means that stored data, the prompt logs, the outputs, the model weights, the backups, is unreadable without a key. If a disk is stolen or a backup tape is lost, the data is noise. That is a real protection and it should be on by default everywhere. It is also the first and simplest entry in back to privacy preserving crypto, and the one most often presented as if it answered the whole question.

What It Leaves Open

The model cannot read ciphertext. At the moment of inference the document is decrypted into memory and processed in plaintext, by a machine and, on a hosted service, in a building you do not control. Encryption at rest says nothing about that moment. It also says nothing about who holds the key. If the vendor holds it, the vendor can read the data; the encryption protects you from the vendor's thieves, not from the vendor.

A second gap is the log. A payroll bureau whose prompt history is encrypted at rest still has a prompt history, readable by anyone with the key and the admin role. Encryption changes who can read; it does not change what exists.

Keys and Who Holds Them

ai data encryption at rest

Three arrangements, in rising order of control. Vendor-managed keys: convenient, and the vendor can decrypt at will. Customer-managed keys in the vendor's cloud: you can revoke, but the key is used on their machines. Keys on hardware you own: the data is only ever decrypted in your building. For a local appliance the third is the default, because the disk, the key and the model are all in the same cupboard. It brings its own duty: lose the key and you lose the data, so the backup of the key matters as much as the backup of the disk.

Where It Sits Among the Others

ai data encryption at rest

The moment this technique misses, inference in memory, is exactly the one that our guide to confidential computing ai tries to cover with hardware enclaves. For the training side, where the risk is a person being recovered from the model rather than from a disk, see our guide to differential privacy ai explained. If the data cannot be moved at all and training still has to happen, our guide to federated learning explained is the relevant one. And the technique that would make encryption at rest and in use the same thing, computing on ciphertext, is described in our guide to homomorphic encryption ai, along with why it is not yet practical for document models.

Turn encryption at rest on. Then stop treating it as an answer to where the document goes. For that question, a mini PC on the LAN with the disk encrypted and the key in the firm's own safe answers both halves at once, which is why we ship it that way.

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