Re: [openpgp] [PATCH] RFC4880bis: Argon2i

Werner Koch <wk@gnupg.org> Wed, 04 November 2015 08:11 UTC

Return-Path: <wk@gnupg.org>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EC5EA1B2B57 for <openpgp@ietfa.amsl.com>; Wed, 4 Nov 2015 00:11:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ni5S2bB3HNsX for <openpgp@ietfa.amsl.com>; Wed, 4 Nov 2015 00:11:21 -0800 (PST)
Received: from kerckhoffs.g10code.com (kerckhoffs.g10code.com [IPv6:2001:aa8:fff1:100::22]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2783B1A0151 for <openpgp@ietf.org>; Wed, 4 Nov 2015 00:11:21 -0800 (PST)
Received: from uucp by kerckhoffs.g10code.com with local-rmail (Exim 4.80 #2 (Debian)) id 1ZttA6-0008KK-Oo for <openpgp@ietf.org>; Wed, 04 Nov 2015 09:11:18 +0100
Received: from wk by vigenere.g10code.de with local (Exim 4.84 #3 (Debian)) id 1Ztt89-0008Hc-Ib; Wed, 04 Nov 2015 09:09:17 +0100
From: Werner Koch <wk@gnupg.org>
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>
References: <5623AA95.4060903@googlemail.com> <874mh3q3ol.fsf@alice.fifthhorseman.net> <56382F70.5000501@iang.org> <56385A38.6000707@googlemail.com> <9A043F3CF02CD34C8E74AC1594475C73F4B51C09@uxcn10-5.UoA.auckland.ac.nz> <563924D5.6020407@googlemail.com> <9A043F3CF02CD34C8E74AC1594475C73F4B52B3E@uxcn10-5.UoA.auckland.ac.nz>
Organisation: g10 Code GmbH
X-message-flag: Mails containing HTML will not be read! Please send only plain text.
OpenPGP: id=F2AD85AC1E42B367; url=finger:wk@g10code.com
Mail-Followup-To: Peter Gutmann <pgut001@cs.auckland.ac.nz>, Nils Durner <ndurner@googlemail.com>, "openpgp\@ietf.org" <openpgp@ietf.org>
Date: Wed, 04 Nov 2015 09:09:17 +0100
In-Reply-To: <9A043F3CF02CD34C8E74AC1594475C73F4B52B3E@uxcn10-5.UoA.auckland.ac.nz> (Peter Gutmann's message of "Wed, 4 Nov 2015 00:33:51 +0000")
Message-ID: <87fv0muqxe.fsf@vigenere.g10code.de>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Archived-At: <http://mailarchive.ietf.org/arch/msg/openpgp/ecGK2vvO5c8QWJ6YIUhXDXxdudY>
Cc: Nils Durner <ndurner@googlemail.com>, "openpgp@ietf.org" <openpgp@ietf.org>
Subject: Re: [openpgp] [PATCH] RFC4880bis: Argon2i
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.15
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, 04 Nov 2015 08:11:26 -0000

On Wed,  4 Nov 2015 01:33, pgut001@cs.auckland.ac.nz said:

> So perhaps have type 4 = Argon2, type 5 = symmetric key transport, with a
> safety note added to say that it's meant for randomly-generated symmetric keys
> that are already, in effect, in the post-S2K state.

That would be fine for new code.  Nevertheless implementations need to
support reading type 1 until all backup media as worn out.  Thus I doubt
that requiring an extra code path is the way to go.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.