onionwire/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
rust-dev 8f959e937f
All checks were successful
ci / test (pull_request) Successful in 29m38s
ci / sdk (pull_request) Successful in 2m7s
kdf: version Argon2id profiles and raise the default to 64 MiB / t=3
The store and identity backup shared one hard-coded Argon2id profile
(m=19456 KiB, t=2, p=1) with nothing recorded on disk, so changing it
would have bricked every existing store and backup.

Record the profile with the data and raise the default:
- KdfProfile { Legacy = 0, Current = 1 }; Current is m=65536 KiB,
  t=3, p=1, out=32.
- Backups: seal() writes a profile byte after owbak1. Legacy blobs
  (exactly SEALED_BODY_LEN after MAGIC) still open; an unknown id is
  an error, never a fallback.
- Stores: store_meta gains kdf_profile (additive, default 0). The
  SQLCipher file key has no place to record a profile before the db
  opens, so a legacy file is detected by trial-opening with the
  legacy profile, then rekeyed to Current in one SQLCipher
  transaction; store_meta is re-wrapped (salt + ciphertext + profile)
  in a single transaction on the first successful unlock. Both are
  one-shot: the next start takes the current path.
- docs/THREAT_MODEL.md states the new params and the versioning.

Measured in release on this host: kdf legacy 0.018s / current 0.095s;
Store reopen current 0.354s, legacy upgrade path 0.528s.
2026-10-22 22:29:28 -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 ratchet: hybrid ML-KEM steps (KDF_RK v2, 2312-byte header, state v2) 2026-10-20 13:02:48 -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 kdf: version Argon2id profiles and raise the default to 64 MiB / t=3 2026-10-22 22:29:28 -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 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):