Skip to content

Post-Quantum Readiness

Cloud Security inventories the cryptography of your cloud estate and reports where it is not ready for post-quantum cryptography. It is part of LimaCharlie's post-quantum readiness work and uses the same words for every finding: crypto_use, pq_status and crypto_algorithm.

Availability

The crypto inventory, the pqc-* findings, the mail domain checks and the pqc-readiness framework are live. Rows and findings fill in as each connection's next sweep runs. The resources and rules marked Next collector update below are not collected yet. The console views for them (the Crypto Readiness page and the cloud views) are available in the console soon.

Crypto inventory

Inventory rows that carry cryptography have a crypto object in their properties (props.crypto in the API and in JSON). It is an inventory fact, not a verdict: most rows read classical, because nearly all cryptography in use today is RSA or elliptic-curve. Findings are reserved for what has an action.

Field Meaning
crypto_use key_exchange (TLS, IPsec), signature, certificate or encryption
crypto_algorithm For example RSA-2048, ECDSA-P256, ML-DSA-65, X25519MLKEM768
pq_status pq (post-quantum), hybrid (classical plus post-quantum), classical (sound today, quantum-vulnerable), legacy (weak today) or unknown
tls_policy, tls_policies The weakest TLS policy on the resource, and every policy it carries
min_tls The lowest TLS version the resource accepts
pq_available true when the provider offers a post-quantum or hybrid option for this resource, false when it does not, absent when unknown
recommended The provider setting to move to, such as ELBSecurityPolicy-TLS13-1-2-PQ-2025-09 or a KMS ML_DSA_* key spec
key_size Key length in bits, where it applies (RSA)
truncated Not every member was read, so pq_status is a lower bound

A resource with several members, such as a load balancer's listeners or an API Gateway domain seen by both REST and HTTP APIs, shows its worst member's status.

Covered resources:

  • AWS: ALB and NLB listeners, CloudFront viewer TLS, API Gateway custom domains, ACM certificates, KMS keys, EC2 key pairs and Site-to-Site VPN connections (IKE groups).
  • GCP: Cloud KMS keys, SSL policies (load balancers whose post-quantum key exchange is deferred) and Cloud DNS zones that sign with DNSSEC.
  • Azure: Key Vault keys and VPN gateway connections (the IKE groups of custom IPsec policies).
  • Mail domains (Microsoft 365 and Google Workspace connections): DKIM keys and inbound mail transport. See Mail domains.

The inventory CSV export (limacharlie cloudsec export inventory, or ?format=csv on inventory) carries the same facts as extra columns after the existing ones: crypto_use, crypto_algorithm, pq_status, tls_policy, min_tls, pq_available, crypto_recommended, tls_policies (;-separated), key_size and crypto_truncated. They are empty on a row without cryptography. See CSV export.

More resources (next collector update)

Next collector update

The rows and fields in this table are written once the next Cloud Security collector update reaches your region. Until then, the resources are not inventoried.

Cloud Resource What the crypto object shows
Google Cloud Cloud VPN tunnels (HA and Classic), new rows of kind gcp_vpn_tunnel The IKE version and custom cipher suite, if one is set, and the Diffie-Hellman groups and weak ciphers the tunnel can negotiate. A cipher-suite setting left empty falls back to Google's default list, which includes DH groups 2, 5 and 22, 3DES and HMAC-MD5. pq_available is false: Cloud VPN has no post-quantum key exchange yet
AWS Site-to-Site VPN tunnels In addition to the DH groups: the phase 1 and phase 2 encryption and integrity algorithms, and the IKE versions
AWS CloudHSM clusters, new cloudhsm_cluster rows The HSM type, FIPS or non-FIPS mode, state and HSM count. pq_status is always unknown, because the keys inside an HSM cannot be read through AWS APIs. pq_available is true on hsm2m.medium, which supports ML-DSA keys with CloudHSM Client SDK 5.18.0 or later. hsm1.medium clusters are past end of support and recommend hsm2m.medium
AWS IAM server certificates, new iam_server_certificate rows The key algorithm and size, and the issuing signature algorithm (signature_algorithm, for example SHA256-RSA), read from the certificate. The certificate itself is not stored
AWS IAM user signing certificates, new iam_signing_certificate rows The same fields, for X.509 signing certificates of users that have an active one, plus their Active or Inactive status
Azure VPN gateway connections In addition to the DH and PFS groups: the custom policy's IKE and IPsec encryption and integrity algorithms, and the connection protocol (IKEv1 or IKEv2)
Azure Key Vault certificates On the vault's row: certificate_algorithm_counts (certificates by key type, for example RSA-2048: 3). The weakest certificate key counts toward the vault's pq_status. Certificate names are never stored. Key Vault has no post-quantum key type

The inventory CSV gains a signature_algorithm column after crypto_truncated.

Not covered: the keys inside CloudHSM (no AWS API exposes them), and post-quantum options on Azure VPN Gateway and Google Cloud VPN (neither provider offers one yet).

Findings

Rules named pqc- follow the order the overview recommends: weak today first, then key exchange that could use a hybrid post-quantum group and does not, then classical keys where the provider already offers a post-quantum key type.

Rule Severity Meaning
pqc-aws-ec2-key-pair-weak-rsa Medium An EC2 key pair is RSA under 2048 bits
pqc-aws-vpn-legacy-ike-group Medium A Site-to-Site VPN tunnel allows a legacy IKE Diffie-Hellman group
pqc-azure-vpn-legacy-ike-group Medium An Azure IPsec or VNet-to-VNet connection policy allows a weak Diffie-Hellman or PFS group
pqc-aws-lb-listener-no-pq-key-exchange Low TLS listeners use a policy without hybrid post-quantum key exchange where AWS offers one. One finding per account
pqc-aws-apigw-domain-no-pq-key-exchange Low A regional API Gateway domain uses a policy without post-quantum key exchange
pqc-aws-vpn-no-pq-key-exchange Low A VPN tunnel's IKE does not include ML-KEM. The fix also moves IKEv1-only tunnels to IKEv2, because ML-KEM additional key exchanges exist only in IKEv2
pqc-gcp-ssl-policy-pq-deferred Low Load balancers whose SSL policy defers post-quantum key exchange
pqc-kms-classical-key-pq-available Info An enabled AWS or GCP KMS key is classical and its key service offers a post-quantum key spec

Four more rules arrive with the next collector update:

Rule Severity Meaning
pqc-gcp-vpn-tunnel-legacy-ike Medium A Cloud VPN tunnel can negotiate a DH group or cipher that is weak today. This is the case for every tunnel without a complete custom cipher suite, because Google's default list includes DH groups 2, 5 and 22, 3DES and HMAC-MD5. Recreate the tunnel with a custom suite, for example --phase1-encryption AES-GCM-16-256 --phase1-prf PRF-HMAC-SHA2-384 --phase1-dh Group-20 --phase2-encryption AES-GCM-16-256 --phase2-pfs Group-20. Ciphers cannot be changed on an existing tunnel
pqc-azure-vpn-legacy-ipsec-cipher Medium An Azure connection's custom IPsec or IKE policy allows DES, 3DES, MD5 or no IPsec encryption (None). pqc-azure-vpn-legacy-ike-group covers only weak DH and PFS groups
pqc-aws-iam-server-certificate-weak Medium An IAM server certificate has an RSA key under 2048 bits, a DSA key or a curve below P-256, or is signed with SHA-1 or MD5
pqc-aws-iam-signing-certificate-weak Medium The same check, for an active IAM user signing certificate. The fix deactivates it: aws iam update-signing-certificate --user-name <user> --certificate-id <id> --status Inactive

The existing weak-TLS finding for AWS load balancers (aws-lb-listener-weak-tls-policy) now recommends the post-quantum policy that matches the listener. A FIPS listener gets the FIPS post-quantum policy.

Mail domains

