I use gpg-agent sometimes with no X display or over ssh, so my config file contains:pinentry-program /usr/bin/pinentry-cursesThis way, the gpg passphrase is requested in curses.That said, in some graphical scripts, I wish to use the GTK pinentry instead. How to call gpg and temporarily use a different pinentry?
Change pinentry program temporarily with gpg-agent
gpg;gpg agent