Repository navigation
Conversation
… backport) Backport the CI hardening that main received for the eMudhra/emSign CA key compromise (CVE-2026-111943, CVE-2026-115557), so that wheels released from this branch are built with patched tooling and verified downloads: - install-sccache: pin rapidsai/sccache v0.18.0-rapids.7 and verify its sha256 instead of piping releases/latest into sudo tar (NVIDIA#3248). Also use it in test-sdist-linux.yml instead of mozilla-actions/sccache-action. - GPU driver installers: verify DRIVER_SHA256 before running them as root/admin, with a test-matrix check (NVIDIA#3249). - upgrade-ca-certificates: upgrade ca-certificates on GitHub-hosted Linux and distrust the compromised intermediates on GitHub-hosted Windows, in build-wheel.yml, coverage.yml, test-sdist-windows.yml and the Windows pre-commit job in ci.yml (NVIDIA#3270). - setup-hardened-python: install interpreters with a pinned uv and fail on unpatched ones, replacing actions/setup-python + harden-pip (NVIDIA#3275). This branch still builds and tests Python 3.10, which has no fixed release; for series older than 3.11 the action warns and installs pip from the sha256-pinned 26.2.2 wheel instead of failing. cibuildwheel now runs with the hardened host Python (`python-path`). - cibuildwheel: use build[uv] with UV_* constraints, as main does (NVIDIA#2964), so build dependencies are not fetched by the pip that cibuildwheel provides. Drop the dummy wheel test stage (sccache stats are dumped during repair) and the `before-build = "pip install delvewheel"` overrides. - fetch_ctk: verify the CTK redistrib JSON against a pinned sha256 and every component archive against the sha256 in that JSON before extracting it, failing closed on a mismatch (new `component-sha256` and `verify-metadata` subcommands in ci/tools/fetch_ctk_redistrib.py, with tests). Not backported: the runner trust probe, the "Enable Git symlinks" steps, and the lychee/pre-commit workflows, which do not exist on this branch. Refs NVIDIA#3195
Contributor
Contributor
Author
|
/ok to test 3541ec5 |
Contributor
|
This branch has not been deployed
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.
Description
Refs #3195
Backports the CI hardening that
mainreceived for the eMudhra/emSign CA key compromise (CVE-2026-111943, CVE-2026-115557) to13.4.x, so that wheels released from this branch are built with patched tooling and verified downloads. Before this change the branch's cibuildwheel builds used the pip frontend with an unpatched pip, installed an unverifiedreleases/latestsccache, and downloaded CTK archives and GPU driver installers without checksums.install-sccacheaction: pinrapidsai/sccachev0.18.0-rapids.7and verify its sha256 (CI: pin and verify sccache via a shared composite action #3248), and use it intest-sdist-linux.ymlinstead ofmozilla-actions/sccache-action.DRIVER_SHA256before running the installer, with a test-matrix check (CI: verify GPU driver installer SHA-256 before execution #3249).upgrade-ca-certificatesaction: run inbuild-wheel.yml,coverage.yml,test-sdist-windows.ymland the Windows pre-commit job inci.yml(CI: add eMudhra/emSign CA stopgap for GitHub-hosted Windows runners #3270).setup-hardened-pythonaction: replacesactions/setup-pythonplusharden-pipeverywhere, including the release verification jobs (CI: install eMudhra-fixed Pythons with a pinned uv #3275). This branch still builds and tests Python 3.10, which has no fixed release, so for series older than 3.11 the action warns and installs the sha256-pinned pip 26.2.2 wheel instead of failing.build[uv]withUV_*constraints and the hardened host Python, asmaindoes (build: switch to uv as build frontend #2964). This drops the dummy wheel test stage (sccache stats are dumped during repair) and thebefore-build = "pip install delvewheel"overrides in thepyproject.tomlfiles.fetch_ctk: verify the CTK redistrib JSON against a pinned sha256 and each component archive against the sha256 in that JSON before extracting it, failing closed on a mismatch. This addscomponent-sha256andverify-metadatatoci/tools/fetch_ctk_redistrib.py, with unit tests. All CUDA versions used by this branch's CI (12.6.3, 12.9.1, 13.0.2, 13.4.2) are pinned; unpinned versions only warn. This part is not onmainyet.Not backported: the runner trust probe, the "Enable Git symlinks" steps, and the lychee and
pre-commit.ymlworkflows, which do not exist on this branch.Notes for reviewers
The commit is a squash of cherry-picks with adaptations for this branch; the conflicts were in the workflow files, which differ from
main(cuda_bindings/instead ofcuda_bindings_13/, no lychee workflows, Python 3.10 still supported).Validation:
ci/tools/testspass locally (79 tests), pre-commit including actionlint passes, and the pinned redistrib hashes were re-checked against the live JSONs. The workflow changes have not run on GitHub Actions yet, so CI on this PR is the real test, in particular the Windows cibuildwheel jobs withbuild[uv]and the Python 3.10 fallback.Checklist