<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>295043</bug_id>
          
          <creation_ts>2012-02-29 01:32:12 +0000</creation_ts>
          <short_desc>openpgp signature of expired key is shown as invalid</short_desc>
          <delta_ts>2017-01-07 22:33:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmail2</product>
          <component>crypto</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>UNMAINTAINED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Hauke Laging">hauke</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>asala</cc>
    
    <cc>kde</cc>
    
    <cc>montel</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1231439</commentid>
    <comment_count>0</comment_count>
    <who name="Hauke Laging">hauke</who>
    <bug_when>2012-02-29 01:32:12 +0000</bug_when>
    <thetext>Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

After the expiration of the signing key the signature is shown as invalid. Not even the details give any hint to the real problem. Even worse: It is as far as I can see exactly the same behaviour like with a bad signature.

GnuPG knows these statuses for signatures (see /usr/share/doc/packages/gpg2/DETAILS):
GOODSIG
EXPSIG
EXPKEYSIG
REVKEYSIG
BADSIG
ERRSIG
VALIDSIG

It seems to me that kmail tells apart only GOODSIG on the one hand and the rest on the other. And for the first case the different TRUST_* levels.

I think this can be considered a bug.

Reproducible: Always

Steps to Reproduce:
Click on the mail.


Expected Results:  
EXPSIG and EXPKEYSIG should be treated like the combination GOODSIG/TRUST_UNDEFINED i.e. show the mail border in yellow and tell the user about the problem in the details section.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1285377</commentid>
    <comment_count>1</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2012-08-16 14:23:10 +0000</bug_when>
    <thetext>Will look at.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1345419</commentid>
    <comment_count>2</comment_count>
    <who name="A. Sala">asala</who>
    <bug_when>2013-02-26 15:07:27 +0000</bug_when>
    <thetext>I confirm this occurs also in Kmail 4.9.5, in Ubuntu 12.10.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1348685</commentid>
    <comment_count>3</comment_count>
    <who name="A. Sala">asala</who>
    <bug_when>2013-03-07 13:42:02 +0000</bug_when>
    <thetext>And in Kmail shipped with KDE 4.10.1, too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1349080</commentid>
    <comment_count>4</comment_count>
    <who name="Rolf Eike Beer">kde</who>
    <bug_when>2013-03-08 18:55:23 +0000</bug_when>
    <thetext>Strongly related to bug 64424</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1624822</commentid>
    <comment_count>5</comment_count>
    <who name="Denis Kurz">kdenis</who>
    <bug_when>2016-09-24 18:11:20 +0000</bug_when>
    <thetext>This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1652017</commentid>
    <comment_count>6</comment_count>
    <who name="Denis Kurz">kdenis</who>
    <bug_when>2017-01-07 22:33:20 +0000</bug_when>
    <thetext>Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>