Jens Lechtenboerger writes: > On 2015-11-11, at 09:15, Kevin Brubeck Unhammer wrote: > >> Can the pinentry-program setting be changed on-the-fly so I can say >> "give me the gtk one" or "give me the curses one" depending on >> (display-graphic-p) ? > > I don’t know about that. However, /usr/bin/pinentry-gtk-2 falls > back to curses in a “real” terminal. > > I realize that I may have misunderstood tomás, and I’m also not sure > about your use cases: In a “GUI terminal” (say, xterm), > pinentry-gtk-2 pops up a window, whereas it uses that terminal if > there is no GUI. I had a problem where if I did ssh without -X, I wouldn't be able to type into the pinentry from Emacs. I suppose I should try again with the newest gnupg2 to see if that is still an issue. -- Kevin Brubeck Unhammer GPG: 0x766AC60C