- Someone suggested that if you have seahorse installed, remove it. (I
did, but it did not work) - 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