cpython/Lib/test/certdata
Gregory P. Smith af52b41afa
[3.11] gh-160040: Distrust compromised eMudhra intermediate CA keys (CVE-2026-115557) (GH-160042) (GH-160572)
The ssl module now rejects TLS certificate chains that contain any of a set of
compromised eMudhra intermediate CA keys.  This is an extraordinary measure and
a last line of defense: removing trust is primarily the job of the platform root
store, and the built-in denylist only blocks connections while that update has
not yet reached the OS, a container image, or a bundled trust store in various
Python packages.  Entries are added to the denylist only under a very high
threshold.

The denylist matches on the public key (the SHA-256 digest of the RFC-5280
SubjectPublicKeyInfo), so it also covers the cross-signed certificates that
reuse one of the distrusted keys.

(cherry picked from commit 7dd8b4736a)

Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2026-10-24 16:10:44 -07:00
..
capath
allsans.pem [3.11] [3.12] gh-108303: Move all certificates to Lib/test/certdata/ (GH-109489) (GH-109682) (#110646) 2023-10-10 21:02:21 +00:00
badcert.pem
badkey.pem
distrusted.zip
ffdh3072.pem
idnsans.pem
keycert.passwd.pem [3.11] [3.12] gh-108303: Move all certificates to Lib/test/certdata/ (GH-109489) (GH-109682) (#110646) 2023-10-10 21:02:21 +00:00
keycert.pem [3.11] [3.12] gh-108303: Move all certificates to Lib/test/certdata/ (GH-109489) (GH-109682) (#110646) 2023-10-10 21:02:21 +00:00
keycert2.pem [3.11] [3.12] gh-108303: Move all certificates to Lib/test/certdata/ (GH-109489) (GH-109682) (#110646) 2023-10-10 21:02:21 +00:00
keycert3.pem
keycert4.pem [3.11] [3.12] gh-108303: Move all certificates to Lib/test/certdata/ (GH-109489) (GH-109682) (#110646) 2023-10-10 21:02:21 +00:00
keycertecc.pem
make_ssl_certs.py
nokia.pem
nosan.pem
nullbytecert.pem
nullcert.pem
pycacert.pem [3.11] [3.12] gh-108303: Move all certificates to Lib/test/certdata/ (GH-109489) (GH-109682) (#110646) 2023-10-10 21:02:21 +00:00
pycakey.pem
revocation.crl
secp384r1.pem
selfsigned_pythontestdotnet.pem [3.11] [3.12] gh-108303: Move all certificates to Lib/test/certdata/ (GH-109489) (GH-109682) (#110646) 2023-10-10 21:02:21 +00:00
ssl_cert.pem [3.11] [3.12] gh-108303: Move all certificates to Lib/test/certdata/ (GH-109489) (GH-109682) (#110646) 2023-10-10 21:02:21 +00:00
ssl_key.passwd.pem [3.11] [3.12] gh-108303: Move all certificates to Lib/test/certdata/ (GH-109489) (GH-109682) (#110646) 2023-10-10 21:02:21 +00:00
ssl_key.pem
talos-2019-0758.pem