This guide merges three research reports written on 3 Dec 2026 and tags claims by source
How the guide was built from the Claude, AGY and ASTRA reports, what evidence each one gathered and could not gather, and how to read the pills, callouts and source tags used on every page.
In short
- Three independent research reports, all dated 3 Dec 2026, are the guide’s only sources; the guide restructures them and adds no research of its own.
- The Claude report ran live handshake tests from macOS, AGY says it verified every fact live, and ASTRA ran isolated local checks.
- None could fetch nsa.gov or media.defense.gov directly; all three relied on archive captures, the CISA copy or text renderings.
[[via: ...]]tags mark single-report or contested claims; “Sources disagree” callouts state each report’s claim side by side.- Every status is as reported on 3 Dec 2026 and will drift; check the trackers before acting.
Three reports, written independently on 3 Dec 2026#
The guide is built from three research reports produced the day after the advisory. Each answers the same question, what the advisory changes for Python, with a different emphasis and different evidence. Where they agree, a fact is stated once; where they differ, the unknowns page lists every disagreement.
| Tag | Report title | Dated | Emphasis | Evidence it describes |
|---|---|---|---|---|
claude |
“NSA’s cryptic warning reorders Python’s crypto priorities” | “state as of 3 December 2026” | Package-by-package exposure, download counts, monitor table | Live handshake and library tests on macOS; Wayback captures; pypistats |
agy |
“Impact of the December 2, 2026 NSA Post-Quantum Advisory (PP-26-4956) on the Python Ecosystem” | Research date December 3, 2026 | P0/P1/P2 playbook, recipes, audit script | Live PyPI metadata, upstream repositories, RFCs and TLS endpoints |
astra |
“The December 2026 NSA post-quantum advisory: what changes for Python” | 3 December 2026 UTC | Decision brief, time-boxed plan, per-hop measurement | Four research tracks; tagged code; isolated local runtime checks |
The Claude report treats Wayback captures and the CISA copy as primary#
The Claude report calls itself a “research report, state as of 3 December 2026”. The live nsa.gov and media.defense.gov URLs return HTTP 403 to scripted clients, so some of its research notes worked from secondary quotes (Valsorda, Hacker News, VentureBeat) and others from Wayback captures taken on 2 and 3 Dec 2026. The report treats those captures and the CISA copy of the joint statement as primary. Its Sources list says every URL in it is also cited inline and comes from the research notes (advisory).
Evidencehow the Claude report labels packages and counts downloads
- “Affected by default” means the package, as shipped, uses or prefers an algorithm on the advisory’s non-CNSA inventory list: P-256, X25519, Ed25519, secp256k1 or pairings. That label follows Valsorda’s reading and is not an NSA statement.
- “PQ / stopgap today” lists what is available without unreleased code.
- Downloads are pypistats.org trailing-30-day counts, fetched on 3 Dec 2026 from
https://pypistats.org/api/packages/<name>/recent. They are dominated by CI and container installs and exclude conda, distro packages and snaps, so certbot, Ansible and GnuPG are undercounted. Where a cell says “n/c”, the figure was not collected. - Download volume is not exposure: boto3’s 2.4 billion monthly downloads mostly involve HMAC-signed requests, while paramiko’s 112 million carry Ed25519 and P-256 authentication by default.
The guide’s package index keeps these download figures as reported.
Test logwhat the Claude report tested live on 3 Dec 2026
| Test | Environment | Result as reported |
|---|---|---|
Client handshake with plain ssl.create_default_context() against Cloudflare’s PQ test endpoint |
PBS 3.14.6 (OpenSSL 3.5.7), PBS 3.15.0 (OpenSSL 3.5.9), Homebrew 3.13.5 (OpenSSL 3.6.3) | kex=X25519MLKEM768 |
| Same | Python 3.10.16 on OpenSSL 3.0.16 | kex=X25519 |
| Same | macOS /usr/bin/python3 3.9.6 (LibreSSL 2.8.3) |
TLS 1.2 with X25519 |
OPENSSL_CONF process-wide override |
PBS 3.14.6, statically linked OpenSSL 3.5.7, Groups = secp384r1; Homebrew 3.13.5, Groups = X25519MLKEM768 |
kex=P-384; X25519MLKEM768 |
| TLS code snippets | Various | “tested on 3 December unless marked otherwise” |
| cryptography 51.0.0 PQ APIs | Official macOS arm64 wheel in a clean virtualenv | Reports OpenSSL 4.1.1 1 Dec 2026; ML-KEM-768, ML-DSA-65 and HPKE MLKEM768_X25519 round-trip |
| pycurl | macOS arm64 wheel bundling libcurl 8.23.0 with OpenSSL 3.6.5 | PQ even on Python 3.10/OpenSSL 3.0 |
| tornado and twisted | OpenSSL ≥3.5 interpreter; OpenSSL 3.0 interpreter | tornado PQ on ≥3.5; twisted PQ even on 3.0, via the cryptography wheel |
| ASGI servers and proxies | Self-signed P-256 certificate, Python 3.15.0 probe client | Per-server results on the TLS page |
| ML-DSA-65 server certificate | Made with Homebrew OpenSSL 4.1.0, served by uvicorn 0.55.0 on Python 3.15.0 (PBS, OpenSSL 3.5.9) | Per-client results on the TLS page |
| Package-index and Sigstore endpoints | macOS, OpenSSL 4.1.0 s_client offering X25519MLKEM768:X25519:secp256r1:secp384r1 |
Per-host results on the supply-chain page |
| Identity-provider JWKS | Live fetches | Major IdPs sign with RSA-2048 RS256; Microsoft’s keys carry no alg (FastAPI) |
Not tested live: Windows behavior of python.org builds (inferred from the bundled OpenSSL 3.5.9), grpcio (read from source), daphne (inferred), pycurl’s SSL_EC_CURVES option, the LibreSSL ssl.OPENSSL_VERSION text check and the FIPS-friendliness of MLKEM1024_P384. Distro python3-cryptography versions were not retrieved because Repology refused. The full list is on the unknowns page.
The AGY report says every fact was verified live on 3 Dec 2026#
The AGY report gives its research date as December 3, 2026 and lists four triggers: NSA Cybersecurity Advisory PP-26-4956 (“Immediate Actions to Push Toward Post-Quantum”, Dec 2, 2026), the ONCD/NSA/CISA joint statement, the concurrent industry joint statement (Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, Oracle), and Filippo Valsorda’s “What to Make of the NSA Advisory” (words.filippo.io/nsa-advisory/, Dec 2, 2026). Its stated method is broad, quoted below.
Quotesthe AGY report's verification methodology
“Every package version, release date, bundled OpenSSL/Rust/C backend, GitHub issue/PR status, RFC specification, Sigstore/OIDC JWKS key, and TLS 1.3 handshake result in this report was empirically verified on December 3, 2026 against live PyPI metadata, upstream repositories, official RFCs, and live TLS endpoints.”
Checks it describes in the body include:
- Live OpenSSL 4.1.0 handshakes to
pypi.org,files.pythonhosted.organd{tuf-repo-cdn,fulcio,rekor}.sigstore.dev, allTLSv1.3+X25519MLKEM768with RSA-2048 leaf certificates (supply chain). - Live TLS tests to
sts.us-east-1.amazonaws.comands3.us-east-1.amazonaws.com, bothX25519MLKEM768(infrastructure). - Sigstore production key algorithms read from the metadata bundled in sigstore-python 4.6.0 (sigstore).
- The
fastapi 0.165.0andstarlette 1.10.0wheels, inspected for cryptographic code (FastAPI). - pyca’s
.github/workflows/wheel-builder.ymlandCHANGELOG.rst, read to confirm official wheels still link OpenSSL statically (cryptography). - The Let’s Encrypt ACME directory’s
profiles(classic,shortlived,tlsserver).
Caveat. The methodology statement is AGY’s own; this guide does not re-verify it. Where an AGY claim appears in no other report and is surprising, such as CVE-2026-85394 for python-jose, it carries a
AGYtag or an “Unverified” callout (unknowns).
AGY grades most items on a risk scale. The guide replaces each grade with the facts behind it and the horizon it belongs to on the action plan.
The ASTRA report archived the advisory PDF and hashed it#
The ASTRA report gives its research date as 3 December 2026 UTC and the alert’s publication as 2 December 2026. Its audience is maintainers of Python services, platform teams, identity owners and release engineers. It says its package versions “are the released versions inspected, not minimum safe versions”, and that it is “an assessment of ecosystem capabilities, not evidence about any particular deployment”.
Four parallel research tracks covered PyCA, CPython/TLS, FastAPI/identity and distribution/SSH, checked against linked primary material, tagged code, PyPI release metadata and isolated runtime checks. The DoD PDF and NSA press URLs returned HTTP 403 to ASTRA’s client too, so it read the NSA announcement through a public text rendering. It read the full seven-page advisory from the archived PDF of the official URL, captured Dec 3 at 05:09 UTC, and cross-checked it with the announcement.
The copy it inspected has SHA-256 5a77407358a0a585ac3821895e3aeba12503cc3f55a0ee152f4c0d1ebbce786a. That digest identifies the inspected copy; it is not an NSA digital signature. ASTRA read the joint government statement directly on CISA.gov and in the White House PDF. It examined no customer configurations, production handshakes or private credentials.
Test logASTRA's isolated runtime checks
- Local socket pair. Fresh, non-resumed handshakes with a temporary trusted CA, an RSA-3072 server certificate, hostname verification enabled and a CPython 3.15.0/OpenSSL 3.5.9 server. For all three successful policies the cipher was
TLS_AES_256_GCM_SHA384and the server handshake signaturersa_pss_rsae_sha256. No production endpoint was tested; per-policy results are on the TLS page. - Three OpenSSL builds in one process. In an isolated CPython 3.13.5 process,
sslreported OpenSSL 3.6.3 whilecryptography 51.0.0andpyOpenSSL 26.5.1both reported 4.1.1 (toolkit). - JWCrypto round trip. With
cryptography 51.0.0, a synthetic compact JWS with a publicAKPkey signed and verified for ML-DSA-44, -65 and -87; PyJWT’s default registry in the same environment had none. It was a same-library round trip, not an interoperability or OIDC certification test (FastAPI).
How the guide merges the reports#
Every fact, URL, version, issue or PR number, RFC, PEP, CVE and FIPS identifier, inline code span and code block from the three reports appears somewhere on the site, and a script checks this. The guide reorganizes that material by what a reader has to decide, not by report. Facts the reports share are stated once without attribution.
- A claim only one report makes, when it is surprising or load-bearing, carries a source tag such as AGY.
- A claim the reports contradict gets a “Sources disagree” callout or a disagreement table that states each report’s version. The unknowns page collects all of them.
- Facts this guide checked itself, beyond the three reports, sit in “Editorial note” callouts with their primary sources.
- Quotes from the advisory, statements, maintainers and reports stay verbatim.
- Risk grades from the reports are replaced by the facts behind them.
- Topic pages own their subject; the action plan, toolkit, not-affected list, unknowns, trackers, glossary and this page cut across them.
How to read a page#
Each page title states the page’s main claim, and the lede and “In short” bullets give the answer in under a minute. Sections run from what most readers must act on to what few need. Depth sits in collapsed blocks whose summary starts with a kind word, so you can tell what is inside before opening it.
| Block kind | What it holds |
|---|---|
Evidence: |
The data or reasoning behind a claim |
Recipe: |
Commands or code to run |
Table: |
A wide reference table |
Quotes: |
Verbatim text from a source |
Test log: |
What was tested, where, and what happened |
Background: |
Context you may already know |
Edge cases: |
Situations where the main advice changes |
Versions: |
Release-by-release detail |
Sources disagree: |
Each report’s conflicting claim |
Status pills summarize a package’s or feature’s post-quantum state.
| Pill | Meaning |
|---|---|
| PQ on by default | Post-quantum available and on by default |
| needs upgrade | Post-quantum available but needs an upgrade, configuration or a capable backend |
| stopgap only | Only a classical stopgap, or partial |
| no path today | Exposed by default and no path today |
| not affected | Not affected or not applicable |
| unverified | Unknown or unverified |
Callouts mark text that is not a plain statement of reported fact.
| Callout lead | Meaning |
|---|---|
| Interpretation. | An expert reading, not official text |
| Unverified. | Secondhand, untested or from a single source |
| Sources disagree. | The reports conflict; each claim is stated with the report that made it |
| Caveat. | A limit on the scope of the surrounding claim |
| Editorial note. | Checked for this guide against the linked primary source; not from the three reports |
Source tags name the report behind a claim: Claude, AGY, ASTRA, or several, such as AGY, ASTRA. Untagged facts are either shared by the reports or routine. Dates follow the reports, so “now” means 3 Dec 2026; the trackers page lists what to recheck, and the sources index lists every cited URL.
Further references#
Almost every URL in the Claude report’s Sources list and the AGY report’s references is cited on a topic page. The ones below are cited only for version or default-setting facts, mostly in package tables; they are kept here so none is lost.
Backgroundpackage pages and release files
Backgroundlibrary source files and changelogs
- pyOpenSSL CHANGELOG
- aiohttp
connector.pyand aiohttp SSL control for TCP sockets - Requests 2.34.2
adapters.pyand urllib3 2.8.0ssl_.py - HTTPX 0.29.0
_config.py - aioquic 1.9.2
tls.py - grpc
ssl_transport_security.ccand grpcio 1.86.0setup.py - Psycopg 3 installation
- botocore
httpsession.py - twisted
_sslverify.py - paramiko
transport.pyand paramiko changelog - asyncssh changelog and asyncssh
api.rst - securesystemslib
_crypto_signer.py - python-fido2 2.2.1
cose.py
Sources cited on this page 31
- Cloudflare’s PQ test endpoint pq.cloudflareresearch.com
- archived PDF of the official URL, captured Dec 3 at 05:09 UTC web.archive.org
- White House PDF whitehouse.gov
- PyPI fastapi pypi.org
- PyPI python-jose pypi.org
- PyPI python-jose 3.5.0 files pypi.org
- PyPI PyJWT 2.15.1 files pypi.org
- PyPI Authlib 1.9.11 files pypi.org
- PyPI webauthn 3.0.1 files pypi.org
- PyPI fido2 2.2.1 files pypi.org
- PyPI pycurl pypi.org
- PyPI JSON for pip 26.3 pypi.org
- securesystemslib v1.5.1 release github.com
- pyOpenSSL CHANGELOG github.com
- aiohttp connector.py github.com
- aiohttp SSL control for TCP sockets docs.aiohttp.org
- Requests 2.34.2 adapters.py github.com
- urllib3 2.8.0 ssl_.py github.com
- HTTPX 0.29.0 _config.py github.com
- aioquic 1.9.2 tls.py github.com
- grpc ssl_transport_security.cc github.com
- grpcio 1.86.0 setup.py github.com
- Psycopg 3 installation psycopg.org
- botocore httpsession.py github.com
- twisted _sslverify.py github.com
- paramiko transport.py github.com
- paramiko changelog paramiko.org
- asyncssh changelog asyncssh.readthedocs.io
- asyncssh api.rst github.com
- securesystemslib _crypto_signer.py github.com
- python-fido2 2.2.1 cose.py github.com