Configuring dirmngr

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Sep 6 19:59:43 CEST 2017


On Tue 2017-09-05 21:58:44 +0100, Mario Figueiredo wrote:
> I'm having trouble configuring dirmngr to use a default keyserver.
>
> The current configuration file at .gnupg/dirmngr.conf contains this
> single line:
>
>     keyserver hkp://pgp.mit.edu
>
> However trying to use --recv-keys always fails:
>
>     $ gpg --recv-keys 0x194b631ab2da2888
>     gpg: no valid OpenPGP data found.
>     gpg: Total number processed: 0

What version of gnupg are you running?

after making that configuration file, have you explicitly restarted
dirmngr?  the simplest way is:

    gpgconf --kill dirmngr

then subsequent uses of gpg should automatically spawn a new dirmngr,
which will pick up the new configuration.

hth,

     --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: </pipermail/attachments/20170906/b7cfaa85/attachment.sig>


More information about the Gnupg-users mailing list