Re: [openpgp] [PATCH] RFC4880bis: Argon2i

Peter Gutmann <pgut001@cs.auckland.ac.nz> Tue, 03 November 2015 12:18 UTC

Return-Path: <pgut001@cs.auckland.ac.nz>
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 279611B32C8 for <openpgp@ietfa.amsl.com>; Tue, 3 Nov 2015 04:18:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.61
X-Spam-Level:
X-Spam-Status: No, score=-2.61 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, T_RP_MATCHES_RCVD=-0.01] 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 tp4JB3X3-PbE for <openpgp@ietfa.amsl.com>; Tue, 3 Nov 2015 04:18:02 -0800 (PST)
Received: from mx4.auckland.ac.nz (mx4.auckland.ac.nz [130.216.125.248]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C7811B32A5 for <openpgp@ietf.org>; Tue, 3 Nov 2015 04:18:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1446553081; x=1478089081; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=axgOcRjNK1E5/Fcssd6kVKv9zV2m71ll4BQ1IlrrRYE=; b=mQqTCw5GQudmRW+yyQgEYyKii50AyTAsqVCgV5v6/LEcJA8dLRn3oBqd rR9WP6Py2ZkW+WffdtgNdzS651K0ZTuwx15j8ZqudHB5a8SEf3vPSdg+f VF0aT+d8kgb/qWucE2vOwCYyCG3AOrUkt1gP1j7ghBx8cafnRnA/jFQwz AloGkz/IlHPANCGhlu5C6RUFjuDRA2M1QYueiNdKz2W3otZ3HzHksAMvN sw1gVlmA15CEbQmoGqJDlPaKAjMe9JJwY0JMHn7jJwsfXluMhM23v0nPS uIXgVwxa1YVshaeY9RCjciD81ESYoe/B8QM5yvexDh6vdLkIrFMZmHG5s w==;
X-IronPort-AV: E=Sophos;i="5.20,238,1444647600"; d="scan'208";a="52263271"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 130.216.4.125 - Outgoing - Outgoing
Received: from uxchange10-fe3.uoa.auckland.ac.nz ([130.216.4.125]) by mx4-int.auckland.ac.nz with ESMTP/TLS/AES128-SHA; 04 Nov 2015 01:17:59 +1300
Received: from UXCN10-5.UoA.auckland.ac.nz ([169.254.5.51]) by uxchange10-fe3.UoA.auckland.ac.nz ([169.254.143.234]) with mapi id 14.03.0174.001; Wed, 4 Nov 2015 01:17:59 +1300
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: Nils Durner <ndurner@googlemail.com>, "openpgp@ietf.org" <openpgp@ietf.org>
Thread-Topic: [openpgp] [PATCH] RFC4880bis: Argon2i
Thread-Index: AQHRFdXlijSW/3f4FU2z5WUCh4oiMp6I0HUAgAAzAACAATMkiw==
Date: Tue, 03 Nov 2015 12:17:58 +0000
Message-ID: <9A043F3CF02CD34C8E74AC1594475C73F4B51C09@uxcn10-5.UoA.auckland.ac.nz>
References: <5623AA95.4060903@googlemail.com> <874mh3q3ol.fsf@alice.fifthhorseman.net> <56382F70.5000501@iang.org>,<56385A38.6000707@googlemail.com>
In-Reply-To: <56385A38.6000707@googlemail.com>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [130.216.158.4]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/openpgp/gr8xFXxeXbISyg2RflwyTOmaEIU>
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: Tue, 03 Nov 2015 12:18:06 -0000

Nils Durner <ndurner@googlemail.com> writes:

>We can of course raise the bar by excluding types 1 & 3 entirely.

1 and 3?  I assume you mean 0 and 1, with 2 being unused anyway.  There should
really only be a 3, a straight hash or salted hash is barely better than just
using the password directly.

(They also seem to be virtually unused in practice, some time ago I
inadvertently disabled use of 0 and 1 in my code and, after zero complaints
over this, made the change permanent).

Peter.