Page MenuHomePhorge

PGP signed messages with attachments are twice as big
Closed, ResolvedPublic


I have a message sent by Georg. It has 3 attachments of total size 7MB. The message size is 19 MB. Expected size would be below 10MB. Here's how looks the message structure:

User-Agent: KMail/ (Linux/3.10.0-327.4.5.el7.x86_64; KDE/4.14.3; x86_64;
Content-Type: multipart/signed; boundary="nextPart3645178.pEQGFe39hd";
    micalg="pgp-sha1"; protocol="application/pgp-signature"

Content-Type: multipart/mixed; boundary="nextPart41611280.VgUu2geZTb"
Content-Transfer-Encoding: quoted-printable

<here the QP-encoded message structure before signing - including attachments and text/plain part>

Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"

<here's again the text/plain part and attachments, finally signature>

So, as you see attachments are duplicated. The structure should be:

        multipart/mixed (no content encoding here!)


Ticket Type

Event Timeline

machniak renamed this task from PGP signed messages are too big to PGP signed messages with attachments are twice as big.Mar 17 2016, 1:03 PM
machniak raised the priority of this task from 40 to 60.