flathub / flathub/com.visualstudio.code
Install gpg2 and forward gpg-agent
未关闭
- 主要语言
- Shell
- 星标
- 217
- 派生
- 82
- 平均合并
- 1 天 7 小时
- 30 天内合并 PR
- 1
描述
For signing git commits, git uses GnuPG as an external program, defaulting to `gpg`. That binary is provided in the container, the problem with it is, it cannot use the gpg-agent as provided by Seahorse etc. and bails out on needing to supply a passphrase without a terminal.
The gpg program name can be overridden to `gpg2` in git configuration, but this binary is not present in the container. Neither, I believe, the agent socket is forwarded from the desktop.
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先检查容器的构建/配置以及 Git 的 GnuPG 设置处理方式;该 issue 未指定任何文件或测试。确认 gpg2 的安装方式,以及如何公开桌面 gpg-agent 的 socket。完成的标准是:无需交互式终端即可使用主机 agent 完成 Git commit 签名。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- git
- 领域
- devops, security
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100