PQ Python

truststore

Hands chain validation to the OS verifier on macOS and Windows, whose ML-DSA support is unknown, and its SSLContext does not proxy Python 3.15’s group APIs.

PyPI
truststore
Version cited
0.10.5per the AGY report; the Claude report did not collect a version.
Downloads
n/a

Key exchange and encryption

PQ with action

Inherits OpenSSL; no set_groups proxy

Signatures and identity

Unknown

OS verifier ML-DSA support unknown

What to do

On Python 3.15, set groups through OPENSSL_CONF or the private ctx._ctx.set_groups(…) until truststore proxies set_groups(). Test ML-DSA chains against the macOS and Windows verifiers before relying on them.

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

Details

truststore uses the OS verifier on macOS and Windows and OpenSSL on Linux. Key exchange still runs through the interpreter’s ssl module, so the hybrid is offered exactly when the interpreter links OpenSSL 3.5+ (build matrix).

Gaps#

  • ML-DSA chains depend on the OS verifier. Whether macOS Security.framework and Windows CNG validate them is unknown, which also affects pip on those platforms.
  • No group API passthrough AGY. truststore 0.10.5’s truststore.SSLContext explicitly proxies a fixed method list with no __getattr__, so Python 3.15’s set_groups(), get_groups() and set_*_sigalgs() raise AttributeError (truststore _api.py). Workarounds: OPENSSL_CONF, or the private ctx._ctx.set_groups(...).
  • The AGY report’s medium-term plan includes tracking truststore proxy support for these APIs.

Neither report found a truststore response to the advisory.

Sources cited on this page 2
  1. truststore github.com
  2. truststore _api.py github.com

All sources across the guide