PQ Python

Granian

Builds rustls with the ring provider, which has no ML-KEM, so Granian cannot negotiate X25519MLKEM768 by any configuration.

PyPI
granian
Version cited
2.8.920 Nov 2026
Downloads
n/a

Key exchange and encryption

No path yet

ring rustls: no ML-KEM

Signatures and identity

Unknown

Not reported

What to do

Do not terminate TLS on Granian 2.8.9. Put a PQ-capable proxy in front (Cloudflare, nginx on OpenSSL 3.5+, Caddy, ALB or Envoy configured for the hybrid) or switch servers.

Since 1 Dec 2026 Nothing found as of 3 Dec 2026; no Granian issue on switching rustls providers.

Details

Granian cannot negotiate the hybrid Claude, AGY.

  • Granian 2.8.9 compiles rustls 0.23.46 with the ring provider (ring 0.17.14), not aws-lc-rs: Cargo.toml has features = ["rustls-ring", "rustls-tls12"] (granian Cargo.toml).
  • The ring provider’s ALL_KX_GROUPS are X25519, SECP256R1 and SECP384R1 (rustls ring). The aws-lc-rs provider’s defaults begin with X25519MLKEM768 (rustls aws-lc-rs).
  • x25519 only Tested with a Python 3.15.0 probe client: x25519. No PQ is possible by configuration.

What to do#

Never terminate TLS directly on Granian 2.8.9 (AGY report). Front it with a PQ proxy, such as Cloudflare, nginx on OpenSSL 3.5+ or Caddy, or switch servers. Envoy and AWS ALB also work but need the hybrid configured (proxies). Watch for a Granian build on the aws-lc-rs provider; no issue requesting one was found.

Sources cited on this page 3
  1. granian Cargo.toml github.com
  2. rustls ring github.com
  3. rustls aws-lc-rs github.com

All sources across the guide