mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #3771] [CLOSED] [Other] certifi 2026.10.19 in requirements.txt and the three runtime locks (drops the eMudhra emSign ECC Root CA - G3) #4774
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4774
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/3771
Author: @gatyoukatyou
Created: 10/22/2026
Status: ❌ Closed
Base:
main← Head:other/certifi-2026.10.19📝 Commits (1)
4688a08setup: certifi 2026.10.19 in requirements.txt and the three runtime locks (#3670)📊 Changes
4 files changed (+7 additions, -7 deletions)
View changed files
📝
packaging/locks/runtime-darwin-arm64-cp312.txt(+2 -2)📝
packaging/locks/runtime-linux-x86_64-cp312.txt(+2 -2)📝
packaging/locks/runtime-windows-x86_64-cp312.txt(+2 -2)📝
requirements.txt(+1 -1)📄 Description
Issue: Resolves #3670
Problem and result:
requirements.txtand the threepackaging/locks/runtime-*-cp312.txtpincertifi==2026.7.22, which still trusts "emSign ECC Root CA - G3", the root above the eight eMudhra intermediates whose private keys were found recoverable (disclosed 2026-10-17). With 2026.7.22,requestsaccepts the test chain at https://dv-g3b-emudhra.we-have-a-problem.com/; with 2026.10.19 it rejects it. GitHub, Hugging Face and PyPI are still accepted.Related discussion: #3670 proposes the same pin for
requirements.txt. This PR also moves the three hash-pinned runtime locks, since the packaged terminal archives install from those.Approach: Only the certifi line changes (4 files, 7 lines). The lock hash is the PyPI sha256 of
certifi-2026.10.19-py3-none-any.whl(42d35340cc5b9ba78e818ddbff0c5b1c2b779de448a340fd1b989f5fa8670e1b). I did not commit a fulllock_wheels.pyrerun: on unmodifiedmain(011c9e60) it also movesplatformdirs4.13.0 -> 4.13.5 on all three targets and, run from a Mac, dropscoloramafrom the Windows lock. Those are unrelated to this change, so they are left out. Comparing a full rerun with this diff, the certifi lines are identical.Validation (macOS 26.6.2 arm64, branch based on
011c9e60):Passed:
python packaging/lock_wheels.py --target {darwin-arm64,linux-x86_64,windows-x86_64} --download <dir>(Python 3.12.14): exit 0 for all three, each fetchedcertifi-2026.10.19-py3-none-any.whlwith the locked hash (22 / 22 / 23 wheels).pip install -r requirements.txt -r requirements-monitor.txtinto fresh venvs on Python 3.12.14 and 3.14.3: exit 0,pip checkreports no broken requirements.The
requestsprobe below, run with certifi 2026.7.22 and then 2026.10.19 (requests 2.34.2):Diffing
# Label:lines between the twocacert.pemfiles shows exactly one change:emSign ECC Root CA - G3is removed.python -m unittest tools.test_setup_pins tests.terminal.test_packaging_pins(Python 3.12.14): 29 of 30 pass.Failed:
tools.test_setup_pins.HuggingFacePins.test_step5_names_the_folder(can't open file .../metal/setup_mac.py). It fails the same way on unmodifiedmain(011c9e60) on this Mac, so this change did not cause it.Not run: building the packaged archives, a Windows or Linux install, and starting the server or the app. No engine code is touched.
Limits: certifi only covers clients that use its bundle. The Windows certificate-store change discussed in #3722 is separate. The
platformdirs/coloramalock drift noted above is left for a separate change.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.