我不能让`git tag -s`来询问我的GPG密码

时间:2015-03-16 16:20:14

标签: git gnupg

我可以手动执行gpg任务,然后通过pinentry提示输入我的密码,暂时缓存此密码我可以执行git tag -s并且它可以正常工作,其他方面我得到:

gpg: signing failed: Operation cancelled
gpg: signing failed: Operation cancelled
error: gpg failed to sign the data
error: unable to sign the tag

我正在使用Mac OS X 10.10.2并通过自制软件安装git和GnuPG 2.1(现代版)。如何让git tag -s要求我提供密码?

1 个答案:

答案 0 :(得分:0)