Re: [openpgp] The Argon2 proposal seems incomplete (Draft 6)

Bruce Walzer <bwalzer@59.ca> Thu, 04 August 2022 15:44 UTC

Return-Path: <bwalzer@59.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 645C2C13CCDC for <openpgp@ietfa.amsl.com>; Thu, 4 Aug 2022 08:44:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham 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 ypnfjz2toMma for <openpgp@ietfa.amsl.com>; Thu, 4 Aug 2022 08:44:06 -0700 (PDT)
Received: from mail.59.ca (mail.59.ca [205.200.229.83]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA512) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2B030C15C53E for <openpgp@ietf.org>; Thu, 4 Aug 2022 08:44:05 -0700 (PDT)
Received: from [10.0.0.2] (helo=ohm.59.ca) by mail.59.ca with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.94.2) (envelope-from <bwalzer@59.ca>) id 1oJd0g-000PbV-Tz; Thu, 04 Aug 2022 10:43:43 -0500
Date: Thu, 04 Aug 2022 10:43:41 -0500
From: Bruce Walzer <bwalzer@59.ca>
To: Daniel Huigens <d.huigens@protonmail.com>
Cc: Stephen Farrell <stephen.farrell@cs.tcd.ie>, Justus Winter <justus@sequoia-pgp.org>, openpgp@ietf.org
Message-ID: <YuvpLbCjWZdJgwsg@ohm.59.ca>
References: <YuAErZRsF/KbOw1s@watt.59.ca> <87bktajjvq.fsf@thinkbox> <YuKpxp0/Dy1DfC19@watt.59.ca> <875yjhjg2c.fsf@thinkbox> <YuP093G0UKhAJF4U@watt.59.ca> <152ab077-e4c9-7aed-8b44-4e999ed19e89@cs.tcd.ie> <YulNyD1gnC0U+1pN@ohm.59.ca> <Omn5mCBFz0ccFYcDgRjHCKseR_9ixmz1CTG55SDrNRysaY5Ni0i3I8ICzpPNOW0nWKcOnxIuWhUwIugXOdN-zcDil_ftWVALPXWPpSsjWnc=@protonmail.com> <YuqYWiPSitbCJtk4@ohm.59.ca> <cT0yMpjoOaqHutiTUb8wUExnaUoWyV9e4JrlCIkXqw8oTTUEcVebd-C8-gOcP8J72EddREQkybjoycI_0nuYkvz1VlkO5g81jxe3ADA2vfQ=@protonmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <cT0yMpjoOaqHutiTUb8wUExnaUoWyV9e4JrlCIkXqw8oTTUEcVebd-C8-gOcP8J72EddREQkybjoycI_0nuYkvz1VlkO5g81jxe3ADA2vfQ=@protonmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/zENzCxF4W9l2MSr1vgwF_tzNMY0>
Subject: Re: [openpgp] The Argon2 proposal seems incomplete (Draft 6)
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, 04 Aug 2022 15:44:08 -0000

On Wed, Aug 03, 2022 at 09:16:40PM +0000, Daniel Huigens wrote:
> If you have an issue with the Argon2 RFC, that's fine but we can't do
> much about that here. Again, if you want to propose some text to make
> the recommendation in the crypto refresh clearer, feel free to do so,
> I think it would be welcome.

Currently in draft 6 we find this:

>For the recommended values of t, p and m, see Section 4 of [RFC9106].

So currently just informational. You could do this:

>The values of t, p and m, from section 4 of [RFC9106] are RECOMMENDED.

... but section 4 makes several suggestions for those values so this
wouldn't be an actual recommendation. It implies that it might be best
to tune the parameters which would be obviously absurd for the OpenPGP
case.

There is nothing wrong with the Argon2 RFC. There is something wrong
with the Argon2 section of draft 6. It is not a problem with the
wording. This is an incompleteness problem. If it is really the case
that we want to leave things completely undefined then we should
explicitly state that. Things are currently not just confusing, they
are misleading.

Bruce