Configuring dirmngr

Mario Figueiredo marfig at gmx.com
Tue Sep 5 22:58:44 CEST 2017


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

I can only make it work by using the deprecated method of explicitly
naming the keyserver:

    $ gpg --keyserver hkp://pgp.mit.edu --recv-keys 0x194b631ab2da2888
    key 194B631AB2DA2888:
    32 signatures not checked due to missing keys
    gpg: key 194B631AB2DA2888: "Andreas Rönnquist
    <andreas at ronnquist.net>" not changed gpg: Total number processed: 1
    gpg:              unchanged: 1

What am I doing wrong in the dirmngr configuration file?

-- 
Sinceramente / Best regards,

Mário J.G.P. Figueiredo
Luanda, Angola
(email) marfig at gmx.com (alt) krugar at openmailbox.org
(phone) +244 934 535 121
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20170905/a1487604/attachment.sig>


More information about the Gnupg-users mailing list