Bug 109059

Summary: expired OpenPGP key gives bogus time to expiration in "OpenPGP Key Expires Soon" dialog
Product: [Unmaintained] kmail Reporter: Leo Davis <ldav1s>
Component: encryptionAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 1.8   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Dialog Windows Screenshot German Language

Description Leo Davis 2005-07-14 09:54:27 UTC
Version:           1.8 (using KDE 3.4.0 Level "b" , SUSE 9.3 UNSUPPORTED)
Compiler:          gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
OS:                Linux (i686) release 2.6.11.4-20a-smp

I have an expired OpenPGP signing and encryption key configured in the Cryptography section of my identity.  Now when I:

1) Compose a new message
2) Click on the Send Now toolbar button
3) Click the Continue button on the "Unusable Encryption Keys" dialog.
4) Observe the contents of the "OpenPGP Key Expires Soon" dialog:

Your OpenPGP signing key
... (KeyID 0x3FE2F152)
expires in less than 4294967276 days.

I should not be in this dialog at all -- my key expired 22 days ago. The large number has apparently underflowed an unsigned quantity.
Comment 1 sven 2007-06-13 15:02:22 UTC
Created attachment 20846 [details]
Dialog Windows Screenshot German Language
Comment 2 sven 2007-06-13 15:04:04 UTC
Also in KMail Version 1.9.1 (debian based)
Comment 3 Rolf Eike Beer 2007-09-19 19:20:59 UTC

*** This bug has been marked as a duplicate of 83079 ***