Repository navigation
blink-qt: use cacert bundle instead of vendored CA bundle - #577808
Merged
Merged
Conversation
Assisted-by: Claude Code (Claude Fable 5.1) Assisted-by: Claude Code (Claude Opus 5.5)
This was referenced Oct 23, 2026
nixpkgs-ci
Bot
requested review from
Prince213,
eljamm,
ethancedwards8 and
phanirithvij
October 23, 2026 11:45
imincik
approved these changes
Oct 23, 2026
imincik
left a comment
Contributor
There was a problem hiding this comment.
Great thanks for this fix.
Contributor
|
Successfully created backport PR for |
3 of 13 tasks
dotlambda
reviewed
Nov 8, 2026
dotlambda
left a comment
Member
There was a problem hiding this comment.
This isn't a good fix: certificates should be read from the system rather than from a package.
Contributor
This was suggested by the tracking issue:
If you think reading the system-wide certs would be better, I suggest you mention it there so more people are aware of this and proper discussion can happen. |
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.
Part of #576541.
Blink,
blink-qt, has a bundled CA file,share/blink/tls/ca.crt. In Blink, the default value ofTLSSettingsExtension.ca_listis this file.python3-sipsimplegives this file to PJSIP for SIP with TLS, and to GnuTLS for MSRP with TLS. This change replaces the file with a symlink to theca-bundle.crtfile ofcacertinpostFixup. The wheel in thedistoutput keeps the bundled file (#576542).Warning
AI Disclosure: Claude Code made the code change, the commit message and the first version of this pull request description. Claude Code used Claude Fable 5.1 and Claude Opus 5.5. I examined all of this work. Claude Code also wrote all of nix-cacert-harness. This pull request description is written in ASD-STE100 (Simplified Technical English), examined with memelint in
strictmode.Test
nix-cacert-harness examines the package before and after this change. A local copy of nixpkgs is not necessary. On the
masterbranch, blink-qt does not build. Three of its Python dependencies have problems that are not related to this change:msrplib,xcaplibandpython3-sipsimple. Thus, the harness builds the package after this change with the test overlayfixes/unbreak-msrplib.nix, and it cannot build the package before this change. Start the command in a local copy of nix-cacert-harness, because the overlay is a file in this repository.Harness output: blink-qt
The harness tests the package with the certificate chains of the eMudhra incident, from https://emudhra.we-have-a-problem.com/ (only the certificates, not the keys). The harness cannot build the package before this change, thus the result is
INCOMPLETE. The wheel in thedistoutput keeps the bundled file, and this file accepts all 14 chains (accepted 14/14). Before this change, the installed file is the same file (SHA-2560553831d…). Thus, it accepts the eMudhra intermediate certificates throughemSign ECC Root CA - G3and through the Sectigo cross-sign byAAA Certificate Services. After this change, the installed file accepts no chain (accepted 0/14). The output has no second part, because Blink has only a GUI, and it makes TLS connections only to SIP servers and MSRP relays.Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.