
Is Your AWS Connection Post-Quantum? I Checked
I tested which public AWS endpoints accept a post-quantum key exchange. No AWS account, no cost, and you can reproduce it in a few minutes.
The question
On December 2, 2026, the US ONCD, NSA and CISA published a joint statement: AI companies had disclosed discoveries that affect the security of some of the cryptography in use today, with no immediate, widespread threat. The same day, Amazon and seven other companies signed a statement supporting a move to post-quantum cryptography as soon as possible.
The next day I checked the home pages of seven Brazilian banks with
openssl s_client . All seven negotiated a post-quantum key exchange. That made me ask a question closer to my own work: when my tools talk to AWS, does the connection already accept a post-quantum key exchange?
I went after this because I saw the US government's announcement.
Who I am
I study Computer Science at UFC, Russas campus, in Ceará, Brazil. From March to August 2026 I worked with AWS in production at Youlex, on deployments, least-privilege IAM permissions and CloudWatch monitoring. I also lead an AWS Student Builder Group at UFC Russas. The test in this article is something I did on my own.
The idea, without jargon
Think of it as record now, open later. Someone can save encrypted traffic today, even without being able to read it. If a large quantum computer exists one day, they may be able to open what they saved. Nobody has published such an attack. But this is why the first thing to change is the key exchange: the moment when your computer and the server agree on a secret key.
AWS generally uses a hybrid exchange called
X25519MLKEM768 : a classical method (X25519) together with a post-quantum one (ML-KEM). An attacker would have to break both. One detail matters more than the rest: the server can only choose it if the client offers it. AWS says its public endpoints use it for any client that advertises ML-KEM, and that customers are responsible for updating their clients.Hands-on: three commands
You do not need an AWS account. Each command only opens a TLS handshake (the greeting that starts an encrypted connection) and closes it. No request, no credentials, no cost.
Step 1: check your OpenSSL. You need version 3.5 or newer.
openssl versionopenssl list -tls-groups | tr ':' '\n' | grep X25519MLKEM768
If
X25519MLKEM768 does not show up, upgrade OpenSSL before going on.
Step 2: ask S3 in São Paulo. The client offers the hybrid group first and classical X25519 as a fallback.
openssl s_client -connect s3.sa-east-1.amazonaws.com:443 \ -servername s3.sa-east-1.amazonaws.com \ -groups X25519MLKEM768:X25519 </dev/null 2>&1 \ | grep -E "^Protocol|Negotiated TLS1.3 group|Temp Key"Negotiated TLS1.3 group: X25519MLKEM768Protocol: TLSv1.3
Step 3: ask Lambda, same region. Same command, different host:
openssl s_client -connect lambda.sa-east-1.amazonaws.com:443 \ -servername lambda.sa-east-1.amazonaws.com \ -groups X25519MLKEM768:X25519 </dev/null 2>&1 \ | grep -E "^Protocol|Negotiated TLS1.3 group|Temp Key"Peer Temp Key: X25519, 253 bitsProtocol: TLSv1.3
How to read it:
X25519MLKEM768 means the server chose the post-quantum hybrid. X25519 alone means classical. Both connections are encrypted with TLS 1.3; only the first one is post-quantum.I put this check into a small script that tests 56 public AWS endpoints in
sa-east-1 and us-east-1 . When I ran it on December 3 at 14:01 UTC, 46 chose the hybrid exchange and 10 stayed classical: Lambda, Cognito User Pools, Athena, Glue and Bedrock Runtime, in both regions. That is one network on one afternoon, and AWS keeps updating its fleet.What tripped me up
A first version of this check looked only for the line
Negotiated TLS1.3 group . For S3 it worked. For Lambda it printed nothing, and an empty answer looks like a broken test, not like "classical". On OpenSSL 3.6.5, the one I used, a classical result shows up on a different line, Peer Temp Key . That is why the command also looks for Temp Key . The lesson I took from it: before trusting a test, find out what a "no" looks like.What this shows, and what it does not
The test shows that the S3 endpoint accepts a post-quantum key exchange when the client offers it. It does not show that my own tools use it: that depends on the CLI, SDK or browser on my side of the connection. It is also only a handshake. It says nothing about the data stored in S3, or about the server's certificate, which was still RSA 2048 on every endpoint I tested.
What comes next
According to AWS's SDK guide, the AWS CLI on Linux offers the post-quantum exchange by default from version 2.34.54. Checking what my own CLI and SDK clients offer is my next step. I also want to run the script again in a few weeks and see whether the classical endpoints change.
The script, a sample result and a short README are on GitHub: https://github.com/alan-veras/aws-pqc-tls-check . It runs in about 30 seconds. If you try it from another country or network, I would like to see what you get.
I also built a small dashboard that runs a similar check every week on Brazilian bank, university and government sites: https://alan-veras.github.io/pqc-brasil/
Don't stand still: prepare, and look for ways to protect your VPS, so you are not caught by surprise.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article