What AI and quantum progress mean for the connections you rely on

An engineer downloads a test document from a fictional customer portal. The portal promises to keep documents like this confidential for 15 years. The client sends one HTTPS request and gets 200 OK. It negotiates a hybrid post-quantum key exchange with the gateway. Behind the gateway, the connection to the backend still uses classical X25519.

The gateway terminates TLS. It decrypts the HTTP request and forwards it over a separate TLS connection to the backend. On the way back, it decrypts the document from the backend and encrypts it again for the client. So the same document travels over two links with different traffic keys. A recording from the classical link could still expose the document if someone recovers those keys within the 15-year window. That's why the second handshake matters.

The client and gateway negotiate X25519MLKEM768. The gateway terminates TLS and reads the HTTP plaintext. Its separate link to the backend uses X25519 in the first run and X25519MLKEM768 in the second.
The gateway ends one TLS connection and starts another. The download returns 200 OK in both runs.

The gateway plays both roles. It presents its certificate to the client, then acts as a client itself and verifies the backend's certificate. A check at the public listener covers the first connection. Check the upstream connection too, even if both endpoints sit on the same network or belong to the same team.

What changed in the December announcements

Research checked on December 4, 2026. On November 30, Anthropic released four theoretical papers on lattice cryptography and a Lean formalization. The lead paper describes a quantum algorithm for certain structured lattice problems whose cost grows more slowly at large problem sizes than that of earlier methods.

The Cryptography Incident Review Group's November 30 assessment asks the question that matters for systems in use today. How much work would the method take against the fixed parameters of ML-KEM and ML-DSA? The group found that the new method would require far more computation than the best previously known attacks, which are already beyond practical reach. The result gives researchers something new to investigate, and the group recommends continuing the migration.

In a joint statement on December 2, the U.S. Office of the National Cyber Director (ONCD), NSA and CISA said frontier AI companies had shared findings affecting some cryptography in use. The agencies saw no immediate, widespread threat from the reported advances and called for faster modernization. The public statement gave few details about what was affected. In a separate advisory for U.S. National Security Systems, NSA urged owners, operators and vendors to accelerate their transition immediately.

On the same day, eight companies endorsed faster adoption of NIST's post-quantum standards in a joint statement published by OpenAI and Anthropic.

After reviewing Anthropic's research, NIST said on December 3 that it remained confident in its post-quantum standards. It urged organizations to start with high-risk and critical systems and said it would move up the deprecation timetable for quantum-vulnerable algorithms. The new dates were still to come.

Vendors have their own deployment schedules. Cloudflare moved its company-wide target to 2027 and aims to support post-quantum TLS on internal and customer-facing interfaces by the end of Q2. Google announced a 2029 migration timeline in March.

AI can also help stabilize quantum hardware

A physical qubit carries a quantum state and is susceptible to noise. An error-correcting code spreads a logical qubit across several physical qubits. Repeated measurements detect signs of errors, and a decoder works out the likely corrections. To run a long fault-tolerant calculation, a machine needs enough logical qubits, reliable operations on them and an error rate low enough to finish the circuit. It also has to keep the controls and decoder working for the whole run. The physical qubit count tells you only part of that story.

In their 2026 Willow study in Nature, Google researchers fed the same error detections to a reinforcement-learning controller. That let it adjust the chip's controls as conditions drifted, while error correction kept running. In an experiment where the researchers deliberately introduced drift, adjusting the controls improved logical error-rate stability by a factor of 2.4. The improvement reached 3.5 when they adjusted the decoder as well. Google's account of the experiment explains how the controller learned from the error detections during the run.

How far is that from a cryptographic calculation? Craig Gidney's resource estimate puts factoring an RSA-2048 modulus at less than a week with fewer than one million noisy physical qubits, under specific assumptions about gate errors, error-correction cycles and control latency. Google's hardware roadmap lays out milestones toward a useful error-corrected computer. When a machine capable of a cryptographic calculation will arrive remains uncertain.

