Allow configuring certificate revocation checks for GitHub App marketplace plugin installation
还没有人认领这个 Issue。
评估
调研方向
从调用 git clone 的 marketplace 插件安装流程开始,重现 issue 中描述的 Windows Schannel 错误。检查 marketplace 下载期间是否使用了本地 Git 证书设置,然后确定应用程序设置或企业策略如何控制吊销行为。完成的标准是,受影响的安装可以按照配置的行为继续,同时安全默认值保持不变。
由索引模型根据 Issue 内容生成。
描述
Feature summary
Provide an option to control certificate revocation checking when GitHub App installs plugins from GitHub Marketplace repositories. This would help enterprise environments where TLS inspection or corporate certificate authorities prevent successful revocation verification.
What problem are you trying to solve?
Failed to install plugin
Failed to fetch marketplace: Failed to fetch GitHub marketplace github/copilot-plugins: Command failed: git clone --depth 1 --progress https://github.com/github/copilot-plugins.git C:\Users\test\AppData\Local\copilot\marketplaces\github-copilot-plugins
Cloning into 'C:\Users\test\AppData\Local\copilot\marketplaces\github-copilot-plugins'...
fatal: unable to access 'https://github.com/github/copilot-plugins.git/': schannel: next InitializeSecurityContext failed: CRYPT_E_NO_REVOCATION_CHECK (0x80092012)
Proposed solution
Add one of the following options: 1. Respect local Git certificate settings (for example http.schannelCheckRevoke) 2. Allow configuration of revocation checking behavior in the application settings 3. Provide an enterprise policy to control certificate validation during marketplace plugin downloads Default behavior can remain secure, while allowing administrators to support environments with non-standard PKI infrastructure.
Workflow impact
The repository itself is reachable and GitHub services are available.
The failure occurs because Windows Schannel cannot complete certificate revocation validation for certificates issued by corporate security solutions (for example TLS inspection proxies, Global Secure Access, enterprise PKI, etc.).
Currently there appears to be no way to:
Disable revocation checking for marketplace downloads
Configure an alternative certificate validation mode
Use existing Git settings related to Schannel revocation behavior
As a result, plugin installation is blocked in affected enterprise environments even though network connectivity and certificate trust are otherwise valid.
Installation context
Additional context
The issue occurs only when certificates issued by Microsoft Global Secure Access are present.
GitHub Marketplace access is available and network connectivity works correctly.
The failure is caused by Windows Schannel revocation validation returning:
CRYPT_E_NO_REVOCATION_CHECK (0x80092012)
Other Git operations can be made to work by disabling revocation checks through Git configuration, but GitHub App marketplace installation currently does not provide a similar option.
- 主要语言
- 没有语言数据
- 星标
- 2.1k
- 派生
- 157
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/app 的其他 Issue
-
triage
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 70/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 78/100
BoxPistols/BoostRecord#199 ·
-
accepted bug via-triage
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 84/100
NanmiCoder/cc-haha#1377 ·