我正在设置一台新机器,并且更喜欢将密钥库用于各种 pgp 活动,例如签署提交。我可以运行一个命令
$ keybase pgp sign -m foo > x
$ gpg --verify x 2>&1 | grep -oF 'Good signature'
Good signature
Run Code Online (Sandbox Code Playgroud)
我可以直接用 gpg 签名,但是让 keybase 管理它很方便。那么我可以以某种方式让 git 使用 keybase 吗?
Git 配置似乎没有办法自定义用于签署提交的 gpg 命令。您所能做的就是提供密钥。有什么办法吗?