After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 204111 - malformed signed attachments confuse evo
malformed signed attachments confuse evo
Status: VERIFIED FIXED
Product: evolution
Classification: Applications
Component: Mailer
pre-1.5 (obsolete)
Other All
: Normal minor
: ---
Assigned To: Jeffrey Stedfast
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2001-07-06 05:30 UTC by Dan Berger
Modified: 2013-09-10 14:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sample email with signed application/pgp body (maildir file) (10.60 KB, text/plain)
2001-07-23 04:10 UTC, Dan Berger
Details

Description Dan Berger 2001-07-06 05:30:25 UTC
I regularly correspond with a fellow using The Bat! (a win32 email client).
 The PGP plugin for said client occasionally inserts random non-printable
characters into the message body when PGP signing.  This is certainly a bug
in his client - but it triggers an unpleasent behavior in Evo.

Mutt displays the attachment inline (as the body) without complaint -
evolution shows an "Unkown Attachment Type" with only save to disk available.

Selecting Show Email Source allows the message to be read.

If the assignee contacts me via email I can provide a sample of such a message.
Comment 1 Jeffrey Stedfast 2001-07-09 20:54:02 UTC
can you get me one of these broken messages?
Comment 2 Dan Berger 2001-07-09 23:44:47 UTC
Subject: Re: Broken PGP signed message
From: Jeffrey Stedfast <fejj@ximian.com>
To: Dan Berger <dberger@ix.netcom.com>
Date: 09 Jul 2001 19:38:28 -0400

Actually, it looks like the problem might actually have to do with the
fact that the client that sent the attached message said that the
message body was actually a file attachment with a content-type of
application/pgp which evolution doesn't know how to handle.

I'll see what I can do.

Jeff
Comment 3 Jeffrey Stedfast 2001-07-09 23:53:11 UTC
fixed in cvs, er, rather, about to be as soon as I commit ;-)
Comment 4 Dan Berger 2001-07-23 04:09:04 UTC
unfortunately the fix isn't quite right - it now displays
application/pgp parts, but doesn't honor the format and x-action
flags, meaning it isn't verifying signatures of these parts.

I'll attach a sample email to this bug report.
Comment 5 Dan Berger 2001-07-23 04:10:36 UTC
Created attachment 40027 [details]
sample email with signed application/pgp body (maildir file)
Comment 6 Dan Berger 2001-07-23 04:13:47 UTC
BTW: this misbehavior (still) occurs against .11
Comment 7 Jeffrey Stedfast 2001-07-24 21:50:46 UTC
fixed in cvs
Comment 8 Jeffrey Stedfast 2001-07-26 19:35:29 UTC
please note that The Bat! is 100% broken wrt to PGP. Tell your friend
to get a REAL mailer or else just live with any brokenness.
Comment 9 Dan Berger 2001-07-26 20:01:46 UTC
Can you provide supporting documentation to support your statement?  
I.e. reference an RFC that it's violating.  I'd be happy to provide 
this to my associate, who can provide it to the folks who wrote The 
Bat!.  Without RFC citations, and given the fact that other PGP-
capable mailers handle these messages correctly (mutt, positillion), 
its hard to support the assertation that Evo isn't broken.
Comment 10 Jeffrey Stedfast 2001-07-26 22:15:16 UTC
sure, look at rfc2015 - first few paragraphs mention that
application/pgp was a rejected proposed standard and that PGP/MIME has
replaced it. It also mentions that the mime type application/pgp is no
longer a valid mime type.

ie, it was never passed - thus there is no rfc for it, thus The Bat!
is broken, thus Evolution isn't, thus...more stuff.
Comment 11 Dan Berger 2001-07-26 22:59:48 UTC
Cool, thanks, I'll pass it on.  
Comment 12 Dan Berger 2001-07-26 23:51:17 UTC
BTW: just got a PGP signed email from SANS (the Security Alert
Consensus) - and it's application/pgp formatted.  So it seems that The
Bat! isn't the only broken client out there.