[pkg-gnupg-maint] Bug#818808: /usr/bin/gpg-zip does not work with gpg2
Reinhard Tartler
siretart at tauware.de
Sun Mar 20 20:00:54 UTC 2016
Package: gnupg
Version: 1.4.18-7ubuntu1
Severity: normal
File: /usr/bin/gpg-zip
Tags: patch
Hi,
It appears that the --gpg option to gpg-zip does not work as
intended. The documentation indicates that this option can be used to
use a different gpg utility, but the implementation seems
defect. Instead of setting the option argument, it assigns "--gpg",
which is hardly disired.
My usecase is using a private encryption subkey on a yubikey, and I
didn't get it to work with gnupg 1.4. It does work fine with gpg2.
My test case is gpg-zip --list-archive --gpg gpg2 .../test.gpgzip
Please find a patch that fixes the issue is attached.
Reinhard
-- System Information:
Debian Release: jessie/sid
APT prefers wily-updates
APT policy: (500, 'wily-updates'), (500, 'wily-security'), (500, 'wily')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.2.0-34-generic (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gnupg depends on:
ii gpgv 1.4.18-7ubuntu1
ii libbz2-1.0 1.0.6-8
ii libc6 2.21-0ubuntu4.1
ii libreadline6 6.3-8ubuntu1
ii libusb-0.1-4 2:0.1.12-27
ii zlib1g 1:1.2.8.dfsg-2ubuntu4
gnupg recommends no packages.
Versions of packages gnupg suggests:
ii eog 3.16.3-1ubuntu2.1
pn gnupg-curl <none>
pn gnupg-doc <none>
ii imagemagick 8:6.8.9.9-5ubuntu2
ii libpcsclite1 1.8.14-1ubuntu1
pn parcimonie <none>
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-unbreak-gpg-zip-gpg-gpg2.patch
Type: text/x-diff
Size: 629 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20160320/f935dde1/attachment.patch>
More information about the pkg-gnupg-maint
mailing list