gpg ignores 1 as valid trust value

Bug #147343 reported by Albert Astals Cid
6
Affects Status Importance Assigned to Milestone
gnupg (Ubuntu)
Medium
Kees Cook

Bug Description

Binary package hint: gnupg

Use
gpg --edit-key anyLocalKeyYouHaveAround trust
and write
1
when asked on the trust level

It keeps me asking again and again for a value.

This is ubuntu specific because on debian using the same gpg version it works.

Related branches

Revision history for this message
Pär Lindfors (paran) wrote :

This is caused by debian/patches/70_trust_error.dpatch which was incorrectly added to the latest ubuntu version. That was meant to close LP: #39459, which was however already fixed in the current ubuntu version so now that patch instead cause this bug.

I have verifyed that removing 70_trust_error.dpatch closes this bug, and does not cause LP: #39459 to re-appear.

Changed in gnupg:
status: New → Confirmed
Revision history for this message
Pär Lindfors (paran) wrote :
Revision history for this message
Daniel Holbach (dholbach) wrote :

Scott K: can you test this and find out if this makes it work again?

Revision history for this message
Michael Bienia (geser) wrote :

Here is a debdiff removing the mentioned patch.

I've tested the current version from the archive and can reproduce that problem.
The version without that patch works as expected and the problem this patch should fix doesn't appear either.

So please upload.

Revision history for this message
Kees Cook (kees) wrote :

Thanks, uploading shortly.

Changed in gnupg:
assignee: nobody → keescook
importance: Undecided → Medium
status: Confirmed → Fix Committed
Revision history for this message
Michael Bienia (geser) wrote :

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

  * debian/patches/70_trust_error.dpatch: Removed as it broke setting the
    trust level to 1 (LP: #147343).

 -- Michael Bienia <email address hidden> Mon, 01 Oct 2007 21:52:52 +0200

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

Other bug subscribers