dirmngr: Avoid automatically checking upstream swdb.
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 21 Nov 2016 04:09:24 +0000 (23:09 -0500)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 30 Aug 2018 15:57:15 +0000 (16:57 +0100)
* dirmngr/dirmngr.c (housekeeping_thread): Avoid automatically
checking upstream's software database.  In Debian, software updates
should be handled by the distro mechanism, and additional upstream
checks only confuse the user.
* doc/dirmngr.texi: document that --allow-version-check does nothing.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Gbp-Pq: Topic dirmngr-idling
Gbp-Pq: Name dirmngr-Avoid-automatically-checking-upstream-swdb.patch

dirmngr/dirmngr.c
doc/dirmngr.texi

index caddae22585e2cd33c5d793c17ec6d6c71bc46d5..ecd927c2cd37b4e06f19d3364ad9ae659497b122 100644 (file)
@@ -1953,8 +1953,6 @@ housekeeping_thread (void *arg)
   if (network_activity_seen)
     {
       network_activity_seen = 0;
-      if (opt.allow_version_check)
-        dirmngr_load_swdb (&ctrlbuf, 0);
       workqueue_run_global_tasks (&ctrlbuf, 1);
     }
   else
index 76be5286c512e3c9d9e69fc23a3439e7542b87d4..742658ebf368ced331e6fb8238f32585ddbd452b 100644 (file)
@@ -290,9 +290,10 @@ Set the size of the queue for pending connections.  The default is 64.
 @item --allow-version-check
 @opindex allow-version-check
 Allow Dirmngr to connect to @code{https://versions.gnupg.org} to get
-the list of current software versions.  If this option is enabled
-the list is retrieved in case the local
-copy does not exist or is older than 5 to 7 days.  See the option
+the list of current software versions.
+On debian-packaged versions, this option does nothing since software
+updates should be handled by the distribution.
+See the option
 @option{--query-swdb} of the command @command{gpgconf} for more
 details.  Note, that regardless of this option a version check can
 always be triggered using this command: