Home GnuPG
Diffusion GnuPG eecbed004ca1

gpg: Fix regression in --refresh-keys
eecbed004ca1Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: Fix regression in --refresh-keys

* g10/keyserver.c (keyserver_get): Factor all code out to ...
(keyserver_get_chunk): new.  Extimate line length.
(keyserver_get): Split up requests into chunks.

Note that refreshing all keys still requires way to much memory
because we build an in-memory list of all keys first. It is required
to first get a list of all keys to avoid conflicts while updating the
key store in the process of receiving keys. A better strategy would
be a background process and tracking the last update in the key store.

  • GnuPG-bug-id: T1755
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 12 2014, 12:14 PM
Parents
rGffc2307843ce: gpg: Add import options "keep-ownertrust".
Branches
Unknown
Tags
Unknown