Re: [Ace] Genart last call review of draft-ietf-ace-oauth-authz-27

Ludwig Seitz <ludwig_seitz@gmx.de> Sat, 14 December 2019 16:25 UTC

Return-Path: <ludwig_seitz@gmx.de>
X-Original-To: ace@ietfa.amsl.com
Delivered-To: ace@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4DE7D1200E9; Sat, 14 Dec 2019 08:25:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
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 xza0baSKIxrO; Sat, 14 Dec 2019 08:25:47 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (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 5D645120091; Sat, 14 Dec 2019 08:25:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1576340745; bh=4VtxGCLkqsvHzChJZ1akYeLTO3poaKsYkjduSrF35Ug=; h=X-UI-Sender-Class:Subject:To:References:Cc:From:Date:In-Reply-To; b=lw95QOAuAzldWZL/8+9f9NtRYnU19FYM8/Ni+uwHJfJTj6QYNIUhS5Yh9JFbBgNqg VXCNzCaOIu+CBDOpwZsdfME+iiFvEiQsDcR/QBUM1kGkzsiDhM2pbpjwr0l2g7tVx3 E1IUWb3fvJ/m0ryaYXUUWJPNatKS5JubgOlBflqw=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.220] ([84.217.44.37]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N1OXZ-1hjGmh21Od-012owa; Sat, 14 Dec 2019 17:20:40 +0100
To: ace@ietf.org, stewart.bryant@gmail.com
References: <157618348089.20903.16122189372846633578@ietfa.amsl.com>
Cc: last-call@ietf.org
From: Ludwig Seitz <ludwig_seitz@gmx.de>
Message-ID: <d9812f10-d09d-4d9e-0098-915ee8085d67@gmx.de>
Date: Sat, 14 Dec 2019 17:20:34 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2
MIME-Version: 1.0
In-Reply-To: <157618348089.20903.16122189372846633578@ietfa.amsl.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:6PLU9Eu23UxM2YjaQfHSSC2pZjieUdGuN77uyTW84l9hec3Juyl VoSzTEAxAPlUX6LVsuc9B249/mJhtRb34lRuHEXaOC+UYFGQye2LXX65Zry8zQ/3AC1wutt D7oV1FPB6wCGKR5ErKCBlbUfVwkCfIXvfXtuG9Z6qYbG3Q/aGcMQzmPyAoiywkNCNf5HLn0 Lsbua4qb+q54lWnunQK6Q==
X-UI-Out-Filterresults: notjunk:1;V03:K0:2HFK1fA3KLg=:WOrdiPqSWQPQS9AugGWVQg QoJv1GVKaMgxdWiBpJmQFCsmMuIOEMTgJDOz0WMhvxLWZX4I8Zs9HUCqBvWm05NdaGksdP9kh bj6+/ls2g4dai2+wWrTET5v2wuZjCHOgmNF5G/BIyxx+ca2P6HmB/ft8/EIsZleSAuuIVkPM2 HQ7UwDDqoFEg5S/jTHEMN4jLCM3N0852eGUzpiN62Dev47QRXvG98Po4iSWvnzXCIMSe2wg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lWA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/G19s_ovxBD7zSpIVEQroAxUmc5A>
Subject: Re: [Ace] Genart last call review of draft-ietf-ace-oauth-authz-27
X-BeenThere: ace@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Authentication and Authorization for Constrained Environments \(ace\)" <ace.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ace>, <mailto:ace-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ace/>
List-Post: <mailto:ace@ietf.org>
List-Help: <mailto:ace-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ace>, <mailto:ace-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Dec 2019 16:25:50 -0000

On 2019-12-12 21:44, Stewart Bryant via Datatracker wrote:
> Reviewer: Stewart Bryant
> Review result: Ready with Nits
>
> I am the assigned Gen-ART reviewer for this draft. The General Area
> Review Team (Gen-ART) reviews all IETF documents being processed
> by the IESG for the IETF Chair.  Please treat these comments just
> like any other last call comments.
>

Thank you Stewart for this review, comments inline.

Note that the posting of an update draft might be a bit delayed due to
issues with my affiliation change. You can inspect my edits here
meanwhile: https://github.com/ace-wg/ace-oauth

/Ludwig


>
> Nits/editorial comments:
>
> Abstract
>
>     This specification defines a framework for authentication and
>     authorization in Internet of Things (IoT) environments called ACE-
>     OAuth.  The framework is based on a set of building blocks including
>     OAuth 2.0
> SB> OAuth 2.0 needs a RFC or other reference
> =====
>     and CoAP,

Both fixed

>
> SB> CoAP is not in the list of well-known abreviations and needs expanding

Fixed

> ====
>     thus transforming a well-known and widely used
>     authorization solution into a form suitable for IoT devices.
>     Existing specifications are used where possible, but extensions are
>     added and profiles are defined to better serve the IoT use cases.
>
>     While prior work on authorization solutions for the Web and for the
>     mobile environment also applies to the Internet of Things (IoT)
>     environment, many IoT devices are constrained, for example, in terms
>     of processing capabilities, available memory, etc.  For web
>     applications on constrained nodes, this specification RECOMMENDS the
>     use of CoAP [RFC7252] as replacement for HTTP.
>
> SB> Please expand CoAP

Fixed
> ===
>     A detailed treatment of constraints can be found in [RFC7228], and
>
> SB> I think you should provide a short context on "constraints"

I added a reference to Appendix A which does just that.

>
>     the different IoT deployments present a continuous range of device
>     and network capabilities.  Taking energy consumption as an example:
>     At one end there are energy-harvesting or battery powered devices
>     which have a tight power budget, on the other end there are mains-
>     powered devices, and all levels in between.
> ===
>
>     More detailed, interoperable specifications can be found in profiles.
> SB> What do you mean by "profiles" as a word on its own?

I added some clarification
> ====
>
>     A third building block is CBOR [RFC7049],
> SB> CBOR needs to be expanded on first use.

Fixed
> ====
>
>        HTTP, HTTP/2, QUIC, MQTT, Bluetooth Low Energy, etc., are also
>        viable candidates.
>
> SB> These really need references
> SB> Except for HTTP the abreviations need expanding on first use.

Done, note that there does not seem to be an expansion for QUIC.

> =====
>
>     In this example, the attribute AS points the receiver of this message
>     to the URI "coaps://as.example.com/token" to request access
>     permissions.  The originator of the AS Request Creation Hints payload
>     (i.e., RS) uses a local clock that is loosely synchronized with a
>     time scale common between RS and AS (e.g., wall clock time).
>     Therefore, it has included a parameter "nonce" (see Section 5.1.2.1).
>
> SB> I think the above text could usefully be re-worded for clarity.
> SB> The "therefore" does not seem to follow the preceeding text.

I rephrased this to hopefully improve readability and clarify the
"therefore" (and s/nonce/cnonce).

> ====
>     o  A RS sending a "cnonce" parameter in an an AS Request Creation
> SB> An RS...

This doesn't feel right, since there is no consonant in RS and the R in
"Resource Server" (the expansion of RS) is not silent either. Is there a
grammar rule that I'm unaware of?

You did however make me aware of a typo later in that sentence where
there it says: "an an".