brew install gnupg pinentry-mac
(this includes gpg-agent and pinentry)- Generate a key:
gpg --full-generate-key
- Use the same user.email & user.name that you use in your git config
-
Tell gpg-agent to use pinentry-mac:
$ vi ~/.gnupg/gpg-agent.conf
brew install gnupg pinentry-mac
(this includes gpg-agent and pinentry)gpg --full-generate-key
Tell gpg-agent to use pinentry-mac:
$ vi ~/.gnupg/gpg-agent.conf