gnupg vs. gnupg2

Todd Zullinger tmz at
Mon Mar 16 03:19:03 CET 2009

Suno Ano wrote:
> - there is one utterly annoying fact with gpg2 which is the graphical
>   windows which keep poping up How
>   can I get rid of them and have the behavior of gpg which just stays
>   in the shell?

You can use the curses pinentry program.  The prompt is due to gpg2
using gpg-agent.  In ~/.gnupg/gpg-agent.conf, add:

pinentry-program /usr/bin/pinentry-curses

You may also need to set GPG_TTY in your shell init file as well.  For
example, in ~/.bashrc:

export GPG_TTY=`tty`

Give info gnupg 'Invoking GPG-AGENT' a read.  I found that helpful a
while back.

Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL:
If at first you don't succeed, try management.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: </pipermail/attachments/20090315/7b04056a/attachment.pgp>

More information about the Gnupg-users mailing list