[Users] [Bug 2978] New: PGP/MIME encrypted messages contain headers over 80chars line long

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Sun Jul 14 20:12:52 CEST 2013


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2978

            Bug ID: 2978
           Summary: PGP/MIME encrypted messages contain headers over
                    80chars line long
    Classification: Unclassified
           Product: Claws Mail
           Version: 3.9.1
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Plugins/Privacy
          Assignee: users at lists.claws-mail.org
          Reporter: LoseDanger at mailinator.com

When sending a PGP/MIME encrypted message, it contains the following header:

Content-Type: multipart/encrypted; boundary="Encrypt_/qKaVJldr8SGctagiHeUkHDf";

This line is 81 characters long (including CRLF). This is in violation of
suggestions in rfc5322 which state that a line of characters should be no more
than 78 characters long, excluding CRLF.

Hence the Content-Type: header should have a line break included in it, such
as:

Content-Type: multipart/encrypted;
 boundary="Encrypt_/qKaVJldr8SGctagiHeUkHDf";

For PGP/MIME signed message, it contains the following header:

Content-Type: multipart/signed; micalg=PGP-SHA512;
 boundary="Sig_/CgLOTG2Yl62fHeyugmhr2Hv"; protocol="application/pgp-signature"

which has a correct line break, to keep it at 80 characters long including
CRLF.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list