Provide --alternate-keyserver to avoid "No valid OpenPGP data found" response
Closed, ResolvedPublic

Description

In current form, if the --keyserver provided during a --recv-keys request is down,
there is no automated retry against an alternate keyserver. This is problematic when
piping the output directly to a utility such as apt-key. Even if the keyserver is
checked prior to the pipe, there is still be a chance on a second attempt the keyserver
will be down.

I wish that --keyserver be augmented in some form such that multiple hosts can be
attempted, either as a comma separated list, by providing the argument multiple times,
or providing another argument such as --alternate-keyserver which will log the outage
when the first keyserver fails, but continue on and use the alternate keyserver.

werner added a subscriber: werner.Feb 15 2016, 8:44 PM

I guess you are reporting for GnuPG 2.0 or 1.4.
We already implemented your suggestion in 2.1.

neal added a subscriber: neal.Mar 1 2016, 11:53 AM

Marking as resolved since this is available in 2.1 and we are not going to
backport this to 1.4 or 2.0. Thanks.

neal closed this task as Resolved.Mar 1 2016, 11:53 AM
neal claimed this task.