Re: [lamps] draft-housley-lamps-crmf-update-algs - proposal on adding text regarding iterationCount and pwd quality
Russ Housley <housley@vigilsec.com> Thu, 26 November 2020 21:26 UTC
Return-Path: <housley@vigilsec.com>
X-Original-To: spasm@ietfa.amsl.com
Delivered-To: spasm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 507163A1034 for <spasm@ietfa.amsl.com>; Thu, 26 Nov 2020 13:26:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 7BDRry30EI1V for <spasm@ietfa.amsl.com>; Thu, 26 Nov 2020 13:26:38 -0800 (PST)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 83F5D3A1031 for <spasm@ietf.org>; Thu, 26 Nov 2020 13:26:38 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id C524A300B2B for <spasm@ietf.org>; Thu, 26 Nov 2020 16:26:35 -0500 (EST)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id LtN-xTTwleRT for <spasm@ietf.org>; Thu, 26 Nov 2020 16:26:33 -0500 (EST)
Received: from a860b60074bd.fios-router.home (pool-141-156-161-153.washdc.fios.verizon.net [141.156.161.153]) by mail.smeinc.net (Postfix) with ESMTPSA id 03D46300A48; Thu, 26 Nov 2020 16:26:32 -0500 (EST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <CALhKWgiA+kg3OxzZndwiwPNexk6ABJAKn1AQmZ_LL5YcQSFvSw@mail.gmail.com>
Date: Thu, 26 Nov 2020 16:26:34 -0500
Cc: "Brockhaus, Hendrik" <hendrik.brockhaus@siemens.com>, LAMPS <spasm@ietf.org>, "steffen.fries@siemens.com" <steffen.fries@siemens.com>, "hans.aschauer@siemens.com" <hans.aschauer@siemens.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <314553E7-B3D9-43B4-B775-31482C5035C6@vigilsec.com>
References: <AM0PR10MB24188049A1B53C88EE19B606FEF90@AM0PR10MB2418.EURPRD10.PROD.OUTLOOK.COM> <86E7B55E-986C-42C1-8E02-20FB70C2F022@vigilsec.com> <CALhKWgiA+kg3OxzZndwiwPNexk6ABJAKn1AQmZ_LL5YcQSFvSw@mail.gmail.com>
To: Jonathan Hammell <jfhamme.cccs@gmail.com>
X-Mailer: Apple Mail (2.3445.104.17)
Archived-At: <https://mailarchive.ietf.org/arch/msg/spasm/_eeb7P9QUkLJ5l5qhCGHFpCIHPo>
Subject: Re: [lamps] draft-housley-lamps-crmf-update-algs - proposal on adding text regarding iterationCount and pwd quality
X-BeenThere: spasm@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "This is a venue for discussion of doing Some Pkix And SMime \(spasm\) work." <spasm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spasm>, <mailto:spasm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spasm/>
List-Post: <mailto:spasm@ietf.org>
List-Help: <mailto:spasm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spasm>, <mailto:spasm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Nov 2020 21:26:40 -0000
Jonathan: > On Thu, Nov 26, 2020 at 12:47 PM Russ Housley <housley@vigilsec.com> wrote: >>> Driven by the bitcoin business, highly specialized ASIC speeding up hash calculation are available for a relative cheap price. Therefore, we would propose to further update RFC4211 Section 4.4 as follows. >>> >>> Add a sentence to the end of the first paragraph of Section 4.4 >>> "The security of this MAC depends heavily on the entropy of the used password. Using one-time passwords also improves the security." >> >> I would prefer to say: "The password for this MAC SHOULD NOT be used for any other purpose." I think this avoids potential issues with repeated requests. >> >> What do others think? > > I think Russ's proposal is more clear for implementers. The proposed > text to add to the Security Considerations discusses the entropy > requirements and suggestion for one-time passwords. > > I agree with the other proposed changes from Hendrick. > > However, I'm concerned about the ASN.1 for PBMParameter Section 4.4 of > RFC 4211 for the following reasons. If one wanted to use scrypt (RFC > 7914) for the owf, there is duplication of the salt parameter and the > iterationCount in PBMParameter would no longer be relevant. One might > even want to use Argon2 (draft-irtf-cfrg-argon2), but unfortunately > there is no ASN.1 module in that I-D to specify parameterization. I > realize that backwards compatibility needs to be maintained for > PBMParameter so those parameters cannot be made OPTIONAL, but perhaps > some guidance like the following should be added? > > "If a salt value is specified in the AlgorithmIdentifier parameters > for owf (such as in [RFC7914]), the salt value in PBMParameter MUST > NOT be used and it SHOULD be the zero-length octet string. Similarly, > if the mechanism specified in owf has its own cost parameter for > deriving a key (such as in [RFC7914]), then the iterationCount value > in PBMParameter MUST NOT be used and it SHOULD be set to 0." I do not think I agree. If you want to use one of these other constructions, wouldn't completely replace id-PasswordBasedMAC? Russ
- [lamps] draft-housley-lamps-crmf-update-algs - pr… Brockhaus, Hendrik
- Re: [lamps] draft-housley-lamps-crmf-update-algs … Russ Housley
- Re: [lamps] draft-housley-lamps-crmf-update-algs … Jonathan Hammell
- Re: [lamps] draft-housley-lamps-crmf-update-algs … Russ Housley
- Re: [lamps] draft-housley-lamps-crmf-update-algs … Brockhaus, Hendrik
- Re: [lamps] draft-housley-lamps-crmf-update-algs … Jonathan Hammell
- Re: [lamps] draft-housley-lamps-crmf-update-algs … Russ Housley