[Bug 1625845] Re: dirmngr doesn't handle IPv6 properly

4dro 1625845 at bugs.launchpad.net
Tue Jan 23 15:20:53 UTC 2018


This was solved upstream last June: 
https://dev.gnupg.org/T2990#98557
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849845

Getting 2.2.4 from bionic-proposed into bionic (and backporting for
others) would be a way forward.

** Bug watch added: Debian Bug tracker #849845
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849845

-- 
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