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

SourceForge.net noreply at sourceforge.net
Wed Feb 28 13:04:10 CET 2007


Patches item #1670765, was opened at 2007-02-28 13:04
Message generated for change (Tracker Item Submitted) made by Item Submitter
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


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

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