Emacs not finding keys to verify signatures
Daniel Patterson
dbp at dbpmail.net
Sun Jun 30 13:13:44 PDT 2013
Daniel Kahn Gillmor <dkg at fifthhorseman.net> writes:
> i think the command would be "notmuch gpg", not "gpg-notmuch" -- in your
> configuration, how does emacs know to invoke notmuch on the remote
> server instead of locally?
notmuch on my local machine is a shell script that executes notmuch on
my server via ssh, as per http://notmuchmail.org/remoteusage/. The
reason why this works is that there is no meaning for it to ever execute
locally - there is no notmuch database locally. So from the perspective
of emacs, it might as well be running on the same computer as notmuch
is. Having notmuch-emacs execute shell commands is really nice for this
- because they can easily be replaced with versions that run commands on
other hosts.
> is it possible that we could make this change something that happens
> in exactly one place in the emacs configuration, and have the wrapper
> scripts figure out the rest?
I think so - signing/encrypting is done via message-mode, so it could be
configured separately (as this should probably always happen locally,
and certainly shouldn't be forced to happen in the same place as the
email store). So if there were a setting like:
(setq notmuch-gpg-command "/path/to/gpg-or-wrapper")
That was what notmuch-emacs used to fetch keys (and anything else it
needed to do), I think it would work.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20130630/4fee3d35/attachment.pgp>
More information about the notmuch
mailing list