Repository navigation
nushell: eMudhra fixes - #576512
Merged
Merged
nushell: eMudhra fixes#576512
Conversation
`http get` and the other network commands use rustls-platform-verifier, which reads the system store (SSL_CERT_FILE, /etc/ssl/certs). `version check` uses update-informer with a default ureq agent. That agent uses the compiled-in webpki-roots list. Give update-informer an HTTP client that uses nushell's own TLS config. Then a cacert update applies to all TLS requests in nu. Assisted-by: Claude Code (claude-opus-5)
eMudhra and Sectigo revoked eight eMudhra intermediates on 2026-10-18. webpki-roots 1.0.10 removes emSign ECC Root CA - G3. rustls-webpki 0.103.16 rejects the eight revoked intermediates. nushell still links webpki-roots through ureq, so keep that list current. Assisted-by: Claude Code (claude-opus-5)
zimbatm
force-pushed
the
cacert-nushell
branch
from
October 20, 2026 19:21
0a72e2e to
f25a239
Compare
nixpkgs-ci
Bot
requested review from
JoaquinTrinanes,
JohnTitor,
koffydrop and
ryan4yin
October 20, 2026 19:28
Contributor
|
May be worth asking upstream if they would consider this patch. |
hesiod
self-requested a review
October 20, 2026 21:33
hesiod
approved these changes
Oct 20, 2026
hesiod
left a comment
Contributor
There was a problem hiding this comment.
Have done a cursory check, seems to work as intended.
Member
Author
|
thanks. ^ I checked and nushell independently came up with fixes for the next release. |
Contributor
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin release-26.05
git worktree add -d .worktree/backport-576512-to-release-26.05 origin/release-26.05
cd .worktree/backport-576512-to-release-26.05
git switch --create backport-576512-to-release-26.05
git cherry-pick -x 12b92890b34d8e10b82f63ea3576a07400b5afc1 f25a239fa4cb9b0ebe64b35cca7b72695e86aa04 |
This was referenced Oct 22, 2026
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.
Two fixes for the eMudhra intermediate compromise:
version checkused update-informer's default ureq agent, which trusts only the compiled-in webpki-roots. Patch it to use nushell's own TLS config (tls_config), so it uses the system CA store likehttp getalready does.Both changes are already merged upstream, after the 0.116.1 release: nushell/nushell#19298 (
version checkuses nushell's own HTTP client and TLS config) and nushell/nushell#19308 (webpki-roots 1.0.10, webpki-root-certs 1.0.10, rustls-webpki 0.103.16). Drop both patches when nushell is updated to a release that contains them.Tested on x86_64-linux: build with the full
cargo testcheck phase,http getandversion checkwithSSL_CERT_FILEset to an unrelated root fail, and with the system bundle they work.Related to: #576485
Related to: #576544
Assisted-by: Claude Code (claude-opus-5)
Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.