How do you add post-quantum key exchange to an encrypted chat system?
A messaging team adds post-quantum key exchange to an encrypted chat system by combining a classical key agreement with ML-KEM in a hybrid design, then rolling it out in stages so that older clients and existing conversations keep working. The hybrid design keeps the current elliptic-curve exchange in place and adds an ML-KEM exchange next to it, so that a session stays protected if either part holds. This matters for builders of chat and collaboration systems, protocol owners, and product and compliance leads, because the change touches key agreement, client version handling and the stored state of conversations already in progress. Signal, Apple and the MLS working group have each published their approach with dates: Signal announced the Sparse Post Quantum Ratchet (SPQR) on 2 October 2025, Apple announced iMessage PQ3 on 21 February 2024, and the MLS working group's post-quantum cipher suite draft is at revision 08, dated 18 November 2026, and not yet an RFC.
The rollout is where most of the engineering risk sits. Signal's SPQR design shows one pattern: a session may fall back to no post-quantum protection only during the first message exchange, the SPQR data is covered by the message MAC so an intermediary cannot silently strip it, and after that exchange the protection is locked in for the session. Signal also plans a later update that enforces SPQR for all sessions and archives sessions without it, once all clients support it. A team building its own system should decide the same questions in advance: which client versions must support the new suite before enforcement starts, how long the fallback window lasts, and what happens to conversations that never upgraded. In MLS, RFC 9750 section 6.11 says group members can observe when it is safe to upgrade to a new cipher suite, and OpenMLS 0.10.0 states that groups using ML-KEM or X-Wing ciphersuites cannot interoperate with OpenMLS 0.9.x or earlier, so a group with mixed client versions needs a plan before the first post-quantum commit.
Where chat systems use public-key algorithms today
This table maps the three places an encrypted chat uses public-key operations: initial key establishment, ongoing rekeying and identity signatures. For each, it notes whether the sources describe post-quantum work and which document to read next. Use it to decide which part of your protocol to change first.
| Operation | What it does in chat | Post-quantum work described in the sources |
|---|---|---|
| Initial key establishment (prekeys or key packages) | Sets up the first shared secret before any messages are exchanged, using prekeys held by a server in PQXDH or key packages in MLS | Covered by PQXDH, which adds a KEM prekey alongside classical keys (Signal PQXDH specification); MLS uses HPKE for public key encryption (RFC 9420) |
| Initial exchange authentication | Proves the identity of the party you are starting a session with | PQXDH states its authentication is not quantum-secure and that it does not protect against active quantum attackers (Signal PQXDH specification) |
| Ongoing rekeying (double ratchet with a post-quantum ratchet) | Refreshes session keys as messages flow, limiting exposure if a key is compromised | PQ3 runs a post-quantum ratchet about every 50 messages and at least every 7 days (Apple PQ3 blog); SPQR adds an ML-KEM 768 ratchet alongside the Double Ratchet (Signal SPQR blog) |
| Group rekeying (MLS commits) | Updates the shared group secret when members are added, removed or refresh their keys | APQ-MLS-02 runs post-quantum operations only on FULL commits to amortize overhead (draft-ietf-mls-combiner-02); the MLS PQ cipher suites draft is not yet an RFC |
| Identity signatures in MLS | Binds each member's key to their identity in the group | Draft-ietf-mls-pq-ciphersuites-06 lists suites pairing post-quantum KEMs with classical signatures, so signatures can be staged separately from key exchange |
| Mixed client versions | Determines whether all members of a group can use the new suites together | OpenMLS 0.10.0 states that groups using ML-KEM or X-Wing cannot interoperate with 0.9.x or earlier (OpenMLS CHANGELOG) |
What the standards bodies have published on post-quantum chat key exchange
Teams adding post-quantum key exchange to a group messaging system need to know which standards are final and which are still moving. NIST published FIPS 203, the Module-Lattice-Based Key-Encapsulation Mechanism Standard (ML-KEM), as a final standard on 13 August 2024. That is the post-quantum key encapsulation primitive that chat protocol designs point to. RFC 9420, which defines the Messaging Layer Security (MLS) protocol for asynchronous group key establishment, was published in July 2023 as a Standards Track document. RFC 9420 registers seven cipher suites, all of which use classical DHKEM key exchange with classical signatures. Its mandatory-to-implement suite for MLS 1.0 is MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519 (0x0001). Any post-quantum key exchange in an MLS group therefore needs a cipher suite beyond what RFC 9420 defines.
The IETF work that adds those suites is still in draft. The IETF datatracker showed on 3 December 2026 that draft-ietf-mls-pq-ciphersuites is at revision 08, dated 18 November 2026, with intended status Proposed Standard. The working group has submitted it to the IESG, and it is not yet a published RFC. Its suites pair a post-quantum or hybrid KEM with a traditional signature, and the draft says those suites "provide authenticity against classical attacks only," so they give post-quantum confidentiality but not full post-quantum security. Teams should confirm the current revision and status on the datatracker before they plan against a specific suite number.
On group commits, draft-ietf-mls-combiner-02 states that the FULL commit rate sets the post-quantum post-compromise security window and advises that FULL commits be more frequent than any inactivity-removal threshold. It also notes that ML-KEM and ML-DSA add significant overhead in key, signature and ciphertext size and CPU time, and that the design runs post-quantum operations only on FULL commits to amortize that cost. Before choosing a commit rate, confirm it against the draft's current text and your group's removal policy. Check the cipher suite your client library implements against the draft revision it tracks.
Which chat products and libraries have shipped post-quantum key exchange
Several consumer and business communication products have announced or begun rolling out post-quantum key exchange. Each one handles the change in its own way, with different rollout speeds, different fallback rules and different coverage across clients and features. The public sources show what each vendor has said, so a reader should treat them as vendor statements rather than independent verification.
- Signal (SPQR): Signal announced the Sparse Post Quantum Ratchet on 2 October 2025. It runs alongside the Double Ratchet as a Triple Ratchet and uses ML-KEM 768. Signal says users need take no action and that the protocol is rolling out slowly and carefully.
- Signal fallback rules: A session can fall back to no SPQR only during the first message exchange. After that exchange, SPQR is locked in for the session, and the SPQR data is covered by the message MAC so an intermediary cannot silently strip it.
- Apple (iMessage PQ3): Apple began rolling out PQ3 with iOS 17.4, iPadOS 17.4, macOS 14.4 and watchOS 10.4, and said it would replace the existing protocol in all supported conversations during 2024.
- Zoom: Zoom's 21 May 2024 post lists Zoom Meetings as available with post-quantum end-to-end encryption. Zoom Phone and Zoom Rooms are listed as coming soon.
For each product, confirm current client versions, the platforms and features covered, and whether group conversations are included before relying on it.
Libraries let builders add post-quantum key exchange to their own messaging systems. Support is tied to specific versions and ciphersuites, and a library version can break interoperability with older clients. Most of the post-quantum work visible in the public sources is in the MLS ecosystem.
- OpenMLS 0.10.0: The OpenMLS CHANGELOG dates release 0.10.0 to 2026-11-23 and says groups using ML-KEM or X-Wing ciphersuites cannot interoperate with OpenMLS 0.9.x or earlier.
- Mixed versions in one group: Because of that incompatibility, a group that contains clients on different OpenMLS versions needs a deliberate upgrade plan before any member switches to a post-quantum ciphersuite.
- Ciphersuite choice: The OpenMLS release names ML-KEM and X-Wing ciphersuites. Confirm which of these your application selects and whether the ciphersuite is set per group or globally.
- Other libraries: The sources supplied for this topic do not show equivalent release notes for other messaging libraries. Check each library's own changelog and release notes for post-quantum key exchange before assuming it is available.
Before adopting any library, check its changelog for the version that adds the ciphersuite, test interoperability with the client versions your users run, and confirm the release date against the project's own repository.
Standards work defines what a post-quantum messaging protocol should do, but a published draft does not mean shipped code exists. The MLS working group's post-quantum ciphersuite draft is still moving through the IETF process, and its current status should be confirmed on the IETF datatracker before any planning depends on it.
- MLS base standard: RFC 9420, a Standards Track document published in July 2023, defines the Messaging Layer Security protocol. Its registered cipher suites all use classical key exchange, and MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519 is mandatory to implement for MLS 1.0.
- Post-quantum ciphersuite draft: draft-ietf-mls-pq-ciphersuites was at revision 08, dated 18 November 2026, with intended status Proposed Standard, submitted to the IESG, and not yet an RFC as of 3 December 2026.
- Authentication limits: The draft says its first eight suites pair a post-quantum or hybrid KEM with a traditional signature that provides authenticity against classical attacks only. These suites provide post-quantum confidentiality, not full post-quantum security.
- Combiner work: The APQ-MLS draft describes running post-quantum operations only on FULL commits, which affects how often post-compromise security is refreshed.
- NIST reference: NIST published FIPS 203, which defines ML-KEM, as a final standard on 13 August 2024.
Check the datatracker status and the working group's latest revision before treating any draft ciphersuite as settled.
What changes in size, compatibility and operations when you add it
Adding post-quantum key exchange to a chat system makes key material larger, makes client versions matter within a group, and adds ongoing cost that depends on how often rekeying happens. The four points below each affect a different part of the rollout, so check each one against your own protocol, client mix and message volume.
Key and ciphertext sizes
An ML-KEM 768 encapsulation key takes 37 chunks and its ciphertext takes 34 chunks in Signal's braid design, so the post-quantum material is sent across many messages instead of in one packet. Apple reports that PQ3's post-quantum ratchet adds more than 2 KB where the classical ECDH ratchet adds about 32 bytes. Measure the per-message and per-session bytes your transport and storage will carry before you commit to a design. Confirm the sizes for the exact parameter set you deploy.
Signal SPQR postMixed client versions in one group
OpenMLS 0.10.0 groups using ML-KEM or X-Wing cannot interoperate with OpenMLS 0.9.x or earlier. Any group that mixes clients on these versions will fail to establish or update keys, so the upgrade has to be coordinated across members rather than rolled out per device. Decide in advance how you will keep older clients working or prevent them from joining post-quantum groups, and test a group that contains both versions before rollout.
OpenMLS changelogRatchet cadence and padding overhead
Apple states that PQ3's post-quantum ratchet runs about every 50 messages at launch and at least once every 7 days, and that Padmé padding adds at most about 12 percent overhead. Those figures set how much extra traffic and computation each conversation carries, so count them against your message volume and bandwidth budget. Ask your vendor or library for the rekeying interval it actually uses, since the figures above describe one implementation.
Apple PQ3 postAmortizing cost with FULL commits
The APQ-MLS draft amortizes the cost of ML-KEM and ML-DSA by running post-quantum operations only on FULL commits, which are the points where the group performs a full key update. Its authors also advise that FULL commits happen more often than any inactivity-removal threshold, because the FULL commit rate sets the post-quantum post-compromise security window. Set your commit schedule with both the CPU cost and that window in mind, and confirm the schedule against the draft's latest revision.
APQ-MLS draftSignalling when to change cipher suite
RFC 9750 section 6.11 covers version negotiation and cipher suite selection, and states that group members can observe when it is safe to upgrade to a new cipher suite or protocol version. Use that observation point to plan the switch from classical to post-quantum key exchange, instead of forcing a flag day. Your negotiation logic should record which members have upgraded before any group moves to the new suite.
RFC 9750What to do now, in order
This sequence moves an encrypted chat system from knowing where its public-key exchange sits to running a tested hybrid key exchange with a recorded plan for client versions and old sessions. Each step produces a record that the next step depends on, so the work can be checked at every point.
Inventory the public-key operations in each chat flow
Engineers who own the chat protocol list every place a conversation starts or rekeys: initial key agreement, prekey distribution from the server, periodic ratchet or rekey steps, group membership changes and any signature checks. For each operation, record the algorithm in use, the key sizes, where the server stores or hands out keys, and which clients run the code path. The step is done when every flow has one row in a shared table that names the algorithm and the component responsible for it. Signal's PQXDH specification and Apple's PQ3 description both show that the key exchange and the authentication step are separate concerns, so the table should separate them too.
Test hybrid key exchange in a staging group
Engineers build a staging group on a messaging library that has shipped ML-KEM support and run a hybrid key exchange between test clients. The library version must be pinned in the build file and recorded in the test notes, since support can change between releases. Confirm that the key exchange completes, that messages decrypt on every client, and that rekeying still works after the post-quantum step. Measure the added message overhead and the extra bytes per exchange against the classical baseline. The step is done when a written test report lists the pinned version, the pass or fail result for each flow from step one, and the overhead numbers.
Plan client version spread for mixed groups
Product and platform leads decide how clients on different versions will share one group before any version is released. Some libraries state that groups using ML-KEM ciphersuites cannot interoperate with earlier versions, so a group that mixes releases can fail to decrypt. Write a rule for each case: either a group only admits clients at or above a minimum version, or the system keeps a classical suite available until the older clients are gone. RFC 9750 notes that group members can observe when it is safe to upgrade a cipher suite or protocol version, so the rule should say how that signal is read and acted on. The step is done when a signed decision document names the minimum version, the fallback rule and the owner of the rule.
Ask each vendor for its rollout and archive policy
Security and procurement staff send each messaging vendor a written list of questions about its post-quantum rollout. Ask whether a session can fall back to classical key exchange, and if so, when that fallback ends. Signal's SPQR design, for example, lets a session fall back only during the first message exchange, after which the post-quantum exchange is locked in for that session, and Signal has said it plans a later update that enforces post-quantum exchange for all sessions and archives sessions without it. Ask each vendor for its own equivalent dates, its archival rules and what happens to old conversations. The step is done when each vendor's answers are on file with a date and a named contact, and any answer that is not published is marked as unconfirmed.
Record decisions and dates in a change log
The platform lead keeps a dated change log that records every decision from steps one to four, along with the pinned library versions, the minimum client version and each vendor's answers. Each entry names the person who made the decision and the evidence it rests on. When a vendor, library or standard publishes something new, the entry is updated with the date and the source. The step is done when the change log has an entry for each decision, and a reviewer outside the project can trace each rule back to a source or a test result.
Where the post-quantum key exchange sits in a chat message flow
The flow starts with the initial key agreement, where the sender and recipient combine classical ECDH with ML-KEM, as PQXDH and PQ3 do. Once the session is set up, the Double Ratchet keeps running for ordinary messages, and a sparse post-quantum ratchet, as in SPQR, adds periodic ML-KEM rekeying beside it. The first message exchange is the point where the post-quantum step can be downgraded, since SPQR data is covered by the message MAC and is locked in for the session after that exchange. Check that both clients support the same version and that the first exchange completes with the post-quantum step in place.
Hybrid key agreement at session start, then the sparse post-quantum ratchet running alongside the Double Ratchet.
Which risks the sources name and how to notice them
The sources name four risks when a messaging system adds post-quantum key exchange: a downgrade during first contact, mixed client versions in one group, reusable last-resort prekeys, and authentication that is not quantum-secure. Each one has a log or test signal that a team can check before and during rollout.
Intermediary stripping post-quantum data
During the first message exchange, a session can fall back to no SPQR. Signal says the SPQR data is covered by the message MAC, so an intermediary cannot silently strip it. After that first exchange, SPQR is locked in for the session. To check this in testing, run a session through a proxy that removes the SPQR fields and confirm the handshake fails rather than completing without them. In logs, look for sessions that complete the first exchange without SPQR data present.
Signal SPQR postMixed OpenMLS versions in one group
OpenMLS 0.10.0 states that groups using ML-KEM or X-Wing ciphersuites cannot interoperate with OpenMLS 0.9.x or earlier. A group with clients on both versions can fail to process commits or join messages. Before enabling a post-quantum suite, inventory the OpenMLS version on every client in a group. In testing, create a group with one client on each version and confirm that the join or commit fails, which tells you the rollout needs a version gate.
OpenMLS changelogLast-resort KEM prekey reuse
Under PQXDH, the server should hand out a one-time signed KEM prekey and delete it. If none remain, it falls back to a last-resort KEM prekey that is not deleted and can be reused. Reuse weakens the freshness that one-time keys provide. To notice this, log how often each prekey is served and count requests that receive the last-resort key. A steady rise in last-resort serves means the one-time pool is running out and should be replenished.
PQXDH specificationAuthentication is not quantum-secure
Signal's PQXDH specification states that authentication in PQXDH is not quantum-secure and is not designed to protect against active quantum attackers. The MLS draft's first eight suites provide authenticity against classical attacks only. Confidentiality against harvest-now, decrypt-later is the goal these suites address. Do not describe a deployment as protected against active quantum impersonation. In design reviews, record which signature algorithm each suite uses and mark the authentication path as classical.
MLS PQ ciphersuites draftWhat the sources say is still unsettled
Several parts of a post-quantum key exchange plan for encrypted chat are not settled in the sources. The first is the group chat standard. The MLS post-quantum cipher suite draft, draft-ietf-mls-pq-ciphersuites, is not yet an RFC. The IETF datatracker shows revision 08, dated 18 November 2026, with intended status Proposed Standard and submission to the IESG, but it is still a draft. Check the IETF datatracker entry for the current status before you name a suite in a design or procurement document. Also note that the draft's first eight suites use classical signatures and, in its own words, "provide authenticity against classical attacks only," so they give post-quantum confidentiality without full post-quantum security.
The second open item is Signal's upgrade path. The SPQR post describes an SPQRv2 upgrade that the design is meant to allow, but that is a design intent, not a published specification. The sources do not say when all clients will support SPQR, and they do not give a date for the later update that will enforce SPQR for all sessions and archive sessions without it. Your team should confirm the timing in the Signal SPQR post and in any later Signal release notes before you set a cutover date. Until that enforcement arrives, a session can still fall back to no SPQR during the first message exchange, which the message MAC protects against silent stripping but which you should plan around.
The third open item is vendor coverage. Zoom's 21 May 2024 post lists Zoom Meetings with post-quantum end-to-end encryption and marks Zoom Phone and Zoom Rooms as coming soon. The sources do not say when those products will ship the feature. If your chat or collaboration stack includes those products, treat them as unsupported until the Zoom post or Zoom's current documentation says otherwise, and record that gap in your inventory.
Questions teams ask before adding post-quantum key exchange to chat
What is post-quantum key exchange in a chat system, and does it apply to our product?
Post-quantum key exchange adds a key agreement step that resists attacks from future quantum computers, usually alongside the classical method rather than in place of it. It applies if your chat product sets up session keys with public-key exchange, which most end-to-end encrypted messengers do. Signal's PQXDH, which Signal describes as designed to prevent 'harvest now, decrypt later' attacks, is one example. Apple's PQ3 for iMessage combines P-256 ECDH with ML-KEM (which Apple refers to as Kyber, the algorithm NIST selected) in both initial key establishment and ongoing rekeying. To confirm whether your system applies, check where your protocol performs public-key key agreement and whether it can be extended with a KEM.
Do our users have to do anything to get post-quantum protection?
For Signal, the SPQR post says users need take no action, and Signal is rolling the new protocol out slowly and carefully. For your own product, the answer depends on your rollout design. Clients that do not support the new key exchange cannot use it, so you need to plan how older versions are handled. The SPQR design allows a session to fall back to no SPQR only during the first message exchange, the SPQR data is covered by the message MAC so an intermediary cannot silently strip it, and after that exchange SPQR is locked in for the session. Signal also plans a later update, once all clients support SPQR, that enforces SPQR for all sessions. Expect your users to need an app update, and plan a period where older clients remain supported.
Should we build post-quantum key exchange in-house or use a library?
Most teams should use a maintained library or a standard protocol implementation rather than write key exchange code themselves. For group chat built on MLS, check the library's version and cipher suite support first. OpenMLS 0.10.0 (released 2026-11-23) states that groups using ML-KEM or X-Wing ciphersuites cannot interoperate with OpenMLS 0.9.x or earlier, so mixed client versions in one group need a plan. Also note that the IETF draft for MLS post-quantum cipher suites, draft-ietf-mls-pq-ciphersuites, was submitted to the IESG and is not yet an RFC as of the datatracker's 3 December 2026 view. Confirm your library's version, its supported suites and its interoperability notes before committing to a design. Your cost depends on whether you have in-house cryptography engineers, and an external review or testing engagement will be priced from your written scope.
What should we ask a messaging vendor about post-quantum key exchange?
Ask which protocol and cipher suite the vendor uses for key agreement, whether that suite includes a post-quantum KEM, and whether the post-quantum step is hybrid with a classical method. Ask whether the feature applies to one-to-one chat, group chat, or both, and whether it covers ongoing rekeying as well as the initial key exchange. Ask how clients negotiate versions, what happens when a client does not support the new method, and whether the vendor will enforce it later. Ask for the rollout timeline and whether it is in a public changelog or specification. Note that some vendors have published partial rollouts. Zoom's 21 May 2024 post lists Zoom Meetings as available with post-quantum end-to-end encryption, with Zoom Phone and Zoom Rooms as coming soon. Ask for the dated status of each product you use.
Does post-quantum key exchange protect our existing message history?
Post-quantum key exchange protects messages whose keys are set up using the new method. It does not retroactively protect history that was encrypted and captured using only classical key agreement. Signal's PQXDH specification states that PQXDH is designed to prevent 'harvest now, decrypt later' attacks, meaning messages captured now are protected against later decryption if the key exchange used the post-quantum method. The same specification says authentication in PQXDH is not quantum-secure and that it is not designed to protect against active quantum attackers. For history already stored, review which conversations were set up with classical-only key exchange, and treat those as exposed. Plan with your product owner and compliance lead, since the answer depends on what was captured and kept.
How much overhead does post-quantum key exchange add to messages?
The overhead is real and depends on the design. Apple states that PQ3's post-quantum ratchet runs about every 50 messages at launch and at least once every 7 days, adds more than 2 KB where the classical ECDH ratchet adds about 32 bytes, and that Padmé padding adds at most about 12 percent overhead. Signal's SPQR design sends an ML-KEM 768 encapsulation key as 37 chunks and the ciphertext as 34 chunks, spread across messages in a braid. The IETF's combiner draft notes that ML-KEM and ML-DSA bring significant overhead in key, signature and ciphertext size and CPU time, and amortizes it by running post-quantum operations only on FULL commits. Ask your library or vendor for the message size and CPU figures for your own workload, and test them in your environment before rollout.
Which standards are final, and which are still in progress for group chat?
NIST published FIPS 203, the Module-Lattice-Based Key-Encapsulation Mechanism Standard (ML-KEM), as a final standard on 13 August 2024. RFC 9420, published in July 2023 as a Standards Track document, defines the Messaging Layer Security (MLS) protocol for group key establishment, and its seven registered cipher suites all use classical key exchange. The post-quantum MLS cipher suite draft, draft-ietf-mls-pq-ciphersuites, is at revision 08 dated 18 November 2026 and is not yet an RFC. Its first eight suites pair a post-quantum or hybrid KEM with a traditional signature and provide authenticity against classical attacks only, so they provide post-quantum confidentiality but not full post-quantum security. Confirm the current status on the IETF datatracker before you plan a rollout.
How DeployOpen works on this
DeployOpen approaches post-quantum key exchange in a chat system as a staged change to a running product, not a single switch. Work starts with an inventory of where key agreement happens, then moves through a written scope, a build in a test environment and handover documentation. Engagements are fixed-scope, with the scope agreed in writing before work starts.
How we scope
- Inventory which clients, servers and libraries perform key agreement in your chat system today.
- Record which protocol and cipher suite each conversation type uses, including group chats and multi-device sessions.
- Agree in writing whether the work covers hybrid key exchange first, signatures later, or both, and which client versions must be supported.
How we build
- Build the hybrid key exchange change in a staging environment that mirrors your client version spread.
- Test mixed-version groups, since OpenMLS 0.10.0 states ML-KEM groups cannot interoperate with 0.9.x or earlier.
- Verify the fallback and locked-in session behavior that Signal describes for its SPQR rollout before you rely on it.
How we hand over
- Document the cipher suites, library versions and client minimums chosen, with the reasons for each choice.
- Provide a rollout plan covering the client upgrade window, server prekey handling and any planned enforcement step.
- Deliver a retest checklist your team can run after each client release to confirm the post-quantum path still negotiates.
How we support
- Ongoing support and upgrades are available as a retainer after handover.
- Continuous testing can track library releases and standards changes, such as the MLS post-quantum cipher suite draft reaching RFC status.
- Confirm with your protocol library's maintainers and the relevant specifications which versions you run are compatible before enforcing any new suite.