For every mail domain a Microsoft 365 or Google Workspace connection already knows (verified domains, mailbox domains, and any internal domains declared on the connection), Cloud Security reads public DNS and reports:

  • DKIM keys: the key type and size behind each known selector (selector1 and selector2 on Microsoft 365, google on Google Workspace), on the existing DkimConfig inventory rows.
  • Inbound mail transport: one MailDomainTransport inventory row per domain, with the MX hosts, the MTA-STS record and policy mode, the TLS-RPT record, and DANE TLSA records on the MX hosts with their DNSSEC status.

*.onmicrosoft.com domains are skipped because Microsoft manages their DNS.

With the next collector update, each mail row has a readable name: a DKIM row is named after its selector record (selector1._domainkey.contoso.com) and a transport row after its domain. The name shows in findings and in the name column of the inventory CSV. Rows written earlier get one on their next sweep.

Field Values
crypto_use signature (DKIM) or key_exchange (transport)
pq_status legacy, classical or unknown
crypto_algorithm For example RSA-1024, RSA-2048, Ed25519
key_type, key_bits The DKIM key type (rsa, ed25519) and the RSA modulus size
inbound_tls_status enforced, opportunistic, not_applicable (no MX or a null MX) or unknown (a lookup did not complete)
mta_sts.effective_mode enforce, testing or none
dane_status all_mx, partial or none
{
  "domain": "contoso.com",
  "accepts_mail": true,
  "mx_hosts": [{"host": "contoso-com.mail.protection.outlook.com", "preference": 0, "tlsa_observed": true, "dane_usable": false}],
  "mta_sts": {"observed": true, "record_present": false, "policy_status": "not_fetched", "effective_mode": "none"},
  "tls_rpt": {"observed": true, "present": false},
  "dane_status": "none",
  "inbound_tls_status": "opportunistic",
  "crypto_use": "key_exchange",
  "pq_status": "legacy"
}
Rule Severity Meaning What to do
mail-dkim-key-below-2048-bit Medium A DKIM key is RSA under 2048 bits, so signatures can be forged Microsoft 365: Rotate-DkimSigningConfig -Identity <domain> -KeySize 2048, then run it again after the rotation to upgrade the other selector. Google Workspace: Admin console, Apps, Google Workspace, Gmail, Authenticate email, then generate a new record with a 2048-bit key
mail-inbound-tls-downgradable Medium Inbound mail can be downgraded to plaintext: no MTA-STS in enforce mode and no DNSSEC-validated DANE on every MX Publish an MTA-STS policy (the finding includes the file with your MX hosts and the TXT records), start in testing, then move to enforce. When your MX records point to Exchange Online, Microsoft 365 can instead enable inbound SMTP DANE. The steps in the finding follow your MX provider, not the connection that found the domain
mail-mta-sts-policy-mx-mismatch Medium An enforced MTA-STS policy does not list every MX host, so policy-aware senders refuse those hosts Add the MX hosts to the policy, or remove stale MX records, and publish a new policy id
mail-mta-sts-policy-unusable Low An _mta-sts record is published but the record or policy is unusable (host missing, certificate, HTTP status, syntax) Fix the named fault. The finding includes a valid policy file
mail-tls-rpt-missing Low No valid TLS-RPT record, so TLS failures go unreported Publish _smtp._tls.<domain> as a TXT record v=TLSRPTv1; rua=mailto:<address>
mail-dane-tlsa-not-dnssec-validated Low TLSA records exist but are not DNSSEC-validated, so senders ignore them Sign the zone with DNSSEC and publish the DS record at the registrar (Microsoft 365: Enable-DnssecForVerifiedDomain, Enable-SmtpDaneInbound)
mail-dkim-key-quantum-vulnerable Info Inventory only: the DKIM key is RSA 2048 or larger, or Ed25519. No post-quantum DKIM algorithm is standardized yet No action today. Keep keys at 2048 bits or more and plan to replace them once your provider supports a post-quantum algorithm

A lookup that fails (a DNS error, or a policy host that times out or refuses the connection) never opens or closes a finding: the previous state is kept until the next successful read.

