Tuesday, October 27, 2026 Today’s Paper
Log in Join free
Vol. I · No. 28 Texas Edition
Tuesday, Oct 27
Texas first. Then the world.
Always free Updated just now
Read. React. Discuss.
Tech

New Python security updates explicitly block the eMudhra certificates by SPKI

By zahlman 2 min read 1 views 0 comments

Thanks to Python core developer (and Python 3.14 and 3.15 release manager) Hugo van Kemenade on the main Python discussion forums for the heads-up[0]. The patch[1] is contributed by Christian Heimes (with Claude assistance), former core developer who spearheaded the discussion on the bug tracker[2] and quickly affirmed the seriousness of the problem in the discussion thread (post 2, which corrected my mistaken assumption that pip would ignore its bundled `certifi` certificates as long as `truststore` was able to find system certificates).Blocking is implemented by a pretty straightforward loop, memcmp'ing against the hard-coded `unsigned char _distrusted_spki[][SHA256_DIGEST_LENGTH]`. As explained in comments:* This is an extraordinary measure and last line of defense. Removing trust is
* primarily the job of the platform root store. This list only blocks keys while
* that update is still propagating to the OS, container images, or root CAs
* bundled in Python packages. The threshold for adding an entry is very high.There's also an amusing workaround for security scanners that might trip on the tests included in the source release. From the code comment:> The distrusted test…

Hacker News (Newest) Original story · news.ycombinator.com
Read the full story

Discussion (0)

No comments yet. Start the conversation!