SSH, ACME and cloud tools can do PQ key exchange; PQ authentication keys mostly lag
paramiko and asyncssh negotiate ML-KEM hybrids but cannot use OpenSSH 10.6’s ML-DSA keys, certbot still issues P-256 by default, AWS and Google KMS offer ML-DSA while Azure does not, and age moved to PQ before its Python wrapper. Blockchain libraries wait on their chains.
In short
- paramiko ≥5.1.0 and asyncssh ≥2.24.0 negotiate ML-KEM hybrids with a PQ-capable cryptography, but neither can use OpenSSH 10.6’s
ssh-mldsa44-ed25519keys (details). - A server that drops classical host or user keys locks out every Python SSH client; keep RSA-3072+ or P-384 keys beside the composite (details).
- certbot issues P-256 leaves and RSA-2048 account keys by default, and renewals keep the old key type; renew with
--elliptic-curve secp384r1 --force-renewal(details). - AWS SigV4 is HMAC and unaffected. AWS and Google Cloud KMS offer ML-DSA and ML-KEM; Azure Key Vault offers neither, and hvac rejects Vault’s PQ key types (details).
- age made PQ keys its default on 1 Dec 2026; pyrage, python-gnupg and Matrix’s Olm still have no PQ path (details).
- Blockchain libraries cannot migrate ahead of their chains. Solana’s Ed25519 is in Valsorda’s named set; secp256k1 exposure is unknown (details).
Python SSH clients negotiate ML-KEM key exchange but cannot use ML-DSA keys#
paramiko 5.1.0 and asyncssh 2.24.x both offer hybrid ML-KEM key exchange, which protects recorded sessions against later decryption. Both take ML-KEM from cryptography, so they offer it only when cryptography ≥48 runs on OpenSSL 3.5+, AWS-LC or BoringSSL. Without that backend, paramiko silently falls back to X25519 and then P-256, which trips OpenSSH 10.6’s WarnWeakCrypto.
Authentication has not moved. Neither library can use the ssh-mldsa44-ed25519 composite keys that OpenSSH 10.6 enabled: their key classes cover RSA, Ed25519 and ECDSA only, and both prefer ssh-ed25519, then ecdsa-sha2-nistp256. cryptography 51.0.0 can load and serialize the composite keys (load_ssh_private_key), but neither paramiko nor asyncssh can authenticate with them (cryptography page).
asyncssh is the only Python SSH stack with a P-384 hybrid, mlkem1024nistp384-sha384, the option closest to CNSA. paramiko has neither that nor sntrup761.
| paramiko 5.1.0 | asyncssh 2.24.2 | |
|---|---|---|
| ML-KEM hybrids | mlkem768x25519-sha256 |
mlkem768x25519-sha256, mlkem768nistp256-sha256, mlkem1024nistp384-sha384 |
| sntrup761 | not supported | needs liboqs |
ssh-mldsa44-ed25519 keys |
not supported | not supported |
| Default host and user keys | ssh-ed25519, then ecdsa-sha2-nistp256 |
ssh-ed25519 / ecdsa-sha2-nistp256 |
| Activity since 1 Dec 2026 | Nothing filed | #853 only (DSA deprecation) |
Versionsthe minimums the reports recommend
| Component | Claude report | AGY report |
|---|---|---|
| paramiko | ≥5.1.0 with cryptography ≥48 on an OpenSSL 3.5+/AWS-LC backend | paramiko >= 5.1.0 |
| asyncssh | ≥2.24.0 | asyncssh >= 2.24.2 |
| cryptography | ≥48 for ML-KEM in wheels; ≥51 to serialize ssh-mldsa44-ed25519 keys |
cryptography >= 51.0.0 alongside the SSH upgrade |
paramiko 5.1.0 declares only cryptography>=3.3 (plus pynacl>=1.5), so a resolver can legally pick a cryptography with no ML-KEM (PyPI paramiko 5.1.0). Pin the cryptography floor in your own requirements. Feature-detect ML-KEM, since source builds on OpenSSL 3.0 or LibreSSL have no PQ (cryptography page).
Download volume is not exposure: paramiko’s 111,538,231 monthly downloads carry Ed25519 and P-256 authentication by default.
Servers that drop classical host or user keys lock out every Python SSH client#
Valsorda’s advice is to “update OpenSSH to 10.6 and rotate to ssh-mldsa44-ed25519 keys” (Valsorda). That is an expert reading, not NSA text (how experts read it). A server that keeps classical host keys alongside the composite still accepts paramiko, asyncssh, Fabric and netmiko; those clients just authenticate with Ed25519 or P-256.
A server that offers only ssh-mldsa44-ed25519 host keys, or accepts only composite user keys, breaks every paramiko, asyncssh, Fabric and netmiko connection AGY. Ansible on its default OpenSSH transport keeps working once the controller runs OpenSSH 10.6.
The stopgap both reports describe is dual keys: the composite for OpenSSH 10.6 clients, plus RSA-3072+ (rsa-sha2-512) or P-384 (ecdsa-sha2-nistp384) for Python clients. The AGY report also disables ssh-ed25519, ecdsa-sha2-nistp256 and classical key exchange on those servers. The Claude report suggests preferring rsa-sha2-512 or ecdsa-sha2-nistp384 host keys in paramiko where you control both ends, but did not verify the exact configuration API.
GitHub is in the same position: it accepts PQ key exchange (sntrup761x25519-sha512 by default, and mlkem768x25519-sha256) but documents only RSA, ECDSA and Ed25519 user keys, with no mention of ML-DSA (GitHub blog, GitHub docs). Git transport is covered on the supply-chain page.
Recipeasyncssh client with PQ-only key exchange and non-256-bit signatures (AGY report)
The AGY report gives this asyncssh configuration. It accepts only the two ML-KEM hybrids for key exchange and only RSA, P-384 or P-521 for host-key and signature algorithms. AGY
# AsyncSSH 2.24.2+ strict PQ KEX + stopgap non-256-bit-ECC auth
async with asyncssh.connect(
host,
kex_algs=["mlkem1024nistp384-sha384", "mlkem768x25519-sha256"],
server_host_key_algs=["rsa-sha2-512", "ecdsa-sha2-nistp384", "ecdsa-sha2-nistp521"],
signature_algs=["rsa-sha2-512", "ecdsa-sha2-nistp384", "ecdsa-sha2-nistp521"],
) as conn: ...
The matching server side, per the AGY report: on OpenSSH 10.6 servers accessed by Python clients, keep ssh-mldsa44-ed25519 keys (for the OpenSSH 10.6 CLI and Ansible) plus RSA-3072/4096 (rsa-sha2-512) or P-384 (ecdsa-sha2-nistp384) keys, while disabling ssh-ed25519, ecdsa-sha2-nistp256 and classical KEX algorithms. Keep this until paramiko and asyncssh add ssh-mldsa44-ed25519.
The Claude report’s version of the same advice: generate ssh-mldsa44-ed25519 keys and keep classical keys only as fallbacks for clients that cannot use them.
Check key exchange, host key, user authentication and CA separately#
The ASTRA report’s rule for SSH in CI, automation and Git is to verify four things independently: the negotiated key exchange, the server host key, the user authentication key and the CA. A hybrid key exchange says nothing about composite signing support, and existing keys do not rotate themselves. Do not turn off host-key checking to make a migration pass.
The Python library and the runner’s ssh binary are separate. paramiko 5.1.0 prefers the ML-KEM hybrid only when the runtime supports it, and asyncssh 2.24.x can use pyca’s ML-KEM, but neither is the ssh your CI job shells out to (paramiko transport.py at 5.1.0, asyncssh 2.24.2 changes).
On the server side, sshd’s WarnWeakCrypto (OpenSSH 10.6, on by default) logs clients that use non-PQ key agreement, so paramiko’s silent fallback shows up there.
| Check | What a classical answer means | Python client status |
|---|---|---|
| Negotiated key exchange | Recorded sessions are exposed if X25519/P-256 fall | ML-KEM with cryptography ≥48 |
| Server host key | Server identity rests on Ed25519/P-256 | RSA, ECDSA, Ed25519 only |
| User authentication key | Your login rests on Ed25519/P-256 | RSA, ECDSA, Ed25519 only |
| CA signature | Certificates chain to a classical CA | OpenSSH 10.6p2 accepts ssh-mldsa44-ed25519 CAs |
Deploy keys and SSH keys belong in the first-week inventory of keys trusted by many systems (playbook).
paramiko 5.1.0 fails to import on FIPS-enabled OpenSSL#
Issue #2712, “Paramiko 5.1.0 import fails under FIPS during ML-KEM availability detection”, is open (#2712). According to the AGY report, KexMLKEM768X25519.is_available() catches only UnsupportedAlgorithm, so a FIPS-enabled OpenSSL raises InternalError during import AGY. This hits exactly the FIPS environments the advisory targets.
The fix is unmerged. The Claude report names PR #2716; the AGY report names PRs #2716 and #2730 and dates the issue to 27 Nov 2026. Watch #2712 before moving FIPS hosts to paramiko 5.1.0.
Ansible follows the controller’s OpenSSH; Fabric, netmiko and napalm follow paramiko#
Ansible defaults to DEFAULT_TRANSPORT: ssh, the system OpenSSH client, so the controller’s OpenSSH version is the lever, not a Python library (ansible base.yml). OpenSSH ≥10.0 negotiates ML-KEM by default and 10.6 adds composite ML-DSA keys. Make sure ansible.cfg never selects paramiko / paramiko_ssh, and audit ansible.netcommon network_cli transports AGY.
Fabric 3.2.3, netmiko and napalm run on paramiko and inherit its limits. Their declared minimums (paramiko ≥2.4, ≥3.5.1 and ≥3.5.0) allow versions with no PQ key exchange at all, so pin paramiko ≥5.1.0 yourself. With paramiko ≥5.1.0 and cryptography ≥48.0.0 installed, Fabric and netmiko get the ML-KEM hybrid automatically.
Caveat. The AGY report says an OpenSSH 10.6 controller gives Ansible “immediate, full”
mlkem768x25519-sha256andssh-mldsa44-ed25519support. The key exchange is automatic; the composite keys still have to be generated and deployed, and the 10.6 notes do not say it is thessh-keygendefault.
OpenSSH has preferred ML-KEM since 10.0 and gained composite ML-DSA keys in 10.6#
| Version | Change |
|---|---|
| 9.9 | Added mlkem768x25519-sha256 |
| 10.0 (Apr 2025) | Made mlkem768x25519-sha256 the default key exchange; removed DSA |
| 10.1 | Added a client warning (WarnWeakCrypto) when a non-PQ key exchange is negotiated |
| 10.4 (Jul 2026) | Introduced experimental mldsa44-ed25519 keys (ssh-keygen -t mldsa44-ed25519) |
| 10.6 (6 Oct 2026) | “enable hybrid post-quantum ssh-mldsa44-ed25519 signature algorithm”; keys from the experimental @openssh.com version must be regenerated. Added sshd WarnWeakCrypto, on by default, which logs clients using non-PQ key agreement |
| 10.6p2 (5 Nov 2026) | Allows ssh-mldsa44-ed25519 as a CA signature algorithm |
The composite stays secure if either ML-DSA-44 or Ed25519 holds. Its specification, draft-ietf-sshm-composite-sigs-01, which also defines ssh-mldsa87-p384, is still a working-group draft (draft). The key exchange mlkem768x25519-sha256 is RFC 10042.
The release notes do not say whether 10.6 makes the composite the ssh-keygen default or adds it to the default host-key list. Ed25519 and ECDSA keys are not deprecated, OpenSSH still offers classical X25519/P-256 fallbacks by default, and there has been no OpenSSH release or statement since 1 Dec 2026 (standards and vendor responses).
EvidenceOpenSSH sources
- OpenSSH PQ page (9.9 added the hybrid; 10.0 preferred it)
- OpenSSH 10.6 release notes, also at openssh.com
- OpenSSH release notes index, with anchors for 10.6 and 10.6p2
- Damien Miller’s comments on RSA and on the hybrid strategy are on the reading page.
certbot issues P-256 certificates and RSA-2048 account keys by default#
Since 2.0.0, certbot creates new certificates with ECDSA secp256r1 keys. --rsa-key-size defaults to 2048, so switching to --key-type rsa without a size silently gives RSA-2048, below the RSA-3072 stopgap. New ACME account keys are RSA-2048.
“Existing certificates will continue to renew using their existing key type” unless you change it. A lineage stays P-256 until you force a renewal with a new key type. --elliptic-curve accepts secp256r1, secp384r1 and secp521r1, but Let’s Encrypt rejects secp521r1 and accepts secp384r1 and RSA 3072/4096 AGY.
Moving WebPKI leaves from P-256 to P-384 or RSA-3072 needs no change in OpenSSL-based Python clients; the work is in the ACME client and key type (TLS page).
Recipemove a lineage to P-384 or RSA-3072
Per lineage, from the Claude report:
# Move an existing lineage to P-384 (or use --key-type rsa --rsa-key-size 3072)
certbot renew --cert-name example.com --key-type ecdsa --elliptic-curve secp384r1 --force-renewal
As a default for all new and renewed certificates, from the AGY report:
# /etc/letsencrypt/cli.ini — stopgap off P-256 (Let's Encrypt accepts secp384r1 and RSA 3072/4096; rejects secp521r1)
key-type = ecdsa
elliptic-curve = secp384r1
# Or RSA-3072:
# key-type = rsa
# rsa-key-size = 3072
certbot certonly --key-type ecdsa --elliptic-curve secp384r1 --force-renewal -d example.com
Evidencewhere the defaults are set
The AGY report verified the defaults in certbot/_internal/constants.py:L63-65:
rsa_key_size=2048, elliptic_curve="secp256r1", key_type="ecdsa"
The Claude report cites the certbot docs, the CLI source and client.py (account keys).
certbot is the only Python project with a direct post-advisory response#
On 3 Dec 2026, contributor ohemorange filed three tasks citing Valsorda. #10838, “Make 384 the default ECDSA curve size”, asks whether “changing the default curve automatically updates the existing ECDSA certs’ curves”. #10839 and #10840 ask to update the nginx and Apache configs “to use ML-KEM handshakes”, noting that the TLSRef (formerly Mozilla) guidelines have been updated.
Community PR #10841, opened the same day, makes the Apache plugin pick an X25519MLKEM768-capable template on OpenSSL 3.5+. A matching Let’s Encrypt forum thread appeared the same day.
Earlier ML-DSA work has stalled. #10706, “Track Let’s Encrypt MTC support + ML-DSA certificate requests”, is open, and an ML-DSA key-type PR, #10707, was closed.
No Python ACME client can obtain an ML-DSA or MTC certificate yet#
josepy 2.3.0, the JOSE layer under acme and certbot, has ES384 and RS/PS but no EdDSA and no ML-DSA (josepy jwa.py). Let’s Encrypt’s PQ path is Merkle Tree Certificates (MTCs), with staging in late 2026 and production in 2027 (LE PQ plan, also at pq-certs.html). It has said nothing since 1 Dec 2026, and 64-day certificates arrive separately in February 2027 (64-day).
Let’s Encrypt’s own chain is already P-384 and RSA, so the exposure sits at the subscriber’s leaf key and the handshake. On 3 Dec 2026 its ACME directory offered the profiles classic, shortlived and tlsserver, none PQ or MTC. acme-v02.api.letsencrypt.org itself negotiated classical X25519 only, rejecting X25519MLKEM768 with alert 40, behind a P-256 certificate AGY.
ACME account keys are a separate inventory item. Let’s Encrypt documents RSA or P-256/P-384 ECDSA for account and certificate keys (integration guide), and the ASTRA report says to inspect account keys too. None of the reports gives a procedure for changing an existing account’s key type.
| Let’s Encrypt (page updated 11 Nov 2026) | Key |
|---|---|
| ISRG Root X1, Root YR | RSA-4096 |
| ISRG Root X2, Root YE | P-384 |
| Intermediates YE1, YE2 | P-384 |
| Intermediates YR1, YR2 | RSA-2048 |
| ML-DSA roots | none |
Source: letsencrypt.org/certificates. Cloudflare (Q1 2027) and Chrome’s quantum-resistant root store (around Q3 2027) are on the same MTC route (vendor responses).
Backgroundpublic versus private certificates (ASTRA report)
For public HTTPS, keep normal browser and OS trust and work with your CA and ACME client. RFC 9881 X.509 encoding does not imply public WebPKI acceptance. Do not globally remove public roots or deploy an untrusted ML-DSA public-site certificate to meet an internal deadline.
For private PKI, pilot ML-DSA issuance and verification end to end, distribute roots before changing leaves, and test expiry, revocation, recovery and eventual rejection of old chains. A new leaf alone is insufficient if a classical trusted issuer can still assert the same identity. Recipes are on the cryptography page.
trustme test CAs default to P-256, with RSA-2048 as the only alternative#
trustme, widely used for test CAs, issues ECDSA P-256 certificates by default and offers only RSA-2048 otherwise (trustme source). Neither is a stopgap size, and there is no ML-DSA option.
Replace trustme’s P-256 test CAs where tests should mirror production P-384, RSA-3072 or ML-DSA certificates; cryptography can build those directly (cryptography page).
AWS SigV4 is HMAC and unaffected; SigV4a signs with ECDSA#
Ordinary SigV4 request signing in boto3 and botocore is HMAC-SHA256 and outside the advisory’s scope; boto3’s 2.4 billion monthly downloads mostly involve HMAC-signed requests. SigV4a “uses asymmetric signatures”: an ECDSA key pair “derived from your existing AWS secret access key”. SDKs switch to it automatically for multi-region requests (AWS SigV4).
Because that ECDSA key is derived deterministically from the long-term secret, a curve break would let an attacker forge SigV4a requests for that access key. It would not obviously recover the HMAC secret. The service dictates which signing profiles it supports, so the practical step is to record where SigV4a is in use.
In botocore 1.44.18, the endpoint rule sets that emit sigv4a cover S3 Multi-Region Access Points, EventBridge and SESv2 global endpoints, CloudFront KeyValueStore and a few others. These operations need botocore[crt] (awscrt 0.38.2, AwsSigningAlgorithm.V4_ASYMMETRIC).
Sources disagree. The ASTRA report cites AWS documentation that SigV4a is ECDSA-P256-SHA256 (signing elements) ASTRA. The Claude report did not verify the SigV4a curve and lists it as an open question Claude. The AWS page answers that question: SigV4a sits on P-256 (open questions).
Tablebotocore 1.44.18 services whose endpoint rules emit sigv4a
| Endpoint rule set | Where SigV4a applies |
|---|---|
s3 |
Multi-Region Access Points |
events |
EndpointId global endpoints |
sesv2 |
EndpointId global endpoints |
cloudfront-keyvaluestore |
all |
sustainability |
all |
partnercentral-channel, partnercentral-revenue-measurement |
all |
STS lists sigv4 before sigv4a. Sources: botocore regions.py, awscrt auth.py.
boto3 uses the interpreter’s OpenSSL for TLS; awscrt has its own PQ preference#
boto3’s ordinary HTTPS transport goes through urllib3 and CPython ssl, so it negotiates X25519MLKEM768 only on OpenSSL ≥3.5 (TLS page, botocore httpsession.py). AWS endpoints accept the hybrid: a live test on 3 Dec 2026 found sts.us-east-1.amazonaws.com and s3.us-east-1.amazonaws.com negotiating X25519MLKEM768 AGY.
awscrt, the native path behind botocore[crt], exposes TlsCipherPref.PQ_DEFAULT (AWS-CRT-SDK-TLSv1.2-2025-PQ, via aws-lc/s2n-tls). The ASTRA report treats the botocore HTTPS transport, a possible native client path and API request signatures as three different controls; identify which one each call uses.
For direct AWS KMS calls, CloudTrail’s tlsDetails.keyExchange shows the key exchange used on that call. Service-on-behalf-of calls may omit it, and it does not tell you how a stored data key was wrapped ASTRA.
gRPC and database drivers carry their own TLS stacks and are covered on the TLS page (grpcio, psycopg, asyncpg, pymongo, redis-py).
AWS and Google Cloud KMS offer ML-DSA and ML-KEM; Azure Key Vault offers neither#
| Service | PQ signing keys | PQ KEM keys | Python client |
|---|---|---|---|
| AWS KMS | ML-DSA-44/65/87 | ML-KEM-512/768/1024 | boto3 1.44.18 models them |
| Google Cloud KMS | software level only | software level only | google-cloud-kms |
| Azure Key Vault | none documented | none documented | azure-keyvault-keys |
| Vault Enterprise Transit | hvac rejects the types | n/a | hvac 2.4.0 |
AWS KMS offers ML_DSA_44/65/87 signing keys (ML_DSA_SHAKE_256) and ML_KEM_512/768/1024 keys with Encapsulate/Decapsulate, and botocore 1.44.18 already models them (AWS KMS key specs). ML-DSA signing takes MessageType="EXTERNAL_MU", which pairs with cryptography 50+’s MLDSAMuHasher, or "RAW" AGY.
Google Cloud KMS offers ML-DSA-44/65/87 (including external-mu), SLH-DSA, KEM_XWING and ML-KEM-768/1024 at the software protection level only, and still marks EC_SIGN_P256_SHA256 “Recommended” (Cloud KMS algorithms). Azure Key Vault lists RSA, EC (P-256, P-384, P-521, P-256K) and AES with no ML-DSA or ML-KEM; its PQ note covers only 256-bit symmetric keys (Key Vault keys). Use RSA-3072+ there.
AWS KMS creates and uses its ML-DSA keys inside FIPS 140-3 Level 3 validated HSMs ASTRA (AWS KMS ML-DSA), whereas Google Cloud KMS offers its PQ keys at the software level only. Google Cloud’s roadmap targets PQ certificate infrastructure in 2027 and 2028 and quantum-resistant Cloud IAM in 2028 ASTRA (google-cloud-kms).
A KMS key spec is not post-quantum end to end: the services that consume your signatures decide. The ASTRA report notes that managed services downstream of KMS, such as Amazon Cognito, API Gateway JWT authorizers and AWS Certificate Manager, cannot use ML-DSA KMS keys yet ASTRA. Which AWS services can and cannot, with corrections, is on the boto3 page.
All three still offer secp256k1: AWS ECC_SECG_P256K1, Google EC_SIGN_SECP256K1_SHA256 and Azure P-256K. Key formats cryptography can serialize are not automatically supported by an HSM or cloud KMS, so test the actual signer, import path or non-exportable interface (cryptography page).
TableKMS key types in full
| Service | PQ signing | PQ KEM | Classical types still listed |
|---|---|---|---|
| AWS KMS | ML_DSA_44/65/87 (ML_DSA_SHAKE_256) |
ML_KEM_512/768/1024 (Encapsulate/Decapsulate) |
ECC_NIST_P256, ECC_NIST_EDWARDS25519, ECC_SECG_P256K1, RSA_2048/3072/4096 |
| Google Cloud KMS | PQ_SIGN_ML_DSA_44/65/87, _EXTERNAL_MU variants, PQ_SIGN_SLH_DSA_SHA2_128S |
KEM_XWING (“Recommended”), ML_KEM_768/1024 |
EC_SIGN_P256_SHA256 (“Recommended”), EC_SIGN_SECP256K1_SHA256 |
| Azure Key Vault | none | none | RSA; EC P-256, P-384, P-521, P-256K; AES |
| Vault Enterprise Transit | ml-dsa, hybrid, slh-dsa |
n/a | ecdsa-p256 and other classical types |
Related library support: securesystemslib PR #1251 (updated 3 Dec 2026) adds AWS KMS ML-DSA signing, and tink-py 1.16.0 added GCP KMS ML-DSA/SLH-DSA.
Recipewhat the reports say to do with cloud keys
- Move AWS KMS and Google Cloud KMS P-256/Ed25519 signing keys to ML-DSA; boto3 and google-cloud-kms already model them (Claude report).
- Adopt AWS KMS
ML_DSA_65/ML_DSA_87for signing viaboto3 >= 1.44.18(AGY report). - Vault Enterprise users need raw hvac calls until PR #1235 ships (details).
- Azure Key Vault has no PQ key types yet, so use RSA-3072+.
- Note where SigV4a (multi-region S3, EventBridge and SESv2 global endpoints) is in use (details).
- In the first week, ask HSM, KMS and CA vendors for exact algorithms, versions, availability, evidence and retirement dates (ASTRA report).
hvac cannot create Vault Enterprise’s PQ Transit keys#
Vault Enterprise Transit offers ml-dsa, hybrid and slh-dsa key types, and Vault 2.2.0 can rotate an ecdsa-p256 key to ml-dsa (Vault Transit). hvac 2.4.0 validates key types client-side against the classical list, so create_key raises ParamValidationError for these (hvac transit constants).
The fix, PR #1235, has been open since December 2025. Until it ships, call the Transit endpoints through hvac’s raw adapter.
Google and Azure service credentials use RSA; no cloud SDK has changed since the advisory#
google-auth 2.63.2 exposes RSASigner and ES256Signer (google-auth crypt). azure-identity 1.27.1’s CertificateCredential is RSA/RS256-only (azure-identity certificate.py). The AGY report summarizes GCP service accounts and Microsoft Entra ID assertions as RSA (RS256/PS256), not 256-bit ECC, and says to avoid google.auth.crypt.es256.
Where static keys remain, the AGY report advises uploading RSA-3072/4096 user-managed keys or certificates, or moving to keyless Workload Identity or Managed Identity, and running CPython on OpenSSL ≥3.5 for the token traffic.
The only cloud statement since 1 Dec 2026 is AWS’s generic post of 2 Dec: “We’ve already migrated a significant majority of our API endpoints to support post-quantum cryptography and are accelerating our plans” (AWS Security Blog). Google and Microsoft appear only as co-signatories of the industry statement (advisory page), and no post-1-Dec issue in boto, botocore or aws-crt-python mentions PQ or SigV4a.
age made PQ keys its default on 1 Dec 2026; pyrage has not caught up#
age v1.4.0 (1 Dec 2026, 14:22 UTC) makes age-keygen default to hybrid ML-KEM-768 keys, makes age warn on any legacy key, deprecates the Go X25519 and SSH recipient APIs, and adds p256tagv2/mlkem768p256tagv2 stanzas (age v1.4.0). It cites Valsorda’s earlier CRQC-timeline post, not the advisory. Valsorda wrote that legacy-key files “could become retroactively decryptable”.
The rage v0.13.0 CLI and Rust age 0.13.0 crate (also 1 Dec) added age1pq1… recipients, PQ keys from rage-keygen by default and AGE_PQC_REQUIRED (rage v0.13.0). Go age v1.3.0 (28 Dec 2025) already supported age1pq1... (ML-KEM-768 + X25519) recipients via age-keygen -pq AGY. pyrage 1.4.0 still encrypts only to X25519, scrypt or SSH recipients; PR #175 for rage 0.13 opened on 1 Dec (pyrage PR #175).
SOPS has supported age PQ recipients since January 2026 (PR #2033). It pins age v1.3.1, so it emits no 1.4 legacy warnings (SOPS PR #2033, go.mod).
Re-encrypt long-lived files to age1pq1 recipients with age ≥1.4.0 or rage ≥0.13 until pyrage ships PQ, or move to cryptography’s HPKE (cryptography page). Ciphertexts an adversary already captured cannot be protected retroactively.
QuotesValsorda in the age v1.4.0 release
“we don’t believe age’s original X25519-based keys are up to that job anymore… Your files encrypted with legacy keys could become retroactively decryptable in the future, sooner than most of us anticipated.”
The Claude report calls the age release the most decisive move in its inventory. It came out a day before the advisory was published on 2 Dec 2026.
Versionswhich age implementation has what
| Implementation | Version | PQ status |
|---|---|---|
| Go age | v1.3.0 (28 Dec 2025) | age1pq1... recipients; age-keygen -pq (AGY report) |
| Go age | v1.3.1 | pinned by SOPS; PQ recipients, no 1.4 warnings |
| Go age | v1.4.0 (1 Dec 2026) | PQ keys by default; warns on legacy keys |
| Rust age crate / rage CLI | 0.12.1 / 0.12 | wrapped by pyrage 1.4.0; no age::pq |
| Rust age crate / rage CLI | 0.13.0 / v0.13.0 (1 Dec 2026) | age1pq1…; PQ keys by default; AGE_PQC_REQUIRED; deprecates age::x25519 |
| pyrage | 1.4.0 (23 Aug 2026) | none; PR #175 open |
The two reports give different floors because they answer different questions: age ≥1.3.0 is enough to create PQ recipients (AGY), and age ≥1.4.0 makes them the default (Claude).
GnuPG has PQ encryption but no PQ signatures; python-gnupg defaults to RSA-2048#
GnuPG’s default keys are ed25519/cert,sign+cv25519/encr. The GnuPG 2.5 PQC profile is bp384/cert,sign plus kyber768_bp256/encr: Kyber768 with brainpoolP256 for encryption, brainpoolP384 for signing (gnupg keygen.c). Brainpool curves are not CNSA-approved, and there is no PQ signature. OpenPGP PQC is RFC 9980.
python-gnupg 0.5.7 drives whatever gpg binary is installed and defaults generated keys to RSA-2048 (python-gnupg). Require GnuPG 2.5+ for RFC 9580/9980 PQC keys and migrate off Cv25519, Ed25519 and P-256 keys AGY. PGPy 0.6.0 (Nov 2022) is abandoned; the AGY report says to decommission it.
GnuPG cv25519 encryption subkeys belong in the same re-encryption inventory as age X25519 recipients and PyNaCl sealed boxes (playbook).
keyring has no asymmetric crypto; docker and kubernetes are exposed only through TLS#
keyring stores secrets in OS secret stores and has no asymmetric primitives. The docker and kubernetes Python clients are exposed only through TLS, which depends on the interpreter’s OpenSSL (TLS page). No response from these projects was checked.
A symmetric secret is only as safe as the channel that delivered it: a key fetched from a secrets manager over X25519-only TLS inherits that channel’s key-exchange exposure. Likewise, python-gnupg’s RSA-2048 default and certbot’s RSA-2048 ACME account keys sit in the “legacy” tier even though the tools look safe.
Matrix Olm has no PQ mechanism, and Signal’s PQXDH protects confidentiality only#
Olm/Megolm, as used through vodozemac 0.10.0 and matrix-nio 0.26.0’s e2e extra, have no PQ mechanism; Olm uses X25519 and Ed25519. A PQXDH PR has been open since January 2024 (vodozemac #120). If X25519 and Ed25519 weaken, recorded Olm traffic is retroactively exposed, and a Megolm key delivered over an Olm channel inherits that exposure.
Signal’s PQXDH and SPQR protect confidentiality with ML-KEM, but the spec says “Authentication in PQXDH is not quantum-secure”: identity keys use XEdDSA on Curve25519 (Signal PQXDH).
stem, the Tor controller library, is unmaintained (1.8.2, Jun 2023) but still sees about 0.5M downloads a month. The exposure is Tor’s Curve25519 handshake, which lives in tor itself, not in stem.
WireGuard tooling should add pre-shared keys now#
On 2 Dec 2026, Jason Donenfeld wrote that “WireGuard has a 256-bit pre-shared key option”, and he has begun investigating a WireGuard v2 (WireGuard list). Python tooling that generates WireGuard configurations should add pre-shared keys now, as Donenfeld advises.
None of the three reports covers Rosenpass.
Blockchain libraries cannot migrate ahead of their chains#
web3.py 8.0.0, eth-account 0.14.0 and eth-keys 0.8.0 (now under ApeWorX), coincurve 21.0.0, python-bitcoinlib and bitcoinlib, and solders and solana-py all sign with consensus-mandated curves: secp256k1 for Ethereum and Bitcoin, Ed25519 for Solana. py-ecc 8.0.0 (BLS12-381 and BN254), blst v0.3.17 (BLS12-381) and ckzg 2.1.8 implement pairing-curve cryptography. None has a PQ path, and none can get one before its chain upgrades.
The only mitigations are operational: avoid address reuse and keep funds behind public keys that have not been revealed. Blockchain signatures authorize irreversible transfers, and the public keys of spent-from or reused addresses, including every transacting Ethereum EOA, are already on-chain.
Outside consensus, the AGY report’s advice applies: do not use secp256k1 or BLS12-381 for off-chain authentication or signing (use cryptography’s ML-DSA instead), and run web3.py RPC clients on OpenSSL ≥3.5 so the RPC transport negotiates X25519MLKEM768.
Tableblockchain libraries in the reports
| Library | Version | Curve | 30-day downloads |
|---|---|---|---|
| web3 | 8.0.0 | secp256k1 | 5,442,388 |
| eth-account | 0.14.0 | secp256k1 | 6,522,985 |
| eth-keys | 0.8.0 | secp256k1 | 6,649,194 |
| coincurve | 21.0.0 (Mar 2025) | secp256k1 only | 3,038,946 |
| python-bitcoinlib | n/c | secp256k1 | 576,448 |
| bitcoinlib | n/c | secp256k1 (via fastecdsa or ecdsa) |
95,742 |
| solders | 0.29.0 (13 Aug 2026) | Ed25519 | 1,547,394 |
| solana | n/c | Ed25519 | 856,853 |
| py-ecc | 8.0.0 | BLS12-381, BN254 | n/c |
| ckzg | 2.1.8 | grouped with BLS12-381 / BN254 (AGY) | n/c |
| blst | v0.3.17 | BLS12-381 | n/c |
Downloads are pypistats.org trailing-30-day counts fetched 3 Dec 2026; “n/c” means not collected. Sources: ApeWorX/web3.py, eth-keys backends, PyPI coincurve. The general-purpose ECC libraries ecdsa and fastecdsa are covered on the cryptography page (ecdsa).
secp256k1 exposure is unknown; Ed25519 and pairing curves are directly in scope#
The advisory’s inventory flags “elliptic curves other than P-384 or P-521” and “pairing-based cryptography”, which sweeps in secp256k1, BLS12-381 and BN254 by wording. It names no curve as broken (advisory page).
Valsorda’s reading names P-256 and the Curve25519 family, which includes Ed25519. Solana’s signatures therefore sit in his named set, making solders and solana-py (about 2.4M downloads a month together) the most directly implicated domain libraries. He does not mention secp256k1; on pairings he notes BLS12-381’s group order is 255 bits, “another hint we lost 256-bit ECC specifically”.
For secp256k1 the honest answer is “unknown, not cleared”. If the undisclosed attack is a generic speed-up for ~256-bit-order groups, secp256k1 would plausibly be affected; if it exploits structure specific to P-256 or Curve25519, it may not be (open questions).
Sources disagree. The AGY report puts secp256k1, BLS12-381 and BN254 in the same class as P-256 and Curve25519, “Treat as weakened or potentially broken”, and describes BLS12-381 and BN254 as “explicitly called out by NSA/Valsorda” AGY. The Claude report calls secp256k1 “unknown, not cleared”, flagged by the advisory’s wording only, with no credible primary statement Claude. The advisory text says “pairing-based cryptography” without naming a curve.
Tablewhat is officially said and what is interpretation, per curve
| Curve | Official status in the advisory | Interpretation and commentary |
|---|---|---|
| Ed25519 (Solana) | Flagged (“EdDSA”) | Valsorda: “likely broken or significantly weaker than we thought”. Disputed by Kobeissi, Back, Soatok and Smart. Unconfirmed |
| secp256k1 (Ethereum, Bitcoin) | Flagged by the same rule as brainpoolP256; no specific statement | The CNSA FAQ says cryptocurrencies are “not an NSA responsibility” (CNSA 2.0 FAQ). Back: “not a new Bitcoin threat” (secondhand) |
| BLS12-381, BN254 | Flagged (“pairing-based cryptography”) | Valsorda: the ~255-bit group order hints at 256-bit ECC |
Valsorda’s full sentence on pairings: “Pairing-based cryptography is preponderantly done over curves with ~256-bit prime subgroup order, so it’s another hint we lost 256-bit ECC specifically. (Don’t be confused by BLS12-381’s name, its group order is 255 bits.)” (Valsorda). This is an expert reading, not NSA text; the wider debate is on the reading page.
Solana moved its timeline after the advisory; Ethereum’s plan predates it#
The Solana Foundation said on 3 Dec 2026 that it accelerated its timeline “to meet the guidance of the NSA”, with assets to be secured with PQC “by the end of Q1 2027”. This comes from a secondary source (Solana Compass), and the Python libraries have no PQ path yet.
The Ethereum Foundation’s plan predates the advisory. Its PQAI #0 post (23 Nov 2026) targets hash-based signatures for 2028–2029 and says “Tooling built around BLS will need to be reworked” (EF PQAI #0). The AGY report describes the route as Lean Consensus / leanXMSS plus EIP-8141 account abstraction, also targeting 2028–2029.
For Bitcoin the reports record commentary and a market move, not a protocol statement. Bitcoin fell roughly 6%: CoinDesk’s headline cites $52,000 and CryptoDaily “near $55,000”, which are different snapshots (CoinDesk, CryptoDaily).
Quotessecondhand statements from Ethereum and Bitcoin figures
Unverified. Both quotes come from crypto news aggregators, not from the speakers’ own posts.
- Justin Drake (Ethereum Foundation), around 30 Nov 2026 and before the advisory, reportedly said secp256k1, BLS12-381 and BN254 “may be vulnerable to new classical attacks… as early as 2027 or 2028”. Drake called the timeframe “a personal judgment” (KuCoin/Odaily, TokenPost).
- Adam Back: “it’s a reading comprehension mistake to infer that list relates to recent AI algorithmic research”; the advisory is “not a new Bitcoin threat” (KuCoin/BeInCrypto).
Sources cited on this page 70
- PyPI paramiko 5.1.0 pypi.org
- Valsorda words.filippo.io
- GitHub blog github.blog
- GitHub docs docs.github.com
- paramiko transport.py at 5.1.0 github.com
- asyncssh 2.24.2 changes github.com
- #2712 github.com
- ansible base.yml github.com
- draft ietf.org
- OpenSSH PQ page openssh.com
- OpenSSH 10.6 release notes openssh.org
- openssh.com openssh.com
- OpenSSH release notes index openssh.org
- 10.6 openssh.com
- 10.6p2 openssh.com
- certbot docs eff-certbot.readthedocs.io
- CLI source github.com
- client.py github.com
- #10838 github.com
- #10839 github.com
- #10840 github.com
- PR #10841 github.com
- Let’s Encrypt forum thread community.letsencrypt.org
- #10706 github.com
- josepy jwa.py github.com
- LE PQ plan letsencrypt.org
- pq-certs.html letsencrypt.org
- 64-day letsencrypt.org
- integration guide letsencrypt.org
- letsencrypt.org/certificates letsencrypt.org
- RFC 9881 rfc-editor.org
- trustme source github.com
- AWS SigV4 docs.aws.amazon.com
- signing elements docs.aws.amazon.com
- botocore regions.py github.com
- awscrt auth.py github.com
- botocore httpsession.py github.com
- AWS KMS calls docs.aws.amazon.com
- AWS KMS key specs docs.aws.amazon.com
- Cloud KMS algorithms docs.cloud.google.com
- Key Vault keys learn.microsoft.com
- AWS KMS ML-DSA docs.aws.amazon.com
- #1251 github.com
- Vault Transit developer.hashicorp.com
- hvac transit constants github.com
- PR #1235 github.com
- google-auth crypt github.com
- azure-identity certificate.py github.com
- AWS Security Blog aws.amazon.com
- age v1.4.0 github.com
- rage v0.13.0 github.com
- pyrage PR #175 github.com
- SOPS PR #2033 github.com
- go.mod github.com
- gnupg keygen.c github.com
- python-gnupg github.com
- vodozemac #120 github.com
- Signal PQXDH signal.org
- WireGuard list lists.zx2c4.com
- ApeWorX/web3.py github.com
- eth-keys backends github.com
- PyPI coincurve pypi.org
- CNSA 2.0 FAQ media.defense.gov
- Solana Compass solanacompass.com
- EF PQAI #0 blog.ethereum.org
- CoinDesk coindesk.com
- CryptoDaily cryptodaily.co.uk
- KuCoin/Odaily kucoin.com
- TokenPost tokenpost.com
- KuCoin/BeInCrypto kucoin.com