---------- Forwarded message ----------
From: Chris Lawrence <[EMAIL PROTECTED]>
Date: Oct 3, 2006 6:07 PM
Subject: Re: Bug#390780: Incorrectly determines GPG key
To: "Daniel Leidert (dale)" <[EMAIL PROTECTED]>,
[EMAIL PROTECTED], [EMAIL PROTECTED]


severity 390780 minor
retitle 390780 reportbug: should try to match userid when selecting GPG keys
thanks

On 10/2/06, Daniel Leidert (dale) <[EMAIL PROTECTED]> wrote:
Package: reportbug
Version: 3.30
Severity: important

Today I noticed the following when working with reportbug:

| *** Welcome to reportbug.  Use ? for help at prompts. ***
| Detected character set: ISO-8859-1
| Please change your locale if this is incorrect.
|
| Using '"Daniel Leidert (dale)" <[EMAIL PROTECTED]>' as your from address.

But then:

| Passing message to gpg for signature...
|
| You need a passphrase to unlock the secret key for
| user: "Daniel Leidert (privat) <[EMAIL PROTECTED]>"
| 1024-bit DSA key, ID F32BA263, created 2004-05-27

Why does it try to use the GPG key for '"Daniel Leidert (privat)"
<[EMAIL PROTECTED]>' instead of '"Daniel Leidert (dale)"
<[EMAIL PROTECTED]>'?

IIRC it still worked correctly a few days ago (and it definitely worked
correctly in the past).

Not a clue what's going on here... I certainly haven't changed
anything lately that should make a difference.  It's possible your key
list got rearranged by GnuPG recently, and there isn't a lot I can do
about that.  For the record, here's what reportbug(1) says:

             If [a KEYID is] not specified,
             the first key in the secret  keyring  that  matches  your  email
             address will be used.

This is behaving as documented.

You can use the keyid setting in .reportbugrc to select a different key.  e.g.

keyid 0x088F6B8C

Perhaps if multiple keys are found it may be helpful to add a prompt,
provided the keyid setting isn't found.  In any event, I don't think
this is too much of a problem,


Chris
--
Chris Lawrence - http://blog.lordsutch.com/


--
Chris Lawrence - http://blog.lordsutch.com/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to