onionwire/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
t d256d3bb8e
docs: describe the SQLCipher store, not the pre-#43 design
The v0.2 banner and the "Seized laptop" section still claimed only chat
bodies were encrypted, that `self.identity_sk` and the roster were
plaintext, and that "sqlcipher is out of v1". That has been false since
#43.

- README banner: whole store is encrypted at rest with SQLCipher, with the
  row-bound AEAD layer kept on top.
- "Seized laptop": whole-file SQLCipher (Argon2id key over the 16-byte
  `store_salt`, raw `PRAGMA key`), identity/friends/locators inside the
  encrypted file, fail-closed unlock and `store_salt`-missing refusal, and
  the in-place v0.2.1 upgrade. Kept the honest caveats: no defense against
  a live compromise or a known passphrase, `/wipe` is not a forensic erase
  (SSD wear-levelling), and THREAT_MODEL.md stays the reference.
- "Not in v1": drop `sqlcipher` (shipped in #43).
- docs/SECURITY_AUDIT.md "Still true" bullet repeated the same plaintext
  claim; restated it as the residual risk that actually remains.

No code change. Evidence: cargo test --test store (21 passed, incl.
whole_store_file_is_encrypted_at_rest) and cargo test --lib -- store::
(6 passed, incl. the plaintext->SQLCipher upgrade and the wrong-passphrase
no-op).

Card: t_f2fc5190
2026-09-12 17:20:56 -04:00
..
ARTI_UPGRADE.md ci: watch upstream Arti/tor-* releases daily and file an upgrade issue 2026-09-12 13:55:07 -04:00
PROTOCOL.md feat(outbox): local retry queue for chat sends 2026-09-12 14:39:14 -04:00
README.md docs: add PROTOCOL.md and retire the stale audit writeup 2026-09-11 13:15:51 -04:00
SECURITY_AUDIT.md docs: describe the SQLCipher store, not the pre-#43 design 2026-09-12 17:20:56 -04:00
THREAT_MODEL.md wallet: no-spend mode + view-only detection over RPC 2026-09-12 15:41:33 -04:00
TUI.md feat(tui): per-message outbox delivery state + N queued footer 2026-09-12 14:44:35 -04:00
WALLET.md wallet: no-spend mode + view-only detection over RPC 2026-09-12 15:41:33 -04:00

OnionWire docs

Read these in order if you are evaluating the protocol without the Rust:

  1. PROTOCOL.md — wire format, handshake, invite, frames. This is the document a second implementation would use.
  2. THREAT_MODEL.md — what v1 claims, and what it refuses to claim.
  3. SECURITY_AUDIT.md — in-house review notes and which findings are still open. Not a public third-party audit.

Operator / product docs stay in the root README. Android build notes: android/README.md. SDK: crates/onionwire-sdk/README.md.