Re: [openpgp] a new draft overlapping the WG draft

Ángel <angel@16bits.net> Thu, 29 September 2022 01:11 UTC

Return-Path: <angel@16bits.net>
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 E4D5FC147924 for <openpgp@ietfa.amsl.com>; Wed, 28 Sep 2022 18:11:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.109
X-Spam-Level:
X-Spam-Status: No, score=-2.109 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_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=neutral reason="invalid (unsupported algorithm ed25519-sha256)" header.d=16bits.net header.b=gWnLttC+; dkim=pass (2048-bit key) header.d=16bits.net header.b=jiHFh3f0
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 28VNI2FAo-Sz for <openpgp@ietfa.amsl.com>; Wed, 28 Sep 2022 18:11:37 -0700 (PDT)
Received: from mail.direccionemail.com (mail.direccionemail.com [199.195.249.9]) (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 4F08BC15AE0B for <openpgp@ietf.org>; Wed, 28 Sep 2022 18:11:37 -0700 (PDT)
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=16bits.net; s=ec2208; t=1664413895; bh=nf06218OpDuDix1Cngw4T32d2gIQRK3rMZp5tgVNDro=; h=Subject:From:To:Date:In-Reply-To:References:Content-Type: Content-Transfer-Encoding:MIME-Version; b=gWnLttC+ukiTeqQGfIGsd55yNqYy5Rc2XlWlxaPS3ASd7aYXaqIWUGeCOUQDNUUcH Y4GT6NF1Pf3IdXMbgRRDg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=16bits.net; s=rsa2208; t=1664413895; bh=nf06218OpDuDix1Cngw4T32d2gIQRK3rMZp5tgVNDro=; h=Subject:From:To:Date:In-Reply-To:References:Content-Type: Content-Transfer-Encoding:MIME-Version; b=jiHFh3f0ZuF5ZsA/mx5Ex+1mGEhF//4BlJETz7ex8/p9OAHTcIdttRq+k/qLlHy0e Uyx1EFqPHG18bDz8aX9RnnYwESmC+TtnIJljHhdpQkBUaYbSuR+oGGVI+rX4JMrGCP ITnkvyziU3yK1Or7NqfZrOm2HkOgCnTDziirCwSEDHZXCZqdMZuz7EO5WmPBVGSKQY KSEF8W9r2BjqdhSv4Hwezb6AzCEnKED99KezCxo5DgIfiRemi9nwaw6mwrPHDSJtFp NaUORNL2TmcWPkc3T9qstBFAFadEUU3e6FqkRQ6vo9Nj5YEO/G3AMpz9Eud/t1LLC4 jf+V+pqwknJdA==
Message-ID: <0594f9d2ee8d811e68571e5d077c43a15ef1e890.camel@16bits.net>
From: Ángel <angel@16bits.net>
To: openpgp@ietf.org
Date: Thu, 29 Sep 2022 03:11:34 +0200
In-Reply-To: <b8ddeb1e-fdbb-edab-3693-722c9e14f3d8@cs.tcd.ie>
References: <b8ddeb1e-fdbb-edab-3693-722c9e14f3d8@cs.tcd.ie>
Content-Type: text/plain; charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/jLuEJozm5XmFT6M4negDpKqtQZg>
Subject: Re: [openpgp] a new draft overlapping the WG draft
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: Thu, 29 Sep 2022 01:11:42 -0000

Hello all

I have been away of this WG for a long time, and the day I actually
happen to go back to see how it has evolved, it is to this thread.

I am saddened to find out two competing drafts for "rfc4880-next".

Having two diverging specifications, and leaving the users stranded to
get their implementations to figure out how to interoperate seems like
one of the worst outcomes. It's already hard enough to keep
compatibility with old specs, we don't need two modern diverging
specifications.

I am also surprised that this comes from an editor of the current draft
(or current as of last month, at least). And if Werner found the 
-refresh version to be utterly wrong, to the point it needs to be
scratched back, I would have expected to find at least an email here
with objections that could then lead to a diverging draft, not a sudden
new draft with the same goals and no explanation.


I found Justus mail very informative in pointing out here that draft-
koch-openpgp-2015-rfc4880bis-00 is just the continuation to draft-ietf-
openpgp-rfc4880bis-10 (actually mentioned in the header of the former)

Thus, rather than focusing on the changes between draft-koch-openpgp-2015-rfc4880bis-00 and draft-ietf-openpgp-crypto-refresh, I looked at the changes between draft-koch-openpgp-2015-rfc4880bis-00 and draft-ietf-openpgp-rfc4880bis-10, since the later was already considered when drafting -refresh.

While draft-koch-openpgp-2015-rfc4880bis-00 is indeed very similar to d
raft-ietf-openpgp-rfc4880bis-10, I must point out that it is wrong to
describe it as "only adds is an attack on dkg".

In the actual text, other than cosmetic/minor changes to the
descriptions from -10 (including that the quoting of single characters
is now broken in the new version, something we fixed on -refresh in
2019 or so), I find it adds two significant changes:


1) On AEAD Encrypted Data Packet the text "SHOULD NOT create chunks
larger than 128 MiB" was changed to "MUST NOT create chunks larger than
4 MiB". This is aligned with refresh, which contain the same line.
(see also 'AEAD Chunk Size' thread on this mailing list, Feb-Apr 2019)


2) A Literal Data Meta Hash subpacket was added
This is reflected in the appendix C (changelog), section 5.3.2.1
(reserving type 40) and Section 5.2.3.32 (definition of subpacket
"Literal Data Meta Hash")


Without any input from the author, it's anyone's guess why it was done
this way instead of as a patch/MR over -refresh, but I think the new
draft can be considered just as a change to add the Literal Data Meta
Hash subpacket.


My opinion is that the working group should:

- Continue working on draft-ietf-openpgp-crypto-refresh
- Consider "Literal Data Meta Hash" from draft-koch-openpgp-2015-
rfc4880bis as a proposal, as if it was suggested against -refresh.


Obviously, the additions on draft-ietf-openpgp-rfc4880bis-10 over
rfc4880 that might be pending (if any), should be evaluated. I thought
they were all already reviewed and either rejected or accepted
(potentially with amendments), but I suppose the new published draft
could make us notice any missing.


Regards
Ángel



Note: This email deals exclusively with considering all changes and the
goal of reaching a consensus. It is not to be construed as support (or
lack thereof) for any particular feature or text present or missing
in ietf-openpgp-rfc4880bis-10, ietf-openpgp-crypto-refresh or koch-
openpgp-2015-rfc4880bis.