urllib3
Uses stdlib ssl, so it offers X25519MLKEM768 only on OpenSSL 3.5+ interpreters; its pyOpenSSL injection gives PQ even on OpenSSL 3.0 interpreters.
- PyPI
urllib3- Version cited
- 2.8.015 Sep 2026
- Downloads
- n/a
Key exchange and encryption
PQ with action
PQ on OpenSSL ≥3.5 interpreters
Signatures and identity
PQ with action
ML-DSA chains need OpenSSL ≥3.5
What to do
Run on an OpenSSL 3.5+ interpreter; on Python 3.15 pass PoolManager(ssl_context=ctx) with set_groups() applied. On OpenSSL 3.0 hosts, inject_into_urllib3() with a current cryptography wheel gives the hybrid.
Since 1 Dec 2026 Nothing found as of 3 Dec 2026.
Details
urllib3 2.8.0 builds its contexts with stdlib ssl (urllib3 ssl_.py, 2.8.0 tag). It sets no groups, and ciphers= only affects TLS 1.2 and earlier.
Behavior#
- OpenSSL ≥3.5 interpreter Tested through requests: Python 3.14.6 / OpenSSL 3.5.7 gave
kex=X25519MLKEM768; Python 3.10.16 / OpenSSL 3.0.16 gavekex=X25519. - pyOpenSSL injection
urllib3.contrib.pyopenssl.inject_into_urllib3()with a current cryptography wheel negotiated X25519MLKEM768 on Python 3.10.16 / OpenSSL 3.0.16, because the wheel brings OpenSSL 4.1.1 Claude. pyOpenSSL has noset_groupsAPI (pyOpenSSL). - Custom context:
PoolManager(ssl_context=ctx), wherectxis a 3.15 context withset_groups(...)applied (recipe).
The urllib3-future fork used by niquests is a separate package (niquests). The AGY report lists urllib3 among clients that inherit classical-only TLS on OpenSSL 3.0 hosts.
Full discussion: TLS and interpreters
Sources cited on this page 2
- urllib3 ssl_.py github.com
- 2.8.0 tag github.com