Home GnuPG
Diffusion GnuPG 8fb482252436

dirmngr: Use a default keyserver if none is explicitly set
8fb482252436Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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>

Details

Provenance
dkgAuthored on Oct 28 2016, 12:30 AM
wernerCommitted on Nov 17 2016, 3:29 PM
Parents
rG7c1613d41566: dirmngr: Add system CAs if no hkp-cacert is given
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG8fb482252436: dirmngr: Use a default keyserver if none is explicitly set (authored by Daniel Kahn Gillmor <dkg@fifthhorseman.net>).Nov 17 2016, 3:29 PM