diff options
author | Daniel Kahn Gillmor <[email protected]> | 2016-10-27 22:30:59 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-11-17 14:29:35 +0000 |
commit | 8fb482252436b3b4b0b33663d95d1d17188ad1d9 (patch) | |
tree | 732cd2ae971eb3a0aecac6414ea2a4587bed649a /doc | |
parent | dirmngr: Add system CAs if no hkp-cacert is given (diff) | |
download | gnupg-8fb482252436b3b4b0b33663d95d1d17188ad1d9.tar.gz gnupg-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 <[email protected]>
Diffstat (limited to 'doc')
-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 |