onionwire/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
rust-dev 9b53632859
All checks were successful
ci / test (pull_request) Successful in 21m19s
ci / sdk (pull_request) Successful in 2m7s
tui: mark friends invite-stale after an F8 prekey rotation
F8 replaces the Noise static prekey and the ML-KEM key together and clears
every stored ratchet, but nothing recorded the cut: a friend on the roster
still held an invite with the old prekey, the next inbound frame could not be
decrypted, our own outbound re-bootstrapped an epoch they did not have, and the
send looked delivered. The only fix -- ask them to paste the new invite -- was
never said.

- `rotate_prekey` snapshots the roster into `$ONIONWIRE_HOME/invite-stale`
  (derived local state; no store schema change, no wire field, no new crate).
  `Node::invite_stale(pk)` / `invite_stale_friends()` answer the question, and
  an install that never rotated has no file and nothing marked.
- `Node::send` and `Node::send_once` fail closed with `invite stale` for a
  pre-rotation friend instead of silently re-bootstrapping past the cut.
- The roster gains its own `invite stale` word and colour token (violet; `stale`
  keeps meaning "the last dial did not answer"), and the alert row above the
  panes carries `invite stale -- F2 to share your new invite, they F3-paste it`,
  recomputed every draw so F3-pasting an invite for that friend clears it.
- `add_friend_payload` removes the pubkey from the set, which is the test the
  card asks for; docs/TUI.md documents the marker.

This makes the existing hard cut legible. It does not add in-band revocation or
a soft rotation; the threat model's hard-cut wording stays as it is.
2026-10-22 23:38:30 -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 fil: pad chunk bodies to a length ladder, document the residual 2026-10-22 22:46:28 -04:00
README.md release: reproducible builds, and sign every asset 2026-10-11 12:57:40 -04:00
RELEASING.md release: stage dist before signing, and sign via a named volume 2026-10-20 23:01:09 -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 ratchet: hybrid ML-KEM steps (KDF_RK v2, 2312-byte header, state v2) 2026-10-20 13:02:48 -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: mark friends invite-stale after an F8 prekey rotation 2026-10-22 23:38:30 -04:00
VERIFY.md docs: point the docs at v0.5.0 and explain why a download 404s or 403s 2026-10-20 19:51:50 -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):