(initial report: https://bugs.archlinux.org/task/52234 )
apologies; i'm no guru but i'll get you stack traces or whatever you need.
in version 2.1.17 of GnuPG/dirmngr, it appears that all keyserver operations
fail- even with a completely fresh GNUPGHOME.
original report as follows:
"""
Description:
With the new update to GnuPG, I noticed that I was unable to retrieve, search,
or send keys, with all three actions resulting in a "no keyserver" error.
Reinitialized both my home directory and pacman .gnupg directories to ensure
this problem wasn't due to a configuration change but no dice. Rolling back to
GnuPG 2.1.16 immediately fixed the issue and I expect this is due to the new
resolver code and some weird interaction with Arch in particular. Even tried the
--standard-resolver option inside dirmngr.conf as mentioned in the changelog but
I just ended up getting "Unresolved Host".
"""
"""
Confirming:
[root@archdev ~]# ps auxf|egrep -E '(gpg|dirmngr)' | grep -v grep
[root@archdev ~]# rm -rf .gnupg
[root@archdev ~]# echo $GNUPGHOME
[root@archdev ~]# gpg --debug 1024 --keyserver
hkps://hkps.pool.sks-keyservers.net --search-keys 9741E8AC
gpg: Note: no default option file '/root/.gnupg/gpg.conf'
gpg: enabled debug flags: ipc
gpg: directory '/root/.gnupg' created
gpg: new configuration file '/root/.gnupg/dirmngr.conf' created
gpg: new configuration file '/root/.gnupg/gpg.conf' created
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: DBG: chan_3 <- # Home: /root/.gnupg
gpg: DBG: chan_3 <- # Config: /root/.gnupg/dirmngr.conf
gpg: DBG: chan_3 <- OK Dirmngr 2.1.17 at your service
gpg: DBG: connection to the dirmngr established
gpg: DBG: chan_3 -> GETINFO version
gpg: DBG: chan_3 <- D 2.1.17
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> KEYSERVER --clear hkps://hkps.pool.sks-keyservers.net
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> KS_SEARCH -- 9741E8AC
gpg: DBG: chan_3 <- ERR 219 Server indicated a failure <Unspecified source>
gpg: error searching keyserver: Server indicated a failure
gpg: keyserver search failed: Server indicated a failure
gpg: DBG: chan_3 -> BYE
gpg: secmem usage: 0/32768 bytes in 0 blocks
"""