On 11/06/2016 07:19 AM, Jörg-Volker Peetz wrote:
I'm using pinentry-gtk2 which also works in text-mode.
KDE users may prefer pinentry-qt or pinentry-qt4 which also works in text-mode.

Regards,
jvp.



Frank, JVP,
Thanks for the info. This completed the solution for me. Based on your info and some background from https://wiki.archlinux.org/index.php/GnuPG, I have the following in my config:
$ cat ~/.gnupg/gpg-agent.conf
# Specify which pinentry program to use
pinentry-program /usr/bin/pinentry-gtk-2

I then reloaded the agent using this command:
$ gpg-connect-agent reloadagent  /bye

and was able to decrypt the file from a virtual console, as well as using vim to edit that gpg file. Just to be clear, in a console (withoug a windowing environment), there is an ncurses prompt in the terminal for the passphrase. In a windowing environment (KDE in my case), there is a GKT2 window that asks for the passphrase. In both cases, the gpg-agent saves the passphrase. This also works when I edit my encrypted text file in vim. All works great now!

Thank you, everyone!


--

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.

Reply via email to