In ubuntu 18.04 it doesn't ask for the pin when I'm logged in via ssh
without a DISPLAY= variable.
Tried adding "pinentry-program /usr/bin/pinentry-curses" to ~/.gnupg
/gpg-agent.conf but it didn't help.
I had to remove pinentry-gnome3 to get gpg working when logged in via
ssh.
--
You received
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: pinentry (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1650989
Title:
p
** Description changed:
+ Ubuntu version: 16.10
+ Desktop environment: i3
+
+ Attempting to decrypt a previously encrypted file:
+
gpg: public key decryption failed: Operation cancelled
gpg: decryption failed: No secret key
strace -f -F of a gpg decrypt shows the following:
[pid 17851