dirmngr: Auto-sownload the swdb.lst
authorWerner Koch <wk@gnupg.org>
Thu, 17 Nov 2016 09:14:14 +0000 (10:14 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 17 Nov 2016 09:14:14 +0000 (10:14 +0100)
commitbd91f92ace09263e3a91177f2a1644379baeb08a
treed8cfd172423a9347e4988cddfecab270b9a83d48
parentc45ca316a54665915ae08399484db271566db7c0
dirmngr: Auto-sownload the swdb.lst

* dirmngr/dirmngr.h (struct opt): Add field allow_version_check.
* dirmngr/dirmngr.c (oAllowVersionCheck): New.
(opts): Add --allow-version-check.
(network_activity_seen): New variable.
(parse_rereadable_options): Set opt.allow_version_check.
(main) <aGPGConfList>: Do not anymore set the no change flag for
Windows.  Add allow-version-check.
(netactivity_action): Set network_activity_seen.
(housekeeping_thread): Call dirmngr_load_swdb.
* tools/gpgconf-comp.c (gc_options_dirmngr): Add allow-version-check.
Make "use-tor" available at Basic level.

Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/dirmngr.c
dirmngr/dirmngr.h
doc/dirmngr.texi
tools/gpgconf-comp.c