Signal Protocols, Annotated

 Signal Protocols, Annotated🔗

Galois, Inc.

This document is an annotated port of two Signal protocol specifications, plus an implementation-focused account of how they feed the ongoing Triple Ratchet. All three are cross-referenced with their libsignal implementations:

  • The PQXDH (Post-Quantum Extended Diffie-Hellman) key agreement protocol  (Kret and Schmidt, 2023)Ehren Kret and Rolfe Schmidt (2023). “The PQXDH Key Agreement Protocol”. Signal Documentation. Revision 3..

  • The ML-KEM Braid protocol, also known as SPQR  (Schmidt, 2025)Rolfe Schmidt (2025). “The ML-KEM Braid Protocol”. Signal Documentation. Revision 1..

  • The Triple Ratchet construction that combines the Double Ratchet and SPQR  (Connell and Schmidt, 2025)Graeme Connell and Rolfe Schmidt, 2025. “Signal Protocol and Post-Quantum Ratchets”. In Signal Blog..

The upstream Signal specifications are the canonical references. This document combines that spec text with Galois commentary mapping each section to the libsignal Rust implementation.

Contents

  1. 1. PQXDH — Docs to Code
  2. 2. SPQR — Docs to Code
  3. 3. Triple Ratchet — Description & Code