问题
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