Re: [openpgp] Expected client behaviour ambiguity in signature verification

Jonathan McDowell <noodles@earth.li> Fri, 08 July 2022 10:58 UTC

Return-Path: <noodles@earth.li>
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 D80D1C14F726 for <openpgp@ietfa.amsl.com>; Fri, 8 Jul 2022 03:58:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=earth.li
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 W89caj5tiVE8 for <openpgp@ietfa.amsl.com>; Fri, 8 Jul 2022 03:58:01 -0700 (PDT)
Received: from the.earth.li (the.earth.li [IPv6:2a00:1098:86:4d:c0ff:ee:15:900d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C4620C14F725 for <openpgp@ietf.org>; Fri, 8 Jul 2022 03:58:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=earth.li; s=the; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject: To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=caC+gMmU9s71E9lg4chPzp+dfAbvWUunkG4mznZ0/SM=; b=HhLfsPwcoTEcx4EUMko8IEeN1+ gBfmj82H1Cp/VjFHSVG9MAYYKn+68A4jXnb+Yw5E6HslXvYzmZ02QvCHD2SsoIxRK/Frx/cZtCwoQ n+cCf4dMVT/hgPJp8qDPF4UGKw/F+SDKUCvhJVv23kqQx5O0DzBLsJUe/YUewAUVnGVFqNA5Defad fldbo5ygdUiqUJdblqu8aewoAovKnzx7vaj9JK2VXyB4uXRt0GQVkMXi6aN7/BCKLQqklYXAmrztw bHmReaIoRLpQMQ31674AB9RuqpVOZT8Yv7L7f3rO4PdaC3aD8sJnkkEhXvqDMk3kaFVo2L6/fyxp5 fsL4HbvA==;
Received: from noodles by the.earth.li with local (Exim 4.94.2) (envelope-from <noodles@earth.li>) id 1o9lgN-00Bzt8-Ah for openpgp@ietf.org; Fri, 08 Jul 2022 11:57:59 +0100
Date: Fri, 08 Jul 2022 11:57:59 +0100
From: Jonathan McDowell <noodles@earth.li>
To: openpgp@ietf.org
Message-ID: <YsgNt4FJ21JAVvFg@earth.li>
References: <d0483dcb-025b-37c2-9a26-e42133b506ac@andrewg.com> <YscsLPg2I0Oaio8B@earth.li> <87v8s7x4cs.fsf@europ.lan>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="HMPIvcNprbSlc4nl"
Content-Disposition: inline
In-Reply-To: <87v8s7x4cs.fsf@europ.lan>
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/dDag6XrdZxNt2GDETQLXd50uCgM>
Subject: Re: [openpgp] Expected client behaviour ambiguity in signature verification
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: Fri, 08 Jul 2022 10:58:05 -0000

On Fri, Jul 08, 2022 at 12:53:39PM +0200, Justus Winter wrote:
> Jonathan McDowell <noodles@earth.li> writes:
> > I ended up dropping the check from onak as a result
> Alternatively, keyservers (anyone, really) could fix the digest prefix.

I did consider this option, but it was before onak gained the ability to
do the cryptographic signature verification.

We still don't seem to know what's *generating* the bad data.

J.

-- 
Revd Jonathan McDowell, ULC | I program, therefore I am.