What people stand to lose

When you hand private records to an institution, you expect it to keep them confidential for as long as it promised. You also expect its statements and software updates to be genuine. There's a real loss of control if traffic someone recorded today becomes readable years after you shared it. Even switching providers leaves those old copies in someone else's hands.

That promise depends in part on what an adversary can feasibly compute. RSA and classical elliptic-curve cryptography have served under one set of assumptions about that cost. NIST IR 8547 identifies the schemes whose security is expected to change when sufficiently capable quantum computers become available. A connection that served the portal well yesterday can be a poor starting point for another 15 years of confidentiality.

There's a reason people worry about AI and quantum computing together. The International AI Safety Report 2026 documents AI assistance in cyber operations. NIST's December assessment calls for a fresh look at how long quantum-vulnerable cryptography can remain adequate as both technologies advance. In one possible future, increasingly capable agents make malicious activity easier to scale, while a sufficiently powerful quantum computer makes attacks on classical public-key cryptography feasible. How soon those capabilities could come together, and what they would mean in practice, remains uncertain.

The portal has two jobs here. It has to protect each transfer for as long as the records remain sensitive. It also has to update the way it proves its identity and signs software while users and devices can still trust the transition. Measuring both TLS hops gives the team a starting point for the first job.

What each TLS handshake protects

The TLS 1.3 specification helps explain why the same request can be protected differently on each hop. Each connection establishes keys, authenticates the server and uses the resulting traffic keys to protect the HTTP data.

  1. Key establishment gives the peers shared secret material. In the first lab run, the gateway uses classical elliptic-curve Diffie–Hellman with X25519 on its outbound connection. In the second, it uses the hybrid group defined in RFC 10024. That group, X25519MLKEM768, combines X25519 and ML-KEM-768. FIPS 203 defines ML-KEM so that one side can encapsulate a shared secret using the other side's public key, and the holder of the private key can recover the same secret. TLS feeds the combined secret into its key schedule. The design aims to keep the result secure if one component holds up and the protocol and implementation preserve that property.
  2. Server authentication establishes who is at the other end. With TLS 1.3 certificate authentication, the client checks the certificate chain, the expected server name and the server's handshake signature. The lab uses classical ECDSA certificates on both hops in both runs. ML-DSA, defined in FIPS 204, is a module-lattice signature scheme. SLH-DSA, defined in FIPS 205, is a stateless hash-based signature scheme. Using either requires support across the protocol, certificate profiles, issuers and verifiers. A hybrid group tells you how the peers established keys. The certificate and signature tell you how they authenticated the server.
  3. Record protection uses the derived traffic keys and authenticated symmetric encryption such as AES-GCM to protect the HTTP data. The TLS 1.3 cipher suite tells you the record cipher and key-schedule hash. The handshake records the key-exchange group separately.

During TLS 1.3 key-share negotiation, the client advertises the groups it supports in ClientHello and sends shares for some of them. The server's ServerHello carries a key share for the selected group. If the client supports a group and has yet to send its share, the server can ask for it in a HelloRetryRequest. To find out what the peers actually used, read the group selected in the response.

The public-key schemes at risk in NIST IR 8547 rely on problems a sufficiently capable fault-tolerant quantum computer could solve. Shor's algorithm can factor RSA moduli and solve the discrete logarithm problems behind classical elliptic-curve Diffie–Hellman and signatures. That could enable forged signatures or let someone recover a classical ephemeral Diffie–Hellman secret from a recorded handshake.

AES faces a different problem. As the NIST FAQ explains, Grover's algorithm gives an idealized quadratic speedup for exhaustive key search, with substantial practical costs. A larger symmetric key gives more margin against that search. For this portal, the immediate decision is how each connection establishes the keys its record cipher will use.

