[PATCH 0/2] Prompting for the GPG password within Emacs
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Mon Jul 8 03:55:06 PDT 2013
On 07/08/2013 02:45 AM, craven at gmx.net wrote:
> This is what I have tried too :) My setup is as follows:
> I run emacs in non-window mode (-nw) on a server machine under tmux (a
> terminal multiplexer, like screen). I connect to this via SSH from
> different machines (maybe even across multiple SSH logins).
cool, this makes sense to me.
on the remote server, do you have the pinentry-curses and gnupg-agent
packages installed (these are the packages' names on debian and
debian-derived systems -- they might be named something else on your
distro).
do you have use-agent (on its own line) in ~/.gnupg/gpg.conf on the server?
> I have the secret keys on the local machine and the remote machine.
> gpg-agent runs fine on the remote machine, however I have found no way
> to make it consistently prompt for the password on the right SSH
> connection (I don't believe there even is a way to achieve this, as
> there may be multiple, or I may leave several connections open and move
> between machines). The only thing that mostly works is using the remote
> gpg-agent to prompt on the terminal, which messes up the display
> temporarily.
The route i suggest above (with pinentry-curses might be what you're
describing here. when you say "messes up the display temporarily" can
you be more specific about what it does to the display? this may be a
bug in pinentry-curses that could be fixed.
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1027 bytes
Desc: OpenPGP digital signature
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20130708/3d0c17ed/attachment.pgp>
More information about the notmuch
mailing list