Bug#593680: gnupg: segfaults on --list-secret-keys with list-options show-photos

2010-08-24 Thread Y Giridhar Appaji Nag
On 10/08/24 17:37 +0530, Y Giridhar Appaji Nag said ...
 On 10/08/21 09:28 -0400, David Shaw said ...
  On Aug 20, 2010, at 12:51 PM, Daniel Leidert wrote:
   Am Freitag, den 20.08.2010, 14:10 +0530 schrieb Y Giridhar Appaji Nag:
   
   photo UIDs in GPG.  The problem is that
   
   gpg --list-secret-keys segfaults.
   
   your key or one of the keys in your keyring. Can you attach the photo
   you are using?
 
 Attaching the picture with this mail.
 
   JFTR: Does viewing your photo with display directly produce a crash?

No, it doesn't.

Giridhar

-- 
Y Giridhar Appaji Nag | http://people.debian.org/~appaji/


signature.asc
Description: Digital signature


Bug#593680: gnupg: segfaults on --list-secret-keys with list-options show-photos

2010-08-24 Thread Y Giridhar Appaji Nag
On 10/08/21 09:28 -0400, David Shaw said ...
 On Aug 20, 2010, at 12:51 PM, Daniel Leidert wrote:
  Am Freitag, den 20.08.2010, 14:10 +0530 schrieb Y Giridhar Appaji Nag:
  
  photo UIDs in GPG.  The problem is that
  
  gpg --list-secret-keys segfaults.
  
  Unfortunately I cannot reproduce it here. So I guess it is related to
  your key or one of the keys in your keyring. Can you attach the photo
  you are using?

Attaching the picture with this mail.

  Or if you have the time (and the necessary knowledge):
  please rebuild the gnupg packages not stripping the symbols, reproduce
  the crash and send us the backtrace.

I'll try and do this, but not immediately.

  JFTR: Does viewing your photo with display directly produce a crash?
 
 Everything Daniel said above, plus, does listing the public keyring (i.e.
 list-keys instead of list-secret-keys) also cause the segfault?

No.  This doesn't happen with the public keyring.

 (and if so, can you send me the public keyring?  I wouldn't ask for a secret
 keyring unless you're not interested in those keys for whatever reason, but
 a public one is generally public)

I am afraid I can't give you the secret keyring and the problem doesn't happen
with the public keyring.

Cheers,

Giridhar

-- 
Y Giridhar Appaji Nag | http://people.debian.org/~appaji/
attachment: E1EBBEA51D389887.jpg

signature.asc
Description: Digital signature


Bug#593680: gnupg: segfaults on --list-secret-keys with list-options show-photos

2010-08-21 Thread David Shaw
On Aug 20, 2010, at 12:51 PM, Daniel Leidert wrote:

 Am Freitag, den 20.08.2010, 14:10 +0530 schrieb Y Giridhar Appaji Nag:
 
 I use a list-options show-photos in my gpg.conf and also have a photo as a
 UID in my secret keys.  I use display from the imagemagick package to view
 photo UIDs in GPG.  The problem is that
 
 gpg --list-secret-keys segfaults.
 
 gpg --list-secret-keys --no-show-photos works OK
 
 gpg --list-secret-keys --verify-options no-show-photos segfaults.
 
 Attaching the transcript of a session where this happens.
 
 Unfortunately I cannot reproduce it here. So I guess it is related to
 your key or one of the keys in your keyring. Can you attach the photo
 you are using? Or if you have the time (and the necessary knowledge):
 please rebuild the gnupg packages not stripping the symbols, reproduce
 the crash and send us the backtrace.
 
 JFTR: Does viewing your photo with display directly produce a crash?

Everything Daniel said above, plus, does listing the public keyring (i.e. 
list-keys instead of list-secret-keys) also cause the segfault?

(and if so, can you send me the public keyring?  I wouldn't ask for a secret 
keyring unless you're not interested in those keys for whatever reason, but a 
public one is generally public)

David




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#593680: gnupg: segfaults on --list-secret-keys with list-options show-photos

2010-08-20 Thread Y Giridhar Appaji Nag
Package: gnupg
Version: 1.4.10-4
Severity: normal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

I use a list-options show-photos in my gpg.conf and also have a photo as a
UID in my secret keys.  I use display from the imagemagick package to view
photo UIDs in GPG.  The problem is that

gpg --list-secret-keys segfaults.

gpg --list-secret-keys --no-show-photos works OK

gpg --list-secret-keys --verify-options no-show-photos segfaults.

Attaching the transcript of a session where this happens.

Giridhar

