Updated Engineering

Where Adapt stands on post-quantum encryption

Adapt Team
Contents
  1. What’s in place today
  2. What changes when the client has fewer choices?
  3. Where that protection ends
  4. Check a connection yourself
  5. Change one server policy and keep the fallback
  6. Check the host you meant to leave alone
  7. What the agent evaluation showed
  8. Give your agent one connection to check
  9. Keep the check running with Adapt Automations

If someone records an encrypted connection today, they can store the recording for as long as they need. Future server upgrade protect future connections but do nothing retroactively in case of existing threats, and with frontier AI models potentially targeting quantum cryptography, it's critical to not fall behind.

That’s one reason the recent NSA advisory should be heeded. It urged operators of national security systems to accelerate their transition to post-quantum cryptography. In a joint statement, the agencies did say they saw no immediate, widespread threat to the cryptography in use today. For Adapt, we wanted to be sure. When a client connects to our public sites today, what protects that connection? NSA advisory · Joint statement

platform.adapt.com · TLS 1.3
X25519MLKEM768

Our OpenSSL client verified the certificate and negotiated hybrid key exchange with the public edge.

What’s in place today

We connected to four Adapt sites with OpenSSL. We left the client’s key exchange preferences at their defaults, as we wanted to see what the two sides would choose on their own.

Where we connectedWho answeredKey exchange our client used
adapt.comVercelX25519MLKEM768
app.adapt.comCloudflareX25519MLKEM768
signin.app.adapt.comCloudflareX25519MLKEM768
platform.adapt.comCloudflareX25519MLKEM768

That long name means the connection used two methods together to establish its secret: X25519, the classical method, and ML-KEM-768, designed to withstand quantum attacks. Our client verified the server’s certificate on all four connections. Both providers already supported hybrid key exchange, so we left the public settings alone. Vercel’s rollout · Cloudflare’s visitor connection

What changes when the client has fewer choices?

A successful handshake tells you what two peers chose in that specific moment. To find out whether the public edge required hybrid exchange or only preferred it with our client, we came back and swapped one input: the specific groups the client offered.

From one network, we opened three fresh TLS 1.3 connections per hostname for each of three client profiles. We used OpenSSL 4.1.0, checked the hostname and certificate on every attempt, and started a new process each time. Across the four sites that gave us 36 handshakes.

Client offerObserved exchangeVerified connections
OpenSSL defaultsX25519MLKEM76812 of 12
Hybrid onlyX25519MLKEM76812 of 12
Classical X25519 onlyX2551912 of 12

A capable client got hybrid exchange by default and a client restricted to classical X25519 could reach all four sites and received the older protection. If your organization requires hybrid exchange, test what your own client does when hybrid is unavailable. A successful connection alone won’t answer that fully.

Where that protection ends

Consider a request to platform.adapt.com that Cloudflare forwards to Adapt. Your client establishes one connection to Cloudflare. Cloudflare then opens another to our server. Our test ended at Cloudflare. To verify how Cloudflare connects to our server, we need evidence from that side of the connection. Mapping those boundaries was also how Photon found the load balancers it needed to update. Photon’s rollout

Check a connection yourself

With a recent OpenSSL build that supports ML-KEM, you can repeat our check:

openssl s_client -connect adapt.com:443 -servername adapt.com \
  -verify_hostname adapt.com -verify_return_error -tls1_3 -brief </dev/null

These were the relevant lines from our connection to adapt.com:

Signature type: rsa_pss_rsae_sha256
Verification: OK
Negotiated TLS1.3 group: X25519MLKEM768

The last line shows how the two sides established the session secret. The first two describe the server using an RSA signature to authenticate itself, and that our client successfully verified its identity.

To repeat the comparison, run the same command with -groups X25519MLKEM768, then with -groups X25519. Check the reported key and verification result each time. In our OpenSSL build the classical result appeared as Peer Temp Key: X25519, 253 bits. If the client rejects the group name before it connects, check its OpenSSL version before changing the server.

Change one server policy and keep the fallback

If your service selects a classical group, start with a server you can safely change. On a local OpenSSL server we first allowed only X25519. Then we added the hybrid group and reconnected with the same client. For the final check we used a client restricted to X25519, representing an older client we wanted to keep working.

One TLS policy change, three handshakes

Negotiated key exchange on a local TLS 1.3 server running OpenSSL 3.6.4.

Before the change
X25519
Default client
After the change
X25519MLKEM768
Default client
Fallback check
X25519
Classical-only client

December 3, 2026. Hostname and certificate verification passed on all three connections.

The default client switched to hybrid. The classical-only client could still connect. Those three handshakes give an operator something concrete to review before applying the same policy to a live service.

You can reproduce the experiment on a loopback interface. In an empty scratch directory, create a one-day certificate for the test hostname:

openssl req -x509 -newkey rsa:2048 -noenc -days 1 \
  -subj /CN=service.example -addext subjectAltName=DNS:service.example \
  -keyout key.pem -out cert.pem

Start the server with its original policy. For the second and third handshakes, stop it and restart the same command with -groups X25519MLKEM768:X25519.

openssl s_server -accept 127.0.0.1:9443 -www -cert cert.pem -key key.pem \
  -tls1_3 -groups X25519

In another terminal in the same directory, run this client against each policy. On the last run, add -groups X25519. Trusting the disposable certificate explicitly keeps hostname and certificate verification in the experiment.

openssl s_client -connect 127.0.0.1:9443 -servername service.example \
  -verify_hostname service.example -verifyCAfile cert.pem -verify_return_error \
  -tls1_3 -brief </dev/null

Check the host you meant to leave alone

Suppose deploy.example and archive.example inherit the same SSH settings. You want deployment jobs to try hybrid key exchange first. The archive host has its own owner and should keep its current policy. An agent can give you a patch that looks right when you test deployment and still change both hosts.

That happened in our test. The proposed edit put ML-KEM first inside Host *.example. OpenSSH reported exactly the order we wanted for deploy.example. Then we asked OpenSSH the same question about archive.example. Its first choice had also switched from P-256 to ML-KEM.

Before approving a single-host edit, test one other host that inherits the same rule. The replay kit contains the original file, the overly broad proposal, a corrected proposal and a checker you can run locally with Python 3 and OpenSSH. From the unpacked directory:

python3 review-ssh.py examples/original.conf examples/too-broad.conf deploy.example archive.example

The checker prints PASS deploy.example, then FAIL archive.example with the unexpected algorithm order, and exits with an error. Run the same command with examples/scoped.conf as the second file. Both hosts pass. The fix puts a specific rule for deploy.example above the shared rule and leaves the archive host’s preferences intact.

The checker compares every effective setting OpenSSH prints for the control host. On the target it permits exactly one change: moving or adding the hybrid method to the front while keeping the other methods in order. It evaluates standalone fixture files locally. Use a fresh SSH connection to verify which method a real server selects.

What the agent evaluation showed

We gave Claude Sonnet 5.5 four standalone configurations, once with the task alone and once with the skill instructions. It proposed files without tools. OpenSSH 10.2p1 scored them outside the model. Both conditions passed the same three cases: an already-compliant file, a wildcard placed before a host block, and two aliases sharing a block. Both failed the wildcard example above.

We then gave each failed proposal to a fresh session in its original condition, along with the actual before-and-after differences from ssh -G for both hosts. Both sessions returned a correction that passed the independent check. The skill instructions alone showed no advantage in these four cases. Giving the reviewer the control-host difference made the mistake visible, and both second attempts fixed it. This was a repair exercise on the two known failures, with one attempt each. We’ve since added the checker to the skill so an agent can perform that review before handing over a patch. Prompts, proposed edits, OpenSSH differences and scoring scripts

Give your agent one connection to check

We built Adapt’s post-quantum-migration skill for this job. Give it a hostname and tell it which clients you need to support. It can identify who controls the setting, prepare a change where one is needed, and show you how to verify the result.

npx skills add adapt/skills --skill post-quantum-migration
Check the key exchange for [your staging hostname]. Record what the default client negotiates. If it needs updating, prepare the smallest configuration change that preserves X25519 fallback. Repeat both handshakes and show the result for each. Identify who owns the next connection behind the edge.

Keep the check running with Adapt Automations

The work above run will tell you what the client is using. It's wise to check this periodically if that answer changes after a CDN move, a runtime upgrade, or a client policy change. In Adapt, give that outcome to the agent responsible for the service. An Automation runs the agent on a schedule, keeps each run in its history, and can deliver its report to a connected engineering channel.

Start with one hostname you own. Give the agent a sandbox with a hybrid-capable OpenSSL build and network access to that hostname. Save the expected result and the service owner in its instructions. A public runner can check the public edge. An origin check just needs a runner with access to that path. Agent instructions and skills · Sandboxes

Here's a quick setup:

Check [hostname] from this sandbox. Record the time, client version,
negotiated group and certificate verification for default, hybrid-only
and classical-only offers. Compare them with [approved baseline].
If anything differs, include the exact probe, expected and observed
results, and the service owner. Flag unreachable hops as unmeasured.
Report the result for review. Leave production settings alone.

For our public measurements, the baseline would be hybrid, hybrid, classical, with certificate verification passing each time. If the default client selects classical while a hybrid probe remains valid, there's a potential opportunity for improvement to dig into. Set up an Adapt Automation

The company agent goes open source on January 12.

Join the waitlist

About the author

Adapt Team

Adapt Team

The team behind Adapt, the company agent platform.

Build an agent with your company’s tools and knowledge, or use Adapt’s infrastructure in an agent you already have.