Teemu Likonen [2017-02-05 11:44:27+02] wrote: > I'll just confirm the above and add that even executing > > gpg-connect-agent updatestartuptty /bye > > on the remote ssh session shell (Bash) doesn't help. I tried > gpg+pinentry with this command on the remote ssh session: > > gpg -ac <<< message > > and pinentry-gnome3 opens its password prompt window in the running > desktop session (XFCE4 in my case).
But one thing that helps is loopback mode for pinentry: gpg -ac --pinentry-mode loopback <<< message So maybe one solution for the (remote) shell sessions' pinentry problem is a shell alias like this: alias gpg="gpg --pinentry-mode loopback"
signature.asc
Description: PGP signature