Python's package transport is post-quantum; its signatures still rest on P-256
PyPI, python.org and Sigstore already negotiate hybrid ML-KEM key exchange with capable clients. The signatures are the gap: PEP 740 attestations, CPython’s release signature and the Sigstore trust root all rest on P-256, and GitHub HTTPS is X25519-only.
In short
- PyPI, files.pythonhosted.org, python.org and Sigstore negotiate
X25519MLKEM768, but only with a client that offers it: uv always does, pip only on OpenSSL ≥3.5 (details). - GitHub HTTPS (git over HTTPS, API tokens, Actions OIDC token fetches) is X25519-only. Use SSH for git and rotate tokens that crossed it (details).
- SHA-256 hash pins survive any curve break. Verify attestations at promotion time, then deploy the approved bytes by hash (details).
- Trusted Publishing rests on RS256 OIDC tokens and HMAC Macaroons, so a P-256 or Ed25519 forger cannot mint PyPI upload credentials (details).
- PEP 740 attestations and CPython release signatures rest on P-256, and forging one needs no CA compromise. Sigstore’s ML-DSA root targets mid-2027 (details).
Upload authorization, transport, digests and artifact identity are four separate controls#
Downloading a wheel securely and verifying who published it are different problems, and moving one to post-quantum cryptography does not move the others. PyPI Trusted Publishing uses a CI OIDC identity to authorize a short-lived upload token. TLS protects the bytes on their way from an index or mirror, a SHA-256 digest pins them, and PEP 740 attaches identity-bound provenance to individual distribution files.
| Control | Rests on today | If 256-bit curves fall |
|---|---|---|
| Upload authorization (Trusted Publishing) | RS256 OIDC tokens, HMAC Macaroons | Holds; RSA-2048 is legacy |
| Transport to PyPI, python.org, Sigstore | X25519MLKEM768 with a capable client |
Needs a capable client |
File digest (lockfile, --require-hashes) |
SHA-256 | Hashes are unaffected |
| Artifact identity (PEP 740, CPython releases) | Sigstore P-256 leaf, log and TUF root | Forgeable; PQ root mid-2027 |
| GitHub HTTPS (clones, API, OIDC fetches) | X25519 only | Harvestable today |
PEP 740 attestations, CPython’s sole release signature since 3.14, the Sigstore TUF root and GitHub’s TLS certificate chain all converge on P-256 or Ed25519. What survives a hypothetical curve break are the “boring” layers: SHA-256 hash pins, HMAC and Macaroon tokens, and RSA-signed OIDC tokens and Authenticode signatures. The Claude report concludes that hash-pinned lockfiles should be treated as security features rather than legacy, and that Sigstore’s mid-2027 PQ root is now work the whole ecosystem waits on.
Pin hashes and rotate tokens now; plan signature changes for 2027#
Key exchange carries a retroactive, harvest-now-decrypt-later risk, so it comes first. A signature break is an online-forgery risk, fixed by rotation, and Python’s supply-chain signatures have no released PQ replacement yet. The table follows that split; the plan across all layers is on the playbook.
| When | Action | Details |
|---|---|---|
| Do now | Install with SHA-256 pins: uv.lock, pylock.toml or pip --require-hashes |
Hash pins |
| Do now | Use uv, or pip on an interpreter linked to OpenSSL ≥3.5, in CI and on developer machines | Clients |
| Do now | Rotate GitHub PATs and tokens; use SSH with OpenSSH ≥9.0 for git | GitHub |
| Do now | Replace long-lived pypi- tokens used from OpenSSL <3.5 clients with Trusted Publishing; rotate private-index credentials used from old clients |
Rotation |
| Prepare | Do not treat PEP 740 or CPython Sigstore verification as sufficient on its own until a PQ Sigstore root exists | Attestations |
| Prepare | Use verification policies that require a TSA timestamp where tooling allows | Forgery |
| Prepare | Prefer Authenticode and Apple signatures for CPython installers, plus hash pinning | CPython signing |
| Prepare | Rotate python-tuf repositories from Ed25519 to ML-DSA with securesystemslib | Sigstore PQ plan |
| Prepare | Plan how to update verifiers and trust roots themselves, including offline builders and recovery images | Hash pins |
| Monitor | Sigstore PQC (mid-2027), cosign #5269, sigstore-python ML-DSA, PEP 740 PQ bundles | Sigstore PQ plan |
| Monitor | GitHub HTTPS hybrid key exchange and ML-DSA SSH keys | GitHub |
| Later | Move attestations to Sigstore’s ML-DSA stack once it is in production (about mid-2027) | Sigstore PQ plan |
PyPI, python.org and Sigstore already negotiate hybrid key exchange#
Live probes on 3 Dec 2026 found pypi.org, files.pythonhosted.org, upload.pypi.org, python.org, the Sigstore endpoints, releases.astral.sh, Anaconda’s channels, prefix.dev, gitlab.com and GitHub’s release-asset hosts all selecting X25519MLKEM768. The AGY report’s own OpenSSL 4.1.0 handshakes found the same TLSv1.3 + X25519MLKEM768, with RSA-2048 leaf certificates, on pypi.org, files.pythonhosted.org (Fastly CDN) and {tuf-repo-cdn,fulcio,rekor}.sigstore.dev.
Fastly, PyPI’s CDN, announced ML-KEM “Starting April 2025”, noting that “Customers using TLS v1.3 will automatically benefit… with no required action” (Fastly). The date the hybrid reached pypi.org is unknown. That date bounds the retroactive exposure of past PyPI traffic (rotation).
The server side is only half of it: the hybrid is used only when the client offers it (clients). The certificates are classical, mostly RSA-2048, and do not stop an active impersonator (RSA certificates).
Tablelive TLS probes of supply-chain hosts, 3 Dec 2026
Run from macOS with OpenSSL 4.1.0 s_client, offering X25519MLKEM768:X25519:secp256r1:secp384r1 Claude.
| Host | Key exchange negotiated | Certificate |
|---|---|---|
| pypi.org | X25519MLKEM768 |
RSA-2048 leaf (GlobalSign Atlas R3 DV TLS CA 2025 Q4 → Root R3). An ECDSA-only handshake failed, so there is no ECDSA certificate |
| files.pythonhosted.org | X25519MLKEM768 |
RSA-2048 leaf ← GlobalSign Atlas R46 (RSA-4096) ← Root R46 (RSA-4096, cross-signed by R3) |
| upload.pypi.org | X25519MLKEM768 |
RSA-2048 (Let’s Encrypt YR2) |
| python.org, www, docs | X25519MLKEM768 |
RSA-2048 (GlobalSign) |
| fulcio, rekor, tuf-repo-cdn, timestamp, oauth2 .sigstore.dev | X25519MLKEM768 |
RSA-2048 (Google Trust Services WR3) |
| releases.astral.sh, astral.sh | X25519MLKEM768 |
ECDSA P-256 preferred (GTS WE1), RSA-2048 fallback |
| conda.anaconda.org, repo.anaconda.com | X25519MLKEM768 |
ECDSA P-256 leaf preferred (LE YE1, P-384 → ISRG Root YE → X2), RSA-2048 fallback |
| prefix.dev, repo.prefix.dev | X25519MLKEM768 |
RSA-2048 (LE YR1) |
| gitlab.com | X25519MLKEM768 |
Not recorded |
| github.com, api.github.com, codeload.github.com | X25519 only, even with the hybrid offered first | ECDSA P-256 leaf ← Sectigo DV E36 (P-256) ← Sectigo Root E46 (P-384) or USERTrust ECC. RSA-4096 for RSA-only clients |
| token.actions.githubusercontent.com (mints GitHub OIDC tokens) | X25519 only | RSA-4096 (LE YR1) |
| objects. and release-assets.githubusercontent.com | X25519MLKEM768 |
RSA-2048 (LE YR1) |
The installer decides whether the hybrid is used#
uv offers X25519MLKEM768 first on every install, whatever the system OpenSSL. Version 0.13.12 compiles reqwest 0.13.1 and rustls 0.23.36 with aws_lc_rs and prefer-post-quantum AGY, and the Claude report’s handshake test of 0.13.4 confirmed the hybrid offered first. pip 26.3, poetry 2.5.2 and twine 7.0.0 (other installers) use CPython’s ssl module, so they offer the hybrid only when the interpreter links OpenSSL ≥3.5; which builds do is on the TLS page.
Old conda environments (a base environment on OpenSSL 3.1.2), pixi 0.45.0 and macOS system curl and git (LibreSSL 3.3.6) offer no ML-KEM at all. Current pixi was not tested. Fresh conda-forge environments resolve OpenSSL 3.5 or later.
| Client | Offers the hybrid | Trust store and notes |
|---|---|---|
| uv 0.13.4 (tested), 0.13.12 (latest) | Offered first, any OS | Bundled Mozilla roots (uv certificates docs) |
| pip 26.3 | Only on OpenSSL ≥3.5 | truststore plus certifi (pip HTTPS docs); hybrid confirmed on OpenSSL 3.6.3 |
| poetry 2.5.2, twine 7.0.0 | Only on OpenSSL ≥3.5 | CPython ssl AGY |
| sigstore-python 4.6.0, pypi-attestations 0.0.32 | Only on OpenSSL ≥3.5 | Interpreter OpenSSL; 4.6.0 moved to urllib3 with the OS trust store |
| conda, old base env (OpenSSL 3.1.2) | No ML-KEM | Fresh conda-forge environments pin OpenSSL 3.5 |
| pixi 0.45.0 (old build) | No ML-KEM | Current pixi untested |
| macOS system curl and git (LibreSSL 3.3.6) | No ML-KEM |
Edge casesmiddleboxes, managed Pythons and uv's own release chain
- Offering
X25519MLKEM768plusX25519makes the ClientHello about 1.3–1.5 KB, split across two TCP packets. Broken corporate DPI proxies or firewalls that drop fragmented ClientHellos can cause silent hangs after enabling uv’s PQ TLS (astral-sh/uv#12174) AGY. - uv-managed Pythons (python-build-standalone) link OpenSSL 3.5.10 since PBS
20261201, so pip run inside them offers the hybrid. Already-installed older builds keep their old OpenSSL untiluv python upgrade. Details are in the uv record and on the TLS page. - releases.astral.sh prefers an ECDSA P-256 certificate, and uv’s release binaries carry GitHub Artifact Attestations (Sigstore, P-256). The uv installer’s identity chain is therefore P-256 even though its transport is hybrid.
An RSA certificate on pypi.org does not stop a P-256 forger#
pypi.org serves only an RSA-2048 certificate, and files.pythonhosted.org chains to RSA-4096 GlobalSign roots. That does not keep out a P-256 forger, because a client accepts any certificate for pypi.org that chains to a root it trusts. Anyone who can forge signatures under a trusted P-256 intermediate such as Sectigo DV E36 could mint a certificate for any site; this is Valsorda’s “no vulnerable anchors” point.
Sites with P-256 leaves (github.com, releases.astral.sh, conda.anaconda.org) could be impersonated directly. Hybrid key exchange protects recorded traffic but does not fix an actively impersonated endpoint, so hash pins made from an honest view of the index remain the check on substituted files. RSA-2048 is itself “legacy” by the advisory’s sizing for roots. Removing P-256 anchors from Python’s trust stores would take a certifi or OS-store change (TLS page). Like the rest of the curve-breaker analysis, this is conditional on Valsorda’s reading; no source confirms that any forgery is possible.
GitHub HTTPS is X25519-only, the largest harvest gap in the Python supply chain#
github.com, api.github.com and codeload.github.com select plain X25519 even when a client offers the hybrid first, and so does token.actions.githubusercontent.com, which mints Actions OIDC tokens Claude. Every HTTPS git clone, fetch and push (including git+https:// private-dependency installs), every API call carrying a PAT, GITHUB_TOKEN or App token, and every Actions OIDC token fetch therefore uses classical key exchange today. GitHub’s release-asset hosts do negotiate the hybrid.
Git over SSH is hybrid-PQ for OpenSSH ≥9.0 clients: GitHub accepts sntrup761x25519-sha512 (its default) and mlkem768x25519-sha256 (GitHub blog). Per that 2025 post, PQ SSH is not enabled in the US data-residency region (“Only FIPS-approved cryptography may be used within the US region”). GitHub accepts PQ key exchange but not PQ keys: it documents only RSA, ECDSA and Ed25519 user keys, and ML-DSA is not mentioned (GitHub docs).
GitHub’s identity layer is classical. The HTTPS leaf is ECDSA P-256 under a P-256 intermediate, Ed25519 is the default SSH host key, and SSH-signed “Verified” commits are only as strong as the signer’s key. GitHub’s web-flow commit-signing key is RSA-4096, since January 2024 (web-flow.gpg).
Under an Ed25519 break, a forger could authenticate as a maintainer and push a tag that triggers a Trusted Publishing release (curve-breaker). GitHub’s changelog through 2 Dec 2026 says nothing about the advisory, and its plans for PQ HTTPS are unknown (GitHub changelog). Python’s SSH libraries are covered on the infrastructure page.
Rotate credentials that crossed X25519-only links#
If X25519 or P-256 ECDH falls, the attack is passive and retroactive: sessions recorded under classical key exchange can be decrypted later. Captured traffic cannot be protected after the fact, so the remedy is to rotate the secrets that crossed such links. Public package downloads leak only what was installed.
| Credential | When it was exposed | Action |
|---|---|---|
GitHub PATs, OAuth and App tokens, GITHUB_TOKEN; private repository contents |
Every GitHub HTTPS session | Rotate; prefer SSH with OpenSSH ≥9.0 for git |
| Actions OIDC tokens | Every fetch from token.actions.githubusercontent.com | Usable live within their lifetime to mint 15-minute PyPI tokens |
Long-lived pypi- API tokens |
Sent to upload.pypi.org from clients without ML-KEM (OpenSSL <3.5 CI images, distro Pythons), or before Fastly’s rollout | Rotate; move to Trusted Publishing |
| Private-index credentials and package contents (Artifactory, CodeArtifact, GitLab, anaconda.org private channels) | Any X25519-only session; tokens are sometimes embedded in URLs | Rotate those used from old clients |
PyPI’s Macaroon tokens are HMAC, so the cryptography is not in scope; the exposure is a long-lived token that was sent over an X25519-only link. Trusted Publishing tokens last 15 minutes.
SHA-256 hash pins are the install-time control that survives any curve break#
Hashes are not elliptic curves. Lockfiles, --require-hashes, uv.lock, pylock.toml, simple-API file hashes and conda repodata checksums hold under any curve break, as long as the lock was produced from an honest view of the index. A digest learned from the same untrusted source as the file is not an independent approval. Do not re-pin on this alert alone; check how the keys, transports and update channels around the digests are protected instead.
The ASTRA report’s procedure: protect lockfiles and CI workflows, pin all transitive artifacts with independently approved SHA-256 hashes, and install in pip hash-checking mode (--require-hashes, plus --only-binary :all: where feasible). For high-value wheels, verify PyPI attestations against the expected publisher and repository during promotion, retain that evidence, then deploy the same approved bytes by hash. Record exceptions for missing attestations.
Keep Trusted Publishing and current Sigstore verification: do not wait without controls, and do not claim that a valid attestation proves the code is safe. Plan a route to update the verifiers and trust roots themselves, including offline builders and recovery images. The AGY report recommends uv >= 0.13.12 in CI with strict SHA-256 lockfile verification (uv lock / pip install --require-hashes) as the primary artifact-integrity layer until Sigstore’s PQ stack ships.
Trusted Publishing survives an elliptic-curve break#
Every OIDC issuer PyPI accepts signs its tokens with RS256, and Warehouse hard-codes algorithms=["RS256"] in pypi/warehouse/warehouse/oidc/services.py:L240 AGY. PyPI verifies the token against the issuer’s JWKS and issues “a short-lived (15 minute) PyPI API token”; those tokens are “based on Macaroons”, that is HMAC (Trusted Publishing internals). A P-256 or Ed25519 forger therefore cannot mint upload credentials.
| Issuer | RS256 signing keys |
|---|---|
| GitHub Actions | Four RSA keys, about 2048-bit (OIDC discovery) |
| GitLab | About 4096-bit and 2048-bit |
| Google (Google Cloud) | About 2048-bit |
| ActiveState | RSA-2048 AGY; the Claude report did not record the size |
| Sigstore’s own Dex | About 2048-bit |
This is a stopgap, not an end state: RSA-2048 is “legacy” by the advisory’s sizing, below the RSA-3072 interim size. Cloudflare CEO Matthew Prince says to “Assume anything that uses RSA or Elliptic Curve cryptography”, which would put these tokens in scope; nothing confirms RSA is affected (open questions). The more practical bypass is the release trigger, not the token: an Ed25519 forger who can push a tag as a maintainer starts the publishing workflow (curve-breaker).
PyPI has no TUF-signed index metadata to fall back on. Per peps.json, PEP 807 (“Index support for Trusted Publishing”) is a Draft, PEP 458 (TUF for PyPI) is “Accepted” but not Final, and PEP 480 (end-to-end signing) is a Draft. The AGY report adds that PEP 458 is not natively deployed in Warehouse, which pivoted to RSTUF.
PEP 740 attestations rest almost entirely on P-256#
A PEP 740 attestation (the PEP is Final) is a Sigstore bundle: an ephemeral P-256 signing key certified by Fulcio for ten minutes, plus an entry in the P-256-signed Rekor v1 log. Only the Fulcio CA and the timestamp authority are P-384, and they are distributed through a TUF root whose six keys are all P-256 and bind P-256 leaf keys. sigstore-python hard-codes ec.SECP256R1() for the ephemeral key (sign.py).
cryptography 51.0.0’s provenance (integrity API) shows the pattern. Publisher pyca/cryptography and workflow pypi-publish.yml; an ECDSA P-256 leaf signed ecdsa-with-SHA384 by sigstore-intermediate, valid for ten minutes (2 Dec 2026, 00:08:37–00:18:37 GMT); a Rekor v1 dsse entry (logIndex 4204685437) under the P-256 log key wNI9atQGlz+V.
The provenance for pip-26.3-py3-none-any.whl names pypa/pip, release.yml, environment pypi and a SHA-256 artifact digest. Its short-lived Fulcio leaf key is P-256 and the certificate’s issuer signature is ECDSA-with-SHA384. The ASTRA report inspected these public records; that is not an independent verification of the wheel or evidence of forgery.
Coverage is partial, and pip does not check it: pip 26.3 does not verify PEP 740 attestations on an ordinary pip install. About a third of cryptography’s files carry provenance, and FastAPI stopped producing attestations after 0.128.0 Claude. Consumers have to verify attestations themselves, ideally at promotion time, through pypi-attestations or similar tooling.
TableSigstore components and their key types
From Sigstore’s trusted_root.json and 16.root.json (Claude report), and from the production metadata bundled in sigstore 4.6.0 (AGY report).
| Sigstore component | Key type | Notes |
|---|---|---|
Fulcio root and sigstore-intermediate (valid to 2031-10-05) |
P-384 (secp384r1) |
Signed with ecdsa-with-SHA384; signs the P-256 leaves |
TSA sigstore-tsa (2025-04-08 to 2035-04-06) |
P-384 | Issues RFC 3161 timestamps |
| Fulcio leaf (ephemeral signing key) | P-256 | Hard-coded ec.SECP256R1() in sigstore-python (sigstore/sign.py:L106,115) and in Astral’s experimental uv#23420 PR AGY |
Rekor v1 rekor.sigstore.dev (default log) |
P-256 | PKIX_ECDSA_P256_SHA_256 |
CT log ctfe.sigstore.dev/2022 |
P-256 | PKIX_ECDSA_P256_SHA_256 |
Rekor v2 log2025-1 (log2025-1.rekor.sigstore.dev, tiles) |
Ed25519 | PKIX_ED25519; rollout paused |
| TUF root v16 (expires 2027-04-22) | All 6 keys ecdsa-sha2-nistp256 |
5 human keyholders plus 1 GCP KMS key; root and targets 3-of-5; snapshot and timestamp 1-of-1 online |
The AGY report’s nuance: the CA and TSA are P-384, not P-256, but they are distributed through the P-256 TUF root and bind P-256 leaf keys.
Tablehow many files on PyPI carry provenance
From the simple API, 3 Dec 2026 Claude.
| Project | Files | Files with provenance |
|---|---|---|
| cryptography | 3,804 | 1,271 |
| fastapi | 742 | 106 |
| sigstore | 136 | 42 |
| urllib3 | 192 | 18 |
EvidenceFastAPI stopped publishing attestations after 0.128.0
0.129.0 returns 404 from the integrity API, and 0.164.0 and 0.165.0 have no attestations. FastAPI’s publish workflow now runs uv build and uv publish with id-token: write, that is Trusted Publishing without the pypa publish action. FastAPI’s integrity therefore rests on PyPI TLS, Trusted Publishing and hashes.
Forging an attestation would take a P-256 break but no CA compromise#
Interpretation. This is the Claude report’s analysis, conditional on Valsorda’s reading that P-256 may be weak. No source confirms that any forgery is possible.
The forger would not need to touch the P-384 Fulcio CA. They take any historical Fulcio certificate for the target identity from Rekor, for example pyca/cryptography’s pypi-publish.yml, and forge a P-256 signature under that certificate’s key over a malicious DSSE statement. Then they forge a P-256 Rekor v1 SET that places the entry inside the certificate’s ten-minute window. The P-384 Fulcio chain validates untouched.
The trust root is the bigger target. All six Sigstore TUF root keys are P-256, so a forger could sign a new root.json listing their own Fulcio, Rekor and TSA keys. Clients accept it on their next refresh if the attacker can serve it, for example through a TLS man-in-the-middle, which defeats even the P-384 components. Sigstore’s CT SCTs are forgeable too, so embedded-SCT checks give no assurance.
Verification policies that demand an RFC 3161 timestamp from the P-384 TSA, rather than a Rekor SET, resist backdated forgeries, because the TSA stamps the current time. Transparency logs remain only a detection mechanism: a forged SET never has to appear in the real log, and Rekor v1 checkpoints are themselves P-256-signed. Use TSA-required verification where tooling allows.
GitHub’s private Sigstore instance, used for private-repository attestations, has a P-384 Fulcio chain (fulcio.githubapp.com), a P-384 TSA and no transparency log. Its leaf keys were not inspected (gh attestation trusted-root).
Sigstore’s ML-DSA stack targets mid-2027, and the plan predates the advisory#
On 2 Oct 2026, two months before the advisory, Sigstore said it is “adjusting our timeline to support PQC algorithms immediately” (Sigstore blog). The result is a separate, opt-in production instance “targeted for mid-2027”, which the ASTRA report stresses is not existing default protection for any artifact. Classical turndown is “tentatively scheduled for 2029 or 2030”. The plan:
- A separate ML-DSA-only stack with “strict algorithm isolation”.
- Rekor verifies OIDC tokens directly, with no ephemeral key or Fulcio certificate, and identity data is hashed.
- c2sp.org/tlog-proof bundles.
- A new ML-DSA-signed TUF root, opt-in first.
- The Rekor v2 rollout is paused.
The AGY report describes the same direction from the design document sigstore/architecture-docs/pqc-design.md (PR #68, 12 Oct 2026). “Sigstore v2” replaces Fulcio X.509, CT and the TSA with Identity Transparency (c2sp.org/identity-transparency/v1), logged directly to an ML-DSA-signed Rekor v2 log under an ML-DSA-only TUF root (TAP 21, with Tillitis TKey FPGA hardware roots). It lists fulcio#2531 (ML-DSA certificates, merged 13 Nov) and rekor-tiles#1074 (3 Dec) as active work, and calls the mid-2027 target “potentially expedited”.
Cosign tracking issue #5269, opened 30 Nov 2026 at 21:19 UTC, adds experimental --algorithm mldsa-44, Bundle v2 (ML-DSA-44 only) and a “PQC staging TUF repository”, “keeping ECDSA P-256 as the default”. Companion PR #5270 waits on C2SP PR 244, and a 3 Dec comment proposes --use-pqc / --verify-only-pqc flags. The issue predates the public advisory, so the Claude report reads it as the October roadmap in motion rather than a reaction.
Sources disagree. The Claude report says sigstore-python “has no ML-DSA work”: 4.6.0 (22 Nov 2026) added Ed25519 certificate verification and moved to urllib3 with the OS trust store, and pypi-attestations 0.0.32 followed (sigstore-python v4.6.0, pypi-attestations v0.0.32). The AGY report cites active work in sigstore-python issue #1966 and PR #1982 (18 Nov 2026). Neither report says ML-DSA signing has shipped in a sigstore-python release.
TUF users outside Sigstore already have a path: securesystemslib signs with ML-DSA-44/65/87 (since 1.5.1 per the Claude report; 1.6.0 is current per the AGY report), so python-tuf repositories can rotate today (python-tuf, securesystemslib).
CPython releases are signed only with Sigstore on P-256; the installers also carry RSA signatures#
Since Python 3.14, Sigstore is the only signature on CPython release artifacts, because PEP 761 deprecated PGP (python.org Sigstore). That makes Sigstore’s evolution directly relevant to downstream verifiers of CPython releases. The 3.14.10 bundle, Python-3.14.10.tar.xz.sigstore, is on flagged primitives throughout: an ECDSA P-256 leaf (SAN hugo@python.org), a Rekor v1 hashedrekord entry under the P-256 log key, and one RFC 3161 timestamp from the P-384 TSA.
The platform signatures are RSA, which makes them the stronger out-of-band check for installer users:
- Windows Authenticode on
python.exe: PSF leaf RSA-3072 ← Microsoft ID Verified CS EOC CA 04 ← PCA 2021 ← Identity Verification Root CA 2020, all RSA-4096 (Azure Trusted/Artifact Signing) (embeddable zip). - macOS pkg: Developer ID Installer (PSF, BMM5U3QVKW) RSA-2048 ← Developer ID CA G2 ← Apple Root CA, all RSA-2048. Notarized (macOS pkg).
Prefer the Authenticode and Apple signatures for CPython installers, plus hash pinning, and do not treat CPython’s Sigstore verification as sufficient on its own until a PQ Sigstore root exists. The OpenSSL each python.org build links is on the TLS page.
TableCPython release signer identities by branch
From python.org’s Sigstore page.
| Branches | Signer | OIDC issuer |
|---|---|---|
| 3.7 | nad@python.org |
GitHub |
| 3.8–3.9 | lukasz@langa.pl |
GitHub |
| 3.10–3.11 | pablogsal@python.org |
|
| 3.12–3.13 | thomas@python.org |
|
| 3.14–3.15 | hugo@python.org |
GitHub |
| 3.16–3.17 | savannah@python.org |
GitHub |
conda packages are unsigned, and conda’s only signing layer is retired#
conda-content-trust, conda’s only metadata-signing layer, raw-signs with Ed25519. Anaconda declared it End of Support in September 2026: it “should not be relied on as a security control” (Anaconda notice). conda-forge packages are unsigned, so integrity rests on HTTPS plus repodata checksums. Transport to conda.anaconda.org and prefix.dev is hybrid, but only from environments whose OpenSSL is 3.5 or later (clients).
prefix.dev offers opt-in Sigstore attestations (public beta, CEP-27, via rattler-build --generate-attestation), which inherit Sigstore’s P-256 exposure (prefix.dev blog). Neither conda, Anaconda, conda-forge nor prefix.dev has said anything since 1 Dec 2026 (conda.org/blog). Package detail is in the conda and pixi records.
What a curve-breaker could and could not do to Python’s supply chain#
Interpretation. This analysis is the Claude report’s, conditional on Valsorda’s reading that 256-bit curves may be weak (how experts read the advisory). No source confirms that any forgery is possible.
The damage depends on which primitive falls. A P-256 forger attacks identity: attestations, the Sigstore root, CT and TLS certificates. An Ed25519 forger attacks GitHub accounts and SSH, and the highest-impact case for Python is authenticating as a maintainer and pushing a tag that triggers Trusted Publishing. An X25519 or P-256 ECDH break is passive and exposes recorded traffic (rotation).
| If this falls | What becomes possible |
|---|---|
| P-256 ECDSA signatures | Forged attestations with no CA compromise (forgery); Sigstore TUF root takeover; forged CT SCTs; direct TLS impersonation of P-256-leaf sites (github.com, releases.astral.sh, conda.anaconda.org), and of any site, RSA-only pypi.org included, through a trusted P-256 intermediate such as Sectigo DV E36; forged GitHub ECDSA SSH host and user keys |
| Ed25519 signatures | GitHub SSH host impersonation (Ed25519 is the default host key); authentication as any user whose Ed25519 key is listed at https://github.com/<user>.keys, enabling pushes and tags that trigger release workflows; forged “Verified” SSH-signed commits; forged Rekor v2 checkpoints; forged conda-content-trust metadata; forged metadata in any python-tuf repository with Ed25519 keys (these can rotate to ML-DSA, which securesystemslib already supports) |
| X25519 or P-256 ECDH (passive, retroactive) | All harvested GitHub HTTPS traffic: PATs, OAuth tokens, private repository contents and Actions OIDC tokens, the last usable live within their lifetime to mint 15-minute PyPI tokens; long-lived pypi- tokens sent from clients without ML-KEM or before Fastly’s rollout; private-index credentials and package contents on any X25519-only session |
What still holds:
- SHA-256 hashes: lockfiles,
--require-hashes, uv.lock, pylock.toml, simple-API file hashes and repodata checksums, assuming the lock was produced from an honest view of the index. - ML-KEM-hybrid sessions.
- RSA signatures: OIDC RS256, Authenticode RSA-3072/4096, Apple RSA-2048 and GitHub’s web-flow commit-signing key (RSA-4096).
- HMAC and Macaroon tokens.
The PSF had planned PQ TLS and a PQC PEP before the advisory; nobody has reacted since#
The PSF Security Roadmap for 2027, published by Seth Larson on 30 Nov 2026, predates the advisory by one day. It says “Python users need access to post-quantum secure algorithms in the standard library, and a migration path to adopt those algorithms”, and that “Post-quantum cryptographic algorithms (PQC) for TLS will be added to all services hosted by the PSF”. Live probes show this already works for pypi.org and python.org.
The roadmap schedules a PQC PEP for “the Python 3.16 feature window (May 2027)”, whose draft “is already being written by Emma Smith, Bénédikt Tran, and Seth Larson”. It also plans an adoption guide, an internal audit and a later deprecation schedule for quantum-vulnerable key exchange. The ASTRA report cautions that the roadmap is not evidence that every PyPI, CDN or mirror connection now uses hybrid TLS.
Nothing advisory-specific has appeared since. There is no PSF, PSRT or release-manager statement, and nothing on PyPI’s blog (latest 18 Nov), status.python.org (latest incident 2 Oct), Warehouse issues #21073–#21086, Sigstore’s blog (latest 16 Nov) or discuss.python.org. Seth Larson’s 1 Dec blog post is unrelated (sethmlarson.dev feed).
Activity since 1 Dec is routine: OpenSSL 3.5.10 bumps in CPython (gh-162936) and python-build-standalone (20261201), and uv 0.13.11 and 0.13.12. The ASTRA report found no advisory-specific FastAPI or PyCA patch, and no completed PSF-wide transition.
Four unknowns bound the exposure estimates#
- When Fastly’s ML-KEM reached pypi.org. Unknown; it sets how far back harvested PyPI sessions and upload tokens are exposed.
- GitHub’s plans for hybrid HTTPS. Unknown; GitHub HTTPS is the largest harvest-now-decrypt-later gap in the Python supply chain.
- The key type of GitHub Artifact Attestation leaves. The Claude report’s tooling table lists uv’s release attestations as P-256, but its open-questions table marks the GitHub Artifact Attestation leaf type as unverified. The private instance’s leaf keys were not inspected.
- Whether RSA is affected. The official text retains RSA-3072 and allows RSA-2048 for legacy roots; Prince’s broader warning is unverified. Trusted Publishing OIDC, PyPI and python.org certificates, and Authenticode all lean on RSA.
A further unknown sits with the TLS track: whether macOS Security.framework and Windows CNG validate ML-DSA chains, which decides what truststore and pip can do on those platforms. The full list is on open questions, and the issues to watch are on trackers.
Sources cited on this page 57
- PyPI Trusted Publishing docs.pypi.org
- PEP 740 peps.python.org
- Fastly fastly.com
- pypi.org pypi.org
- files.pythonhosted.org files.pythonhosted.org
- upload.pypi.org upload.pypi.org
- python.org python.org
- fulcio fulcio.sigstore.dev
- releases.astral.sh releases.astral.sh
- conda.anaconda.org conda.anaconda.org
- prefix.dev prefix.dev
- gitlab.com gitlab.com
- github.com github.com
- token.actions.githubusercontent.com token.actions.githubusercontent.com
- release-assets.githubusercontent.com release-assets.githubusercontent.com
- uv certificates docs docs.astral.sh
- pip HTTPS docs pip.pypa.io
- Valsorda’s words.filippo.io
- GitHub blog github.blog
- GitHub docs docs.github.com
- web-flow.gpg github.com
- GitHub changelog github.blog
- pip hash-checking mode pip.pypa.io
- PyPI attestations against the expected publisher and repository docs.pypi.org
- Trusted Publishing internals docs.pypi.org
- OIDC discovery token.actions.githubusercontent.com
- peps.json peps.python.org
- sign.py github.com
- integrity API pypi.org
- provenance for pip-26.3-py3-none-any.whl pypi.org
- trusted_root.json raw.githubusercontent.com
- 16.root.json tuf-repo-cdn.sigstore.dev
- simple API pypi.org
- integrity API pypi.org
- publish workflow github.com
- gh attestation trusted-root cli.github.com
- Sigstore blog blog.sigstore.dev
- #5269 github.com
- PR #5270 github.com
- sigstore-python v4.6.0 github.com
- pypi-attestations v0.0.32 github.com
- #1966 github.com
- PR #1982 github.com
- PEP 761 peps.python.org
- python.org Sigstore python.org
- bundle python.org
- embeddable zip python.org
- macOS pkg python.org
- Anaconda notice anaconda.com
- prefix.dev blog prefix.dev
- conda.org/blog conda.org
- PSF Security Roadmap for 2027 pyfound.blogspot.com
- PyPI’s blog blog.pypi.org
- Warehouse issues github.com
- Sigstore’s blog blog.sigstore.dev
- discuss.python.org discuss.python.org
- sethmlarson.dev feed sethmlarson.dev