Paper 2026/2924

The Swell Protocol: Invite-Bound Hybrid Key Agreement, a Double Ratchet with an ML-KEM Epoch Ratchet, and a Signed Server Statement

Ilyas Akbar Almadani, PT JIJI LABS DIGITAL
Abstract

We describe the Swell Protocol, the end-to-end encryption protocol of the Swell messenger, as fixed by draft 3 of its specification. First contact uses an out-of-band invite code instead of a server-held prekey directory: a hybrid X25519/ML-KEM-768 handshake in the style of PQXDH, without prekey signatures, whose transcript is bound to the invite. Sessions then run the Double Ratchet with header encryption, extended by a post-quantum epoch ratchet: ML-KEM-768 exchanges carried inside the conversation renew an epoch key that is mixed into every message key, so that after a one-time state compromise confidentiality is restored against an adversary who is passive while healing, even if it later breaks every X25519 key. Sessions between existing contacts are started or repaired by link frames sealed under a static-static key. Groups fan out over pairwise sessions with identity-signed group states. Separately, the message relay publishes an hourly statement signed under a pinned key and kept in a hash-chained, append-only log meant to be mirrored by an external witness. We state the threat model precisely, including two admitted limits of forward secrecy, and we report symbolic analyses in ProVerif and Tamarin of simplified models, together with every attack those models found; there is no computational proof. The protocol has had internal review only; it has not undergone an independent security audit. We list the open problems and invite cryptanalysis.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Preprint.
Keywords
secure messagingpost-quantumML-KEMDouble Ratchetpost-compromise securitysymbolic analysis
Contact author(s)
hello @ jijilabsdigital com
History
2026-11-21: approved
2026-11-17: received
See all versions
Short URL
https://ia.cr/2026/2924
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2026/2924,
      author = {Ilyas Akbar Almadani},
      title = {The Swell Protocol: Invite-Bound Hybrid Key Agreement, a Double Ratchet with an {ML}-{KEM} Epoch Ratchet, and a Signed Server Statement},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2924},
      year = {2026},
      url = {https://eprint.iacr.org/2026/2924}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.