pinentry-mac

Secure passphrase entry tool for GPG on macOS

brewmacoslinux
Try with needOr install directly
Source

About

Pinentry for GPG on Mac

Commands

pinentry-mac

Examples

Configure GPG to use pinentry-mac for passphrase prompts$ echo 'pinentry-program /usr/local/bin/pinentry-mac' >> ~/.gnupg/gpg-agent.conf
Reload GPG agent after configuration changes$ gpgconf --kill gpg-agent
Sign a file with GPG, triggering pinentry-mac passphrase prompt$ gpg --sign document.txt