reopen 251342
severity 251342 normal
retitle 251342 kgpg: shows wrong fingerprint if --fingerprint is in config file
quit

* Andrea Borgia [Sun, 29 Aug 2004 23:14:11 +0200]:
> Adeodato Simó wrote:

> >  if you're not seeing your fingerprint, please provide more information
> >  about what are you seeing.

  k, now I understand and you're right. I was misled by the bug title,
  in which you wrote "private" instead of "subkey".

  thanks,

> This is the info about my key:

> -cut-cut
> [EMAIL PROTECTED]:~$ gpg --list-keys --finger [EMAIL PROTECTED]
> pub  1024D/83566359 2004-05-05 Andrea Borgia <[EMAIL PROTECTED]>
>   Key fingerprint = CEF6 7F3B 0832 65C7 EC63  8B37 79B4 29C0 8356 6359
> sub  1024g/ED5CD880 2004-05-05 [expires: 2005-05-05]
>   Key fingerprint = 3879 74C9 6E8E BA70 CEFA  7B3E 5EA0 FBE4 ED5C D880
> -cut-cut-

> If I open the key properties window in kgpg, I see this fingerprint:
> 3879 74C9 6E8E BA70 CEFA 7B3E 5EA0 FBE4 ED5C D880
> That is, I get the subkey fingerprint instead of the main key fingerprint.

> Happens with your key, too, the properties window shows:
> 82B9 F1FB 5764 0E9F DBAF AB69 B721 B039 B9D4 F517
> instead of:
> 7F9A D2AD CD37 37FD 60FD  0A11 4F1A 998E DA6A E621


> So... it doesn't happen to you, it happens to me... must be a config 
> issue, then.

> I just discovered the culprit is the "fingerprint" option in the 
> configuration file: kgpg simply grabs the last line containing 
> "fingerprint", instead of the first one! Commenting it out changes the 
> data in the properties window, too!

> I guess kgpg should either be changed to grep the first fingerprint or 
> should sanitize the options passed to gpg.

> BR,
> Andrea.


-- 
Adeodato Simó
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
 
To be nobody but yourself in a world which is doing its best night and
day to make you like everybody else means to fight the hardest battle
any human being can fight and never stop fighting.
                -- e.e. cummings


Reply via email to