
If that doesn't do the job then: Tell GPG which tty to use when it asks for the password

What I actually did to solve this issue is: Install pinentry
Gpg suite mac updates how to#
Gpg-agent: gpg-agent running and availableĪny ideas on how to fix this? I'd prefer not use the old GPG Suite, revert to GPG 1.0, or use gpg-preset-passphrase. bash_profile: & source ~/.gpg-agent-infoĮval $( gpg-agent -daemon -write-env-file ~/.gpg-agent-info )Īfter sourcing this script, gpg-agent says: $ gpg-agent I found this page that suggests to add this script to. Gpg-agent: no gpg-agent running in this session Researching here, the only mention I see is at " I can’t get `git tag -s` to ask for my GPG password" where it suggests the problem is with the environment variables for gpg-agent (with no suggested solution), or to use gpg-preset-passphrase function (which I'd prefer not to).Ĭhecking further, it appears that gpg-agent isn't running: $ gpg-agent You need a passphrase to unlock the secret key for However, with GPG only, it does properly find my public key, but it does not prompt me for a password for signing. When I try to commit change to a git repository where git config commit.gpgsign=true is required, on my old GPG Suite I get a popup window where it asks for my password. Git config -global user.email config -global user.mail config -global user.signingKey F8D36C91357405ED git config -global user.name "Christopher Allen" I have set my git globals with the appropriate settings. I am not installing the mac interface GPG Suite which I had on the old machine as I really would prefer to use just command line. I have copied my keys from ~.gnupg on my old mac. I am setting up new machine (macOS Sierra) for web development, and I have done brew install gpg which has installed gpg2 and gpg-agent.
