Repository navigation
Security: patch pip/uv/certifi for eMudhra emSign CA incident - #33
Merged
Merged
Conversation
- uv.lock: certifi 2025.8.3 -> 2026.10.23 Co-Authored-By: Claude <noreply@anthropic.com>
Collaborator
Author
Review notes / gotchasThings to check before merging this patch for the emSign CA incident (tracking: HakaiInstitute/hakai-it#44):
|
Python 3.8-3.10 are EOL, and pip >= 26.2.2 (the emSign CA fix) can't be installed on 3.9 or older. - requires-python >=3.8 -> >=3.11; mypy python_version 3.10 -> 3.11 - CI matrix: 3.11, 3.12, 3.13, 3.14, 3.15 - README: Python 3.11 or higher - relock: drop <3.11 forks; pyyaml 6.0.2 -> 6.0.3 (cp314 wheels) - ruff fixes surfaced by the 3.11 target (tests only): timezone.utc -> datetime.UTC, Generator from collections.abc Co-Authored-By: Claude <noreply@anthropic.com>
tayden
enabled auto-merge
October 23, 2026 18:01
CI's ruff-action installs the latest ruff (0.17.2), whose preview rule property-docstring-starts-with-verb flagged 6 property docstrings. This was already failing on main. Co-Authored-By: Claude <noreply@anthropic.com>
Collaborator
Author
|
Pushed two commits:
Note: ruff 0.17's formatter now also formats Python code blocks in |
tayden
disabled auto-merge
October 23, 2026 18:06
tayden
enabled auto-merge
October 23, 2026 18:06
tayden
disabled auto-merge
October 23, 2026 18:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
On 2026-10-20 the eMudhra emSign root CA was removed from CA bundles after its intermediate CA private keys were found to be trivially weak, which opens TLS clients (including pip/uv talking to PyPI) to MITM attacks.
Advisory: https://discuss.python.org/t/information-for-python-users-regarding-emudhra-emsign-ca-certificate-security-incident/109576
Fixed versions: pip >= 26.2.2, uv >= 0.13.4, certifi >= 2026.10.19, conda >= 26.9.4.
Changes
uv lockwould also have bumped lock revision and rewritten unrelated markers)Follow-up / needs attention
requires-pythonis now>=3.11, and 3.8–3.10 are dropped (EOL). The CI matrix now runs 3.11–3.15, mypy targets 3.11, and the README is updated. The lock was regenerated and pyyaml bumped to 6.0.3. Ruff fixes from the 3.11 target are in the tests only (timezone.utc→datetime.UTC). This is a breaking change for 3.8–3.10 users, so it's worth a minor version bump on release.ruff-actioninstalls the latest ruff (0.17.2), and its new preview ruleproperty-docstring-starts-with-verbflagged 6 property docstrings, which are now reworded.Tracking issue: HakaiInstitute/hakai-it#44