Page MenuHome GnuPG

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.

Event Timeline

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

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 claimed this task.