kmail / openpgp expire warning wrong

Bug #325190 reported by LimCore
2
Affects Status Importance Assigned to Milestone
KDE Base
Unknown
Medium
kdepim (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Your OpenPGP signing key
Rafal Maj (LimCore.com (2008 mid)) (KeyID 0x9DC688A8)
expires in less than 18446744073709551597 days.

This key expired 2 weeks ago.

I guess this error message should be fiexed ;)

Revision history for this message
In , Kollix (kollix) wrote :

Version: 1.6.52 (using KDE 3.2.90 (3.3 alpha1, CVS >= 20040522), compiled sources)
Compiler: gcc version 3.2.3
OS: Linux (i686) release 2.4.22

Trying to send a mail which shall be signed pops up a dialog:

Your OpenPGP signing key
Martin Koller (KeyID 0x8DFB0F86)
expires in less than 4294954719 days.

Well, yes ... and ? ;-)

(The key has unlimited expiration)

Revision history for this message
In , Simone Piunno (pioppo) wrote :

Created attachment 6645
a snapshot of the error window

look here for an example.

Revision history for this message
In , David Faure (faure) wrote :

*** Bug 85787 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Marcin-kasperski-m (marcin-kasperski-m) wrote :

Note: in my case (bug 85787) I got this error although the message has *NOT* been signed.

Revision history for this message
In , Till Maas (opensource-till) wrote :

Got the same error in 3.2.92

Revision history for this message
In , Mutz-c (mutz-c) wrote :

Can s/o of you please attach a gdb to and say something like:

gdb> break 'GpgME::Key::neverExpires()'
<let it hit the breakpoint>
gdb> print *theGpgMEKeyObject.d->key

Thanks.

Revision history for this message
In , Kollix (kollix) wrote :

As I have already upgraded to latest CVS, and also updated all the crypto stuff kmail uses, I can no longer reproduce this.

Revision history for this message
In , Trejkaz (trejkaz) wrote :

Me neither. I'm not even on the latest CVS but on 3.3.0 with all the crypto dependencies updated, it's not happening anymore.

Revision history for this message
In , Toma-u (toma-u) wrote :

I have seen it in a beta 3.3 as well, but not in the official 3.3. Lets close until someone reports it again.

Revision history for this message
In , Kde-x (kde-x) wrote :

Ok, lets report it again:

I just saw a message saying that my key expires in less than 4294967294 days while sending a message.
I did NOT sign it and the key expired 4 days ago.
I'm using KDE 3.3.2.

Revision history for this message
In , David Faure (faure) wrote :

Reopening then - can you try the gdb session suggested by Marc?

Revision history for this message
In , Kde-x (kde-x) wrote :

Ok, I tried but I'm not quite expirienced with gdb.
I tried to break on GpgME::Key::neverExpires() and on GpgME::Key::isExpired() (because in my case the key is already expired), but I'm afraid gdb did not stop when I sent the message (and got again the message, that my key expires in 4......... days).

This might be a silly question but might it be a problem that gdb says:
(gdb) break 'GpgME::Key::isExpired()'
Function "GpgME::Key::isExpired()" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 ('GpgME::Key::isExpired()') pending.

Are there any special flags i have to compile gpgme or kdepim with?
fyi: I am using gpgme-1.0.2

Revision history for this message
In , David Faure (faure) wrote :

> (gdb) break 'GpgME::Key::isExpired()'

Try
break 'GpgME::Key::isExpired(
and then press <tab> to complete it.

Make sure to start kmail first [in gdb], set the breakpoint only after interrupting kmail with Ctrl+C in gdb.

Revision history for this message
In , Kde-x (kde-x) wrote :

Ok, no it hit the breakpoint, but the symbol Marc mentioned was not found.
This might be a special case for keys that never expire. For which symbol shall I look?

(gdb) print *theGpgMEKeyObject.d->key
No symbol "theGpgMEKeyObject" in current context.

Revision history for this message
In , Kde-x (kde-x) wrote :

This bug is also valid for me in kde-3.4.

Revision history for this message
In , Rolf Eike Beer (kde-opensource) wrote :

*** Bug 109059 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Daniei (daniei) wrote :

This bug still exists in kmail/1.9.7 (kontact/1.2.5) with KDE 3.5.7.
A key that expired 5 days ago, will expire in less than 4294967293 days according to the dialog

Revision history for this message
In , Aleksandersen+bugs-kde-org (aleksandersen+bugs-kde-org) wrote :

Created attachment 22848
KMail 1.9.5 compiled for x86-64 Debian ‘Etch‘

Revision history for this message
In , Florian Reinhard (freinhard) wrote :

same here for kmail "Version 1.9.6 (enterprise 0.20070907.709405)" on Kubuntu 7.10-x86 with kde 3.5.8. Expired 3days ago and shows 4294967294.

Revision history for this message
In , opensourcecat (opensourcecat) wrote :

Tested with a certificate expired two days ago. It says that the key is expiring in less than -2 Days...

So Kmail threats expired certificates as an expiring one.
(bug triage day 09 november 2008), opensourcecat.

Revision history for this message
Marco Maini (maini10) wrote :

Thanks for your report. This is probably an old KDE issue. Please give details about the version of Kubuntu and Kmail that you have installed.

Changed in kdebase:
assignee: nobody → maini10
Changed in kdebase:
status: Unknown → Confirmed
Marco Maini (maini10)
Changed in kdebase:
assignee: maini10 → nobody
status: New → Confirmed
Changed in kdebase:
importance: Undecided → Low
Changed in kdepim (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Harald Sitter (apachelogger) wrote :

Closing in favor of KDE bug report, please refer there for updates. Thanks.

Changed in kdepim (Ubuntu):
status: Triaged → Invalid
Changed in kdebase:
importance: Unknown → Medium
Revision history for this message
In , Montel-3 (montel-3) wrote :

Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.

Changed in kde-baseapps:
status: Confirmed → Unknown
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.