- -- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnupg depends on:
ii  dpkg1.15.7.2 Debian package management system
ii  gpgv1.4.10-4 GNU privacy guard - signature veri
ii  install-info4.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.11.2-2 Embedded GNU C Library: Shared lib
ii  libreadline66.1-3GNU readline and history libraries
ii  libusb-0.1-42: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:
ii  gnupg-curl1.4.10-4   GNU privacy guard - a free PGP rep
ii  libldap-2.4-2 2.4.17-2.1 OpenLDAP libraries

Versions of packages gnupg suggests:
pn  gnupg-docnone  (no description available)
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

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBCAAGBQJMbj93AAoJENbfLHnbvsrcT14IAIF1LsPITTmywMjs/YD42iCX
44YWFoarokUCPVQbxip9m9gtX0SWtExIwvdUUSgzOwUQMB71etIra0AOzB9s6utP
8a5WcMHc95do6Q+ZMCiAAGyF2VRNgND/P3vTZM4cfxckep9k4U5nnB53wm8+3pBd
tn1+5dNoVV8HQWxFiuId4m/tA/KKIwbqBmchGZC8dUsENEUfROS+WZorV6iXEkwi
ceJpeL92+IZSU8VNInDsTMqvl75cm+dFYKy03rqG1NMHT97PfjF9F2yyf84gOHap
osOhEKUbK3+YwVuQGImX4+tssw8nPR8iWr9P9fAT9nXY5eH648XHU0XGagdZRh8=
=0HTd
-END PGP SIGNATURE-
Script started on Friday 20 August 2010 02:00:50 PM IST

$ gpg --list-secret-keys
/home/giridhar/.gnupg/secring.gpg
-
sec   1024D/1D389887 2006-04-08
uid  Y Giridhar Appaji Nag girid...@appaji.net
uid  Y Giridhar Appaji Nag app...@ibiblio.org
uid  [jpeg image of size 6417]

gpg: Segmentation fault caught ... exiting
[1]31337 segmentation fault  gpg --list-secret-keys
$
$
$ gpg --list-secret-keys --no-show-photos
gpg: WARNING: --no-show-photos is a deprecated option
gpg: please use --list-options no-show-photos instead
gpg: WARNING: --no-show-photos is a deprecated option
gpg: please use --verify-options no-show-photos instead
/home/giridhar/.gnupg/secring.gpg
-
sec   1024D/1D389887 2006-04-08
uid  Y Giridhar Appaji Nag girid...@appaji.net
uid  Y Giridhar Appaji Nag app...@ibiblio.org
uid  [jpeg image of size 6417]
uid  Y Giridhar Appaji Nag app...@gmail.com
uid  Y Giridhar Appaji Nag yga...@users.sf.net
uid  Y Giridhar Appaji Nag yga...@acm.org
uid  Y Giridhar Appaji Nag app...@debian.org
ssb   2048g/73EAF0B5 2006-04-08
ssb   2048R/DBBECADC 2009-04-04

sec   4096R/AA544AA1 2009-05-22
uid  Y Giridhar Appaji Nag girid...@appaji.net
uid  [jpeg image of size 6417]
uid  Y Giridhar Appaji Nag app...@ibiblio.org
uid  Y Giridhar Appaji Nag app...@debian.org
uid  Y Giridhar Appaji Nag app...@gmail.com
uid  Y Giridhar Appaji Nag yga...@users.sf.net
uid  Y Giridhar Appaji Nag yga...@acm.org
ssb   4096R/843A5776 2009-08-08

$ 
$ gpg --list-secret-keys --verify-options no-show-photos
/home/giridhar/.gnupg/secring.gpg
-
sec   1024D/1D389887 2006-04-08
uid  Y Giridhar Appaji Nag girid...@appaji.net
uid  Y Giridhar Appaji Nag app...@ibiblio.org
uid  [jpeg image of size 6417]

gpg: Segmentation fault caught ... exiting

Script done on Friday 20 August 2010 02:01:32 PM IST


Bug#593680: gnupg: segfaults on --list-secret-keys with list-options show-photos

2010-08-20 Thread Daniel Leidert
Am Freitag, den 20.08.2010, 14:10 +0530 schrieb Y Giridhar Appaji Nag:

 I use a list-options show-photos in my gpg.conf and also have a photo as a
 UID in my secret keys.  I use display from the imagemagick package to view
 photo UIDs in GPG.  The problem is that
 
 gpg --list-secret-keys segfaults.
 
 gpg --list-secret-keys --no-show-photos works OK
 
 gpg --list-secret-keys --verify-options no-show-photos segfaults.
 
 Attaching the transcript of a session where this happens.

Unfortunately I cannot reproduce it here. So I guess it is related to
your key or one of the keys in your keyring. Can you attach the photo
you are using? Or if you have the time (and the necessary knowledge):
please rebuild the gnupg packages not stripping the symbols, reproduce
the crash and send us the backtrace.

JFTR: Does viewing your photo with display directly produce a crash?

Regards, Daniel




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org