onionwire/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
agent c741b660e4
All checks were successful
ci / test (pull_request) Successful in 18m32s
android-ci / android (pull_request) Successful in 20m14s
ci / sdk (pull_request) Successful in 3m11s
transport: ML-KEM-768 hybrid prelude and onionwire:v2 invites
Adds an ML-KEM-768 install key beside the ed25519 identity and x25519
prekey. A friend added from a v2 invite always gets a version-2 PQ
prelude before Noise msg 1, and both sides bind (ct, ss_kem) into the
Noise prologue (onionwire-v2 \0 ct \0 ss_kem). The row decides: a
kem_pk friend without a prelude is rejected with 'prelude required',
a prelude for a classical row with 'unexpected prelude'.

Invites are now onionwire:v2 with kem=<base64url pk>; decode still
accepts v1 (no kem) and yields a classical friend. F8 rotates the
KEM key with the prekey and hard-cuts stored ratchet state. The TUI
labels a legacy friend 'classical'.

Docs: PROTOCOL (keys, framing, prologues, no-downgrade, invite v2),
THREAT_MODEL (what PQ transport does and does not buy; epoch 0 stays
classical), README (invite size, F8, legacy caveat). SDK exposes pq on
InviteInfo/FriendInfo and gains a v2 decode round-trip test.
2026-10-20 11:15:55 -04:00
..
arti-socks-feasibility.md docs: rewrite README and living docs to match the tree 2026-09-20 00:31:07 -04:00
ARTI_UPGRADE.md ci: build the default graph on Rust 1.98, not 1.91 2026-10-08 17:41:22 -04:00
cuprate-android-spike.md docs: rewrite README and living docs to match the tree 2026-09-20 00:31:07 -04:00
cuprate-launch-spike.md docs: rewrite README and living docs to match the tree 2026-09-20 00:31:07 -04:00
option-a-recommendation.md docs: rewrite README and living docs to match the tree 2026-09-20 00:31:07 -04:00
payment-integration-plan.md docs: rewrite README and living docs to match the tree 2026-09-20 00:31:07 -04:00
PROTOCOL.md transport: ML-KEM-768 hybrid prelude and onionwire:v2 invites 2026-10-20 11:15:55 -04:00
README.md release: reproducible builds, and sign every asset 2026-10-11 12:57:40 -04:00
RELEASING.md release: reproducible builds, and sign every asset 2026-10-11 12:57:40 -04:00
SECURITY_AUDIT.md docs: rewrite README and living docs to match the tree 2026-09-20 00:31:07 -04:00
THREAT_MODEL.md transport: ML-KEM-768 hybrid prelude and onionwire:v2 invites 2026-10-20 11:15:55 -04:00
tui-wallet-ux-review.md docs: presentation and flow review of the TUI wallet surfaces 2026-09-26 22:07:15 -04:00
TUI.md tui: drop the F9 menu that restates F6 and F7 2026-10-08 11:03:28 -04:00
VERIFY.md release: reproducible builds, and sign every asset 2026-10-11 12:57:40 -04:00
WALLET.md tui: spawn the wallet-rpc binary that sits next to the app 2026-10-11 19:41:11 -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:

  • ../README.md — install, run, real flags, F-key map, wallet/chain source, releases.
  • TUI.md — screens and keybindings as the TUI actually handles them.
  • WALLET.md — loopback wallet RPC, chain source, spend-authority warning, receipt verification.
  • RELEASING.md — manual, batched releases (not one per merge), the reproducible build recipe, and the signing key.
  • VERIFY.md — checking a download: the dependency graph, the wallet's real exposure, rebuilding a release and comparing bytes, and what none of that proves.
  • ARTI_UPGRADE.md — how to bump the in-process Tor crates.

Android build notes: android/README.md. SDK: crates/onionwire-sdk/README.md.

Decision records and spike reports (history — not living operator docs):