Dorian
e05bb3cc85
feat: Phase 3 Week 2 — Double Ratchet protocol for forward-secret mesh messaging
- Create mesh/ratchet.rs: full Signal-style Double Ratchet implementation
- DH ratchet with X25519 ephemeral keypairs per step
- Symmetric-key ratchet via HKDF-SHA256 chain derivation
- Per-message ChaCha20-Poly1305 encryption with derived message keys
- Out-of-order delivery via skipped message key cache (max 100)
- Forward secrecy: old keys zeroized on ratchet step
- Wire format: 40B header + nonce + ciphertext + tag
- Tests: full conversation, out-of-order, forward secrecy, wire format,
long conversation (50 messages alternating), message roundtrip
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 01:50:22 +00:00
..
2026-03-12 00:19:30 +00:00
2026-03-17 01:50:22 +00:00
2026-03-16 12:58:35 +00:00
2026-01-24 22:59:20 +00:00
2026-01-24 22:59:20 +00:00
2026-01-24 22:59:20 +00:00
2026-01-24 22:59:20 +00:00
2026-03-04 05:23:42 +00:00
2026-01-27 22:27:17 +00:00
2026-03-12 00:19:30 +00:00
2026-01-27 17:18:21 +00:00
2026-01-28 11:12:19 +00:00
2026-03-17 00:03:08 +00:00
2026-02-01 05:42:05 +00:00