From kde-bugs-dist Mon Dec 31 17:48:03 2001 From: owner () bugs ! kde ! org (Stephan Kulow) Date: Mon, 31 Dec 2001 17:48:03 +0000 To: kde-bugs-dist Subject: Bug#32749: marked as done (PGP key display lacks 2 digits) by Ingo =?iso-8859-1?q?Kl=F6cker?= To: submit@bugs.kde.org Subject: PGP key display lacks 2 digits From: fabrice_marie_sec@yahoo.com Package: kmail Version: 1.3.1 (using KDE 2.2.1 ) Severity: normal Installed from: RedHat RPMs Compiler: gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-93) OS: Linux OS/Compiler notes: Not Specified When kmail gets an PGP signed or encrypted email, if gnupg/pgp doesn't have yet the key of the sender, then it will display : "Message was signed by unknown key ID 0xXXXXXX" However, a pgp/gnupg key ID is supposed to be 8 digits, and not 6 ! I've reported this bug about a year ago already, along with the short solution. But it was not integrated and I can't find it anywhere anymore. There is just an error in the function(s) parsing pgp/gnupg output, instead of using 8 characters, the developers should use 10 characters for the size of the variable holding the key ID : '0x' + 8 digits = 10 ! Hope this helps, Have a nice day, Fabrice. (Submitted via bugs.kde.org)