From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86375 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: PGP/MIME replaces lines starting with "from " with "From " Date: Thu, 03 Dec 2015 13:34:27 +0100 Message-ID: <87d1unzp64.fsf@latte.josefsson.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1449162985 22522 80.91.229.3 (3 Dec 2015 17:16:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2015 17:16:25 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34607@lists.math.uh.edu Thu Dec 03 18:16:13 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a4XUJ-0001Sh-DL for ding-account@gmane.org; Thu, 03 Dec 2015 18:16:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1a4XTT-0005rl-3Y; Thu, 03 Dec 2015 11:15:19 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1a4T5p-0004Xn-M3 for ding@lists.math.uh.edu; Thu, 03 Dec 2015 06:34:37 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1a4T5o-0001D8-Dk for ding@lists.math.uh.edu; Thu, 03 Dec 2015 06:34:37 -0600 Original-Received: from duva.sjd.se ([37.123.176.9]) by quimby.gnus.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1a4T5l-0000Iy-GJ for ding@gnus.org; Thu, 03 Dec 2015 13:34:33 +0100 Original-Received: from latte.josefsson.org ([155.4.17.2]) (authenticated bits=0) by duva.sjd.se (8.14.4/8.14.4/Debian-4) with ESMTP id tB3CYTGQ022122 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 3 Dec 2015 13:34:30 +0100 X-Hashcash: 1:22:151203:ding@gnus.org::9SIH+TTGmwjcIISR:aDFO OpenPGP: id=54265E8C; url=http://josefsson.org/54265e8c.txt Mail-Copies-To: nobody User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux) X-Virus-Scanned: clamav-milter 0.98.7 at duva.sjd.se X-Virus-Status: Clean X-Spam-Status: No, score=-0.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, DATE_IN_FUTURE_48_96 autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on duva.sjd.se X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86375 Archived-At: --=-=-= Content-Type: text/plain Hi. I have noticed that Gnus replaces lines matching "^from " with "From " when PGP/MIME is used. This is probably due RFC 3156: Note: If any line begins with the string "From ", it is strongly suggested that either the Quoted-Printable or Base64 MIME encoding be applied. If Quoted-Printable is used, at least one of the characters in the string should be encoded using the hexadecimal coding rule. This is because many mail transfer and delivery agents treat "From " (the word "from" followed immediately by a space character) as the start of a new message and thus insert a right angle-bracket (>) in front of any line beginning with "From " to distinguish this case, invalidating the signature. I believe this ought to be case-sensitive "^From " matches only, which would not include "^from ". I have tested both the Claws Mail and Evolution MUAs, and they will QP-encode lines matching "^From " (both as "=46rom " incidentally) but NOT escape lines matching "^from ". I haven't been able to figure out where in Gnus (or the PGP sub-systems) this happens, so I'm bringing it up here to see if anyone else agrees with my interpretation and is able to fix this. /Simon --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCAAGBQJWYDbUAAoJEIYLf7sy+BGdjwAH/3qA9BHJ8XTI+/SkweO77L7Z NCTpkpbs41ajoqXdmvRDqUIOP/rwW4zuwNgHDxU0Lc2xEY4aFvkTfGHj3tCwGYiC MrzOwJ/rQqpr0g8pYB+e1xBPfriMuX50eXhGH3wICmwJeTKnS5GP8AhO9B8STxQ+ 0q9kJa3cIujJ1YqmWMwrshVWKTE1+WYWmjS4Z4wsHwckpfZYClRXf3DPwme1S5P3 y+w8FQROFYmX/12Y+0EhTajgUB2g8ZHx0yCt4aJD6j8tnvyszeMtRTsN0IWJnU+h eKPzw1R7emhDF4XRg5XF4Yis23+kcIPdxluHuG7uaF/O2oRZeQ6yyHTQ6/y6p5M= =4NiQ -----END PGP SIGNATURE----- --=-=-=--