Is my computer post-quantum ready?

The internet has been freaking out over the recent NSA directive on the need to immediately transition to Post-Quantum cryptography. This was later followed by a joint statement between OpenAI, Apple, Cloudflare, Google, Microsoft and Oracle, in strong support.
The information and fear around this process was exacerbated by an ill timed release of a theoretical attack on certain module-lattice cryptography including ones similar to ML-KEM and ML-DSA (the current NIST standards for structured-lattice PQC) which was deemed not to be practical.
Cryptography engineer (and fellow Recurse alum) Filippo Valsorda quickly wrote his take on the NSA advisory. I've distilled his recommendations to three categories: post-quantum ready, interim solutions, and insufficient ones. For TLS the recommendations are: X25519MLKEM768 hybrid encryption if you can, and RSA-3072/P-384 if you aren't able to. Any classical keys smaller than that should be replaced immediately. According to Cloudflare Radar ~72.8% of the traffic they monitor is post-quantum ready.
At Greyhaven, we've been using our kernel-level visibility tool Greywatch to understand the ground truth of what network calls agents and their sub processes are actually making on our machines. When we read this NSA directive we quickly extended the tool to analyze all TLS client connections on our devices and find out what services we're using are really ready.
After running Greywatch for the last 24 hours on my machine, the numbers locally look slightly better. Out of 7,884 connections, across 435 destinations, 84% of connections are post-quantum (X25519MLKEM768), 15% are insufficient (P-256 or X25519), and less than 1% are interim secure (14 requests to VSCode-related Microsoft destinations were P-384).

Things started to get more interesting when we dug into the insufficient requests.
ML-KEM requests were offered to 71 of the 84 hosts, and denied. Connections in this category included requests to Github, fly.io, Apple, and NPM. For 13 of the hosts, clients running on my device never even offered a post-quantum scheme. This category ironically enough included 625 requests to OpenAI/ChatGPT endpoints. My initial thought was that we may have misconfigured something when adding the additional ClientHello peeking to our Greywatch endpoint client, however after further investigation all of these requests originated from the codex-cli (v0.173.0), and it's open-source, so we were able to easily understand why this was happening.

While the OpenAI servers support TLS 1.3 and X25519MLKEM768, the Codex CLI defaults uses the reqwest rust crate with default features. This means that it defaults to the native-tls rust crate. This crate uses Apple's deprecated Secure Transport TLS API, which is frozen at TLS 1.2. So regardless of upstream support, the cli on macOS falls back to TLS 1.2 which does not contain the new post-quantum exchange. We've opened a issue in codex (as they don't accept external PRs) to prefer rustls as the tls backend for reqwest with prefer-post-quantum enabled.
So what are the take aways after this experiment? Well anecdotally, post-quantum TLS adoption is higher than we expected, but the biggest take away is that updating your servers is not enough to be post-quantum TLS ready. You must also look at all clients connecting to your servers and ensure they are updated to support these new protocols as well.
Are you interested in learning more about what services are running on your devices and what you can do to stay secure? Give us a shout.
Software engineer and artist building at the edge of privacy, security, and open source.