gnupg crash on breezy

Bug #39459 reported by Kevin Lamontagne
Affects Status Importance Assigned to Milestone
Fix Released
gnupg (Ubuntu)
Scott Kitterman

Bug Description

create a key pair for bob : "gpg --gen-key"
edit your key pair : "gpg --edit-key bob"

Command> trust
pub 1024D/2B4A07C1 created: 2006-04-13 expires: 2006-04-14 usage: CS
                     trust: ultimate validity: ultimate
sub 1024g/9248B874 created: 2006-04-13 expires: 2006-04-14 usage: E
[ultimate] (1). Dumpy Dump (DELETE ME) <email address hidden>

Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)

  1 = I don't know or won't say
  2 = I do NOT trust
  3 = I trust marginally
  4 = I trust fully
  5 = I trust ultimately
  m = back to the main menu

Your decision? 0

gpg: Ohhhh jeeee: ... this is a bug (../../g10/pkclist.c:315:do_edit_ownertrust)secmem usage: 1408/1408 bytes in 2/2 blocks of pool 1408/32768

Related branches

Revision history for this message
Gary Coady (garycoady) wrote :

Also confirmed on latest dapper version.

Changed in gnupg:
status: Unconfirmed → Confirmed
Revision history for this message
Gary Coady (garycoady) wrote : Fixes crash

This patch should fix the crash (it takes 0 to be invalid input).

Revision history for this message
Gary Coady (garycoady) wrote :
Changed in gnupg:
assignee: nobody → kitterman
importance: Medium → Low
status: Confirmed → In Progress
Revision history for this message
Michael Bienia (geser) wrote :

gnupg (1.4.6-2ubuntu3) gutsy; urgency=low

  [ Scott Kitterman ]
  * Add 'debian/patches/60_install_options_skel.dpatch': Patch to
    install options file from upstream (LP: #76983)
  * Add 'debian/patches/61_use_agent_default.dpatch': Patch to set gpg
    (or gpg2) and gpgsm to use a passphrase agent by default (LP: #15485)
  * Add 'debian/patches/70_trust_error.dpatch': Patch to disallow illegal
    zero response for trust level changes (LP: #39459)

  [ Michael Bienia ]
  * Add libcurl4-gnutls-dev to Build-Depends to fix gpg running into a timeout
    updating the keyring (LP: #62864)

 -- Michael Bienia <email address hidden> Fri, 06 Jul 2007 20:56:05 +0200

Changed in gnupg:
status: In Progress → Fix Released
Changed in gnupg:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.