Disable gpg GUI asking for paraphrase

  1. Someone suggested that if you have seahorse installed, remove it. (I
    did, but it did not work)
  2. Someone suggested that exporting
    PINENTRY_USER_DATA="USE_CURSES=1" will do the trick. It also did
    not work.

Add --no-use-agent to the command option. It worked with old version of
gpg. No gui is appeared while decrypting the file.

This does not work with gpg2. Program gpg2 needs a
use-agent. You have to create a file ~/.gnupg/gpg-agent.conf and add
the line

pinentry-program /usr/bin/pinentry-curses

And we are done.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s