A Formal Analysis of Apple’s iMessage PQ3 Protocol
Machine-checked TAMARIN formal verification of Apple's iMessage PQ3 messaging protocol, covering its post-quantum initialization and PQ-extended double ratchet with post-compromise security.
Schemes: PQ3, Signal double ratchet, post-quantum KEM
Findings (quotes checked against the source text)
-
PQ3 integrates post-quantum key encapsulation into the relevant protocol phases and provides post-quantum post-compromise security via a double ratchet.
Particularly novel is the integration of post-quantum secure key encapsulation into the relevant protocol phases and the detailed security claims along with their complete formal analysis.
-
The formal analysis uses the TAMARIN prover to give machine-checked security proofs for PQ3.
We present a detailed formal model of PQ3, a precise specification of its fine-grained security properties, and machine-checked security proofs using the TAMARIN prover.
-
Symbolic prover TAMARIN can analyze both key ratchets of PQ3 including unbounded loops, contrary to some prior belief.
Our analysis covers both key ratchets, including unbounded loops, which was believed by some to be out of scope of symbolic provers like TAMARIN (it is not!).
For builders
Use the paper as a worked example of formally verifying a hybrid PQ key-exchange plus ratchet protocol with TAMARIN, reusing its model structure for a PQ chain's messaging or wallet layer.
Limits
Based on the ePrint abstract only; full text not reviewed. Concerns messaging protocol, not blockchain consensus, signatures, or chain migration.
Topics: kem hybrid-schemes implementation-sidechannel cryptanalysis wallets-keys