agent
3c78cd3e39
ci / test (pull_request) Successful in 4m46s
ci / sdk (pull_request) Successful in 56s
android-ci / android (pull_request) Successful in 9m54s
ratchet: reject frames under MIN_FRAME_LEN before indexing the version byte
...
Frame::parse checked the prefix, then indexed frame[4] for the version byte,
then checked the length. A 4-byte `rat ` frame is a prefix hit, so it
panicked with 'index out of bounds: the len is 4 but the index is 4' instead
of being rejected. dispatch::classify routes any `rat `-prefixed message to
Kind::Ratchet, so this is reachable from any authenticated peer.
Move the MIN_FRAME_LEN check ahead of the version match: a frame that cannot
hold a header, nonce and tag is 'truncated' whatever its version byte says,
and nothing past the prefix is indexed until the length is known good. Wire
format unchanged.
Tests: tests/ratchet.rs short_frames_are_rejected_without_panicking (bare
prefix, empty slice, partial prefix, prefix + 5 bytes, MIN_FRAME_LEN - 1) and
a_wrong_frame_version_is_rejected (73-byte frame with version 2 is
BadFrame("version"); a short one is a length error). Both assert the state
stays byte-identical after every rejection.
2026-09-16 19:50:36 -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
ratchet: reject frames under MIN_FRAME_LEN before indexing the version byte
2026-09-16 19:50:36 -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