Install pinentry-mac:
brew install pinentry-mac
Add the following line to ~/.gnupg/gpg-agent-conf
:
pinentry-program /usr/local/bin/pinentry-mac
Restart gpg-agent:
gpgconf --kill gpg-agent
Run pinentry-mac:
/usr/local/bin/pinentry-mac
Try pinentry commands:
GETPIN
CONFIRM
Test a key using gpg clearsign:
echo hello | gpg -u [email protected] --clearsign
References: