Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is GPG not working even with pinentry installed?

Tags:

macos

gnupg

Despite me installing pinentry, I still get the following error:

xxxxxxxMacxxxxx:~ MAU$ gpg2 -c --cipher-algo=aes
gpg-agent[89931]: can't connect to the PIN entry module: IPC connect call failed
gpg-agent[89931]: command get_passphrase failed: No pinentry
gpg: problem with the agent: No pinentry
gpg: error creating passphrase: Operation cancelled
gpg: symmetric encryption of `[stdin]' failed: Operation cancelled
like image 760
rake Avatar asked Aug 08 '13 10:08

rake


1 Answers

You may have an old (and wrong) entry in your gpg-agent.conf file. Check this config file for an incorrect path to the pinentry-program and delete this line.

like image 106
xern Avatar answered Dec 08 '22 19:12

xern