Repository navigation
Detect and mitigate eMudhra certificate trust - #24383
Conversation
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Certificate detection and diagnostic Library/Homebrew/diagnostic.rb, Library/Homebrew/extend/os/mac/diagnostic.rb, Library/Homebrew/sorbet/rbi/shims/openssl.rbi, Library/Homebrew/test/diagnostic/emudhra_certificates_spec.rb |
The diagnostic loads certificates from the bundle and reports a finding when either named root is present. The macOS check skips GitHub Actions environments. The OpenSSL shim declares the certificate loader. Tests cover detection, remediation text, and missing or invalid bundles. |
Certificate bundle removal Library/Homebrew/utils/emudhra_certificates.rb, Library/Homebrew/test/diagnostic/emudhra_certificates_spec.rb |
The script filters the named roots, stages the remaining certificates and backups, preserves the first original backup, refreshes the regular backup, and replaces the bundle. Tests cover execution restrictions, backup and replacement behaviour, invalid inputs, and failure handling. |
Priority:
Merge Risk: 
Minimal · up to c2b40
-
The previously identified bundle-replacement risks are addressed, and no actionable merge-blocking issue remains after normal checks.
Pre-merge checks: 
4
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
There was a problem hiding this comment.
Actionable comments posted: 5

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
ca2fd7cf-066e-4fb1-8ce0-98d6ae743329
Files selected for processing: 4-
Library/Homebrew/extend/os/mac/diagnostic.rbLibrary/Homebrew/sorbet/rbi/shims/openssl.rbiLibrary/Homebrew/test/diagnostic/emudhra_certificates_spec.rbLibrary/Homebrew/utils/emudhra_certificates.rb
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
-
|
macOS CI failed because GitHub runners still trust them 😭 |
- Warn through `brew doctor` and reuse its Ruby under `sudo`. - Share certificate diagnostics for platform-independent coverage. - Reject trusted PEM entries and publish synced backups atomically, preserving the first copy and refreshing the latest restore point. - Skip GitHub Actions until runner trust stores are updated.
c6b300a to
c2b4005
Compare
brew doctorchecks.sudoto parse certificates without a shell launcher or assumptions about bundle headings.brew benchmarkresults.brewcommands to reproduce the bug?brew lgtm(style, typechecking and tests) locally?Codex with GPT 6 Astra at Extra High effort, with local review and testing.