gpg2 --fetch-keys

Kristian Fiskerstrand kristian.fiskerstrand at
Sat May 28 17:23:09 CEST 2016

On 05/28/2016 03:32 PM, Dashamir Hoxha wrote:
> Hi,
> I get this general error and I have no idea what is wrong:

you can increase the dirmngr verbosity in dirmngr.conf using log-file
and debug / debug-level / debug-all .

at least two things to look for, (i) is dirmngr compiled with gnutls
support for tls and properly linked[1] (ii) is root ca properly specified[2]

[1] since 2.1.12 the output of echo "KEYSERVER --help" |
gpg-connect-agent --dirmngr will accurately report https depending on
whether or not gnutls is included, before this easist way is likely
checking ldd

[2]  iirc using system provided root CAs wasn't included until 2.1.12 either
Kristian Fiskerstrand
Twitter: @krifisk
Public OpenPGP certificate at hkp://
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3
"When I was kidnapped, my parents snapped into action. They rented out
my room."
(Woody Allen)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20160528/b06f7a3f/attachment-0001.sig>

More information about the Gnupg-users mailing list