PQ Python

aiohttp

Uses ssl.create_default_context(), so it offers X25519MLKEM768 only on OpenSSL 3.5+ interpreters; pass ssl=ctx to control groups on Python 3.15.

PyPI
aiohttp
Version cited
3.14.5
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 ssl=ctx per request or TCPConnector(ssl=ctx) with set_groups() applied.

Since 1 Dec 2026 Nothing found as of 3 Dec 2026.

Details

aiohttp 3.14.5 uses ssl.create_default_context() (aiohttp connector.py) and supports explicit contexts (aiohttp SSL control).

  • OpenSSL ≥3.5 interpreter X25519MLKEM768 automatically on OpenSSL 3.5+; classical on OpenSSL 3.0.
  • To require the hybrid on 3.15: session.get(url, ssl=ctx) or aiohttp.TCPConnector(ssl=ctx), where ctx calls set_groups(...) and sets TLSv1_3 (recipe).
  • On OpenSSL 3.0 hosts, the AGY report says import rtls as ssl can be used with aiohttp (niquests) AGY.
Sources cited on this page 2
  1. aiohttp connector.py github.com
  2. aiohttp SSL control docs.aiohttp.org

All sources across the guide