Re: [Gen-art] Genart last call review of draft-ietf-lamps-5480-ku-clarifications-00

Sean Turner <sean@sn3rd.com> Wed, 26 February 2020 02:01 UTC

Return-Path: <sean@sn3rd.com>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 51A923A08DB for <gen-art@ietfa.amsl.com>; Tue, 25 Feb 2020 18:01:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.585
X-Spam-Level:
X-Spam-Status: No, score=-0.585 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_RHS_DOB=1.514] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sn3rd.com
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 M9lic4lG8mJh for <gen-art@ietfa.amsl.com>; Tue, 25 Feb 2020 18:01:14 -0800 (PST)
Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B7A4B3A08DA for <gen-art@ietf.org>; Tue, 25 Feb 2020 18:01:14 -0800 (PST)
Received: by mail-qk1-x735.google.com with SMTP id e16so1203710qkl.6 for <gen-art@ietf.org>; Tue, 25 Feb 2020 18:01:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sn3rd.com; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=rD1c6TgmXQHnWBS180TILOytMW1+Prv0Zf7Ya9spKVs=; b=STdH6bb0+o4vXuMD4PdGn1aFIMO2yNRma5OFwbS5yQFhicaqpKzCu/+ZaWynHoKD27 irV5OHt89eDEV+++UZv3qHPv13bdF5sYo2Ur3gKjwjBnyrniwTIdGM2sVoTx05GiA2WW rhn26y4we5LCrqK9e3TQxR5SRjPUCGeyXUd7I=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=rD1c6TgmXQHnWBS180TILOytMW1+Prv0Zf7Ya9spKVs=; b=NXgRCIUikNqktnLlOHil95meGkHcjYBLpzHqHBcfArEJSfWSbNUKKVyOMx+Y/IR1pG pY/xBjK8GIHAFhuPJAPjPfHTtxJacwbVAumyx4AUOtVI8badiCn+057uPvMugWvhG5W3 yBXHLf7m5eNm5DDe5N8dvQ3eDg1cIc1/yEOT+9kS/BlaOsfkPbYlInBpfoTwnNf8SKec TW8yUi2aphREMJo85cgpw6Q22q0nu4x6dCpRvOrzRcbfK7Q6l+cJpIqqPM33qrJ1Gyc6 3UC+981Ll7nTQlQxAJUBJkB8lyZ/Uoc3tMaPGlqGy1pSl/EpCxthVvxM0+OBK683u6/4 XBCw==
X-Gm-Message-State: APjAAAUhIy5g3aBE9p3fnw7xB1W/LSOrYBfMoU3bdRh6jQZJywaK8oa6 w9xTGoQJ2bOLJ+WZgfNKl7ZVFQ==
X-Google-Smtp-Source: APXvYqxh9cmg23ggGnTOwPUha47PXbRzrTvkJ86jCwQYM74Qh5Qn5WpQ/vxriC54eq8m7YXHZwfNVw==
X-Received: by 2002:a37:4b4b:: with SMTP id y72mr2203284qka.175.1582682473813; Tue, 25 Feb 2020 18:01:13 -0800 (PST)
Received: from sn3rd.lan ([75.102.131.34]) by smtp.gmail.com with ESMTPSA id 145sm309253qkh.10.2020.02.25.18.01.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Feb 2020 18:01:13 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
From: Sean Turner <sean@sn3rd.com>
In-Reply-To: <87zhdcg0im.fsf@hobgoblin.ariadne.com>
Date: Tue, 25 Feb 2020 21:01:12 -0500
Cc: gen-art@ietf.org, draft-ietf-lamps-5480-ku-clarifications.all@ietf.org, last-call@ietf.org, spasm@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <6888D55C-5A3D-4C8E-AF6C-ED96235A1691@sn3rd.com>
References: <87zhdcg0im.fsf@hobgoblin.ariadne.com>
To: "Dale R. Worley" <worley@ariadne.com>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/gen-art/2SBXHk7XcjNGu0WBD3mfE-odSVg>
Subject: Re: [Gen-art] Genart last call review of draft-ietf-lamps-5480-ku-clarifications-00
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/gen-art/>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Feb 2020 02:01:17 -0000


> On Feb 20, 2020, at 21:03, Dale R. Worley <worley@ariadne.com> wrote:
> 
> Sean Turner <sean@sn3rd.com> writes:
>>>> From the discussion it appears that id-ecDH and id-ecMQV are "key
>>> agreement algorithms" and that, as such, they should not be used with
>>> keyEncipherment or dataEncipherment.  [this draft, section 3]
>>> Conversely, id-ecPublicKey is not a "key agreement algorithm".  [RFC
>>> 5480, section 2.1.2, para. 1, sentence 1]
>> 
>> Ah ... this might be where some of misunderstanding comes from because
>> id-ecPublicKey MAY be a key agreement algorithm that is why it is
>> "unrestricted". In other words, when key agreement certificates can
> I assume that "when" in the above line should be omitted.
>> include the following OIDs: id-ecDH (for an EC DH algorithm), id-ecMQV
>> (for EC MQV), or id-ecPublicKey (for any algorithm). Here's the text
>> from 5480 about id-ecPublicKey being used as key agreement algrithm:
>> 
>> If the keyUsage extension is present in an End Entity (EE)
>> certificate that indicates id-ecPublicKey in SubjectPublicKeyInfo,
>> then any combination of the following values MAY be present:
>> 
>> digitalSignature;
>> nonRepudiation; and
>> keyAgreement.
> 
> I'm still finding this an uphill climb.  If I understand you correctly,
> "key agreement" is not an attribute of an algorithm per se, but rather
> an attribute of a certificate.  And thus id-ecPublicKey may be specified
> in a key agreement certificate (that is, one with keyAgreement), but can
> also be specified in non-key agreement certificates (that is, ones
> without keyAgrement).  But id-ecDH and id-ecMQV may only be used in key
> agreement certificates, and in that sense they can be considered "key
> agreement algorithms".  Is that correct?
> 
> Dale

Yes.

BTW - I spun a new version to make the changes I noted early (at the request of Roman)

spt