onionwire/tests
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
..
app_sig.rs pay: domain-separate tip and gate legacy signature acceptance 2026-10-22 22:23:44 -04:00
backup.rs feat(core): zeroize in-memory secret material (Noise/Ed25519/X25519/store key) 2026-09-12 13:55:07 -04:00
dispatch.rs chat: send and receive as ratchet frames through the outbox payload 2026-09-16 19:02:52 -04:00
file.rs fil: pad chunk bodies to a length ladder, document the residual 2026-10-22 22:46:28 -04:00
hs.rs feat(core,sdk): explicit Tor lifecycle — stop, flush, observable state 2026-09-12 15:10:29 -04:00
kem.rs transport: ML-KEM-768 hybrid prelude and onionwire:v2 invites 2026-10-20 11:15:55 -04:00
kem_transport.rs transport: ML-KEM-768 hybrid prelude and onionwire:v2 invites 2026-10-20 11:15:55 -04:00
outbox.rs transport: ML-KEM-768 hybrid prelude and onionwire:v2 invites 2026-10-20 11:15:55 -04:00
padding.rs fil: pad chunk bodies to a length ladder, document the residual 2026-10-22 22:46:28 -04:00
pay.rs wallet: create/import in-app (no key paste on create) + opt-in spend 2026-09-13 23:25:25 -04:00
profile.rs fix(pay): checksum Monero addresses (base58 + keccak) 2026-09-10 20:01:45 -04:00
protocol.rs Add Noise IK encrypted stream over Arti. 2026-09-10 02:07:40 -04:00
qr.rs pay: domain-separate tip and gate legacy signature acceptance 2026-10-22 22:23:44 -04:00
ratchet.rs ratchet: hybrid ML-KEM steps (KDF_RK v2, 2312-byte header, state v2) 2026-10-20 13:02:48 -04:00
ratchet_adversarial.rs chat: pad plaintext to a normative length ladder 2026-10-20 12:38:04 -04:00
ratchet_e2e.rs transport: ML-KEM-768 hybrid prelude and onionwire:v2 invites 2026-10-20 11:15:55 -04:00
ratchet_wire.rs transport: ML-KEM-768 hybrid prelude and onionwire:v2 invites 2026-10-20 11:15:55 -04:00
ratelimit.rs feat: incoming rate limit, identity backup, v0.2.0 2026-09-10 14:50:01 -04:00
rotate.rs tui: F8 rotate prekey + Node::rotate_prekey (hard cut, drops ratchet state) 2026-09-17 20:48:10 -04:00
rotate_hs.rs feat(store): encrypt chat bodies at rest; Ctrl-Q CLEAR/QUIT 2026-09-10 17:19:50 -04:00
sanitize.rs [verified] sanitize peer chat/control/bidi before store and TUI render 2026-09-11 23:42:48 -04:00
send.rs fix(tui): do not freeze the UI on chat send 2026-09-11 22:33:55 -04:00
store.rs wallet: actually open the wallet file, and remember its passphrase 2026-09-22 12:52:08 -04:00
tls_backend.rs tls: default to Arti's rustls backend (drop OpenSSL from TLS) 2026-09-17 20:48:05 -04:00
tor_hs.rs [verified] fix(hs): redact onion in publish logs; cache 0700 2026-09-10 20:30:18 -04:00
tor_lifecycle.rs fix(store): checkpoint the WAL on the store's own keyed connection 2026-09-12 15:56:33 -04:00
tui_chrome.rs transport: ML-KEM-768 hybrid prelude and onionwire:v2 invites 2026-10-20 11:15:55 -04:00
tui_frames.rs tui: mark friends invite-stale after an F8 prekey rotation 2026-10-22 23:38:30 -04:00
tui_payments.rs tui: drop the F9 menu that restates F6 and F7 2026-10-08 11:03:28 -04:00
tui_select.rs tui: wallet selection screen (F6 -> w) with create as the last row 2026-09-21 10:41:53 -04:00
tui_spec.rs transport: ML-KEM-768 hybrid prelude and onionwire:v2 invites 2026-10-20 11:15:55 -04:00
two_node.rs feat(store): encrypt chat bodies at rest; Ctrl-Q CLEAR/QUIT 2026-09-10 17:19:50 -04:00
wallet.rs wallet: optional seed-offset passphrase on import 2026-09-25 00:42:44 -04:00
wipe.rs fix(store): drop payments on /wipe; document non-forensic 2026-09-10 20:22:31 -04:00
zeroize.rs feat(core): zeroize the profile/loc signing copy and the TUI passphrase buffer 2026-09-12 15:41:54 -04:00