Files
Amicitia-Tabellarius/docs/VERIFY.md
T
mnovak 43f6f9b70c [docs] F03: protocol v0, verification plan and operating manual
README, CLAUDE.md, docs/PROTOCOL.md (threat model, relay storage list) and docs/VERIFY.md. Phase 0: under review, no code yet.
2026-11-02 00:25:59 +01:00

27 lines
2.5 KiB
Markdown

# Verifying it yourself — SHA-256 footprints and audits
The promise is that messages are end-to-end encrypted and the relay learns nothing readable. A promise
nobody can check is not a promise, so every part of it has a way for a user — or anyone they trust —
to check it. Legend: **[decided]** · **[proposed]** · **[judgment]**.
## 1. What can be verified, and how
| Claim | How a user checks it | Status |
|:--|:--|:--|
| The messaging code is what is published | **Reproducible builds** (Nix flake): anyone builds the client library and the relay and gets the **same SHA-256**. Releases carry a signed `SHA256SUMS` (Ed25519, minisign) on GitHub and Gitea. | [proposed] |
| Amicitia runs that exact code | Desktop: the messaging library ships as a **separate file**; *Settings → Privacy → Check messaging code* computes its SHA-256 and compares it with the signed manifest (fetched, or pasted by hand to stay offline). | [proposed] |
| …on a phone | The library is linked into the app; the app shows the commit and crate checksum it was built from. A full binary proof is not possible here — said plainly. | [proposed] |
| I am talking to the right person | **Safety footprint**: a SHA-256 fingerprint of both people's keys, shown as digits and a QR. Compare in person once; a change is announced. | [proposed] |
| Nothing readable crosses the wire | `tabellarius-inspect`, an open CLI: feed it the app's raw envelope export or a network capture; it confirms every payload is MLS ciphertext and finds no plaintext canary. | [proposed] |
| The relay stores only `PROTOCOL.md` §5 | The relay's schema and the non-logging deploy config are in this repository; a self-hosted relay is built from source; `/version` returns its build hash. | [proposed] |
| The encryption is real MLS | Published MLS test vectors run in CI; anyone can run them. | [proposed] |
## 2. Honest limit [judgment]
Amicitia itself is a **private** repository. A user can verify the messaging library, the wire and the
relay, but cannot prove from the outside that the closed app never copies plaintext before handing it
to the library. Ways to narrow this later: an independent audit with a published report, or opening the
app's message path. Stated in the app's *About messages* page, not hidden.
## 3. Where the user sees this
Not on the main screens. One place: **Settings → Privacy → How your messages travel** — the relay is
called *your message relay*; the name *Tabellarius* appears only there, with a link to this repository.