Glossary of the algorithms, protocols, agencies and supply-chain terms used in this guide
Short definitions for the acronyms and names the guide uses, each pointing to the page where the term matters most. Facts here are as reported on 3 Dec 2026.
In short
- The post-quantum algorithms are ML-KEM for key exchange and ML-DSA or SLH-DSA for signatures (algorithms).
- X25519MLKEM768 is the hybrid TLS group most Python services already negotiate on OpenSSL 3.5+ (key exchange).
- “NSS” means two things: US National Security Systems, and Mozilla’s TLS library (policy).
- JOSE, COSE, VAPID, Macaroons and SigV4 are the token and request-signing formats (tokens).
- Sigstore is Fulcio, Rekor, a TUF root and a timestamp authority, and PEP 740 attestations rest on it (supply chain).
Post-quantum algorithms and primitives#
- ML-KEM
- The module-lattice key-encapsulation mechanism standardized in FIPS 203, with parameter sets ML-KEM-512, -768 and -1024. pyca/cryptography ships 768 and 1024 and deliberately omits 512; CNSA 2.0 specifies ML-KEM-1024 (cryptography).
- ML-DSA
- The module-lattice signature algorithm standardized in FIPS 204, with ML-DSA-44, -65 and -87. Its signatures are much larger than ES256 or Ed25519, which matters for JWTs and cookies; CNSA 2.0 specifies ML-DSA-87 (FastAPI, cryptography).
- SLH-DSA
- The stateless hash-based signature algorithm standardized in FIPS 205, with 12 parameter sets. Its security rests only on hash functions; pycryptodome 4.6+ implements it and pyca/cryptography does not yet (#14419) (cryptography, trackers).
- FIPS 203, FIPS 204, FIPS 205
- The NIST standards for ML-KEM, ML-DSA and SLH-DSA respectively. Implementing one of these algorithms does not make a wheel a FIPS-validated module; regulated teams also check product, module, mode and validation (cryptography, action plan).
- KEM
- A key-encapsulation mechanism: the sender uses the recipient’s public key to produce a shared secret and a ciphertext that only the recipient can open. ML-KEM is a KEM; hybrid TLS groups and X-Wing combine a KEM with a classical Diffie-Hellman exchange (TLS).
- HPKE
- Hybrid Public Key Encryption (RFC 9180), a standard way to encrypt to a public key with a KEM, a KDF and an AEAD. pyca/cryptography 47.0+ offers PQ HPKE suites including
KEM.MLKEM768_X25519andKEM.MLKEM1024_P384; its API is single-shot today (#16094) (cryptography). - X-Wing
- A hybrid KEM that combines ML-KEM-768 with X25519, exposed as
KEM.MLKEM768_X25519in pyca/cryptography. pycryptodome 4.2+ and libsodium 1.0.22 also implement it (cryptography). - Composite signatures
- A single signature that combines ML-DSA with a classical algorithm, so it stays valid while either part holds. Examples are composite ML-DSA for X.509 (RFC 10073, Nov 2026) and OpenSSH’s
ssh-mldsa44-ed25519; pyca/cryptography 51.0.0 serializesMLDSA44Ed25519OpenSSH keys (infrastructure). - External mu and HashML-DSA
- Two ways to sign large or streamed messages with ML-DSA. pyca/cryptography offers external mu through
MLDSAMuHasherand closed the HashML-DSA request (#14827); pycryptodome 4.1+ offers both (cryptography). - Cobblestone
- An AEAD added to pyca/cryptography in 50.0.0, available as
Cobblestone128andCobblestone256, and unaffected by the elliptic-curve concern AGY (not affected).
Key exchange in TLS and SSH#
- KEX
- Key exchange: the part of a handshake that agrees the session keys. A KEX broken later exposes recorded traffic even when the bulk cipher was AES and the keys were ephemeral (advisory reading, action plan).
- Harvest now, decrypt later (HNDL)
- Recording encrypted traffic today in order to decrypt it once its key exchange can be broken. It is the reason key exchange is fixed first, ahead of signatures, which are only exposed to forgery in real time (advisory reading).
- X25519MLKEM768
- The hybrid TLS 1.3 group (codepoint 4588, RFC 10024) that combines X25519 with ML-KEM-768. OpenSSL 3.5+ offers it first by default, so any Python linked to OpenSSL 3.5+ negotiates it with a willing peer (TLS, cpython-ssl).
- SecP256r1MLKEM768
- The hybrid TLS 1.3 group (codepoint 4587, RFC 10024) that combines P-256 with ML-KEM-768. OpenSSL 4.0 and 4.1.1 add it to the first tier of the default list (TLS).
- SecP384r1MLKEM1024
- The hybrid TLS 1.3 group (codepoint 4589,
0x11ED, RFC 10024) that combines P-384 with ML-KEM-1024. It is the only RFC 10024 group that matches CNSA 2.0 parameters; OpenSSL 3.5+ implements it but leaves it out of the default list, and BoringSSL lacks it (TLS). - X25519Kyber768Draft00
- The pre-standard Kyber hybrid that the IANA registry now marks obsolete. Do not count it as the final RFC group (TLS).
- RFC 10024
- The RFC that defines the hybrid ECDHE-MLKEM groups for TLS 1.3: X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024. The NSA advisory points to it where a hybrid TLS exchange is needed (TLS, advisory).
- RFC 9954
- The hybrid key-exchange framework for TLS 1.3 that RFC 10024 builds on. Its design goal is a shared secret “that remains secure as long as one of the component key exchange mechanisms remains unbroken” (TLS).
- HelloRetryRequest
- The TLS 1.3 message a server sends when the client’s first key share is not one it accepts, costing an extra round trip. In OpenSSL group lists,
?X25519MLKEM768without*defers the large PQ share to a HelloRetryRequest, which helps with middleboxes that break on a two-packet ClientHello (TLS). - crypto-policies and
DEFAULT:PQ - The system-wide crypto policy on RHEL and Amazon Linux 2023, which overrides OpenSSL’s built-in group list. On RHEL 9.7 and AL2023 system
python3does not offer the hybrid until an admin runsupdate-crypto-policies --set DEFAULT:PQ(infrastructure, action plan). - mTLS
- Mutual TLS, where the client also presents a certificate. Moving to PQ means migrating both server and client identities, trust stores and the workload-identity check, and measuring that second connection separately (TLS, infrastructure).
- mlkem768x25519-sha256
- The hybrid SSH key exchange (RFC 10042), added in OpenSSH 9.9 and preferred from 10.0. paramiko 5.1.0 and asyncssh support it (infrastructure, paramiko).
- ssh-mldsa44-ed25519
- The composite ML-DSA-44 plus Ed25519 SSH signature key type that OpenSSH 10.6 enabled, specified in draft-ietf-sshm-composite-sigs-01 alongside
ssh-mldsa87-p384. Neither the Python SSH libraries nor GitHub accept it yet (infrastructure, trackers). - MTC
- Merkle Tree Certificates, the WebPKI’s planned route to PQ server certificates. Cloudflare targets Q1 2027, Let’s Encrypt 2027, and Chrome’s quantum-resistant root store is MTC-only around Q3 2027 (infrastructure, trackers).
- Anti-amplification limit
- QUIC’s rule that a server may send at most three times the bytes it has received before it validates the client’s address (RFC 9000 §8.1). A client’s first Initial is at least 1,200 B, so a large ML-DSA certificate chain costs an extra round trip (TLS).
- Session resumption
- Reconnecting with a ticket from an earlier TLS session, which skips the certificate chain and its signatures. In TLS 1.3’s usual
psk_dhe_kemode it still sends fresh key shares, so the hybrid’s extra 2.2 KiB is paid again; urllib3, httpx and aiohttp do not resume sessions (TLS).
Threats, agencies and policy#
- CRQC
- A cryptographically relevant quantum computer, one large enough to break RSA or elliptic curves. Valsorda infers the advisory’s attack is probably classical because no CRQC progress is mentioned (advisory reading).
- ECDLP
- The elliptic-curve discrete logarithm problem, whose hardness underpins ECDH, ECDSA and EdDSA. On 2 Dec 2026 Ruhr University Bochum and MPI-SP published a classical subexponential ECDLP algorithm that they call “galactic” (advisory reading, unknowns).
- SI (Super Intelligence)
- The US government’s term for frontier AI, used in the NSA press release and the joint statement (“Frontier SI companies…”). The disclosures that prompted the advisory came from SI companies (advisory).
- ONCD
- The White House Office of the National Cyber Director, which issued the 2 Dec joint statement with NSA and CISA. That statement says the disclosures “do not present an immediate and widespread threat” (advisory).
- CISA
- The US Cybersecurity and Infrastructure Security Agency, co-signer of the joint statement. Its copy of the statement was treated as primary because nsa.gov and media.defense.gov refuse scripted clients (about).
- PP-26-4956
- The identifier of the NSA Cybersecurity Advisory “Immediate Actions to Push Toward Post-Quantum”, a seven-page PDF staged 1 Dec and published 2 Dec 2026 (advisory).
- NSS (National Security Systems)
- US government systems that handle national-security information, the advisory’s direct audience. NSS milestones are not deadlines imposed on every PyPI project; Mozilla’s TLS library, also called NSS, is unrelated (NSS 3.134 verifies ML-DSA chains) (advisory).
- CNSA 1.0
- NSA’s earlier Commercial National Security Algorithm Suite, which allows only P-384 or P-521 for ECDH and ECDSA and excludes DSA and EdDSA. The advisory allows TLS 1.2 under CNSA 1.0 constraints where TLS 1.3 is impossible, as an interim measure, not as PQ protection (advisory).
- CNSA 2.0
- The quantum-resistant suite for NSS: ML-KEM-1024, ML-DSA-87 and 256-bit symmetric keys. Its milestones are new acquisitions from 1 Jan 2027, phase-out of incapable equipment by end-2030 and mandated use by end-2031; a commercial X25519MLKEM768 connection is useful protection, not proof of compliance (advisory, action plan).
- EO 14412
- The executive order signed 22 June 2026 that sets PQC for federal high-value systems for key establishment by 31 Dec 2030 and signatures by 31 Dec 2031. Its 180-day deliverables fall due around 19 Dec 2026 (response, trackers).
- OMB M-26-15
- An OMB memo of 24 June 2026 that reportedly asks API gateways to issue and validate PQ-signed tokens, with a 2031 target. Only a secondary source reports it (response, unknowns).
Tokens, identity and request signing#
- JOSE
- The JSON Object Signing and Encryption family of standards, covering JWS, JWE, JWK and the JWTs built on them. RFC 9964 adds ML-DSA to it (FastAPI).
- JWS
- A JSON Web Signature, the signed form a JWT takes; its
algheader names the algorithm, such asES256,RS256orML-DSA-65. ES256 and EdDSA are the JWS algorithms on curves the advisory flags (FastAPI). - JWK
- A JSON Web Key: one public or private key written as JSON, with a
ktyfield naming its key type. ML-DSA keys use"kty": "AKP"(FastAPI). - JWKS
- A JSON Web Key Set, the list of public keys an issuer publishes so verifiers can fetch its current keys. Adding an ML-DSA key to a JWKS can break verifiers that reject the whole set on an unknown
kty(FastAPI, action plan). - AKP
- The JOSE key type (
"kty": "AKP") that RFC 9964 defines for ML-DSA keys. Libraries that do not know it may fail an entire mixed JWKS (FastAPI, trackers). - RFC 9964
- The May 2026 standard that defines ML-DSA-44, ML-DSA-65 and ML-DSA-87 for JOSE and COSE, plus the
AKPkey type. jwcrypto is the only released Python JOSE library that implements it (FastAPI, jwcrypto). - COSE
- CBOR Object Signing and Encryption, the binary sibling of JOSE used by WebAuthn passkeys. py_webauthn 3.0.0 defines ML-DSA COSE algorithm identifiers -48, -49 and -50 (FastAPI, webauthn).
- DPoP
- OAuth proof-of-possession tokens that bind an access token to a client key, commonly signed with ES256. They belong in the inventory of self-issued EC-signed tokens (FastAPI).
- BFF
- Backend-for-Frontend, a pattern where the browser holds only an opaque session cookie and the server keeps the tokens. It avoids browsers silently dropping ML-DSA JWT cookies above the 4,096-byte cap AGY (FastAPI, action plan).
- Macaroon
- An HMAC-based bearer token that can carry caveats. PyPI API tokens, including the 15-minute tokens from Trusted Publishing, are Macaroons and so are unaffected by an elliptic-curve break (supply chain, not affected).
- SigV4
- AWS’s default request-signing scheme, based on HMAC-SHA256 with a key derived from the secret access key. It is unaffected (infrastructure, boto3).
- SigV4a
- AWS’s asymmetric request-signing variant for multi-region requests, using an ECDSA key derived deterministically from the long-term secret. ASTRA names the curve as ECDSA-P256-SHA256 ASTRA; the Claude report did not verify it Claude (infrastructure, awscrt).
- VAPID
- The Web Push application-server identification scheme (RFC 8292), which signs with ES256. Push payloads also use P-256 ECDH, and no PQ successor exists yet (pywebpush, trackers).
- PQXDH
- Signal’s key-agreement protocol, which adds ML-KEM to protect confidentiality. Its specification says “Authentication in PQXDH is not quantum-secure”; Matrix’s vodozemac PQXDH PR #120 has been open since January 2024 (matrix-nio, trackers).
Supply chain and Python distribution#
- Sigstore
- Keyless code signing built from a certificate authority (Fulcio), a transparency log (Rekor), a TUF trust root and a timestamp authority. PEP 740 attestations and CPython release signatures depend on it, and its current stack is P-256 at the leaf and root (supply chain, sigstore).
- Fulcio
- Sigstore’s certificate authority, which issues short-lived certificates for ephemeral keys tied to an OIDC identity. Its root and intermediate are P-384, while the leaf keys it certifies are P-256 (supply chain).
- Rekor
- Sigstore’s transparency log. Rekor v1 signs with a P-256 key; the Ed25519-signed Rekor v2 rollout is paused, and the planned PQ instance uses an ML-DSA-signed Rekor v2 AGY (supply chain, trackers).
- TUF
- The Update Framework, a scheme for signed, rotatable trust metadata. Sigstore’s TUF
root.jsonv16 has all six keys on P-256, so forging P-256 would compromise the root of trust (supply chain, tuf). - TSA
- A timestamp authority issuing RFC 3161 timestamps. Sigstore’s TSA key is P-384, and verification policies that demand its timestamp resist backdated forgeries (supply chain).
- CT and SCT
- Certificate Transparency logs and the Signed Certificate Timestamps they return. Sigstore’s CT SCTs are P-256, so after a curve break embedded-SCT checks give no assurance (supply chain).
- DSSE
- The Dead Simple Signing Envelope that wraps an attestation statement and its signature. A forged P-256 signature over a malicious DSSE statement is the attestation-forgery path the Claude report describes (supply chain).
- PEP 740
- The PEP that lets PyPI host Sigstore-based attestations for uploaded files. Every attestation today is P-256, and no PQ bundle format exists yet (supply chain, pypi-attestations).
- PEP 761
- The PEP that deprecated PGP signatures for CPython releases. Since Python 3.14, Sigstore is the only signature on CPython release artifacts (supply chain).
- Trusted Publishing
- PyPI’s tokenless upload flow: a CI provider’s OIDC token, signed with RS256, is exchanged for a 15-minute PyPI API token. It rests on RSA and HMAC, so it survives an elliptic-curve break (supply chain, not affected).
- python-build-standalone (PBS)
- Astral’s portable CPython builds, used by uv-managed Pythons, with OpenSSL linked statically. Release 20261201 moved to OpenSSL 3.5.10; existing installs keep their old OpenSSL until upgraded (TLS, uv, trackers).