Hello,

I noticed that Enigmail/Thunderbird wrap the content of encrypted+signed
messages in one or two multipart/mixed mime-parts (see blow for example).

I guess it might be related to implementing memoryhole. But memoryhole
would allow to put the protected headers into the first mime-part,
regardless of its mime-type.

Can someone explain what the reson for the nesting is? Is it bound to
stay like that?


My background is that I'm writing a piece of software that is trying to
check if a message's content consists of a single text-part or whether
it has multiple content parts.
With the mentioned nested mime-structure I have to recursively determine
if inside the multipart/mixed-part is another single
multipart/mixed-part, which in the end contains a single
text/plain-part. Or if on any of those layers there's another mime-part
to consider as actual content.


Here's an example of the mime-structure that I find inside the
ciphertext if I send only text inside the body without attachments:

  Content-Type: multipart/mixed; boundary="lM6w6dEWoqXkHv13DrbWq5JE4gAdXvJou"; 
protected-headers="v1"
  From: [email protected]
  To: [email protected]
  Message-ID: <[email protected]>
  Subject: something

  --lM6w6dEWoqXkHv13DrbWq5JE4gAdXvJou
  Content-Type: multipart/mixed; boundary="Hne35MqcuAqgMFEOEN7ahKrTaMBHIaHi0"

  --Hne35MqcuAqgMFEOEN7ahKrTaMBHIaHi0
  Content-Type: text/plain; charset=windows-1252
  Content-Transfer-Encoding: quoted-printable

  blabla


  --Hne35MqcuAqgMFEOEN7ahKrTaMBHIaHi0--

  --lM6w6dEWoqXkHv13DrbWq5JE4gAdXvJou--


I'm using Thunderbird 45.7.0 with Enigmail 1.9.6.1 on Arch Linux.


Cheers, Pablo

_______________________________________________
enigmail-users mailing list
[email protected]
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net

Reply via email to