FS#52234 - [gnupg] Unable to connect to keyservers for any action with 2.1.17
Attached to Project:
Arch Linux
Opened by Arsalan (afzalarsalan) - Thursday, 22 December 2016, 10:42 GMT
Last edited by Gaetan Bisson (vesath) - Friday, 23 December 2016, 21:34 GMT
Opened by Arsalan (afzalarsalan) - Thursday, 22 December 2016, 10:42 GMT
Last edited by Gaetan Bisson (vesath) - Friday, 23 December 2016, 21:34 GMT
|
Details
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". Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: Update to GnuPG 2.1.17 Try to get a key from any keyserver or pacman-key --refresh-keys |
This task depends upon
Closed by Gaetan Bisson (vesath)
Friday, 23 December 2016, 21:34 GMT
Reason for closing: Fixed
Additional comments about closing: gnupg-2.1.17-3 in [testing]
Friday, 23 December 2016, 21:34 GMT
Reason for closing: Fixed
Additional comments about closing: gnupg-2.1.17-3 in [testing]
[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
https://bugs.gnupg.org/gnupg/issue2889
maintainer, is it possible to do a rollback operation? this not only breaks core GPG functionality, but also breaks core Arch functionality.
i didn't come here to bicker over semantics nor prioritization of what does and does not constitute core functionality, i came to confirm a very serious bug and report that it is reported upstream.
- fallback on the old, standard resolver code
- if no SRV record is found, use CNAME (as expected but some weird error code apparently broke this)
Please sign off on 2.1.17-2 in [testing].