<<< Date Index >>>     <<< Thread Index >>>

[Mutt] #3285: [patch] Issues with smime encrypted emails from thunderbird



#3285: [patch] Issues with smime encrypted emails from thunderbird
------------------------------------------+---------------------------------
 Reporter:  dschan                        |       Owner:  mutt-dev
     Type:  enhancement                   |      Status:  new     
 Priority:  minor                         |   Milestone:          
Component:  mutt                          |     Version:  1.5.19  
 Keywords:  smime thunderbird encryption  |  
------------------------------------------+---------------------------------
 I noticed that I had some problems decrypting emails that I received from
 people sending smime encrypted emails using thunderbird 2.0.0.19 and
 2.0.0.21.  I do not know if this is an issue with other versions, but I
 would suspect there would be.

 Digging around, it looks like Thunderbird wasn't identify the email as
 encrypted so it was failing.

 Here is the Content fields that Thunderbird generated in the email:

 Content-Language: en-US
 Content-Type: application/x-pkcs7-mime; name="smime.p7m"
 Content-Disposition: attachment; filename="smime.p7m"
 Content-Transfer-Encoding: base64


 I was able to successfully decrypt email sent from mutt that contained the
 following:

 Content-Type: application/x-pkcs7-mime; smime-type=enveloped-data;
         name="smime.p7m"
 Content-Disposition: attachment; filename="smime.p7m"

 Or AppleMail:

 Content-Type: application/pkcs7-mime; name="smime.p7m";
         smime-type=enveloped-data
 Content-Disposition: attachment; filename="smime.p7m"
 Content-Transfer-Encoding: base64


 To me, the problem really seems to be with thunderbird because it does not
 identify as enveloped-data, like the other clients do, but reading the
 mutt source code, it looks like there is some code to to work around
 Netscape 4.7, so I've done a similiar thing for thunderbird.  The attached
 patch works to resolve the issue that I and others at my site with
 encrypted email from thunderbird.

 I tested the patch with 1.5.19 and mutt-20090629.tar.gz

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3285>
Mutt <http://www.mutt.org/>
The Mutt mail user agent