3.0 - Unable to fetch GPG key from keyserver

Yup, that worked just fine.

Meantime I did some more reading on the subject and further testing and it seems that it bears down to a dns resolution issue when ipv6 is involed, and this lxc host is pure ipv4.

gpg -vvvv --keyserver-options=debug --keyserver "hkps.pool.sks-keyservers.net" --recv-keys "0xE7FB0CAEC8173D669066514CBAEFF88C22F6E216"

gpg: keyserver option ‘debug’ is unknown
gpg: using character set ‘utf-8’
gpg: keyserver receive failed: Cannot assign requested address
dirmngr[5679]: can’t connect to ‘2001:470:1:116::6’: Cannot assign requested address
dirmngr[5679]: error connecting to ‘http://[2001:470:1:116::6]:11371’: Cannot assign requested address
dirmngr[5679]: command ‘KS_GET’ failed: Cannot assign requested address

Notwithstanding mentioned at https://sks-keyservers.net/overview-of-pools.php

ipv4.pool.sks-keyservers.net if anyone for some reason (broken IPv6) should have difficulties

2 Likes