diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2016-10-28 00:30:59 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2016-11-17 15:29:35 +0100 |
commit | 8fb482252436b3b4b0b33663d95d1d17188ad1d9 (patch) | |
tree | 732cd2ae971eb3a0aecac6414ea2a4587bed649a /doc/dirmngr.texi | |
parent | dirmngr: Add system CAs if no hkp-cacert is given (diff) | |
download | gnupg2-8fb482252436b3b4b0b33663d95d1d17188ad1d9.tar.xz gnupg2-8fb482252436b3b4b0b33663d95d1d17188ad1d9.zip |
dirmngr: Use a default keyserver if none is explicitly set
* configure.ac: Define DIRMNGR_DEFAULT_KEYSERVER.
* dirmngr/server.c (ensure_keyserver): Use it if no keyservers are set.
* doc/dirmngr.texi: Document this behavior.
--
A user who doesn't specify a keyserver, but asks gnupg to fetch a key
currently just gets a simple error messages "No keyserver available".
If the user is asking to contact a keyserver, we should have a
reasonable default, and not require them to fiddle with settings when
they might not know what settings to choose. This patch makes the
default hkps://hkps.pool.sks-keyservers.net.
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to '')
-rw-r--r-- | doc/dirmngr.texi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/dirmngr.texi b/doc/dirmngr.texi index bc3072ce8..be4e97ab7 100644 --- a/doc/dirmngr.texi +++ b/doc/dirmngr.texi @@ -277,6 +277,8 @@ service (.onion), Dirmngr selects the keyserver to use depending on whether Tor is locally running or not. The check for a running Tor is done for each new connection. +If no keyserver is explicitly configured, dirmngr will use the +built-in default of hkps://hkps.pool.sks-keyservers.net. @item --nameserver @var{ipaddr} @opindex nameserver |