summaryrefslogtreecommitdiffstats
path: root/dirmngr/server.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-03-17 15:39:33 +0100
committerWerner Koch <wk@gnupg.org>2014-03-17 15:39:33 +0100
commit1e2e39c5758ffaf62f8bb85b4a86dc49c41f3a68 (patch)
tree9e5621516371bdb453a22c2d5040de6f847c8e1f /dirmngr/server.c
parentgpg: New mechanism "clear" for --auto-key-locate. (diff)
downloadgnupg2-1e2e39c5758ffaf62f8bb85b4a86dc49c41f3a68.tar.xz
gnupg2-1e2e39c5758ffaf62f8bb85b4a86dc49c41f3a68.zip
gpg: Make --auto-key-locate work again with keyservers.
* dirmngr/ks-engine-hkp.c (ks_hkp_get): Allow exact search mode. * g10/keyserver.c (keyserver_import_name): Implement. (keyserver_get): Use exact mode for name based import. (keyserver_get): Add args R_FPR and R_FPRLEN. Change all callers.
Diffstat (limited to 'dirmngr/server.c')
-rw-r--r--dirmngr/server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dirmngr/server.c b/dirmngr/server.c
index f1319ad28..bdfb755d3 100644
--- a/dirmngr/server.c
+++ b/dirmngr/server.c
@@ -1603,7 +1603,8 @@ static const char hlp_ks_get[] =
"KS_GET {<pattern>}\n"
"\n"
"Get the keys matching PATTERN from the configured OpenPGP keyservers\n"
- "(see command KEYSERVER). Each pattern should be a keyid or a fingerprint";
+ "(see command KEYSERVER). Each pattern should be a keyid, a fingerprint,\n"
+ "or an exact name indicastes by the '=' prefix.";
static gpg_error_t
cmd_ks_get (assuan_context_t ctx, char *line)
{