# Trust model — the full specification The detailed version of [Trust model](./trust-model.md), for auditors and security reviewers: how a room is sealed and why the platform holds no key, why the app's owner is blind too, each link of the chain of checks in full, the status of each property with the test that checks it, and where it lives in the code. One confidential turn in full, and exactly what crosses it readable: [the confidential tier — the full specification](./the-attested-tier-spec.md). > See also: [Identity and admission — the full specification](./admission-spec.md) (who may enter, and how it is > checked) and [Verify it yourself](./verify.md) (run each check in your terminal). --- ## The claim For an app built on Witbitz, **neither the platform operator nor the app's own owner can read the users' data** — and the claim is meant to be **checkable from the code**, not taken on faith. A Space is sealed to a key the platform never holds; the app has no backend of its own; the browser egress footprint is locked; and the deployed render can be rebuilt from published source and checked against a signed certificate. ## Sealed to a key we never hold — the platform is blind A Space's data is a snapshot **sealed under the room key `mk`** and stored as ciphertext; the room store does not retain `mk` (`agent/envelope.mjs` `seal`/`open`; the key is committed only as `commit(mk)`). To the operator, a Space at rest is opaque bytes — storage is **content-blind**, because the platform holds no key; in a confidential room transport is too ([the confidential tier](./the-attested-tier-spec.md)). There is **no operator recovery key**: every record is sealed to the room key alone, so there is nothing on the platform that can read it. The double blind is the only configuration that runs in production. A **standard** room has no enclave: its turns and reads open on our server while a member is active (the render takes `mk` from the client for that request and drops it after), and its model is a frontier vendor's. The difference is the room's tier — see [privacy tiers](./privacy-tiers.md). ## The app's owner is blind too A Witbitz app is a static page with no backend of its own, and its browser egress is locked to a published allowlist — the Witbitz API, sign-in, its own relay and Tinfoil's speech enclave ([verify Test 4](./verify.md)). The users' content is sealed to keys the app's owner never holds, and the page has nowhere else to send it. ## The chain: each side checks the other The guarantee holds only if the code at both ends is the published code. Each side checks the other. 1. **The page is a reproducible build with a public audit trail.** Every Official release of the web app is rebuilt from its source commit inside a separate build enclave. The enclave signs its verdict — the release's hash (`frontendSha256`), commit and version — with a key born inside it, and the verdict goes into an append-only release log and into Rekor, Sigstore's public transparency log. A deploy is refused unless the bytes match the logged hash, and the page's signed `/cert.json` names the same hash, so you can compare what you were served with what was logged. 2. **An installed app on a computer can be checked file by file.** `witbitz-check.mjs --files` compares the installed Windows, Linux or Mac app with the release record the build enclave signed (its installer, package or reproducible app), verified on the spot: every file byte-identical, none missing, nothing added — on the Mac the programs apart from Witbitz's code signature, which macOS's `codesign` judges ([the files on a computer](./client-architecture-spec.md#installed-files)). A browser is not checked this way, nor any other: a web page vouching for its own version proves nothing, and the "emulated" attested room that rested on it was retired on 2026-11-22. 3. **In the Witbitz app, the hardware vouches for the app.** The device's hardware attests the app itself — Apple App Attest on iPhone (published Witbitz App Store or TestFlight builds) and on the Mac (only the Developer ID copy Witbitz distributes), Android Keystore key attestation on Android — and the web bundle ships inside the app (on Android, pinned to the hash its build-enclave release record logs). Writes require fresh proofs; eligible reads can reuse a two-minute device pass issued after a proved read. The iPhone build is checked against verified releases and the Sentinel's duplicate-build watch ([details](./client-architecture-spec.md#the-app-proves-itself)). An attested room takes these three apps (and a Witbitz cloud device, whose own enclave proves it); the Windows and Linux apps are refused. The server's verifiers are built; the apps are in testing, not released ([status](./status.md)). 4. **The client checks the server.** Before it seals a room key, your app verifies the enclave's hardware attestation and its published measurement ([one confidential turn in full](./the-attested-tier-spec.md#one-confidential-turn-in-full)). These are separate checks: a page you can match to a logged build, an attested room's client gate, and an enclave your app verifies before it trusts it with a key. Ordinary browser rooms do not prove a hardware-attested client; Mac App Attest identifies the app and its distribution channel, not its exact version. The installed-files check covers that. A raw SDK page can read the plaintext it renders. The builder-isolation claim depends on the documented vault and verified client boundaries and enforced egress policy; adding the SDK alone does not impose that policy on a builder's arbitrary page. Connections and outside agents receive the content authorized for their calls. ## Status — what holds today | Property | Status | |---|---| | Sealed ledger, platform holds no key (nothing on the platform can read it) | **shipped** | | No operator recovery key (sealed to the room key alone) | **shipped & CHECKABLE** — `POST {"op":"sealed"}` → `recipients:["room"]` ([verify Test 5](./verify.md)) | | Admission gate enforces (reads *and* writes refused without an allow-listed identity) | **shipped & CHECKABLE** ([verify Tests 1–3](./verify.md)) | | Decrypt-once render, `mk` from the client only, dropped after | **shipped** | | Backendless static app (no backend of its own) | **shipped** | | Egress-lock (CSP `connect-src`/`script-src` allowlist) | **shipped & ENFORCED** (block-mode) ([verify Test 4](./verify.md)) | | Client E2EE primitive (the sealed-blob envelope) | **shipped** | | Signed build **certificate** (deployed build hash + egress, signed from ground truth) | **shipped & CHECKABLE** — `/cert.json` ([verify Test 6](./verify.md)) | | **Reproducible build** of published source (rebuild it → the deployed hash) | **shipped & CHECKABLE** — `/source.tar.gz` ([verify Test 7](./verify.md)) | | Attested tier (operator provably blind **in use**) | **Production** — verifiable on real Nitro hardware, always on; the app builder enables the enclave per room ([the confidential tier](./the-attested-tier.md)) | | Attested **client** (a hardware-attested native shell carrying the audited bundle) | **Beta** — the iPhone, Android and Mac apps are in testing, not released; the deployed web app *already* verifies the enclave's attestation, which is part of the attested tier above ([verifying the client](./client-architecture.md)) |