Skip to content

pnpm_12: bump webpki-root-certs to 1.0.10 and rustls-webpki to 0.103.16 - #576557

Merged
gepbird merged 1 commit into
NixOS:masterfrom
zimbatm:cacert-pnpm
Oct 21, 2026
Merged

gepbird merged 1 commit into
NixOS:masterfrom
zimbatm:cacert-pnpm

Conversation

@zimbatm

@zimbatm zimbatm commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

eMudhra and Sectigo revoked eight eMudhra intermediates on 2026-10-18. pnpm 12 uses the system trust store first.
It falls back to its compiled-in webpki-root-certs list when no system store loads. webpki-root-certs 1.0.10 removes emSign ECC Root CA - G3 from that list. rustls-webpki 0.103.16 rejects the eight revoked intermediates on both paths. webpki-roots (used through sqlx-core) also goes to 1.0.10.

Tested on x86_64-linux: the scanner (https://github.com/zimbatm/nix-cacert-scan) finds 118 embedded roots with emSign ECC Root CA - G3 in /bin/pnpm before and 117 without it after. pnpm view lodash version works with the system bundle and fails with UnknownIssuer when SSL_CERT_FILE holds one unrelated root. pnpm_10 and pnpm_11 run on nixpkgs nodejs, which already uses the system store, and do not change.

Related to: #576485
Related to: #576544

Assisted-by: Claude Code (claude-opus-5)

Things done

eMudhra and Sectigo revoked eight eMudhra intermediates on 2026-10-18.
pnpm 12 uses the system trust store first.
It falls back to its compiled-in webpki-root-certs list when no system store loads.
webpki-root-certs 1.0.10 removes emSign ECC Root CA - G3 from that list.
rustls-webpki 0.103.16 rejects the eight revoked intermediates on both paths.
webpki-roots (used through sqlx-core) also goes to 1.0.10.

Category: compiled into a binary (NixOS#576544).

Assisted-by: Claude Code (claude-opus-5)
@nixpkgs-ci
nixpkgs-ci Bot requested review from Scrumplex and gepbird October 20, 2026 21:48
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. llm-assisted Contributions that include code generation with LLMs 6.topic: nodejs Node.js is a free, open-source, cross-platform JavaScript runtime environment labels Oct 20, 2026
@zimbatm zimbatm added the backport release-26.05 Backport PR automatically label Oct 20, 2026
@gepbird gepbird added the 1.severity: security Issues which raise a security issue, or PRs that fix one label Oct 20, 2026
@gepbird

gepbird commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 576557 --tests
Commit: 1e2989ebd45ea0e5fc49c6884d59ae697f9fa46f


x86_64-linux

❌ 3 packages failed to build:
  • zulip
  • heroic-unwrapped
  • heroic
✅ 10 tests built:
  • pnpm.tests.pnpm.opencloud.idp-web (pnpm_12.tests.pnpm.opencloud.idp-web)
  • pnpm.tests.pnpm.pnpm_11_v4 (pnpm_12.tests.pnpm.pnpm_11_v4)
  • pnpm.tests.version (pnpm_12.tests.version)
  • typescript-language-server.tests.version
  • pnpm.tests.pnpm.pnpm-fixup-state-db (pnpm_12.tests.pnpm.pnpm-fixup-state-db)
  • pnpm.tests.pnpm.opencloud.web (pnpm_12.tests.pnpm.opencloud.web)
  • pnpm.tests.pnpm.pnpm-empty-lockfile (pnpm_12.tests.pnpm.pnpm-empty-lockfile)
  • cf.tests.functional
  • umami.tests.umami
  • authelia.tests.authelia
✅ 9 packages built:
  • authelia
  • tests.pnpm.pnpm-workspaces.structured (pnpm_12.tests.pnpm.pnpm-workspaces.structured, pnpm.tests.pnpm.pnpm-workspaces.structured)
  • tests.pnpm.pnpm-workspaces.legacy (pnpm.tests.pnpm.pnpm-workspaces.legacy, pnpm_12.tests.pnpm.pnpm-workspaces.legacy)
  • tests.pnpm.pnpm_12_v4 (pnpm.tests.pnpm.pnpm_12_v4, pnpm_12.tests.pnpm.pnpm_12_v4)
  • typescript-language-server
  • umami
  • pnpm (pnpm_12)
  • cf
  • bash-language-server

@gepbird gepbird left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick response to the security issue, changes look good.

There are no new failing builds.

@gepbird
gepbird added this pull request to the merge queue Oct 21, 2026
Merged via the queue into NixOS:master with commit bdac612 Oct 21, 2026
35 checks passed
@nixpkgs-ci

nixpkgs-ci Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot added the 8.has: port to stable This PR already has a backport to the stable release. label Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 6.topic: nodejs Node.js is a free, open-source, cross-platform JavaScript runtime environment 8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. backport release-26.05 Backport PR automatically llm-assisted Contributions that include code generation with LLMs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants