Security
Encryption
- Each case has its own random 256-bit key. Files are sealed with AES-256-GCM under it, bound to their storage slot, so a file cannot be moved to another slot unnoticed.
- The case key is sealed by a master key that is a server secret and is not in the database. A copy of the database alone opens no file.
- Redacted page images are new images made from the originals and sealed under the same case key. The original file and page images never change.
- Text taken from files for search is sealed under the case key too, and is opened in memory only for a search.
- Pages and the API are served over HTTPS only.
Keys
- People sign in with passkeys. Rooms keeps the public key only.
- Each uploader holds an Ed25519 or ES256 signing key on their own device and registers its public half with a proof that they hold it. Rooms refuses an upload whose hash or signature does not check out.
- Agents sign in with OAuth. Their tokens carry scopes and may be limited to one case. Revoking an agent stops every token it holds at once.
The access log
- Every view, download, upload, invite, consent, export and search is an event that names who did it and, for an agent, the person it acts for. A search is logged with a hash of the query keyed by the case's own key, not its words.
- A person invited as redacted only sees redacted page images, and cannot download, export or search the originals.
- Events form a hash chain and an RFC 6962 Merkle tree. The tree's head is published to the public registry as a checkpoint, so a rewritten log no longer matches what was published.
- There is no route that edits or deletes evidence or log rows, and the build fails on any statement that would.
Where data lives
- A Postgres database holds cases, versions, grants and the access log.
- An S3-compatible bucket holds the files, encrypted.
- The public registry at aisourceoftruth.com gets hashes, handles and times only, never a file, a title, a name or an email.
- A file up to 256 MiB goes up in one request. A larger one goes up in parts of 16 MiB, each encrypted on its own, up to 20 GiB on Team and up (pricing).
Services Rooms uses
| Service | What it does | What it can see |
|---|---|---|
| Railway | Runs the Rooms service | The running service |
| Neon | The Postgres database | Case records and the access log, no file bytes |
| An S3-compatible bucket | Stores files | Encrypted file bytes only |
| Stripe | Card payments, when they are on | The payer's billing details, never case content |
| Google or Microsoft | Sign-in on the Team plan, if you choose it | Your sign-in |
| An EU qualified timestamp authority | Qualified timestamps on Team and Enterprise | A file's SHA-256 only |
| Sentry | Error reports to the operator, when they are on | Where an error happened, its class name and stack frames, with ids in the path replaced; never the error message, a file or case content |
| The AI Source of Truth registry | The public anchor, same operator | Hashes, handles and times |
Text for search is taken inside the Rooms service, from text files and PDF text layers. No outside service reads files for OCR or transcription. OCR and transcription are not set up yet.
What this does not cover
- Rooms has no third-party security audit report yet.
- A signature shows which account's key signed an upload, not who made the material or whether it is true.