The 15-year protection window starts at transfer. Classical TLS traffic could be recorded then. Later decryption during the window depends on when key recovery becomes feasible. That date is unknown.
The axis marks the document’s confidentiality window. The possible arrival of a key-recovery capability has no position on the axis.

The 15-year window starts with each transfer. A document downloaded in December 2026 needs to stay private through December 2041. Moving the backend to hybrid key establishment next year changes how the next download is protected when both peers negotiate the hybrid group and the construction holds up. Anyone who saved a copy of today's classical traffic still has that copy. That's the problem NIST calls harvest now, decrypt later, and the reason a migration date matters even when nobody can predict when a quantum computer will be capable of breaking the old key exchange.

A full TLS 1.3 handshake with ephemeral X25519 provides forward secrecy against a later leak of the server's certificate key, provided the ephemeral secrets have been erased. The quantum scenario concerns the ephemeral key agreement itself. A future break in ECDSA would chiefly raise the risk of impersonation and forged signatures. That's why NIST's transition plan addresses key establishment and signatures separately.

Reproduce the two handshakes

Download the Go TLS lab (ZIP)

Extract the ZIP, open a terminal in post-quantum-tls-lab and check that you have Go 1.27.4. That was the current stable release on the research date, and the lab was verified with it on Windows/amd64. Everything runs with the standard library. Each command that runs the lab starts a backend and a TLS-terminating reverse proxy on loopback, makes one HTTPS request, prints what both connections negotiated and shuts down the servers.

go version
go test -count=1 -v ./...
go run . -mode mixed
go run . -mode hybrid

The same measurement happens twice. The client reads response.TLS on the reply from the gateway. The gateway reads response.TLS on the backend reply in its reverse proxy's ModifyResponse hook. In both places, crypto/tls.ConnectionState.CurveID gives the group that connection actually negotiated.

fmt.Printf("  %s / %s\n", tls.VersionName(state.Version), state.CurveID)

The lab creates a local CA in memory and issues separate ECDSA server certificates for gateway.lab and backend.lab. Each TLS client uses normal certificate validation to check the chain and the expected DNS name. The lab disables keep-alives and server session tickets so every run exercises fresh handshakes. The document is a synthetic text file.

The gateway can offer both groups upstream. In mixed mode the backend accepts X25519 only. In hybrid mode it accepts X25519MLKEM768 only.

Mixed key exchange

Mixed lab run. The client-to-gateway connection uses X25519MLKEM768 and the gateway-to-backend connection uses X25519. Both certificates are verified ECDSA. The response is 200 OK with the synthetic document.
The backend link selects classical X25519.
Copyable transcript for mixed key exchange
$ go run . -mode mixed
mode: mixed
client -> gateway
  TLS 1.3 / X25519MLKEM768
  cert: ECDSA / verified: true
  resumed: false
gateway -> backend
  TLS 1.3 / X25519
  cert: ECDSA / verified: true
  resumed: false
HTTP 200 OK
body: "Synthetic portal document\n"

Hybrid on both hops

Hybrid lab run. Both connections use X25519MLKEM768. Both certificates are verified ECDSA. The response is 200 OK with the same synthetic document.
The backend link also selects the hybrid group.
Copyable transcript for hybrid on both hops
$ go run . -mode hybrid
mode: hybrid
client -> gateway
  TLS 1.3 / X25519MLKEM768
  cert: ECDSA / verified: true
  resumed: false
gateway -> backend
  TLS 1.3 / X25519MLKEM768
  cert: ECDSA / verified: true
  resumed: false
HTTP 200 OK
body: "Synthetic portal document\n"

The tests check the groups on both hops, full TLS 1.3 handshakes and verified ECDSA certificates. Both downloads return 200 OK with the same content type, attachment filename and exact body. The only change is the group the backend accepts. The same kind of check works in Java. In Java 27: What Production Teams Should Evaluate Now, the SunJSSE diagnostics show the group that Java 21 and Java 27 selected in ServerHello.

Migrate the backend link first

