pinentry

Passphrase entry dialog using the Assuan protocol for GPG

brewmacoslinux
Try with needOr install directly
Source

About

Passphrase entry dialog utilizing the Assuan protocol

Commands

pinentrypinentry-cursespinentry-mac

Examples

Configure GPG to use pinentry for passphrase prompts$ echo 'pinentry-program /usr/local/bin/pinentry-mac' >> ~/.gnupg/gpg-agent.conf
Decrypt a GPG encrypted file (will prompt for passphrase via pinentry)$ gpg --decrypt encrypted-file.gpg
Sign a file with GPG (passphrase requested through pinentry)$ gpg --sign --default-key your-key-id document.txt