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

David Bremner david at tethera.net
Tue Feb 28 18:18:10 PST 2017


David Bremner <david at tethera.net> writes:

> Sebastian Schwarz <seschwar at gmail.com> 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
> once.
>
> d

FWIW, these changes are pretty unrelated at an implimentation level. The
key fetching is done from emacs, while the verification is done in the
notmuch binary.

d


More information about the notmuch mailing list