gpg: error retrieving 'erich at eckner.net' via WKD: Connection closed in DNS

Erich Eckner gnupg at eckner.net
Wed Jan 20 14:46:08 CET 2021


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Wed, 20 Jan 2021, Werner Koch wrote:

> On Tue, 19 Jan 2021 17:24, Erich Eckner said:
>
>> error in the subject when doing `gpg -vvvv --locate-external-keys
>
> Many -v don't really help here because the actual task is done by the
> dirmngr process.  Thus to debug this put
>
>  log-file /somewhere/dirmngr.log
>  verbose
>  debug ipc,network,dns
>
> into ~/.gnupg/dirmngr.conf and "gpgconf --kill dirmngr".  The log file
> should give you a pretty good insight what's going on.

Thank you. I'm always confused by the different parts involved and how to 
properly increase verbosity :-)

- From the log, I see, that

_openpgpkey._tcp.eckner.net SRV

is queried. This resolves to some old address (my DNS configuration 
error), which serves the wrong content. Is it right, that this SRV record 
should be queried? Should I update it or remove it?

>
> You may also use
>
>  log-file socket://
>
> and run in another tty
>
>  watchgnupg --time-only --force
>
> or with older version of gnupg
>
>  watchgnupg --time-only --force $(gpgconf --list-dirs socketdir)/S.log
>

I assume, this is for debugging *a lot* of gnupg in one place (like your 
work station, Werner). I'm totally happy with (temporarily) dumping log 
files in /tmp :-D

>
> If we can identify common error patterns in the diagnostics we can
> convey them to the gpg process to make debugging easier.

Ok, I understand.

>
>
> Salam-Shalom,
>
>   Werner

Thank you for your help!

Cheers,
Erich

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE3p92iMrPBP64GmxZCu7JB1Xae1oFAmAINCAACgkQCu7JB1Xa
e1q3sQ/9EuJaERLiHdOqCYEXaqUu+O1Q7Tm7h6h9DLHLHykcJGs+XOK39XStmzTI
1XhHp5CRZJ+f88Dd98eJPSGcGCvnLauHBfyVJwq33TzgQQXzh3D88kpr9RrZjvc1
wLRiaQ3Mx4Jzk26Fmh56qrweQFGOq/RdXzvN45QatM4fSB6hdfB2+sV+RYU6yvpi
ABqfFk/RHCnEZGDwI0Du2k6yfbIASgPJozJpVFLsiEv9OmK6IHibyQCOjcjSCBDs
RvhRFeS2XrEfpktq+FPYRDuc5t6nnmbvTTk2agdoDaxnmr+LxBZJRSOG3NzcdzXJ
Ikg3jOp9KU+Oq9cSijt8E/9wRYT/ukrzehH2j+fEqH62ypqtAU6dtTcX+6tKpZct
QxYMxr/A+ovq/H68szfoC4WAZkX7baqj3IF53O8z6XZ4qv5611OA4DN7Tb9B8G97
QuZXu+30pbvrNigyLO/8RsX3KttFfB02md8DF/0NNGT91Ua2iYm1cu650Zl2dtkW
TehKWvT6627+1FAL4WrQx5GAPetfiP34pyIXSUZyNhzozLCNAjeXh3RhNoMLgFI+
5rTh0lwNYf/BqS35QOvHbE7pWR/c7OnzKyOsMDO8AdIPNz7WAXV+HTa9QXa8zrfj
4j7UQETYC9Df4FdLn4LCOpIlD3GuWfkMgvZ3q0lQqHzP4v9AfIU=
=CIVf
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list