Op 05-11-16 om 21:23 schreef H.S.:
Still, however, decryption my file using gpg2 does not work: it does not
ask for my passphrase on the std in and just times out. gpg1 works though.
What am I missing?
Package I have on my testing box:
$ COLUMNS=75 dpkg -l gnupg* | grep ^i
ii gnupg 2.1.15-4 amd64 GNU privacy guard - a free PGP re
ii gnupg-agent 2.1.15-4 amd64 GNU privacy guard - cryptographic
ii gnupg-l10n 2.1.15-4 all GNU privacy guard - localization
ii gnupg1 1.4.21-1+b1 amd64 GNU privacy guard - a free PGP re
ii gnupg1-curl 1.4.21-1+b1 amd64 GNU privacy guard - a free PGP re
ii gnupg2 2.1.15-4 all GNU privacy guard - a free PGP re
Nothing obviously missing there, as far as I can tell.
The passphrase input is handled by gnupg-agent, so that's what appears
to be failing. It uses a 'pinentry' tool. On my system it usually pops
up a small graphical window, but its dependency list suggests it can
also use something terminal based if that isn't installed. There must be
something wrong with that combination. I *think* it may be related to
the second item mentioned here:
https://www.gnupg.org/documentation/manuals/gnupg-devel/Common-Problems.html
Do you have the GPG_TTY variable set up? I have mine in ~/.bashrc like this:
export GPG_TTY=$(tty)
Regards.
Frank