[Bug 1625845] Re: dirmngr doesn't handle IPv6 properly
Dimitri John Ledkov
launchpad at surgut.co.uk
Wed Sep 21 02:08:49 UTC 2016
Using [ipv6] address form seems to have regressed upstream. From logs,
it appears that '[' ']' are dropped, and request is attempted to the
2a03 host for [2a03:4000:6:40af::1]. I shall report that upstream.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gnupg2 in Ubuntu.
https://bugs.launchpad.net/bugs/1625845
Title:
dirmngr doesn't handle IPv6 properly
Status in gnupg2 package in Ubuntu:
Triaged
Bug description:
This is a regression from gpgv1 which will prevent direct interaction
with an IPv6 key server and on single and dual-stack IPv6 network,
this will cause gpg to seemingly hang for up to several minutes.
=== IPv6 gpgv1 on xenial
root at xenial:~# time gpg --keyserver hkp://[2a03:4000:6:40af::1] --recv-keys 0xBAEFF88C22F6E216
gpg: requesting key 22F6E216 from hkp server [2a03:4000:6:40af::1]
gpg: key 22F6E216: "LXC pre-built images <lxc-devel at lists.linuxcontainers.org>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
real 0m0.341s
user 0m0.000s
sys 0m0.000s
=== IPv6 gpgv2 on xenial
root at yakkety:~# time gpg --keyserver hkp://[2a03:4000:6:40af::1] --recv-keys 0xBAEFF88C22F6E216
gpg: keyserver receive failed: Unknown host
real 0m0.827s
user 0m0.004s
sys 0m0.000s
=== Dual-stack DNS record gpgv1 on xenial
root at xenial:~# time gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 0xBAEFF88C22F6E216
gpg: requesting key 22F6E216 from hkp server pool.sks-keyservers.net
gpg: key 22F6E216: "LXC pre-built images <lxc-devel at lists.linuxcontainers.org>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
real 0m1.430s
user 0m0.000s
sys 0m0.000s
=== Dual-stack DNS record gpgv2 on yakkety
root at yakkety:~# time gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 0xBAEFF88C22F6E216
gpg: key BAEFF88C22F6E216: "LXC pre-built images <lxc-devel at lists.linuxcontainers.org>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
real 0m33.495s
user 0m0.000s
sys 0m0.004s
=== Dual-stack DNS record gpgv2 on yakkety (ipv6-only machine)
root at yakkety:~# time gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 0xBAEFF88C22F6E216
gpg: key BAEFF88C22F6E216: "LXC pre-built images <lxc-devel at lists.linuxcontainers.org>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
real 1m32.326s
user 0m0.004s
sys 0m0.000s
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1625845/+subscriptions
More information about the foundations-bugs
mailing list