Vendor: Amazon Web Services · https://github.com/aws/s2n-tls · pkg:github/aws/s2n-tls · Last reviewed 2026-12-05 · History
Summary
- When built with AWS-LC, the default security policy offers the hybrid groups X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024 in TLS 1.3 since v1.6.0 (2025-10-30).12345
- Pure ML-KEM-1024 key agreement is available only through the CNSA 2.0 policies
cnsa_2andcnsa_1_2_interop.13 - ML-DSA-44, -65 and -87 certificates are available in
default_pqand policies derived from it, not indefault;cnsa_2accepts ML-DSA-87 only.167 - Classical key exchange can be disabled only by choosing a policy without it; the only one found is
cnsa_2(pure ML-KEM-1024, no ECC curves), and no built-in hybrid-only policy was found.135 - SLH-DSA: nothing found in the repository or tracker (checked 2026-12-05).8
To drop classical key exchange, select the
cnsa_2policy (numbered20260219); it requires pure ML-KEM-1024 and ML-DSA-87.13
A built-in policy with hybrid groups only has not been found (checked 2026-12-05).3
Cryptographic operations
- TLS key agreement (client or server): the policy sets the groups in order; “s2n-tls must be built with aws-lc to use post-quantum algorithms”.1 Source KEM group lists:4
| List | Groups | Used by |
|---|---|---|
pq_kem_groups_ietf_2024_10 |
X25519MLKEM768, SecP256r1MLKEM768 |
policy 20250512 |
pq_kem_groups_ietf_2025_07 |
X25519MLKEM768, SecP256r1MLKEM768, SecP384r1MLKEM1024 |
default (20251014), default_fips (20251015), default_pq (20250721) |
pq_kem_groups_cnsa2_2026_02 |
pure MLKEM1024 |
cnsa_2 (20260219) |
default20251014has TLS 1.2 as its minimum version.34 If the peer lacks a hybrid, “s2n-tls will fall back to a classical option” underdefault_pq(secp256r1, x25519, secp384r1, secp521r1).1- Warning: “An s2n-tls server that enables post-quantum cryptography will mandate post-quantum key exchange with any client advertising post-quantum algorithms. This can result in a retry and an extra round trip if the client does not initially send a post-quantum key share.”1
- TLS authentication: ML-DSA is a certificate type like RSA or ECDSA; the
defaultsignature list (20240501) has no ML-DSA,default_pq(20250512) adds ML-DSA-44, -65, -87 first,cnsa_2has ML-DSA-87 only; needs AWS-LC 1.50.0 or later (API version 33).136 s2n_connection_get_kem_group_namereports whether a handshake used post-quantum key exchange.1
Versions
Latest release v1.7.15 (2026-12-04).2
| Change | Version | Date | Package URL | Source |
|---|---|---|---|---|
Initial MLKEM768 support and new ML-KEM TLS policies; default_pq becomes 20241001 |
v1.5.6 | 2024-10-23 | pkg:github/aws/s2n-tls@v1.5.6 |
12 |
“Adds support for post-quantum ML-DSA certificates”; default_pq becomes 20250512 |
v1.5.19 | 2025-05-22 | pkg:github/aws/s2n-tls@v1.5.19 |
12 |
Hybrid group secp384r1_mlkem_1024 added; default_pq becomes 20250721 |
v1.5.23 | 2025-07-24 | pkg:github/aws/s2n-tls@v1.5.23 |
12 |
| Default policy gains TLS 1.3 and “Post-Quantum key exchange”; PQ-only policies | v1.6.0 | 2025-10-30 | pkg:github/aws/s2n-tls@v1.6.0 |
2 |
Pure ML-KEM-1024: “s2n_pure_mlkem_1024 KEM group is now negotiable” |
v1.6.1 | 2025-11-20 | pkg:github/aws/s2n-tls@v1.6.1 |
2 |
| Kyber code deleted; minor version bumped | v1.7.0 | 2026-01-31 | pkg:github/aws/s2n-tls@v1.7.0 |
2 |
| “Added the strict CNSA 2.0 TLS policy and a transitional policy from CNSA 1.0 to 2.0” | v1.7.2 | 2026-04-01 | pkg:github/aws/s2n-tls@v1.7.2 |
2 |
Policy history: default_pq was 20250721 from v1.5.23, 20250512 from v1.5.19, 20241001 from v1.5.6, 20240730 from v1.5.0; default was 20251014 from v1.6.0.1
Configuration
Enabling PQC
Build against AWS-LC; the default policy needs no further configuration. For ML-DSA certificates use default_pq via s2n_config_set_cipher_preferences() and load an ML-DSA certificate.1 Command line client:9
s2nc -c default_pq -i <hostname> <port>
Numbered 20250721 is the fixed equivalent of default_pq; named policies may change with library updates, numbered ones do not.1
Disabling classical algorithms
No per-algorithm setting; the policy decides.1
cnsa_2(20260219): “a TLS 1.3 PQ only policy that requires pure ML-KEM-1024 for key exchange and ML-DSA-87 for signature and certificate verification.” “the "cnsa_2" policy only allows ML-KEM-1024, thus there is no fallback to classic key exchange.” Source: minimum TLS 1.3, no ECC preferences.13cnsa_1_2_interopcombinescnsa_2andrfc9151, so secp384r1 remains available.1- v1.6.0 notes: PQ-only policies “should not include classical ECC curves” and “only works on libcryptos that support TLS 1.3 and PQ kem groups.”2
- Peers without pure ML-KEM-1024 and ML-DSA-87 cannot connect under
cnsa_2; the failure mode was not tested.
Vendor commitments
No dated, forward-looking post-quantum commitment found in the usage guide or release notes (checked 2026-12-05).12
Open work
Checked 2026-12-05.
- PR 6038 (2026-08-14): “feat: deprecate default tls13, pq policies”.10
- Issue 5222 (2025-03-26): “Perform 2-RTT Upgrade for MLKEM-standalone Key Agreements”.11
- Issue 6132 (2026-10-19): “Support TLS Client Key Share Learning”.12
- PR 6155 (2026-10-30): “fix: support ML-DSA signing with async private key operations”.13
- A tracker search for SLH-DSA returned nothing.8
References
-
s2n-tls usage guide, “Post Quantum (PQ) Support” and “Security Policies”, at commit a03bb96. https://github.com/aws/s2n-tls/blob/a03bb96115e8399b5e558b76e87b58ab601a3441/docs/usage-guide/topics/ch16-post-quantum.md and https://github.com/aws/s2n-tls/blob/a03bb96115e8399b5e558b76e87b58ab601a3441/docs/usage-guide/topics/ch06-security-policies.md (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14 ↩15 ↩16 ↩17 ↩18 ↩19 ↩20
-
s2n-tls release notes. https://github.com/aws/s2n-tls/releases (tags v1.5.6, v1.5.19, v1.5.23, v1.6.0, v1.6.1, v1.7.0, v1.7.2, v1.7.15; accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11
-
s2n-tls
tls/s2n_security_policies.cat commit a03bb96 (policies20251014,20250721,20260219; namesdefault,default_pq,cnsa_2). https://github.com/aws/s2n-tls/blob/a03bb96115e8399b5e558b76e87b58ab601a3441/tls/s2n_security_policies.c (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 -
s2n-tls
tls/s2n_kem_preferences.cat commit a03bb96. https://github.com/aws/s2n-tls/blob/a03bb96115e8399b5e558b76e87b58ab601a3441/tls/s2n_kem_preferences.c (accessed 2026-12-05) ↩ ↩2 ↩3 -
s2n-tls release v1.6.0, 2025-10-30. https://github.com/aws/s2n-tls/releases/tag/v1.6.0 (accessed 2026-12-05) ↩ ↩2
-
s2n-tls
tls/s2n_signature_scheme.cat commit a03bb96 (signature preference lists20240501,20250512,20260219). https://github.com/aws/s2n-tls/blob/a03bb96115e8399b5e558b76e87b58ab601a3441/tls/s2n_signature_scheme.c (accessed 2026-12-05) ↩ ↩2 -
s2n-tls release v1.5.19, 2025-05-22. https://github.com/aws/s2n-tls/releases/tag/v1.5.19 (accessed 2026-12-05) ↩
-
s2n-tls issue and pull request search for “SLH-DSA”, run through the GitHub search API; no results. https://github.com/aws/s2n-tls/issues?q=SLH-DSA (accessed 2026-12-05) ↩ ↩2
-
AWS Security Blog, “AWS-LC FIPS 3.0: First cryptographic library to include ML-KEM in FIPS 140-3 validation”. https://aws.amazon.com/blogs/security/aws-lc-fips-3-0-first-cryptographic-library-to-include-ml-kem-in-fips-140-3-validation/ (accessed 2026-12-05) ↩
-
s2n-tls pull request 6038. https://github.com/aws/s2n-tls/pull/6038 (accessed 2026-12-05) ↩
-
s2n-tls issue 5222. https://github.com/aws/s2n-tls/issues/5222 (accessed 2026-12-05) ↩
-
s2n-tls issue 6132. https://github.com/aws/s2n-tls/issues/6132 (accessed 2026-12-05) ↩
-
s2n-tls pull request 6155. https://github.com/aws/s2n-tls/pull/6155 (accessed 2026-12-05) ↩