[Pkg-privacy-maintainers] Bug#827311: Bug#827311: parcimonie can't find the keyserver for gpg2

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Jun 15 22:15:16 UTC 2016


On Tue 2016-06-14 16:59:19 -0400, Sven Bartscher wrote:
> When I run parcimonie --gnupg2 it always exits with the following
> message:
>
> No keyserver is configured. at \
> /usr/share/perl5/App/Parcimonie/Daemon.pm line 151.
>
> I actually do have a keyserver configured and gpg2 utilizes it just
> fine. Running parcimonie without --gnupg2 works just fine, so I don't
> think this is a problem with my configuration.
>
> I looked at the code pointed to by the error message and found that
> the following command should return the keyserver:
>
> gpg-connect-agent --dirmngr keyserver /bye
>
> However, it always just prints "OK" and exits without giving the
> address of the keyserver.

what version of gnupg2 do you have installed?  what does:

 grep ^keyserver ~/.gnupg/dirmngr.conf

show you?

another approach is to use:

 gpgconf --list-options dirmngr | grep ^keyserver: | cut -f10 -d:

(the results might need to be un-escaped before use)

     --dkg



More information about the Pkg-privacy-maintainers mailing list