Bug 301618 - kgpg 2.7.3 does not show key signatures properly.
Summary: kgpg 2.7.3 does not show key signatures properly.
Status: RESOLVED FIXED
Alias: None
Product: kgpg
Classification: Applications
Component: general (show other bugs)
Version: 2.7.x
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Rolf Eike Beer
URL:
Keywords:
: 302041 302782 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-11 05:38 UTC by Marcos A. Lenharo
Modified: 2012-07-06 06:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.5
Sentry Crash Report:


Attachments
gpg --lis-keys output (1.53 KB, text/plain)
2012-06-11 05:39 UTC, Marcos A. Lenharo
Details
Kgpg window (131.02 KB, image/png)
2012-06-11 05:41 UTC, Marcos A. Lenharo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos A. Lenharo 2012-06-11 05:38:25 UTC
As example, after importing same keys from Bug 292405 - KGpg shows wrong key ID for certain keys (0x7282B245 and 0x7CD2EAED) and expanding the keys, the key signatures are display as they were generated by same key.
gpg --list-sigs shows the right signatures.

Reproducible: Always

Steps to Reproduce:
1. Remove .gnupg folder
2. Create a new one executing gpg command
3. Start kgpg
4. Import keys 0x7282B245 and 0x7CD2EAED
5. On key manager, expand both keys in order to see key signatures and subkeys

Actual Results:  
All key signatures as listed as if they were generated by same key (same Name, Email and ID).

Expected Results:  
Right properties of each key used to signed the imported key should be shown.

I will attach a screenshot from KGPG and the output from gpg --list-sigs.
Comment 1 Marcos A. Lenharo 2012-06-11 05:39:03 UTC
Created attachment 71724 [details]
gpg --lis-keys output
Comment 2 Marcos A. Lenharo 2012-06-11 05:41:24 UTC
Created attachment 71725 [details]
Kgpg window
Comment 3 Rolf Eike Beer 2012-06-11 17:59:16 UTC
Git commit 2d252cf08c51866a6acebe705db11b29941691bf by Rolf Eike Beer.
Committed on 11/06/2012 at 19:29.
Pushed by dakon into branch 'KDE/4.8'.

fix key comparison returning wrong values

This fixes a regression introduced in 4.8.2 with commit
2a100ae8d203107d17e438f67f65d26a4949cccc when trying to fix bug 292405.
Related: bug 298465, bug 292405

M  +7    -5    core/KGpgKeyNode.cpp

http://commits.kde.org/kgpg/2d252cf08c51866a6acebe705db11b29941691bf
Comment 4 Marcos A. Lenharo 2012-06-12 01:54:19 UTC
Wow, that was fast!

Compiled, tested and running on my PC.
Thank you!
Comment 5 Rolf Eike Beer 2012-06-17 10:10:52 UTC
*** Bug 302041 has been marked as a duplicate of this bug. ***
Comment 6 Rolf Eike Beer 2012-06-30 09:04:19 UTC
*** Bug 302782 has been marked as a duplicate of this bug. ***