For this portal, start with the gateway-to-backend connection. The mixed run shows classical key exchange on that link even with hybrid at the edge, and it carries exactly the same document. Give the two teams an inventory they can update as they measure and change each connection.

Fictional portal inventory, measured in the lab
Data flowConfidentialityTLS terminates at Observed group, before → afterServer certificateOwner
Client ↔ gateway, document transfer15 yearsGateway X25519MLKEM768 both runsECDSA P-256Edge platform
Gateway ↔ backend, forwarded request and document15 yearsBackend X25519 → X25519MLKEM768ECDSA P-256Backend platform, with edge platform
  1. Measure each hop in production. Have the gateway team record the TLS version and negotiated group, incoming and outgoing. Treat missing data as unknown. Tie the observations to connections and link them to request traces, since a pooled upstream connection may serve several requests. Record whether each handshake was resumed. Count hybrid, classical and failed handshakes by hop and peer group even when the application keeps returning 200 OK.
  2. Try the new policy on a small set of instances. Upgrade representative gateways and backends. Send synthetic requests through the real proxy and service mesh, and compare the negotiated groups and response success to your baseline. Include older libraries, appliances and any middleboxes that inspect the ClientHello. RFC 10024 gives a 1,216-byte client share for X25519MLKEM768, compared with 32 bytes for the X25519 share alone. Use those field sizes for context and measure actual handshake latency and failures against the service's budgets. Test interoperability and rollback before requiring hybrid on the selected backends.
  3. Make classical compatibility visible. The lab uses an X25519-only client to model an older TLS 1.3 peer. A gateway that supports both groups returns 200 OK and records X25519 on the incoming hop. A gateway that requires hybrid rejects the same client during the handshake. Test the older software you actually run, then give any remaining classical exception an owner and an expiry date. Set an alert if a classical group turns up where you require hybrid, and review which paths those clients can use to transfer long-lived documents.

Suppose your trial records 120 new, successful, full upstream handshakes. If 119 are hybrid and one is classical, the trial falls short of a hybrid requirement even if every download worked. Investigate connections with missing group data before counting them as successes, and tally failures and resumptions separately. Check which existing pooled connections still serve requests as the policy takes effect.

Plan for standards changes and long-lived signatures

NIST IR 8547, finalized in October 2026, sets out which key establishment and signature algorithms NIST plans to deprecate after 2030 and disallow after 2035. NIST's transition summary explains the earlier U.S. federal deadlines for high-value assets and high-impact systems. Key establishment is due by 2030 and digital signatures by 2031. NIST signaled a faster timetable in December. The portal team can already use the report to decide what to migrate first, starting with key establishment for transfers that need long-term confidentiality.

The EU's 2024 Commission recommendation asks Member States to coordinate the transition for public administrations and other critical infrastructure. The NIS Cooperation Group's 2025 roadmap calls for Member States to start the transition by the end of 2026, complete high-risk migrations by the end of 2030 and cover medium-risk cases and as many remaining cases as feasible by the end of 2035. Those milestones can inform the portal's plan. Check the national, sector-specific and contractual requirements that apply to your deployment.

Firmware runs on a different clock. As NIST's guidance on signatures and firmware integrity explains, support for post-quantum signatures has to reach the systems that verify updates. Devices can stay in service for years, so the migration covers the signing service, the device's verifier and its trust anchors. Test whether the bootloader accepts the new format, recovers safely from a failed update and prevents rollback to firmware that trusts only the old signature algorithm.

Take a controller already in the field with an ECDSA-only bootloader. Before it can accept an ML-DSA-signed update, it needs a verifier it can trust and install. Once the new policy is in place, test that the controller rejects images whose only valid signature comes from the retired classical scheme. A device with fixed verification logic may need a different migration plan from a device with an updatable verifier and trust anchors.

Keep the portal's health check. When you review the migration, bring the negotiated group for each hop alongside the HTTP result. Those two handshakes tell you how the document was protected in transit.