aboutsummaryrefslogtreecommitdiffstats
path: root/common/init.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-11-12 11:14:32 +0000
committerWerner Koch <[email protected]>2014-11-12 11:14:32 +0000
commiteecbed004ca1e9ca23c3892c3a5e6dd174ddf93b (patch)
tree35a5e4d4f665f5265a96988b5a15d8b9cfcd4000 /common/init.c
parentgpg: Add import options "keep-ownertrust". (diff)
downloadgnupg-eecbed004ca1e9ca23c3892c3a5e6dd174ddf93b.tar.gz
gnupg-eecbed004ca1e9ca23c3892c3a5e6dd174ddf93b.zip
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: 1755 Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/init.c')
0 files changed, 0 insertions, 0 deletions