[Patches] [ python-Patches-1670765 ] email.Generator: no header wrapping for multipart/signed

SourceForge.net noreply at sourceforge.net
Thu Mar 8 19:01:43 CET 2007


Patches item #1670765, was opened at 2007-02-28 07:04
Message generated for change (Comment added) made by collinwinter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1670765&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Martin von Gagern (gagern)
Assigned to: Nobody/Anonymous (nobody)
Summary: email.Generator: no header wrapping for multipart/signed

Initial Comment:
The body of a multipart/signed message has to remain unmodified for the signature to stay intact. Rewrapping headers of nested MIME parts breaks signatures.

So I disabled header rewrapping for multipart/signed, by adding a new handler to the email.Generator class.

There still remains an issue about leading spaces in header values breaking signatures. 

The supplied patch is against the latest subversion sources, r54016.

Related issues:
Python  bug #968430 http://tinyurl.com/2973or
Mailman bug #815297 http://tinyurl.com/2a8dta


----------------------------------------------------------------------

>Comment By: Collin Winter (collinwinter)
Date: 2007-03-08 13:01

Message:
Logged In: YES 
user_id=1344176
Originator: NO

Thanks for your patch! Could you work up some tests for this, too?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1670765&group_id=5470


More information about the Patches mailing list