[openpgp] PGP/MIME, RFC 3156, Require empty boundary preamble lines

Kai Engert <kaie@kuix.de> Mon, 20 September 2021 09:58 UTC

Return-Path: <kaie@kuix.de>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A3B6D3A1CC4 for <openpgp@ietfa.amsl.com>; Mon, 20 Sep 2021 02:58:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=kuix.de
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 87SdnPHB1ETW for <openpgp@ietfa.amsl.com>; Mon, 20 Sep 2021 02:58:01 -0700 (PDT)
Received: from cloud.kuix.de (cloud.kuix.de [IPv6:2001:8d8:1801:86::1]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EEFBF3A19CF for <openpgp@ietf.org>; Mon, 20 Sep 2021 02:58:00 -0700 (PDT)
Received: from [10.137.0.17] (tmo-081-219.customers.d1-online.com [80.187.81.219]) by cloud.kuix.de (Postfix) with ESMTPSA id 616FF191D04 for <openpgp@ietf.org>; Mon, 20 Sep 2021 09:57:55 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=kuix.de; s=2018; t=1632131875; bh=JQQndTvDzZaBKte0PbJclna3K8s4MHiK/CnDflRLKO8=; h=Date:To:From:Subject:From; b=Xa/c8dQ9uxMMrjTnLFECvKY69mfwU5ZrCkWV8mB2dzLwS5RVpVb5GFpTl0fDV7ock yBtHUbQZFzEWsN8Fcuq4xEivEFtWRhHnvESdaaoLlSyG5GywJwyFbdVShd5ydxy7FF cuLTXb16fLWD9ejtxImlUs323AO9DDO7eeSVYmpKK8ySAH7VzfOurpzGkAMILeUtmn mhhuNiqYGIuTZjSJvBWSs58FAu0TDWISFe3wUrhcW0N1IBzOFtQEf1gMdBdofjq16D zbTbbOYn6AYY1NNbHm4qh0e+uLaTsTNDQ161bsB4IyBKvLaOmqFMJWcNbEb8Lm5V93 PPJtNQPikmRFA==
Message-ID: <4e17aa02-e78c-3d48-8a68-7342996ddedd@kuix.de>
Date: Mon, 20 Sep 2021 11:57:53 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.1.1
To: openpgp@ietf.org
Content-Language: en-US
From: Kai Engert <kaie@kuix.de>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/7RDT3g3LdrOAfqfd4Hq0euMzbvo>
Subject: [openpgp] PGP/MIME, RFC 3156, Require empty boundary preamble lines
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/openpgp>, <mailto:openpgp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp/>
List-Post: <mailto:openpgp@ietf.org>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/openpgp>, <mailto:openpgp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Sep 2021 09:58:06 -0000

Hello,

is this list an appropriate place to discuss PGP/MIME topics?

Please see the following example message:
https://bugzilla.mozilla.org/show_bug.cgi?id=1690603#c16

There is one line marked with
"---> preamble line inside signed content".

Thunderbird 78 had added a non-empty preamble line, which was removed by 
a mail transport agent, causing the signature verification to fail.

Perhaps a future revision of RFC 3156 could state that preamble lines 
inside the signed payload MUST be empty - in the hope that no transport 
agent will add their own preamble lines.

(TB 91 contains a coincidental change that produces empty preamble 
lines, I haven't yet investigated what had caused this, but it likely 
has the side effect to fix the reported scenario.)

I don't know if there are any transport agents that ADD preamble lines - 
hopefully there aren't.

Regards
Kai