Tests run on arch linux:
The following fails to get public key via WKD:
gpg -v --auto-key-locate clear,wkd,nodefault --locate-external-keys arch@sapience.com gpg: error retrieving 'arch@sapience.com' via WKD: Network error
Turning on logging for dirnmgr shows:
DBG: Using TLS library: GNUTLS 3.8.3 detected interfaces: IPv4 IPv6 DBG: http.c:connect_server: trying name='openpgpkey.sapience.com' port=443 DBG: dns: resolve_dns_name(openpgpkey.sapience.com): Success DBG: http.c:2899:socket_new: object 0x00007f235401fc40 for fd 7 created TLS handshake failed: Illegal parameter (alert 47) error connecting to 'https://openpgpkey.sapience.com/.well-known/openpgpkey/sapience.com/hu/me5xnfhbf3w9djpmxa3keq5q8s3rcgf1?l=arch': Network error command 'WKD_GET' failed: Network error <Unspecified source>
While on same machine manually pulling the file given in log succeeds just fine:
curl https://openpgpkey.sapience.com/.well-known/openpgpkey/sapience.com/hu/me5xnfhbf3w9djpmxa3keq5q8s3rcgf1?l=arch -o xxx
And indeed this is valid public key:
file xxx xxx: OpenPGP Public Key Version 4...
Check using sequoia works fine:
sq wkd get arch@sapience.com Importing 1 certificate into the certificate store: 1. 7CCA1BA66669F3273DB52678E5B81343AB9809E1 ...