onionwire/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
agent 6f267a6aba
All checks were successful
ci / test (pull_request) Successful in 4m51s
ci / sdk (pull_request) Successful in 58s
tests: assert the DH ratchet step in lockstep on a bidirectional burst
`round_trip_across_two_dh_ratchet_steps` only asserts that neither sending
ratchet key stayed put; it would still pass if the two sides stepped onto
unconnected epochs, and it never checks that either peer adopted the key the
other advertised. The new test reads dh_pub out of the wire header and pins the
adoption per step across an A->B / B->A burst:

- round 1 rotates only the lower-key (establishing) peer, so one round cannot
  lockstep both sides -- the intermediate state is asserted, not assumed;
- rounds 2 and 3 step each side in turn, asserting each receiver adopts exactly
  the key the frame advertised;
- the three-frame burst each way asserts chain reads (not extra steps), zero
  skipped keys, and that the peer that received last is keyed to the other's
  current key.

tests/ratchet.rs only; no src change, no new dependency.
2026-09-17 20:41:48 -04:00
..
app_sig.rs fix(protocol): domain-separate loc/prf/inv/rcp signatures 2026-09-11 23:42:41 -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 Merge branch 'main' into wt/t_fc02d8b6 2026-09-12 04:11:00 +00:00
hs.rs feat(core,sdk): explicit Tor lifecycle — stop, flush, observable state 2026-09-12 15:10:29 -04:00
outbox.rs chat: send and receive as ratchet frames through the outbox payload 2026-09-16 19:02:52 -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 [verified] fix(qr): bind invite sig fields; cap decode 2026-09-10 19:52:44 -04:00
ratchet.rs tests: assert the DH ratchet step in lockstep on a bidirectional burst 2026-09-17 20:41:48 -04:00
ratchet_adversarial.rs ratchet: end-to-end and adversarial tests on the wired send/receive path 2026-09-16 19:30:39 -04:00
ratchet_e2e.rs ratchet: end-to-end and adversarial tests on the wired send/receive path 2026-09-16 19:30:39 -04:00
ratchet_wire.rs chat: send and receive as ratchet frames through the outbox payload 2026-09-16 19:02:52 -04:00
ratelimit.rs feat: incoming rate limit, identity backup, v0.2.0 2026-09-10 14:50:01 -04:00
rotate.rs feat(store): encrypt chat bodies at rest; Ctrl-Q CLEAR/QUIT 2026-09-10 17:19:50 -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 store: persist per-peer ratchet session state in the SQLCipher store 2026-09-16 18:30:32 -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 wallet: create/import in-app (no key paste on create) + opt-in spend 2026-09-13 23:25:25 -04:00
tui_frames.rs test(tui): keep send-failed visible in crowded status_footer 2026-09-12 00:22:04 -04:00
tui_spec.rs chat: send and receive as ratchet frames through the outbox payload 2026-09-16 19:02:52 -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: create/import in-app (no key paste on create) + opt-in spend 2026-09-13 23:25:25 -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