Re: [Ace] Francesca Palombini's Discuss on draft-ietf-ace-mqtt-tls-profile-15: (with DISCUSS and COMMENT)

Cigdem Sengul <cigdem.sengul@gmail.com> Thu, 10 March 2022 12:42 UTC

Return-Path: <cigdem.sengul@gmail.com>
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 ACB8A3A099D; Thu, 10 Mar 2022 04:42:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 pgIznhr4zy3y; Thu, 10 Mar 2022 04:42:52 -0800 (PST)
Received: from mail-vs1-xe31.google.com (mail-vs1-xe31.google.com [IPv6:2607:f8b0:4864:20::e31]) (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 F04053A0953; Thu, 10 Mar 2022 04:42:51 -0800 (PST)
Received: by mail-vs1-xe31.google.com with SMTP id d64so5732555vsd.12; Thu, 10 Mar 2022 04:42:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tdkJLml6KKvGslm4m1Ga6o9K6EiMNBLmdOCpyQrzqgU=; b=dyc5dbtMy81EdoovOjjdvDcwQ2oQCGmVUN97zzDet+MszBGsieH9ecX8I4tBsbdvnO hCYbWstBcSjqqRuvTmBHRwn14uy5hX5akjrV2NKRFaPZlGlk/FLsqFdwUusDYBsQDSYL uPrfuZWFchlIGHLe97eJeHvbPgwLD/1Vkt0jKPmaWXKv67ZWEumpjO38S5SkewdqSoTx lHq+A56IuNdjTkztcwkAx1v+cUanXqLRgrsq2BZQ2Wi6ktOMwgY66GaG2iD9b/vQJWRp VBgWMTdMbyGmDNS5giqTBVYcnlPayR75dtkt3L/qtHqE0ACe9KE+2AdYLVR4qMrmCbhc /duA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tdkJLml6KKvGslm4m1Ga6o9K6EiMNBLmdOCpyQrzqgU=; b=qY08QEEq1U5ICAoZqoDOHLDP3EfGlnBUBMu3FEjAldy9pCY/Ykdci2Q/v6RkOv6oBA lOLgKjcp1EuDtffi9baYGVU/x95JYTwUu1amERhNbV30B4lfUbHBkA2V6Q8edRWQ/PLG SF7crRO/JwD+8pWzH5m+XpUsn4KKnL0SEdYVUEaJWW78j3vWJaem9agfHl5ez5Jig0U1 6hiqkIfZmd9Tz0ECOGj4zGFjjNDhdq6ApuDdB8B8aIFN/jAKG0mU81VbPnOkCDC99t81 iCDMuIo1DBeNTWejjwgoBnOMmkWBb5xq2OegR/7qYt0jModmy95E4OodQEhr8UaxxLK2 UrCQ==
X-Gm-Message-State: AOAM533Rv6gYk2cwwhRwlx2V8mgPg08Kg38hUcdfKQ+o0ApnyUnxSkjy h81idv4kanSKJ4LAc+/OGDmQeGw9sye6g+jEBgs=
X-Google-Smtp-Source: ABdhPJy+6llJFoYlp7apDfaOH5q/oU8oPLv1twiXuKvwudUefqybU8DCXEcUEb9Lpa458HSbNvVR6f68a6IpaU2z8fU=
X-Received: by 2002:a05:6102:370b:b0:322:799a:2d50 with SMTP id s11-20020a056102370b00b00322799a2d50mr2180085vst.0.1646916170196; Thu, 10 Mar 2022 04:42:50 -0800 (PST)
MIME-Version: 1.0
References: <164690659840.27636.15001188747177217888@ietfa.amsl.com> <CAA7SwCM53EBH8+ko2knFKKHQdumeT=FuG5uiE9L-gkyyCKvwLQ@mail.gmail.com> <HE1PR07MB42173DD6F1B0E82C9858F5E8980B9@HE1PR07MB4217.eurprd07.prod.outlook.com>
In-Reply-To: <HE1PR07MB42173DD6F1B0E82C9858F5E8980B9@HE1PR07MB4217.eurprd07.prod.outlook.com>
From: Cigdem Sengul <cigdem.sengul@gmail.com>
Date: Thu, 10 Mar 2022 12:42:39 +0000
Message-ID: <CAA7SwCOD0bw9nzSZEM1V4oxPOkN-0Pmpf5PqNnT4rx7D1Uz_3A@mail.gmail.com>
To: Francesca Palombini <francesca.palombini@ericsson.com>
Cc: Carsten Bormann <cabo@tzi.org>, The IESG <iesg@ietf.org>, "draft-ietf-ace-mqtt-tls-profile@ietf.org" <draft-ietf-ace-mqtt-tls-profile@ietf.org>, "ace-chairs@ietf.org" <ace-chairs@ietf.org>, Ace Wg <ace@ietf.org>, Daniel Migault <daniel.migault@ericsson.com>
Content-Type: multipart/alternative; boundary="0000000000004cac1605d9dc8d3e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/SNjIaksE9maEVCe9M9f6LU7uipE>
Subject: Re: [Ace] Francesca Palombini's Discuss on draft-ietf-ace-mqtt-tls-profile-15: (with DISCUSS and COMMENT)
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: Thu, 10 Mar 2022 12:42:58 -0000

Hello Francesca,

Thank you. I welcome these suggestions - I do not foresee other permission
keywords looking at the MQTT vocabulary (control packets); happy to
"hard-code" "pub" and "sub".
If there aren't any other opinions, I will implement them this way.
There are a  few other minor clarifications I am waiting for feedback, and
with those clarified, I will be ready to publish a new ID.

Kind regards,
--Cigdem



On Thu, 10 Mar 2022 at 12:35, Francesca Palombini <
francesca.palombini@ericsson.com> wrote:

> Hi Cigdem,
>
>
>
> Thank you for the quick reply!
>
> The two additional registrations for the parameters Toid and Tperm look
> good, although I have a couple of suggestions:
>
>    1. For Toid I would add a reference to Section 1.3 (and maybe
>    capitalize Topic Filter, just to be nitpicking). I would also mention that
>    this is ancoded ass a text string (or point to section 2.3).
>    2. For Tperm, I don’t think it is needed to create an additional
>    registry, unless you foresee that there might be need to add new methods
>    other than “pub” and “sub” in the future, in which case I agree with you
>    that the IANA registry is the best choice. If you don’t, I would remove the
>    new registry and just mention that the Tperm is a text string with value
>    either “pub” or “sub”, and reference section 2.3.
>
> I think that should cover it. Again, Carsten’s opinion is welcome as the
> creator of the registry (lacking the Designated expert that is not yet
> assigned).
>
>
>
>
>
> Francesca
>
>
>
> *From: *Cigdem Sengul <cigdem.sengul@gmail.com>
> *Date: *Thursday, 10 March 2022 at 12:57
> *To: *Francesca Palombini <francesca.palombini@ericsson.com>
> *Cc: *The IESG <iesg@ietf.org>, draft-ietf-ace-mqtt-tls-profile@ietf.org <
> draft-ietf-ace-mqtt-tls-profile@ietf.org>, ace-chairs@ietf.org <
> ace-chairs@ietf.org>, Ace Wg <ace@ietf.org>, Daniel Migault <
> daniel.migault@ericsson.com>, Carsten Bormann <cabo@tzi.org>
> *Subject: *Re: Francesca Palombini's Discuss on
> draft-ietf-ace-mqtt-tls-profile-15: (with DISCUSS and COMMENT)
>
> Hello Francesca,
>
>
>
> Thank you for your feedback. My response is below.
>
>
>
> On Thu, 10 Mar 2022 at 10:03, Francesca Palombini via Datatracker <
> noreply@ietf.org> wrote:
>
> Francesca Palombini has entered the following ballot position for
> draft-ietf-ace-mqtt-tls-profile-15: Discuss
>
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
>
>
> Please refer to
> https://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions/
> for more information about how to handle DISCUSS and COMMENT positions.
>
>
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-ace-mqtt-tls-profile/
>
>
>
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
>
> Updating my ballot after reviewing draft-ietf-ace-aif-06. Just want to make
> sure we don't miss anything, please feel free to correct me if I missed the
> mark here.
>
> FP: https://datatracker.ietf.org/doc/html/draft-ietf-ace-aif-06#section-4
> states:
>
> default values are the values "URI-local-
>    part" for Toid and "REST-method-set" for Tperm, as per Section 3 of
>    the present specification.
>
>    A specification that wants to use Generic AIF with different Toid
>    and/or Tperm is expected to request these as media type parameters
>    (Section 5.2) and register a corresponding Content-Format
>    (Section 5.3).
>
> FP: I wonder if this document should define a new media type parameter for
> Tperm (as REST-method-set is not appropriate for "pub"/"sub" value) and
> register a corresponding Content-Format as indicated in the paragraph
> above.
> CC'ing Carsten for his opinion.
>
>
>
> CS: Since we considered this for the Broker's consumption using MQTT,
> registration of a new media type looks like it was overlooked.
>
> I assume you are raising this issue as the client may use the scope for
> token requests using application/ace+json(cbor) application/aif+json(cbor)
>
> If that is the case, I suggest the following text for AIF and  MQTT
> Permissions registry (with Expert Review registration procedure) similar to
> https://datatracker.ietf.org/doc/draft-ietf-ace-key-groupcomm-oscore/ -
>
>
>
>
>
> AIF
>
>
>
>    For the media-types application/aif+cbor and application/aif+json
>
>    defined in Section 5.1 of [I-D.ietf-ace-aif], IANA is requested to
>
>    register the following entries for the two media-type parameters Toid
>
>    and Tperm, in the respective sub-registry defined in Section 5.2 of
>
>    [I-D.ietf-ace-aif] within the "MIME Media Type Sub-Parameter"
>
>    registry group.
>
>
>
>    *  Name: mqtt-topic-filter
>
>
>
>    *  Description/Specification: topic filter used in MQTT
>
>
>
>    *  Reference: [[This document]]
>
>
>
>    *  Name: mqtt-permissions
>
>
>
>    *  Description/Specification: permissions for MQTT client.
>
>
>
>    *  Reference: [[This document]]
>
>
>
> MQTT Permissions
>
>
>
>    This document establishes the IANA "MQTT Permissions" registry.
>
>    The registry has been created to use the "Expert Review" registration
>
>    procedure [RFC8126].
>
>
>
>    This registry includes the possible permissions of MQTT clients when communicating
>
>    with an MQTT broker.
>
>
>
>    The columns of this registry are:
>
>
>
>    *  Name: A value that can be used in documents for easier
>
>       comprehension, to identify a possible permissions of MQTT clients.
>
>
>
>    *  Description: This field contains a brief description of the permission.
>
>
>
>    *  Reference: This contains a pointer to the public specification for
>
>       the permission.
>
>
>
>    This registry will be initially populated by the names "pub", "sub".
>
>
>
>    The Reference column for all of these entries will be [[This
>
>    document]].
>
>
>
> Are there any other registries involved?
>
> Thanks,
>
>
>
>
>
>
>
>
>
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
>
> Thank you for the work on this document
>
> Many thanks to Jean Mahoney for her ART ART review:
> https://mailarchive.ietf.org/arch/msg/art/REdbeKR0FBJ1CnVtKOUaJnaeONk/,
> and to
> the authors for addressing it.
>
> Only two minor comments easy to fix, see below.
>
> Francesca
>
> 1. -----
>
> FP: Please replace references to RFC7230 with
> draft-ietf-httpbis-semantics-19
> which will obsolete it once published. Note that
> draft-ietf-httpbis-semantics-19 is already with the RFC Editor so will not
> delay publication of your document.
>
> 2. -----
>
> Section 7.3
>
> FP: I believe this profile should be registered in the Standards track
> portion
> of the registry - please add a note about it so that IANA is aware,
> changing
> for example:
>
> OLD:
> *  CBOR Value: To be assigned by IANA
> NEW:
> *  CBOR Value: To be assigned by IANA in the (-256, 255) range
>
>
>