I can’t get `git tag -s` to ask for my GPG password

怎甘沉沦 提交于 2019-12-11 02:39:53

问题


I can manually perform a gpg task that then prompts for my password via pinentry, with this password temporarily cached I can perform git tag -s and it works, other wise I get:

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

I’m using Mac OS X 10.10.2 and have git and GnuPG 2.1 (modern) installed via homebrew. How can I get git tag -s to ask for my password?

来源:https://stackoverflow.com/questions/29081834/i-can-t-get-git-tag-s-to-ask-for-my-gpg-password

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!