Re: [RFE] Call `gpg --recv-keys` asynchronously

Subject: Re: [RFE] Call `gpg --recv-keys` asynchronously

Date: Tue, 28 Feb 2017 19:52:59 -0400

To: Sebastian Schwarz,

Cc: Daniel Kahn Gillmor

From: David Bremner

Sebastian Schwarz <> writes:

> Allow me add to this RFE.
> On 2017-02-28, Steven Allen wrote:
>> Currently, notmuch fetches keys synchronously.  This can be
>> *very* slow (I fetch keys over tor) and locks up emacs for the
>> duration.  Therefore, this fetch really should be
>> asynchronous.
> Even with all keys already present signature verification takes
> some time as well.  It would be nice if this was done
> asynchronously as well.  This would greatly improve the speed of
> opening threads with large numbers of signed messages.

Offhand, that sounds even harder.  With a noticable loss in security, we
could cache the verifications in the database so the cost is only paid