Package: gnupg
Version: 2.1.14-5
Severity: serious
Justification: breaks other software, should not migrate to testing because of 
this

After the switch of gpg to gnupg2, Gajim can no longer use PGP.

Observed behaviour:

On first start, I get a pinentry field asking me to enter my
password, despite having started gpg-agent as part of the
session. Entering it only makes it wait for a while, then
show the dialogue box I attached.

On second start, it just takes a while during connecting,
then shows that dialogue box.

I can confirm this is a gnupg2 issue because after running…

tglase@tglase:~ $ sudo dpkg-divert --local --rename --divert 
/usr/bin/gpg.from.gnupg2 --add /usr/bin/gpg
[sudo] password for tglase:
Adding 'local diversion of /usr/bin/gpg to /usr/bin/gpg.from.gnupg2'
tglase@tglase:~ $ sudo ln -s gpg1 /usr/bin/gpg

… and restarting Gajim, it works well with PGP again.

I’ll run my system with that for now. Please ensure I’m notified,
e.g. by mailing nnnnnn-submitter, if I should remove the diversion.

(Replacing gpg by gnupg2 is about as bad an idea as replacing
python by python3 in some distros was. Don’t do it, or make it
selectable by update-alternatives at least. gnupg2 is a different
software, and even upstream says it doesn’t replace gpg, both have
different use cases. Scripts, especially, will want an isolated
instance instead of using one integrated with a user’s desktop.)

-- System Information:
Debian Release: stretch/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable')
Architecture: x32 (x86_64)
Foreign Architectures: i386, amd64

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages gnupg depends on:
ii  gnupg-agent    2.1.14-5
ii  libassuan0     2.4.3-1
ii  libbz2-1.0     1.0.6-8
ii  libc6          2.23-4
ii  libgcrypt20    1.7.2-2
ii  libgpg-error0  1.24-1
ii  libksba8       1.3.4-4
ii  libreadline6   6.3-8+b4
ii  libsqlite3-0   3.14.1-1
ii  zlib1g         1:1.2.8.dfsg-2+b2

Versions of packages gnupg recommends:
ii  dirmngr     2.1.14-5
pn  gnupg-l10n  <none>

Versions of packages gnupg suggests:
pn  parcimonie  <none>
ii  xloadimage  4.1-23+b1

-- no debconf information

Reply via email to