Public bug reported:

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@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-de...@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@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@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-de...@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@yakkety:~# time gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 
0xBAEFF88C22F6E216
gpg: key BAEFF88C22F6E216: "LXC pre-built images 
<lxc-de...@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@yakkety:~# time gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 
0xBAEFF88C22F6E216
gpg: key BAEFF88C22F6E216: "LXC pre-built images 
<lxc-de...@lists.linuxcontainers.org>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

real    1m32.326s
user    0m0.004s
sys     0m0.000s

** Affects: gnupg2 (Ubuntu)
     Importance: Critical
     Assignee: Dimitri John Ledkov (xnox)
         Status: Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1625845

Title:
  dirmngr doesn't handle IPv6 properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1625845/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to