1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-06-19 20:37:57 +02:00

dirmngr: Do not require a keyserver for KS_FETCH.

* dirmngr/server.c (cmd_ks_fetch): Remove check for a keyserver.
--
GnuPG-bug-id: 7693
This commit is contained in:
Werner Koch 2025-06-17 16:07:13 +02:00
parent 57c1c96e7f
commit 80d56172f2
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -2632,10 +2632,6 @@ cmd_ks_fetch (assuan_context_t ctx, char *line)
ctrl->timeout = opt.connect_quick_timeout; ctrl->timeout = opt.connect_quick_timeout;
line = skip_options (line); line = skip_options (line);
err = ensure_keyserver (ctrl); /* FIXME: Why do we needs this here? */
if (err)
goto leave;
/* Setup an output stream and perform the get. */ /* Setup an output stream and perform the get. */
outfp = es_fopencookie (ctx, "w", data_line_cookie_functions); outfp = es_fopencookie (ctx, "w", data_line_cookie_functions);
if (!outfp) if (!outfp)
@ -2650,7 +2646,6 @@ cmd_ks_fetch (assuan_context_t ctx, char *line)
ctrl->server_local->inhibit_data_logging = 0; ctrl->server_local->inhibit_data_logging = 0;
} }
leave:
return leave_cmd (ctx, err); return leave_cmd (ctx, err);
} }