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

Paul Schaub <vanitasvitae@fsfe.org> Fri, 08 July 2022 13:01 UTC

Return-Path: <vanitasvitae@fsfe.org>
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 1AA70C157B43 for <openpgp@ietfa.amsl.com>; Fri, 8 Jul 2022 06:01:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.241
X-Spam-Level:
X-Spam-Status: No, score=-1.241 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
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 7ggn_ppczGbm for <openpgp@ietfa.amsl.com>; Fri, 8 Jul 2022 06:01:06 -0700 (PDT)
Received: from mx0.riseup.net (mx0.riseup.net [198.252.153.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3686FC157B41 for <openpgp@ietf.org>; Fri, 8 Jul 2022 06:01:05 -0700 (PDT)
Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4LfYLS4nFZz9spV for <openpgp@ietf.org>; Fri, 8 Jul 2022 13:01:04 +0000 (UTC)
X-Riseup-User-ID: 847D15F8638236F31F9A1F94031F1A711922322884BAAADB5EF721E17CE91D69
Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4LfYLS1bxMz5vw2 for <openpgp@ietf.org>; Fri, 8 Jul 2022 13:01:04 +0000 (UTC)
Message-ID: <859ccb00-23ca-6dec-9d57-0447c749811a@fsfe.org>
Date: Fri, 08 Jul 2022 15:01:03 +0200
MIME-Version: 1.0
Content-Language: en-US
To: openpgp@ietf.org
References: <d0483dcb-025b-37c2-9a26-e42133b506ac@andrewg.com> <87y1x3x4hd.fsf@europ.lan>
From: Paul Schaub <vanitasvitae@fsfe.org>
Jabber-ID: vanitasvitae@mercury-im.org
In-Reply-To: <87y1x3x4hd.fsf@europ.lan>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/DGHp_rrBqIDJK2XRUODuqJYQY4I>
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 13:01:10 -0000

Hey,

On 08.07.22 12:50, Justus Winter wrote:
> I wrote a test to explore how the different implementations behave:
>
>    https://tests.sequoia-pgp.org/#Signature_digest_prefix


Thanks for that test!

I will see if I can somehow teach BC to check the digest prefix.

Paul