LIVE cartercole.net --:--:-- UTC

// 02 FIELD TOOLS

pvlt

RUST POSTGRES S3 REPO

A vault for personal data that can forget on purpose. Names, addresses and documents are stored as ciphertext in ordinary S3-compatible buckets, with the keys that open them wrapped and kept in Postgres. Erasing someone is crypto-shredding: destroy the key and everything it protected is unreadable, in the bucket and in every copy and backup of it. It is written as a maintained replacement for Open Privacy Vault, and serves the same /api/v1/facts calls, so an existing client switches by changing a URL and a token.

What it does

Keys form a hierarchy, root to domain to subject to each piece of data, so a single fact, one person, a scope or a whole domain can be shredded at once. The vault starts sealed and is opened with Shamir shares, and keys are held in locked memory. Every shred is written to a signed, hash-chained ledger that is replayed after a restore, so data erased before a backup stays erased after it. Expiry, retention and legal hold are part of the same model.

Every disclosure is written to a signed audit log before the data goes out, and a read fails if the log can't be written. Access is by delegated Biscuit tokens checked against a default-deny policy, restricted data needs two people to approve, and the admin and data APIs listen separately. A GDPR mode lets a data subject list and export what the vault holds about them. Large documents can be encrypted in the browser and uploaded straight to the bucket, and backups are encrypted with age. There are Python and TypeScript clients and an importer for an existing Open Privacy Vault.

Stated honestly