fix(M4Pro): add corporate SSL certificate config - #5
Conversation
|
CI 失敗の原因
CI (benchmark-pr) では 対応
|
- programs.git.settings.http.sslCAInfo writes to .config/git/config - CI symlinks home-manager output, so sslCAInfo leaks into the runner - runner has no cert file at that path, causing git fetch to fail - use GIT_SSL_CAINFO env var instead (not written to git config)
There was a problem hiding this comment.
Zsh Startup Time
Details
| Benchmark suite | Current: 8f4a55a | Previous: c0ae1f8 | Ratio |
|---|---|---|---|
zsh -i -c exit |
48.5 ms (12.95 ms) |
45.51 ms (9.24 ms) |
1.07 |
This comment was automatically generated by workflow using github-action-benchmark.
Issue
fixes #4
Changes
hosts/M4Pro/default.nixfor corporate proxyDENO_CERT— deno が JSR パッケージを取得する際の SSL 検証に使用NODE_EXTRA_CA_CERTS— Node.js の SSL 検証に使用git http.sslCAInfo— git の HTTPS 通信に使用~/.local/share/ca-certificates/corp.pemに統一し、customCert変数で一元管理Verification
Additional Notes
会社 Mac の SSL インスペクションにより、deno が JSR (
jsr.io) へアクセスする際にinvalid peer certificate: UnknownIssuerエラーが発生し、zeno.zsh のソケットサーバー起動に失敗していた。スペースキー・エンターキーが zeno の widget にバインドされているため、シェルが操作不能になる問題が起きていた。