Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 955587

Summary: Do not consider PGP and S/MIME subparts as attachments
Product: Red Hat Enterprise Linux 6 Reporter: David Jaša <djasa>
Component: evolution-data-serverAssignee: Matthew Barnes <mbarnes>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.4CC: djasa, jkoten, lnovich, mcrha, tpelka
Target Milestone: betaKeywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: evolution-data-server-2.32.3-3.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-21 05:12:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
sample s/mime message
none
evolution-data-server-2.28.3-attachment-flag-2.patch
none
sample pgp-signed message none

Description David Jaša 2013-04-23 11:06:21 UTC
Description of problem:
evolution shows in msg list all s/mime-signed messages as messages with attachment, this is incorrect as the signature implementation should be transparent to the user. PGP/MIME-signed messages aren't displayed as messages with attachment either

Version-Release number of selected component (if applicable):
evolution-2.28.3-30.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. display a folder with s/mime-signed message that has no attachments
2.
3.
  
Actual results:
the s/mime message is displayed as having attachments

Expected results:
the s/mime message does not have attachments

Additional info:

Comment 2 David Jaša 2013-04-23 13:42:52 UTC
Created attachment 739004 [details]
sample s/mime message

The bug applies to Evo 3.6.4 in Fedora 18 as well.

Comment 3 Milan Crha 2013-04-24 06:18:48 UTC
Thanks for a bug report. I guess you generated the email in Evolution, right? The reason why the message is marked as "with attachments" is this:
   Content-Disposition: attachment; filename="smime.p7s"
which is set on the
   Content-Type: application/x-pkcs7-signature; name="smime.p7s"
part. I see (and didn't know) that evolution itself sets this 'attachment' disposition too, for some reason. I guess the logic to recognize messages with and without attachments should be extended (git master is also "affected").

Comment 4 Milan Crha 2013-04-24 07:00:34 UTC
Created attachment 739293 [details]
evolution-data-server-2.28.3-attachment-flag-2.patch

for evolution-data-server;

The same patch committed upstream as 682ce13 for git master (3.9.1+) and as 8fb7cbf for git gnome-3-8 (3.8.2+). Selecting a message is enough to let it reconsider whether the message has an attachment or not.

Comment 5 David Jaša 2013-04-24 10:13:09 UTC
Created attachment 739376 [details]
sample pgp-signed message

Yes, the s/mime message was also sent using evo.

Note that the attached message that looks like pgp/mime to me already isn't displayed as a message with attachment.

Comment 14 errata-xmlrpc 2013-11-21 05:12:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-1540.html

Comment 15 David Jaša 2015-01-07 14:39:50 UTC
Removing needinfo on closed bugs.