[pkg-gnupg-maint] Bug#914944: gnupg: importing a key fails when there's no tty (regression from 2.1.18-8~deb9u2)

Lucas Nussbaum lucas at debian.org
Wed Nov 28 23:12:05 GMT 2018


Package: gnupg
Version: 2.1.18-8~deb9u3
Severity: normal

Hi,

Importing the attached key fails when there's no tty.

To reproduce:
works fine: gpg --import kameleon.gpg
doesn't work: setsid sh -c 'gpg --import kameleon.gpg' &>log

it fails with:
gpg: cannot open '/dev/tty': No such device or address

It worked fine with 2.1.18-8~deb9u2.
It also works with 2.2.10-3~bpo9+1.
It doesn't work with 2.1.18-8~deb9u3.
So it looks like a regression in the recent stable
update.

Thanks

Lucas


-- System Information:
Debian Release: 9.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-0.bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnupg depends on:
ii  gnupg-agent    2.1.18-8~deb9u3
ii  libassuan0     2.4.3-2
ii  libbz2-1.0     1.0.6-8.1
ii  libc6          2.24-11+deb9u3
ii  libgcrypt20    1.7.6-2+deb9u3
ii  libgpg-error0  1.26-2
ii  libksba8       1.3.5-2
ii  libreadline7   7.0-3
ii  libsqlite3-0   3.16.2-5+deb9u1
ii  zlib1g         1:1.2.8.dfsg-5

Versions of packages gnupg recommends:
ii  dirmngr     2.1.18-8~deb9u3
pn  gnupg-l10n  <none>

Versions of packages gnupg suggests:
pn  parcimonie  <none>
pn  xloadimage  <none>

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kameleon.gpg
Type: application/pgp-keys
Size: 2967 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnupg-maint/attachments/20181129/4edeb6fc/attachment-0001.key>


More information about the pkg-gnupg-maint mailing list