Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Signal 6 min read Announcement easyNovice

Quantum Resistance and the Signal Protocol

Signal is upgrading its X3DH key agreement to PQXDH, which derives the session shared secret from both X25519 elliptic-curve key agreement and the CRYSTALS-Kyber post-quantum key encapsulation mechanism, so an attacker must break both to recover keys. The hybrid design guards against harvest-now-decrypt-later attacks by future quantum computers while hedging against undiscovered weaknesses in newer post-quantum schemes, one of which was broken classically during NIST standardization. PQXDH is already live for new chats between updated clients, X3DH will be disabled for new chats after an update window, and existing chats will be migrated. Protection against an attacker with a contemporaneous quantum computer remains future work.

Related posts

  • Signal Protocol and Post-Quantum Ratchets

    Signal hardMaster

    Signal adds the Sparse Post Quantum Ratchet (SPQR), a continuously advancing ML-KEM-based ratchet whose output is mixed with the existing Double Ratchet to form a "Triple Ratchet". It extends quantum resistance beyond PQXDH's session handshake to forward secrecy and post-compromise security. KEM key exchange needs ordered, asymmetric messages, and ML-KEM 768 keys and ciphertexts each exceed 1000 bytes versus 32 for ECDH. SPQR handles this with a state machine that coordinates encapsulation-key and ciphertext exchange, and with erasure-coded chunks spread across messages. The chunking keeps message sizes small and uniform and tolerates loss, reordering and offline peers. It also forces an attacker who wants to block key agreement into an obvious denial of service. Rollout requires no user action.

  • Post-quantum readiness for TLS at Meta

    Meta Engineering hardMaster

    Meta has deployed hybrid X25519+Kyber key exchange in its Fizz TLS library for most internal service traffic, prioritizing store-now-decrypt-later protection where it controls both endpoints. Kyber768 is the default, but Kyber512 is used where the larger 1184-byte keyshare pushed resumption ClientHellos (with PSKs) past the TCP MSS and broke TCP Fast Open, adding an extra RTT. Rollout surfaced a race condition in liboqs's Keccak dispatch causing segfaults, fixed upstream with pthread_once, and HelloRetryRequest thrashing during cross-host resumption, solved by splitting TLS session scopes into classical and hybrid. The hybrid group cost about 40% more CPU than X25519 alone.

  • Post-quantum security for SSH access on GitHub

    GitHub Engineering mediumAdept

    GitHub is adding the hybrid post-quantum SSH key exchange sntrup761x25519-sha512 (Streamlined NTRU Prime combined with X25519 ECDH) to its Git SSH endpoints on September 17, 2025. The goal is to defend against "store now, decrypt later" attacks. Because the scheme is hybrid, security is never weaker than classical X25519. The change covers github.com, non-US GitHub Enterprise Cloud regions and GHES 3.19, but not the FIPS-only US region. Clients running OpenSSH 9.0+ negotiate it automatically, older clients fall back, and `ssh -Q kex` or `ssh -v` shows support and the negotiated algorithm.

  • Safeguarding cryptocurrency by disclosing quantum vulnerabilities responsibly

    Google Research hardMaster

    New resource estimates show Shor's algorithm can break 256-bit elliptic curve cryptography (ECDLP-256) using two compiled circuits. One needs under 1,200 logical qubits and 90 million Toffoli gates, the other under 1,450 logical qubits and 70 million Toffoli gates. That translates to fewer than 500,000 physical superconducting qubits running for a few minutes, roughly a 20-fold reduction from earlier estimates. Because most blockchains rely on ECDLP-256, Google recommends migrating cryptocurrencies to post-quantum cryptography, avoiding exposed or reused wallet addresses, and considering policy for abandoned coins. To disclose responsibly, the circuits are withheld and a zero-knowledge proof lets third parties verify the claims without handing attackers a roadmap.

  • The post-quantum future of web privacy

    Cloudflare hardMaster

    Privacy Pass tokens rely on RSA and elliptic curves, so a quantum attacker could forge them, but redemption remains unconditionally unlinkable even after Q-day. Cloudflare outlines a post-quantum path for its next-generation MOLE credential system, whose issuer-hiding endorsements let a moderator verify a token came from a trusted anchor without learning which one. The proposed building block is PoMFRIT, a blind signature that proves knowledge of a multivariate (MAYO or UOV) signature on a hashed commitment using the VOLE-in-the-Head zero-knowledge proof system. Swapping MAYO for UOV yields roughly 4.3KB signatures in exchange for 46.6KB public keys, and the same components can be recomposed into the other credential types MOLE needs.

The quest for software engineering knowledge.

Look:
Layout: