[pkg-gnupg-maint] Bug#862093: gnupg-agent: gpg-agent no longer halts when $GNUPGHOME is removed

David Bremner bremner at debian.org
Mon May 8 12:00:27 UTC 2017


Package: gnupg-agent
Version: 2.1.20-3
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

As of 2.1.20, removing $GNUPGHOME is no longer enough for gpg-agent to
shut itself down. It seems that removing the directory
/run/user/gnupg/d.$hash is enough to trigger the shutdown.

I'm not sure the underlying cause; perhaps the change to use /run/user
for non-standard homedirs (which I generally think is sensible) has
this as a side-effect.

The main practical difficulty for me is that this makes it harder for
test suites using gnupg to work across multiple gpg versions and
multiple environments. I suppose I'll have to see how far back
"gpgconf --kill all" is supported.

In any case, it would be great if the exact conditions under which
gpg-agent shuts down could be documented and hopefully be relatively
stable.

- -- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64
 (x86_64)

Kernel: Linux 4.9.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnupg-agent depends on:
ii  libassuan0                2.4.3-2
ii  libc6                     2.24-9
ii  libgcrypt20               1.7.6-1
ii  libgpg-error0             1.26-2
ii  libnpth0                  1.3-1
ii  libreadline7              7.0-2
ii  pinentry-gtk2 [pinentry]  1.0.0-2

Versions of packages gnupg-agent recommends:
ii  gnupg  2.1.20-3
ii  gpgsm  2.1.20-3

Versions of packages gnupg-agent suggests:
pn  dbus-user-session  <none>
ii  libpam-systemd     232-22
pn  pinentry-gnome3    <none>
ii  scdaemon           2.1.20-3

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQGzBAEBCAAdFiEE3VS2dnyDRXKVCQCp8gKXHaSnniwFAlkQXdoACgkQ8gKXHaSn
niwB5wv/bhY8vG2ciwMU/gc26b8jBP+5Y7Iyn6q9SpAeb1zZGPk3A2+iyiJu9m8n
h+bpxvnookh6Pw0iNmPWTJXINKz91f73NyE4NqcVSu6JrOLEEN8qXh6lccTUW1xp
tNMD8Cnb6lmgLikWry+AtP4fNwD/goC88YED771puoPpsmPrXm/SsTaVwbBGq9WV
9RNR0Sju7V1y9dNK55lAutwL7CDlxEsbBe42NV2jlYw6shGygUgqmVEjS4gktDMm
WcVJo9gh/4JWsboa2mqHtcpPxL2vBps8Ks7JzRxAGJZtZCJx24Bdc1tC3w2S9vxe
9GOWu3cH9X1pye7ruCQK1hdegqWi003YqKyyUaAjEVbwS4SPVyWYZ7PVd5OEI1Z2
x9k2XFXO7nd5hBqigXuAptDFc9EJjsxWjM29c+dWaoF1uw/Wv/n/GBQ4ZfhxXl+l
mrQjVZMxpGyNv6HG5138R8CyUO3lDpXHpXwaUkkJ+JCLWjEuGkCYKZIrB+9X5rEo
1pkTvr9K
=tL8B
-----END PGP SIGNATURE-----



More information about the pkg-gnupg-maint mailing list