Re: [openpgp] Backwards compatibility vs streaming verification of v6 clearsigned messages

Paul Wouters <paul@nohats.ca> Wed, 24 May 2023 21:25 UTC

Return-Path: <paul@nohats.ca>
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 AEA6BC1519BE for <openpgp@ietfa.amsl.com>; Wed, 24 May 2023 14:25:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.093
X-Spam-Level:
X-Spam-Status: No, score=-2.093 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, MIME_QP_LONG_LINE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nohats.ca
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 45jU3wZplxBs for <openpgp@ietfa.amsl.com>; Wed, 24 May 2023 14:25:28 -0700 (PDT)
Received: from mx.nohats.ca (mx.nohats.ca [IPv6:2a03:6000:1004:1::85]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 94395C151B0C for <openpgp@ietf.org>; Wed, 24 May 2023 14:25:28 -0700 (PDT)
Received: from localhost (localhost [IPv6:::1]) by mx.nohats.ca (Postfix) with ESMTP id 4QRPNj12c3zC6d; Wed, 24 May 2023 23:25:25 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1684963525; bh=DuqIBoA9o/qk00wP0m7HyQzbBvVgAJLheRzR/yojbk0=; h=From:Subject:Date:References:Cc:In-Reply-To:To; b=Wftukx42OoLQanU8UQkgWZ34oQO5Q4vQL9ohJ+IGOYXfIFYVCmO14DgD2jrZnw4pw j3+ITWTCrH2jKEagBUcu+nyJIrNlU8+33jre+krPfXg6wodWIBFKDj+LBPiitD1z2e Z/hqlx/IkEwcsL+PN0nXlq3YVAQEE6Sdv7egYDYY=
X-Virus-Scanned: amavisd-new at mx.nohats.ca
Received: from mx.nohats.ca ([IPv6:::1]) by localhost (mx.nohats.ca [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id LcdhuDjbAZjR; Wed, 24 May 2023 23:25:23 +0200 (CEST)
Received: from bofh.nohats.ca (bofh.nohats.ca [193.110.157.194]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.nohats.ca (Postfix) with ESMTPS; Wed, 24 May 2023 23:25:23 +0200 (CEST)
Received: from smtpclient.apple (unknown [193.110.157.208]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bofh.nohats.ca (Postfix) with ESMTPSA id A21AAF93288; Wed, 24 May 2023 17:25:22 -0400 (EDT)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: Paul Wouters <paul@nohats.ca>
Mime-Version: 1.0 (1.0)
Date: Wed, 24 May 2023 17:25:08 -0400
Message-Id: <4EBF8008-68B8-4581-B17B-4030CCED6E0E@nohats.ca>
References: <FFD589A8-3840-4723-A6E0-BABF90149AB8@andrewg.com>
Cc: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, IETF OpenPGP WG <openpgp@ietf.org>
In-Reply-To: <FFD589A8-3840-4723-A6E0-BABF90149AB8@andrewg.com>
To: Andrew Gallagher <andrewg=40andrewg.com@dmarc.ietf.org>
X-Mailer: iPhone Mail (20C65)
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/dCE-z15HKDlWwZQDEy90iY1khzw>
Subject: Re: [openpgp] Backwards compatibility vs streaming verification of v6 clearsigned messages
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.39
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: Wed, 24 May 2023 21:25:32 -0000

On May 24, 2023, at 16:53, Andrew Gallagher <andrewg=40andrewg.com@dmarc.ietf.org> wrote:
> 
> On 24 May 2023, at 21:43, Daniel Kahn Gillmor <dkg@fifthhorseman.net> wrote:
>> 
>> the thing about the cleartext signing framework is that it's designed
>> (and i think intended) to work on data that will be viewed directly by a
>> human in a program that knows nothing about OpenPGP.
> 
> But if you’re viewing the message in an application that doesn’t understand OpenPGP, you can’t verify the signature - so the fake header is no less trustworthy than the body of the message (that is to say, not at all).

I use alpine to read mail and I can choose to invoke gpg on the content if I want to. Usually I don’t want to - eg for signed msgs to mailing lists. But I can still if the message appears to come from dkg giving me his new phone number 😀

Paul