large keyring refresh fails with gpg 2.1.0: "Too many objects"

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Nov 6 23:39:09 CET 2014


hi GnuPG folks--

I have a large keyring with 2.5K OpenPGP keys in it.

With GnuPG 2.0.x and 1.4.x, i am able to refresh the whole thing with:

 gpg --refresh

with 2.1.0, that command produces this error:

gpg: refreshing 2532 keys from hkp://keys.gnupg.net
gpg: keyserver refresh failed: Too many objects

I could use a tool like parcimonie [0] to refresh them one at a time, in
the background, but that takes even longer.  in some contexts, it would
be nice to just have a single, full refresh happen as fast as possible.

Is there a recommended way to refresh all the keys from a large keyring
like this, or at least to conveniently chunk the requests into an
acceptable number of objects at a time?

     --dkg

[0] https://gaffer.ptitcanardnoir.org/intrigeri/code/parcimonie/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 948 bytes
Desc: not available
URL: </pipermail/attachments/20141106/ae61e10a/attachment.sig>


More information about the Gnupg-devel mailing list