diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-08-09 05:27:16 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-08-09 05:27:16 +0200 |
| commit | cb6e33a2c82a2f61712c3418c156b1ef3e12aaf4 (patch) | |
| tree | d0585c3d5079c8f162295e9eadb6a2ea9198fd61 /docs/USERGUIDE.md | |
| parent | 99e965329cc2c88b667d7ba4733851445f3e2641 (diff) | |
| download | meshbay-cb6e33a2c82a2f61712c3418c156b1ef3e12aaf4.tar.gz | |
feat(common): add Double Ratchet algorithm — 6.1
RatchetState: full Signal-spec Double Ratchet (DH ratchet + symmetric
ratchet). KDF_RK/KDF_CK via HKDF-SHA256. AES-256-GCM message encryption.
MKSKIP for out-of-order delivery (max 1000 skipped keys).
ChatMessage dataclass with to_dict/from_dict for wire serialisation.
Properties validated by tests:
✓ Forward secrecy (consumed keys unreplayable)
✓ Out-of-order delivery
✓ Associated data binding
✓ Break-in recovery (post-ratchet keys independent)
✓ 100-message stress test
11/11 tests in 0.06s.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'docs/USERGUIDE.md')
0 files changed, 0 insertions, 0 deletions