Skip to content

Double Ratchet message encryption for DMs #306

Description

@codebestia

Description:
Encrypt/decrypt DM messages through the Double Ratchet, persisting ratchet state per session in IndexedDB (never uploaded — server forbids it, doc "Forbidden"). Maintain the per-device envelope shape (#132) so the backend is unchanged.

Acceptance criteria:

  • DMs use ratcheted keys (forward secrecy verified by test vectors)
  • Ratchet state stored locally only
  • Envelope/back-end contract unchanged

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions