From c45ca316a54665915ae08399484db271566db7c0 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 17 Nov 2016 10:07:11 +0100 Subject: dirmngr: Improve downloading of swdb.lst. * dirmngr/loadswdb.c (time_of_saved_swdb): Aslo return the "verified" timestamp. (dirmngr_load_swdb): Avoid unnecessary disk or network access witout FORCE. Do not update swdb.lst if it did not change. Signed-off-by: Werner Koch --- doc/tools.texi | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/tools.texi b/doc/tools.texi index 6e578a3ad..b1ed61584 100644 --- a/doc/tools.texi +++ b/doc/tools.texi @@ -307,7 +307,15 @@ is given, check that file instead. @item --query-swdb @var{package_name} [@var{version_string}] Returns the current version for @var{package_name} and if @var{version_string} is given also an indicator on whether an update -is available. +is available. The actual file with the software version is +automatically downloaded and checked by @command{dirmngr}. +@command{dirmngr} uses a thresholds to avoid download the file too +often and it does this by default only if it can be done via Tor. To +force an update of that file this command can be used: + +@example + gpg-connect-agent --dirmngr 'loadswdb --force' /bye +@end example @item --reload [@var{component}] -- cgit v1.2.3