These rules read MailDomainTransport rows, which custom posture rules cannot yet target. The existing mail posture rules cover the other mail resource types.

The pqc-readiness compliance framework

The pqc-readiness framework ("Post-Quantum Cryptography Readiness", NSA immediate actions and CNSA 2.0) assesses the six actions in the NSA advisory, so a report shows where the estate stands against them. See Compliance for how a report is computed and exported.

Control What it asks Graded by
pqc-1.1 Cryptography across TLS, IPsec, SSH, PKI and key management is inventoried Manual attestation
pqc-2.1 TLS endpoints negotiate hybrid post-quantum key exchange where the platform offers it pqc-aws-lb-listener-no-pq-key-exchange, pqc-aws-apigw-domain-no-pq-key-exchange, pqc-gcp-ssl-policy-pq-deferred
pqc-2.2 TLS endpoints refuse protocol versions older than TLS 1.2 The existing weak-TLS rules for AWS, GCP and Azure
pqc-2.3 IPsec VPN key exchange includes a post-quantum KEM where the platform offers it. Azure VPN Gateway and Google Cloud VPN offer no ML-KEM yet: their tunnels are inventoried with pq_available: false (Google Cloud VPN with the next collector update) and graded only for weak algorithms pqc-aws-vpn-no-pq-key-exchange
pqc-3.1 Cloud key-management keys have post-quantum replacements where the key service offers them pqc-kms-classical-key-pq-available
pqc-3.2 Certificate authorities and hardware roots of trust can issue and verify post-quantum signatures Manual attestation
pqc-4.1 Certificates, keys and signatures meet today's minimum strength aws-acm-certificate-weak-key, pqc-aws-ec2-key-pair-weak-rsa, the Cloud DNS RSASHA1 DNSSEC rules, mail-dkim-key-below-2048-bit, and with the next collector update pqc-aws-iam-server-certificate-weak and pqc-aws-iam-signing-certificate-weak
pqc-4.2 X.509 certificates are reissued and firmware re-signed with post-quantum algorithms as they become available Manual attestation
pqc-5.1 Legacy key-exchange and cipher defaults are disabled pqc-aws-vpn-legacy-ike-group, pqc-azure-vpn-legacy-ike-group, azure-apim-weak-protocols, mail-inbound-tls-downgradable, and with the next collector update pqc-gcp-vpn-tunnel-legacy-ike and pqc-azure-vpn-legacy-ipsec-cipher
pqc-6.1 Systems that cannot be upgraded are isolated and residual weak cryptography is detected on the network Manual attestation

The manual controls take scoped evidence like any other manual control. For pqc-6.1, the endpoint NETWORK_CRYPTO event and the Host Posture rules described in the overview are evidence you can attach.

Findings that only inventory what exists, such as mail-dkim-key-quantum-vulnerable, are not mapped to a control: they would fail every estate for using the only algorithms that exist. The other mail rules (mail-mta-sts-policy-mx-mismatch, mail-mta-sts-policy-unusable, mail-tls-rpt-missing, mail-dane-tlsa-not-dnssec-validated) are configuration hygiene or reporting and are not mapped either.

Permissions

  • AWS: the existing SecurityAudit-based role covers the inventory above: ec2:DescribeKeyPairs, ec2:DescribeVpnConnections, and for the IAM certificates iam:GetServerCertificate, iam:ListSigningCertificates and the credential report. CloudHSM is the exception: it needs cloudhsm:DescribeClusters, which is not in SecurityAudit (it is in ReadOnlyAccess). Without it, CloudHSM clusters are missing from the inventory, and the connection test and the Providers page name the permission.
  • Azure: Reader, including Microsoft.KeyVault/vaults/keys/read. Only key metadata is read, never key material. Key Vault certificate key types use the Key Vault Reader access already required for certificate checks.
  • GCP: compute.vpnTunnels.list for Cloud VPN tunnels, which Viewer, Compute Network Viewer and Security Reviewer include.

See also