Lune

CCS2026Top-tier venue

Secrecy in Squirrel and the Post-Compromise Security of a Ratchet

Clément Hérouard, Charlie Jacomme, Adrien Koutsos, Joseph Lallemand

Abstract

Ratchets are critical cryptographic protocols deployed in many secure messaging applications such as Signal Messenger, WhatsApp, and Apple's iMessage PQ3, which aim for strong guarantees such as Post-Compromise Security (PCS). Computer-aided cryptography can be used to increase confidence in security protocols but, until now, has been unable to prove PCS in the computational model for a ratchet due to the complexity of the cryptographic arguments involved. Existing mechanized PCS analyses have been limited to the symbolic model.

We tackle this problem with Sqirrel, which is well-suited to study such stateful protocols. The task is still a challenge, due to the intricate reasoning required, and because Sqirrel's indirect modeling of secrecy has difficulties in scaling to such a complex proof. To address these issues, we develop a novel logical framework in Sqirrel that allows to reason on secrecy as a first-class notion, and we validate our approach by verifying the PCS of an asymmetric ratchet. This provides the first mechanized computational proof of PCS to date for a ratchet, and possibly for any protocol.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Universally Composable End-to-End Secure Messaging cites A More Complete Analysis of the Signal Double Ratchet Algorithm
  • A More Complete Analysis of the Signal Double Ratchet Algorithm cites Universally Composable End-to-End Secure Messaging
  • An Interactive Prover for Protocol Verification in the Computational Model cites SoK: Computer-Aided Cryptography
  • A Higher-Order Indistinguishability Logic for Cryptographic Reasoning cites An Interactive Prover for Protocol Verification in the Computational Model
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on16

  1. SoK: Computer-Aided CryptographyManuel Barbosa, Gilles Barthe, Karthik Bhargavan, Bruno Blanchet et al.S&P 2021 · 169 citations
  2. An Interactive Prover for Protocol Verification in the Computational ModelDavid Baelde, Stéphanie Delaune, Charlie Jacomme, Adrien Koutsos et al.S&P 2021 · 44 citations
  3. A More Complete Analysis of the Signal Double Ratchet AlgorithmAlexander Bienstock, Jaiden Fairoze, Sanjam Garg, Pratyay Mukherjee et al.CRYPTO 2022 · 31 citations
  4. Universally Composable End-to-End Secure MessagingRan Canetti, Palak Jain, Marika Swanberg, Mayank VariaCRYPTO 2022 · 30 citations
  5. A Higher-Order Indistinguishability Logic for Cryptographic ReasoningDavid Baelde, Adrien Koutsos, Joseph LallemandLICS 2023 · 6 citations

Related papers

  1. Formal Analysis of Session-Handling in Secure Messaging: Lifting Security from Sessions to ConversationsCas Cremers, Charlie Jacomme, Aurora NaskaUSENIX Security 2023
  2. Automated Formal Analysis of Signal's Double Ratchet: Attacks, Fixes and Security ProofsVincent Cheval, Charlie Jacomme, Jessica RichardsS&P 2026 · 3 citations
  3. A Formal Analysis of Apple's iMessage PQ3 ProtocolFelix Linker, Ralf Sasse, David A. BasinUSENIX Security 2025
  4. Clone Detection in Secure Messaging: Improving Post-Compromise Security in PracticeCas Cremers, Jaiden Fairoze, Benjamin Kiesl, Aurora NaskaCCS 2020 · 17 citations
  5. A Formal Analysis of Signal's Sparse Post-Quantum Ratchet Protocol and its ImplementationKarthikeyan Bhargavan, Maxime Buyse, Graeme Connell, Franziskus Kiefer et al.CCS 2026
Dusk over the sea between two cliffs drawn in fine vertical lines