Don't get the pinentry for passphrase in some contexts

Damien Cassou damien at
Thu Jul 13 16:29:25 CEST 2017

Matthias Apitz <guru at> writes:
> What do you use as pinentry exactly? I have:
> $ ls -l /usr/local/bin/pinentry
> lrwxr-xr-x  1 root  wheel  27 15 may.  14:04 /usr/local/bin/pinentry ->
> /usr/local/bin/pinentry-qt5
> and this pops up a Qt5 window for this.

For me, /usr/bin/pinentry is a 86-lines shell script that selects the
correct pinentry binary to use. In all cases, the binary used is
/usr/bin/pinentry-gnome3 (I'm on Gnome3) which is

    $ pinentry-gnome3 --version
    pinentry-gnome3 (pinentry) 0.9.7

Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill

More information about the Gnupg-users mailing list