I recently toasted my desktop, had to re-install/restore from backup. I hadn't (re-)installed pinentry-gnome3, which was what my gpg-agent.conf specified. I hadn't realized this, and was running explicitely with --pinentry..= with a different (X-windows) option. Naturally, it displayed the request on my desktop while I was at the pub, connecting via mosh/emacsclient.
I configure the ttl way high so that I don't have to enter things. I would rather not do that. I noticed gpg-agent has --allow-emacs-pinentry, but I've not figured out what/if/how that works. I remember emacs prompting me before gnupg 2.1. (I also still struggle with unlocking code signing keys that live most of their life offline on a USB key. Replacing with a yubikey is a todo. I have solutions, but I'm still frustrated with the process) I would in general, be happy to login to my desktop when remote, and then invoke some command that would unlock my keys for awhile. Using pinentry-curses or pinentry-tty if needed. I know that some people resort to running a screen just so that gpg-agent has a $GPG_TTY which it can always talk to. As far as I can tell, there is not a way to this with gpg-agent-connect. Maybe I'm just missing something. -- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works | IoT architect [ ] m...@sandelman.ca http://www.sandelman.ca/ | ruby on rails [ _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org https://lists.gnupg.org/mailman/listinfo/gnupg-users