Efficent batch fetching with verification?

Werner Koch wk at gnupg.org
Fri Nov 3 20:17:38 CET 2017


On Fri,  3 Nov 2017 06:20, robbat2 at gentoo.org said:

> Presently, the code is effectively this:
> ...cat-list-of-fingerprints... | xargs gpg --recv
>
> This has the downside of causing many execs.

Right after a clean startup of your user session you will
see these execs:

  1. xargs execs gpg
  2. gpg execs gpg-agent
  3. gpg execs dirmngr

If xargs needs to exec another gpg you won't see new execs for gpg-agent
or dirmngr.  And the startup time of gpg can be neglecated compared to
the latency of the keyservers.

Or may it be that you are using gpg 1.4 or 2.0?  Those invoke keyserver
helpers and that may very well be one exec per supplied fingerprint.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20171103/9815209b/attachment.sig>


More information about the Gnupg-users mailing list