[Pkg-gnupg-maint] Bug#585123: /usr/bin/gpg: Fails on gnupg2 options in gpg.conf

Sune Vuorela reportbug at pusling.com
Wed Jun 9 11:30:49 UTC 2010


Package: gnupg
Version: 1.4.10-4
Severity: important
File: /usr/bin/gpg
Tags: patch


if I have gnupg2 options in my .gnupg/gpg.conf file, like 
debug-level basic
log-file socket:///home/user/.gnupg/log-socket

gpg fails to work.

Attached is a patch that makes gpg1 ignore those two options, and thus
keeps succeeding.

Note that kmail offers options in the gui to, thru gpgconf, to add those
options to .gnupg/gpg.conf and then breaks any use of gpg of the user.
use of gpg2 still works.


/Sune
(I know I can just commit and upload, but I would like a sanity check
first)

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_DK.ISO-8859-15, LC_CTYPE=en_DK.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnupg depends on:
ii  dpkg                    1.15.7.2         Debian package management system
ii  gpgv                    1.4.10-3         GNU privacy guard - signature veri
ii  install-info            4.13a.dfsg.1-5   Manage installed documentation in 
ii  libbz2-1.0              1.0.5-4          high-quality block-sorting file co
ii  libc6                   2.10.2-9         Embedded GNU C Library: Shared lib
ii  libreadline6            6.1-2            GNU readline and history libraries
ii  libusb-0.1-4            2:0.1.12-15      userspace USB programming library
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages gnupg recommends:
pn  gnupg-curl                    <none>     (no description available)
ii  libldap-2.4-2                 2.4.21-1   OpenLDAP libraries

Versions of packages gnupg suggests:
ii  gnupg-doc              2003.04.06+dak1-1 GNU Privacy Guard documentation
ii  imagemagick            7:6.6.0.4-2       image manipulation programs
ii  libpcsclite1           1.5.5-3           Middleware to access a smart card 

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dont_choke_on_gnupg2_options.dpatch
Type: text/x-shellscript
Size: 962 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20100609/d2299735/attachment.bin>


More information about the Pkg-gnupg-maint mailing list