
From nobody Thu Aug  5 15:39:50 2021
Return-Path: <kaduk@mit.edu>
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 1E56D3A0E48; Thu,  5 Aug 2021 15:39:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.499
X-Spam-Level: 
X-Spam-Status: No, score=-1.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no 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 osrbsL3lxDcR; Thu,  5 Aug 2021 15:39:44 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5E77C3A0E47; Thu,  5 Aug 2021 15:39:40 -0700 (PDT)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 175MdWiC004502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 5 Aug 2021 18:39:37 -0400
Date: Thu, 5 Aug 2021 15:39:31 -0700
From: Benjamin Kaduk <kaduk@mit.edu>
To: draft-ietf-ace-mqtt-tls-profile.all@ietf.org
Cc: ace@ietf.org
Message-ID: <20210805223931.GI50759@kduck.mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/4VDkLlOz-zeNrQM5cbDL_i0Zx2g>
Subject: [Ace] AD Evaluation of draft-ietf-ace-mqtt-tls-profile-12
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, 05 Aug 2021 22:39:48 -0000

Hi all,

Sorry to have taken so long to get back to this, and thank you for
continuing to make updates in response to the changes in the framework and
other profiles.

In general, the protocol mechansisms defined here are in good shape;
thank you!

I made a github PR with some changes that seemed easier to phrase in the
form of a patch than a prose comment:
https://github.com/ace-wg/mqtt-tls-profile/pull/77

I did find a couple of significant issues that need to be addressed
before IETF LC, but I think any needed changes will be pretty localized.

Specifically, there's no requirement for ACE access tokens to be
self-deliniating, so we can't actually programmatically tell whether
there's content after the token in a CONNECT message; the mechanisms in
Sections 2.2.4.1/2.2.4.2 seem to assume that we can do so for
determining whether the CONNECT is just providing a token or also
providing PoP over a TLS exporter value.  I think that this just means
we need to have an explicit "token length" field (or similar).

There are also a few places where we seem to be putting requirements on
Broker behavior that are in direct conflict with normative requirements
of the MQTT specification.  We can't override the external spec, so
we'll need to check and reword in any places where there are conflicts.
(I'm not an expert on MQTT and only read the spec as part of doing this
review, so it's entirely possible that I'm misinterpreting the MQTT spec
in some or all of these locations.)

A few other general notes before the section-by-section notes:

There is very little in this document about the HTTP-based interactions
with the AS.  I think the intent is to defer to the core framework for
that, but being a little more explicit about what is being pulled in and
how would be helpful.

If we're using TLS Exporters and allow TLS-not-1.3, we need to make some
additional requirements on TLS usage in order for the exporter values to
be safe.  Typically this takes the form of requiring the extended master
secret extension along with guidance on what cipher suites to use; I
guess RFC 7925 (rather than 7525) would be the default reference for
other TLS usage.

This document seems to mostly use British English.  AFAIR, that's okay,
but if it's inconsistent the RFC Editor will prefer American English.  I
didn't attempt to check for this (though there are tools like
https://github.com/larseggert/ietf-reviewtool that will do so).


Section 1

   their subscribers.  In the rest of the document the terms "RS", "MQTT
   Server" and "Broker" are used interchangeably.

We will probably get a reviewer asking why we can't pick a single term
and standardize on it.  However, I expect that there are places where we
want to emphasize on one aspect or another of its behavior, so don't
think we should actually do so.  Similarly for the places where we
mention that CoAP can be used (but don't reference a concrete
specification).

   Clients use MQTT PUBLISH message to publish to a topic.  This
   document does not protect the payload of the PUBLISH message from the
   Broker.  Hence, the payload is not signed or encrypted specifically
   for the subscribers.  This functionality MAY be implemented using the
   proposal outlined in the ACE Pub-Sub Profile
   [I-D.ietf-ace-pubsub-profile].

I suggest s/MAY/may/, which would avoid any need to make
ace-pubsub-profile a normative reference.

   reference or JSON Web Token (JWT) [RFC7519].  For JWTs, this document
   follows [RFC7800] for PoP semantics for JWTs.  The Client-AS and RS-
   AS MAY also use protocols other than HTTP, e.g.  Constrained
   Application Protocol (CoAP) [RFC7252] or MQTT; it is recommended that
   TLS is used to secure these communication channels between Client-AS
   and RS-AS.  Implementations MAY also use "application/ace+cbor"
   content type, and CBOR encoding [RFC8949], and CBOR Web Token (CWT)
   [RFC8392] and associated PoP semantics to reduce the protocol memory
   and bandwidth requirements.  For more information, see Proof-of-
   Possession Key Semantics for CBOR Web Tokens (CWTs) [RFC8747].

One thing that can be surprising to readers not versed in the ecosystem
is that RFCs 7800 and 8747 only talk about the token claims that are
used to build the PoP system, and don't actually define mechanisms for
providing the proof of possession.  We might want a forward-reference to
§ 2 where we do actually specify mechansisms to prove possession of the
indicated key.

Section 2.2.1

The way we name these authentication options with specific (quoted)
strings suggests that they will be used as a protocol element.  But
where?  Is the literal string "Known(RPK/PSK)" used in both cases (vs.
having distinct strings for RPK and PSK)?

Also, the hyphen character tends to more often be used as a joiner than
a separator, so it's easy to misread this as a triple of "TLS",
"Anon-MQTT", "None"/etc..  (I originally was going to ask why these all
had a "TLS" prefix...)  It might be better to use a semicolon or comma
instead of hyphen.

   o  "TLS:Anon-MQTT:None": This option is used only for the topics that
      do not require authorization, including the "authz-info" topic.

Are there topics other than "authz-info" that don't require
authorization?  We might need to add some heding language to the earlier
statement that "Client and the Broker MUST perform mutual
authentication" if so.

   o  "TLS:Anon-MQTT:ace": The token is transported inside the CONNECT
      message, and MUST be validated using one of the methods described
      in Section 2.2.2.  This option also supports a tokenless
      connection request for AS discovery.

We should probably look carefully at the "for AS discovery" phrasing, in
light of the late changes in how the framework talks about the AS
Request Creation Hints.

   o  "TLS:Known(RPK/PSK)-MQTT:none": For the RPK, the token MUST have
      been published to the "authz-info" topic.  For the PSK, the token
      MAY be, alternatively, provided as an "identity" in the
      "identities" field in the client's "pre_shared_key" extension in
      TLS 1.3.  The TLS session set-up is as described in DTLS profile
      for ACE [I-D.ietf-ace-dtls-authorize].

A couple notes here:  First, the DTLS profile primarily uses (D)TLS 1.2
terminology, with the DTLS 1.3 flow as an addendum.  I'm actually happy
for us to only or primarily talk about the TLS 1.3 idiom here in this
document, but we may want to think about what phrasing we use for the
relationship between our usage and the DTLS profile.  Second, the DTLS
profile is for, well, DTLS, not TLS.  We should acknowledge that and
state the (lack of) effect on the procedures to follow.

   It is RECOMMENDED that the Client implements "TLS:Anon-MQTT:ace" as a
   first choice when working with protected topics.  However, depending
   on the Client capability, Client MAY implement "TLS:Known(RPK/PSK)-
   MQTT:none", and consequently "TLS:Anon-MQTT:None" to submit its token
   to "authz-info".

It's good that we provide guidance on which of the authentication
schemes are preferred (since we offer both ACE-layer and TLS-layer
schemes).  However, we will surely be asked to defend why there are two
possible ways of doing it instead of just one, and this text doesn't
really do a good job of that.  What might cause a need to implement
TLS:Known(RPK/PSK)-MQTT:none?

   The Broker MUST support "TLS:Anon-MQTT:ace".  To support Clients with
   different capabilities, the Broker MAY provide multiple client
   authentication options, e.g. support "TLS:Known(RPK)-MQTT:none" and
   "TLS:Anon-MQTT:None", to enable RPK-based client authentication, but
   fall back to "TLS:Anon-MQTT:ace" if the Client does not send a client
   certificate (i.e. it sends an empty Certificate message) during the
   TLS handshake.

[Just a potential nit about the wording: "fall back" implies some
ordering requirements, but IIRC use of RPK requires sending the token to
authz-info before starting the new TLS connection, which doesn't quite
match the steps as ordered in this description.]

   The Broker MUST be authenticated during the TLS handshake.  If the
   Client authentication uses TLS:Known(RPK/PSK), then the Broker is
   authenticated using the respective method.  Otherwise, to
   authenticate the Broker, the client MUST validate a public key from a
   X.509 certificate or an RPK from the Broker against the 'rs_cnf'
   parameter in the token response.  The AS MAY include the thumbprint
   of the RS's X.509 certificate in the 'rs_cnf' (thumbprint as defined
   in [I-D.ietf-cose-x509]).  In this case, the client MUST validate the
   RS certificate against this thumbprint.

Just to confirm: we consciously chose to not reference RFC 6125 for
"normal" X.509 server certificate validation procedures, in favor of the
"constrained environment" procedures we describe here?

Section 2.2.2

   The Broker MUST verify the validity of the token (i.e. through local
   validation or introspection, if the token is a reference) as
   described in Section 2.2.5.  If the token is not valid, the Broker
   MUST discard the token.  Depending on the QoS level of the PUBLISH

I see that this is covered in the framework (and we reference the
appropriate section already), but I'd consider reiterating that "not
valid" includes "the Broker is not an intended audience of the token".

   It must be noted that when the RS sends the 'Not authorized'
   response, this corresponds to the token being invalid, and not that
   the actual PUBLISH message was not authorized.  Given that the
   "authz-info" is a public topic, this response is not expected to
   cause confusion.

Thanks for including this note.  I assume that it would be challenging
to get OASIS to allocate a new reason code for us to use, and we didn't
attempt to pursue that path.

Section 2.2.3

   Similarly, the Broker MUST NOT process any packets before it has sent
   a CONNACK.  The only exceptions are DISCONNECT or an AUTH response
   from the Client.

nit: in some pedantic sense, these two sentences are in conflict, since
the latter violates the "MUST NOT".  Who cares and how much has varied
over time, especially on the IESG, so it's not clear that we actually
need to change anything right now.

          +------------------------------------------------------+
          |CPT=1 | Rsvd.|Remaining len.| Protocol name len. = 4  |
          +------------------------------------------------------+

Figure 2 appears to show that the Remaining Length field of the fixed
header occupies a single octet, but IIUC it's encoded as a variable byte
integer.  Fixing that would also let us put the separator that appears
after it on a proper byte boundary.

          |                      'M' 'Q' 'T' 'T'                 |
          +------------------------------------------------------+

This figure does not show the two-byte length prefix for the string.

   The Will Flag indicates that a Will message needs to be sent if the
   [...]
   Interval in the Will Properties.  Section 5 explains how the Broker
   deals with the retained messages in further detail.

We might be able to get away with leaving the description of Will
operation to the MQTT spec, and not have to say so much about it here.

   In MQTT v5.0, the Client signals a clean session (i.e. the session
   does not continue an existing session), by setting the Clean Start
   Flag to 1 and, the Session Expiry Interval to 0 in the CONNECT
   message.  [...]

I don't understand why setting the Session Expiry Interval to 0 is
needed to produce a clean session.  As I understand it, setting this
interval to 0 merely directs the server to not store session state after
the client disconnects from this session, which is unrelated to whether
or not this is a new session or a reused session.

             In this profile, the Broker SHOULD always start with a
   clean session regardless of how these parameters are set.  Starting a
   clean session helps the Broker avoid keeping unnecessary session
   state for unauthorised clients.  If the Broker starts a clean

This SHOULD seems highly problematic to me.  It looks like it
contradicts a hard requirement of MQTT 5.0 ("If a CONNECT packet is
received with Clean Start set to 0 and there is a Session associated
with the Client Identifier, the Server MUST resume communications with
the Client based on state from the existing Session").  If we want to
recommend that the broker does not maintain session state, that should
be implemented by setting the Session Expiry Interval in the CONNACK,
not as part of the CONNECT processing.

   When reconnecting to a Broker that supports session continuation, the
   Client MUST still provide a token, in addition to using the same
   Client identifier, setting the Clean Start to 0 and supplying a
   Session Expiry interval in the CONNECT message.  The Broker MUST

(As above, setting a Session Expiry interval seems to relate to the
subsequent connection, not the current one, so this feels
over-specified.)

   Note that, according to the MQTT standard, the Broker uses the Client
   identifier to identify the session state.  In the case of a Client
   identifier collision, a client may take over another client's
   session.  [...]

Just to confirm: the ACE token is not used to provide authorization to
use a given client identifer; the client identifier is just used as an
unauthenticated identifier?  We might consider calling that out
explicitly.

   topics.  Therefore, while this issue is not expected to affect
   security, it may affect QoS (i.e.  PUBLISH or QoS messages saved for
   Client A may be delivered to a Client B).  [...]

I think this is just an aside and not something we need to cover in this
document, but what happens if (e.g.) PUBCOMP goes to client B when
PUBREC went to client A?  Does the message actually get delivered?  Does
anything deadlock?

Section 2.2.4.1, 2.2.4.2

(Expounding on the high-level comment from above,)
It seems that we're using the presence/absence of extra data after the
token to indicate whether or not the MAC/Signature over exporter content
is present and thus which message flow is being used for authentication.
However, this is only possible if the token itself is self-describing,
which I do not think is guaranteed.  Consider, for example, the case of
a token that's a reference value that must be introspected in order to
retrieve claim information.  Such tokens can be arbitrary byte strings,
so I think we need some other in-band way to differentiate between
authentication methods.

Section 2.2.4

   To use AUTH, the Client MUST set the Authentication Method as a
   property of a CONNECT packet by using the property identifier 21
   (0x15).  This is followed by a UTF-8 Encoded String containing the
   name of the Authentication Method, which MUST be set to 'ace'.  [...]

(I assume there's not an MQTT registry that we can register "ace" in as
an Authentication Method.)

Section 2.2.4.1

   For this option, the Authentication Data MUST contain the two-byte
   integer token length, the token, and the keyed message digest (MAC)
   or the Client signature (as shown in Figure 4).  [...]

Does this go in the AUTH (which is what §2.2.4 claims to cover) or the
initial CONNECT?  (Hint: later in the paragraph the broker replies to it
with a CONNACK.)

   Section 7.5 of [RFC8446]).  This content is exported from the TLS
   session using the exporter label 'EXPORTER-ACE-MQTT-Sign-Challenge',
   an empty context, and length of 32 bytes.  [...]

While an empty context should provide ample protection, it seems to me
that we could consider using the client identifier as the context.
There can also be value in incorporating information on the server
identity in the output.  If the SNI extension is used, that information
would already be included in the key schedule, though we do not
currently seem to mandate SNI usage.  Current best practices for new
deployments are to always use SNI and always use ALPN, so we should
probably consider both of those.

   a CONNACK with the appropriate response code.  The client cannot
   reauthenticate using this method during the same session ( see
   Section 4).

Depending on what "session" means, this restriction may be too strict.
We should probably be more clear about what "session" means...if it's
the MQTT session, I think it's okay to use this method when
re-connecting to take over the session.

Section 2.2.4.2

I a little bit wonder if we need to hardcode the nonce length or could
let it be variable, with the corresponding change in level of protection
provided.  In non-constrained setups we would typically use a 128- or
even 256-bit bit nonce for this purpose, not a 64-bit one, and it's
somewhat surprising to preclude the stronger usage.  (Especially so
since we use a 256-bit value from the TLS exporter.)  If we do allow for
length variation, we'll need to add length prefixes to the MAC/signature
input (we should probably do that anyway since the client nonce is
variable-length).

Section 2.2.5

   To authenticate the Client, the RS validates the signature or the
   MAC, depending on how the PoP protocol is implemented.  HS256 (HMAC-
   SHA-256) [RFC6234] and Ed25519 [RFC8032] are mandatory to implement
   depending on the choice of symmetric or asymmetric validation.

I think there is a decent argument (and that it's likely some other AD
will make it) that we need to make both HS256 and Ed25519 mandatory to
implement for the Broker, leaving only clients with the choice.
Otherwise we can get into scenarios where interop is impossible.

   Validation of the signature or MAC MUST fail if the signature
   algorithm is set to "none", when the key used for the signature
   algorithm cannot be determined, or the computed and received
   signature/MAC do not match.

Where would the "none" appear?  We haven't said anything about a COSE
encoding for the signature or MAC value, or anything like that...I
assumed it was going to be the "raw" output from the relevant primitive
(EdDSA, HMAC, etc.).

Section 2.2.6.2

   On success, the reason code of the CONNACK is "0x00 (Success)".  The
   AS informs the client that selected profile is "mqtt_tls" using the
   "ace_profile" parameter in the token response.  If the Broker starts

The line about the AS returning "mqtt_tls" as the selected profile feels
out of place here, where we're discussing successful MQTT
authorization.

   a new session, it MUST also set Session Present to 0 in the CONNACK
   packet to signal a clean session to the Client.  Otherwise, it MUST
   set Session Present to 1.

(As above,) my understanding is that the Broker does not have agency
over whether a new session is started, and must honor the client's
request.  So these "MUST set" seem out of place.

   If the Broker accepts the connection, it MUST store the token until
   the end of the connection.  On Client or Broker disconnection, the
   Client is expected to transport a token again on the next connection
   attempt.

This seems to deviate somewhat from the framework, that expects the RS
to be prepared to store at least one token for future use, and
recommends storing one token per PoP key.

                                                             The Broker
   SHOULD also use a cache time out to introspect tokens regularly.

We will surely be asked to provide guidance on what timescale
"regularly" indicates, if we do not proactively provide some guidance.

Section 3

   The scope field contains the publish and subscribe permissions for
   the Client.  The scope is a JSON array, each item following the
   Authorization Information Format (AIF) for ACE [I-D.ietf-ace-aif].
   Using the Concise Data Definition Language (CDDL) [RFC8610], the
   specific data model for MQTT is:

This seems a little dicey, since we claim to allow JWT tokens as well as
CWT.  JWT "scope" is pretty tightly nailed down to be a space-separated
list (though CWT gives much greater freedom).  We probably need to have
some text about this situation, with a phrase about how "in order to be
compatible with the JWT scope format, we use a single scope value with
internal structure", that this structure is also compatible with the CWT
rules, and noting that our AIF usage prevents any internal spaces, so
the interpretation of the scope value is unambiguous even when
unmodified JWT libraries are used.

   If the Will Flag is set, then the Broker MUST check that the token
   allows the publication of the Will message (i.e. the Will Topic
   filter is in the scope array).

We might want to say a little more about when this check happens.  My
intuition is that it occurs during the CONNECT processing where the
actual Will message is provided, and that the connection would be
rejected if the Will message is unauthorized.  But this section is
titled "Authorizing PUBLISH and SUBSCRIBE Messages", so one might be
forgiven for assuming that CONNECT is out of scope...

Section 3.2

   subscription to the particular topic).  The Broker sends a PUBLISH
   message with the Topic name to all the valid subscribers.

(nit) It seems a little strange to mention specifically the Topic name
but say nothing about there being a payload along with it.

Section 3.3

   On receiving the SUBSCRIBE message, the Broker MUST use the type of
   message (i.e.  SUBSCRIBE) and the Topic Filter in the message header
   to match against the scope field of the stored token or introspection
   result.  The Topic Filters MUST be equal or a subset of at least one
   of the 'topic_filter' fields in the scope array found in the Client's
   token.

I suggest being very explicit about whether the wildcards in the token
scope are expanded as part of matching the topic filter in the request,
or if the SUBSCRIBE message must use topic filters that match
byte-for-byte the permissions granted by the token.

Section 4

   Authentication Data.  The Broker accepts reauthentication requests if
   the Client has already submitted a token (may be expired) and
   validated via the challenge-response PoP.  Otherwise, the Broker MUST
   deny the request.  If the reauthentication fails, the Broker MUST
   send a DISCONNECT with the reason code "0x87 (Not Authorized)".

Is this correct?  It seems to say that if the initial CONNECT used the
TLS exporter for PoP, then it's forbidden to use the challenge-response
method for PoP and thus impossible to reauthenticate on that connection.
I don't understand why such a limitation would be needed or useful.

Section 5

   In the case of a Client DISCONNECT, the Broker deletes all the
   session state but MUST keep the retained messages.  By setting a

As written, this seems to imply that all client DISCONNECT messages
result in the loss of session state.  I didn't (quickly) find a clear
statement one way or the other in the MQTT spec, but it does seem that
it's allowed to send a nonzero session expiry interval in a DISCONNECT,
which seems to imply that such DISCONNECT messages do not cause all
session state to be discarded.

   Hence, the new subscribers can receive the last sent message from the
   publisher for that particular topic without waiting for the next
   PUBLISH message.  The Broker MUST continue publishing the retained
   messages as long as the associated tokens are valid.

This MUST seems to be repeating a requirement from the MQTT spec, which
may not merit normative language from us.

   In case of disconnections due to network errors or server
   disconnection due to a protocol error (which includes authorization
   errors), the Will message is sent if the Client supplied a Will in
   the CONNECT message.  The Client's token scope array MUST include the

This "if the Client supplied a Will in the CONNECT message" implies that
authorization checks are performed at time of CONNECT...

   Will Topic.  The Will message MUST be published to the Will Topic

... but "scope array MUST include the Will Topic" suggests an
authorization check when the Will message is actually sent.  Is it one,
the other, or both checks that must pass?

Section 6.1

[My earlier comments about the MQTT header layout apply to Figure 11 as
well.]

   The Broker SHOULD NOT accept session continuation.  To this end, the
   Broker ignores how the Clean Session Flag is set, and on connection
   success, the Broker MUST set the Session Present flag to 0 in the
   CONNACK packet to indicate a clean session to the Client.  [...]

As above, this seems to violate the MQTT normative requirements (but I
mostly only read about MQTT 5, not 3.1.1).

   The CONNECT in MQTT v3.1.1 does not have a field to indicate the
   authentication method.  To signal that the Username field contains an
   ACE token, this field MUST be prefixed with 'ace' keyword, which is
   followed by the access token.  [...]

An example of what this looks like would be helpful.  It sounds like we
just take the first three bytes for the sentinel and then go directly to
the access token, vs having some kind of "separator" as part of the
sentinel value.

   In MQTT v3.1.1, the MQTT Username is a UTF-8 encoded string (i.e.  is
   prefixed by a 2-byte length field followed by UTF-8 encoded character
   data) and may be up to 65535 bytes.  Therefore, an access token that
   is not a valid UTF-8 MUST be Base64 [RFC4648] encoded.  (The MQTT
   Password allows binary data up to 65535 bytes.)

Data-dependent encoding transformation without explicit signaling is a
really bad idea.  I think we need to always base64-encode the token.
We should also specify a section reference to RFC 4648 (for plain base64
vs base64url) and probably make a statement about whether padding
characters are retained or omitted.

Section 6.2

   o  RS-Client PUBLISH authorization failure: When RS is forwarding
      PUBLISH messages to the subscribed Clients, it may discover that
      some of the subscribers are no more authorized due to expired
      tokens.  These token expirations SHOULD lead to disconnecting the
      Client rather than silently dropping messages.

(I'm not actually sure how much the MQTT spec says about this type of
scenario, and thus whether the "SHOULD" is the right term to use.)

Section 7.1

   This document registers 'EXPORTER-ACE-MQTT-Sign-Challenge'
   (introduced in Section 2.2.4.1 in this document) in the TLS Exporter
   Label Registry [RFC8447].

We need to specify the other columns in the registry.
I think we can have:
DTLS-OK: Y
Recommended: Y
Reference: [this document]

Section 7.2

   This document registers the 'application/ace+json' media type for
   messages of the protocols defined in this document carrying
   parameters encoded in JSON.

Thanks for sending this to the media-types list for review
(https://mailarchive.ietf.org/arch/msg/media-types/85kGXBBKaWqIoCSU5k7GrE5FRWw/).
It's unfortunate that nobody replied to that thread, but I don't know
that there's more that we can do.

Section 7.3

   The following registrations are done for the ACE OAuth Profile
   Registry following the procedure specified in
   [I-D.ietf-ace-oauth-authz].
   [...]
   o  CBOR Value:

I think it's clearer for reviewers if we put "TBA" or "to be assigned by
IANA" here.

   o  Description: Profile for delegating Client authentication and
      authorization using MQTT as the application protocol and TLS For
      transport layer security.

It seems like it might be preferred to talk about using MQTT for the
C/RS interactions and HTTP for the interactions with the AS.
Separately, mention that TLS is used for confidentiality/integrity
protection and server authentication; also, client authentication can be
provided either via TLS or using in-band proof of possession at the MQTT
application layer.

Section 8

   revoked topics.  If the RS caches the token introspection responses,
   then the RS SHOULD use a reasonable cache timeout to introspect

("reasonable cache timeout" again)

                                      If the RS supports the public
   "authz-info" topic, described in Section 2.2.2, then this may be
   vulnerable to a DDoS attack, where many Clients use the "authz-info"
   public topic to transport fictitious tokens, which RS may need to
   store indefinitely.

We do say that the RS only stores "valid" tokens, which includes being
generated by a trusted AS and having RS as the audience.  So it's not
clear that this statement is accurate if the attack is to involve
"fictitious" tokens.  Similar attacks are possible, though.

Section 10.1

The normative use of AIF means that we'll have to wait for AIF to catch
up to us at some point, whether at the RFC Editor or sooner.

RFC 8447 probably does not need to be normative; it is just mentioned as
the thing that is the reference for the IANA registry of TLS exporter
values.

Section 10.2

I think the DTLS profile needs to be a normative reference, since we
defer to it for TLS session set-up.

Likewise, RFC 6234 and RFC 8032 specify MTI algorithms for
authentication, which would make them normative.

Appendix A

I think we need to update the checklist to match the current template
from
https://datatracker.ietf.org/doc/html/draft-ietf-ace-oauth-authz-43#appendix-C

-Ben


From nobody Sat Aug  7 06:54:43 2021
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 CE04C3A3B7B; Sat,  7 Aug 2021 06:54:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.854
X-Spam-Level: 
X-Spam-Status: No, score=-0.854 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, NORMAL_HTTP_TO_IP=0.001, NUMERIC_HTTP_ADDR=1.242, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 fnAZUUTfAk1T; Sat,  7 Aug 2021 06:54:33 -0700 (PDT)
Received: from mail-vs1-xe30.google.com (mail-vs1-xe30.google.com [IPv6:2607:f8b0:4864:20::e30]) (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 9CCF63A3B78; Sat,  7 Aug 2021 06:54:33 -0700 (PDT)
Received: by mail-vs1-xe30.google.com with SMTP id s196so2044442vsc.10; Sat, 07 Aug 2021 06:54:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5p/NrmCwtyO+89qyVA+ogqIn6gkml5dYGmR6T4sg22M=; b=Di8v7GUQVu4q5oYQx0n6FNJfrqI+baTXxdJomjq3zxlZwGn9HA8djLXk5SCUpGtuHO R/Y4TWJfNM5BGyV/HaJOwoO80JXbLwsDrRXs1ludNmeRft6SClIcQP6Y/LUoCH1jGioa XHSsZz94hxnJ3VcjhZ+/xmB3QYQQc44lJWUn48AETvAFvYUvsfQNAtzezuEe5GRlnvFg r3yoPuQ7TYOarsKDVzHcEcItU6hgnUSELNcwEgweZJL+/J+LAVh58goCXqzJPTEVyh2g 6uiCITrumgDjTqqe+Tq5awW4VyCx844fUH34+2XuBnf+8aZhMY2ZkvTXxaZfE+eUjXPx 6Ysg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5p/NrmCwtyO+89qyVA+ogqIn6gkml5dYGmR6T4sg22M=; b=gzk9NZFnjvblO6SFXNdp7TKKdAGXwVXJ07h2ZWIkwuQIp2mysa4PlppRtWGu9Sbdyg cKBJvynHSiVESMZSvX/0Wp7VU7nEQkPFG9b8G2JM7vVZNULxD/0TLF4aloWi8bJ9BofH uqdrRN4wG7cY3+xdqYp5WPaC52Oj98VFDJIYxXWDgy56SGV126UDISAsJXdqR8xyrYVD I9sTmflHD7AhG9PL/3t6RWc09Jfy3gqv4MWZT/vjAgurLJzCBPPrOeaJIGQlpWMgj2hD qrSvcabyUC08VsSY2lKOC+XLTPnPLZ6gCd/gyalHwbUCesQNPxjI9ObkPo7Zm4eOIBZ/ VIJw==
X-Gm-Message-State: AOAM531UKOQxM1xZphR7Q420AnerbIRy+8nq6JcqoGtB0bfL4+t3PKFN 7DnlJQmi31YcRPoPeXCfgUF9cynmJLi5BQc2ptA=
X-Google-Smtp-Source: ABdhPJxIK1B8Yi9S1JMia5b653gSKq2KaUHVaJ3+xhbiaM8P+FSfKpCnaFT/lQwE+giXUBwY1q2h+z8wNfwLkmpvCm8=
X-Received: by 2002:a67:2dcb:: with SMTP id t194mr12853870vst.8.1628344465968;  Sat, 07 Aug 2021 06:54:25 -0700 (PDT)
MIME-Version: 1.0
References: <20210805223931.GI50759@kduck.mit.edu>
In-Reply-To: <20210805223931.GI50759@kduck.mit.edu>
From: Cigdem Sengul <cigdem.sengul@gmail.com>
Date: Sat, 7 Aug 2021 14:54:16 +0100
Message-ID: <CAA7SwCM1Gjqb+ydTz2dmxA33FKYimwegWcpCckCZWiO3qeyH8w@mail.gmail.com>
To: Benjamin Kaduk <kaduk@mit.edu>
Cc: draft-ietf-ace-mqtt-tls-profile.all@ietf.org, Ace Wg <ace@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000077514705c8f87d2a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/Q5o5qAs5_7kMkDdzYNei8tcPa5I>
Subject: Re: [Ace] AD Evaluation of draft-ietf-ace-mqtt-tls-profile-12
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, 07 Aug 2021 13:54:42 -0000

--00000000000077514705c8f87d2a
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello Ben,
Thank you very much for the review, and I will look into the pull request
as soon as possible.
Below I've gone over your comments and categorised them   as "Discussion"
if I had questions/clarifications/comments, and "Will Do" for the rest.

Discussion:


> Specifically, there's no requirement for ACE access tokens to be
> self-deliniating, so we can't actually programmatically tell whether
> there's content after the token in a CONNECT message; the mechanisms in
> Sections 2.2.4.1/2.2.4.2 seem to assume that we can do so for
> determining whether the CONNECT is just providing a token or also
> providing PoP over a TLS exporter value.  I think that this just means
> we need to have an explicit "token length" field (or similar).
>

[CS: Those sections do make use of an explicitly token length field Both
figures 4 and 5 show a token length in the Authentication Data.
2.2.4.1 - "For this option, the Authentication Data MUST contain the
two-byte
   integer token length, the token, and the keyed message digest (MAC)
   or the Client signature (as shown in Figure 4)."
Am I misunderstanding something?
]

>
> There are also a few places where we seem to be putting requirements on
> Broker behavior that are in direct conflict with normative requirements
> of the MQTT specification.  We can't override the external spec, so
> we'll need to check and reword in any places where there are conflicts.
> (I'm not an expert on MQTT and only read the spec as part of doing this
> review, so it's entirely possible that I'm misinterpreting the MQTT spec
> in some or all of these locations.)
>

[CS: Noted, I will respond to them where you have raised them specifically.=
]


> A few other general notes before the section-by-section notes:
>
> There is very little in this document about the HTTP-based interactions
> with the AS.  I think the intent is to defer to the core framework for
> that, but being a little more explicit about what is being pulled in and
> how would be helpful.
>

[CS: OK. Does this mean refer/cite the relevant sections in the core
framework?]

Section 1

   their subscribers.  In the rest of the document the terms "RS", "MQTT
   Server" and "Broker" are used interchangeably.

We will probably get a reviewer asking why we can't pick a single term
and standardize on it.  However, I expect that there are places where we
want to emphasize on one aspect or another of its behavior, so don't
think we should actually do so.  Similarly for the places where we
mention that CoAP can be used (but don't reference a concrete
specification).

[CS: This was brought up before. In practice, MQTT Broker or Broker is
widely used, MQTT Server is in MQTT spec, and the
RS is the additional functionality we are putting on the broker with this
spec. I am happy to keep to one if interchangeable use is an issue -
possibly select "MQTT Server" then. ]

Section 2.2.1

The way we name these authentication options with specific (quoted)
strings suggest that they will be used as a protocol element.  But
where?  Is the literal string "Known(RPK/PSK)" used in both cases (vs.
having distinct strings for RPK and PSK)?

Also, the hyphen character tends to more often be used as a joiner than
a separator, so it's easy to misread this as a triple of "TLS",
"Anon-MQTT", "None"/etc..  (I originally was going to ask why these all
had a "TLS" prefix...)  It might be better to use a semicolon or comma
instead of hyphen.

[CS: No they are not protocol elements. These were all the cases that we
came up with Jim thinking about the different possibilities for pushing the
token (Client may push the token before/during TLS session set-up; or
client may defer it to MQTT connect. ). I am open to suggestions to present
them better. I guess removing the "" would help? or any other suggestions
on naming?

 o  "TLS:Anon-MQTT:None": This option is used only for the topics that
      do not require authorization, including the "authz-info" topic.

Are there topics other than "authz-info" that don't require
authorization?  We might need to add some heding language to the earlier
statement that "Client and the Broker MUST perform mutual
authentication" if so.

[CS: Yes, actually we should think that the Broker may be hosting both
public and private topics, and hence, it may accept unauthorised clients if
that's the case. ]

   It is RECOMMENDED that the Client implements "TLS:Anon-MQTT:ace" as a
   first choice when working with protected topics.  However, depending
   on the Client capability, Client MAY implement "TLS:Known(RPK/PSK)-
   MQTT:none", and consequently "TLS:Anon-MQTT:None" to submit its token
   to "authz-info".

It's good that we provide guidance on which of the authentication
schemes are preferred (since we offer both ACE-layer and TLS-layer
schemes).  However, we will surely be asked to defend why there are two
possible ways of doing it instead of just one, and this text doesn't
really do a good job of that.  What might cause a need to implement
TLS:Known(RPK/PSK)-MQTT:none?

[CS: This is I think historical - at the beginning we wrote the spec for
MQTT v.3.1 where we are overloading
the username/password.  We thought this may not be always preferred, as the
ace framework already talked about the
authz-info endpoint. Hence, we gave two options for providing the token and
tried to replicate the "authz-info" behaviour in MQTT.]

  The Broker MUST support "TLS:Anon-MQTT:ace".  To support Clients with
>    different capabilities, the Broker MAY provide multiple client
>    authentication options, e.g. support "TLS:Known(RPK)-MQTT:none" and
>    "TLS:Anon-MQTT:None", to enable RPK-based client authentication, but
>    fall back to "TLS:Anon-MQTT:ace" if the Client does not send a client
>    certificate (i.e. it sends an empty Certificate message) during the
>    TLS handshake.
>
> [Just a potential nit about the wording: "fall back" implies some
> ordering requirements, but IIRC use of RPK requires sending the token to
> authz-info before starting the new TLS connection, which doesn't quite
> match the steps as ordered in this description.]
>

[CS: True that is not well-written.
That was added because to potentially handle the Brokers having optional
client authentication for TLS.
So, client authentication in TLS doesn't work, the broker would expect a
token in CONNECT.
But it doesn't look needed as we do have a MUST for a token to be provided
for TLS-level client authentication.
]

   In MQTT v5.0, the Client signals a clean session (i.e. the session
>    does not continue an existing session), by setting the Clean Start
>    Flag to 1 and, the Session Expiry Interval to 0 in the CONNECT
>    message.  [...]
>
> I don't understand why setting the Session Expiry Interval to 0 is
> needed to produce a clean session.  As I understand it, setting this
> interval to 0 merely directs the server to not store session state after
> the client disconnects from this session, which is unrelated to whether
> or not this is a new session or a reused session.
>

[CS: This was when we switched from MQTT v3.1 to induce MQTT v5 in the
draft.
We were looking for some equivalence between two specs and MQTTv5 had:
"Setting of Clean Start to 1 and Session Expiry Interval to 0 is equivalent
in MQTT v3.1.1 of setting Clean Session to 1."
But we should acknowledge that this got separated and a clean start is the
way to signal to start a new session. Will fix.]

       In this profile, the Broker SHOULD always start with a
   clean session regardless of how these parameters are set.  Starting a
   clean session helps the Broker avoid keeping unnecessary session
   state for unauthorised clients.  If the Broker starts a clean

This SHOULD seems highly problematic to me.  It looks like it
contradicts a hard requirement of MQTT 5.0 ("If a CONNECT packet is
received with Clean Start set to 0 and there is a Session associated
with the Client Identifier, the Server MUST resume communications with
the Client based on state from the existing Session").  If we want to
recommend that the broker does not maintain session state, that should
be implemented by setting the Session Expiry Interval in the CONNACK,
not as part of the CONNECT processing.

[CS: yes, you are right. the CONNACK can set the session expiry interval to
0.
Actually, then it doesn't matter what clean start flag is.
I will change to the "Session Expiry Interval SHOULD be set to 0" so that
no session state is kept.
And yes the server can override the client's session expiry interval in
connect by
sending a different value in connack. ]

   When reconnecting to a Broker that supports session continuation, the
>    Client MUST still provide a token, in addition to using the same
>    Client identifier, setting the Clean Start to 0 and supplying a
>    Session Expiry interval in the CONNECT message.  The Broker MUST
>
> (As above, setting a Session Expiry interval seems to relate to the
> subsequent connection, not the current one, so this feels
> over-specified.)
>

[CS: Overspecified for current connection? As this is something that is
communicated in the CONNECT, my preference would be to include it and be
clear about it. At the moment, the client is allowed to provide a session
expiry interval (to say for how long it wants the session state to be kept
at the broker),  but the server can connack a different value. It may
actually be better to recommend a broker to always dictate session expiry
in connack and not accept client value? ]

   Note that, according to the MQTT standard, the Broker uses the Client
>    identifier to identify the session state.  In the case of a Client
>    identifier collision, a client may take over another client's
>    session.  [...]
>
> Just to confirm: the ACE token is not used to provide authorization to
> use a given client identifer; the client identifier is just used as an
> unauthenticated identifier?  We might consider calling that out
> explicitly.
>

[OK. Yes, the MQTT client id is considered different than the Client
Identifier that may be in the token.]

   topics.  Therefore, while this issue is not expected to affect
>    security, it may affect QoS (i.e.  PUBLISH or QoS messages saved for
>    Client A may be delivered to a Client B).  [...]
>
> I think this is just an aside and not something we need to cover in this
> document, but what happens if (e.g.) PUBCOMP goes to client B when
> PUBREC went to client A?  Does the message actually get delivered?  Does
> anything deadlock?
>

[CS: Is your example assuming client A sent a PUBREL, but the broker's
PUBCOMP sent and failed to client A?
>From the spec: When Client B reconnects, it won't have a state of sending
PUBREL, so it won't retry, whereas client A would have retried ("When a
Client reconnects with Clean Start set to 0 and a session is present, both
the Client and Server MUST resend any unacknowledged PUBLISH packets (where
QoS > 0) and PUBREL packets using their original Packet Identifiers. This
is the only circumstance where a Client or Server is REQUIRED to resend
messages. Clients and Servers MUST NOT resend messages at any other time")
So, I can't see how PUBCOMP could have gone to client B.  But, the
Broker may release the message to the subscribers, so the packet would be
delivered to subscribers, as with PUBREC/PUBREL/PUBCOMP it is trying to
ascertain only-once delivery. (Figure 4.3 in MQTT spec shows the
receiver Initiates
onward delivery of the Application Message) but with a note: "The receiver
does not need to complete the delivery of the Application Message before
sending the PUBREC or PUBCOMP." So, it will be up to broker implementation
if message gets delivered.

Section 2.2.4.1, 2.2.4.2
>
> (Expounding on the high-level comment from above,)
> It seems that we're using the presence/absence of extra data after the
> token to indicate whether or not the MAC/Signature over exporter content
> is present and thus which message flow is being used for authentication.
> However, this is only possible if the token itself is self-describing,
> which I do not think is guaranteed.  Consider, for example, the case of
> a token that's a reference value that must be introspected in order to
> retrieve claim information.  Such tokens can be arbitrary byte strings,
> so I think we need some other in-band way to differentiate between
> authentication methods.
>

[CS: But, There is authentication data length then 2-B token length, then
token.
So, using this information, the beginning of MAC can be computed. so, if it
ends up being the end of authentication data, there is no MAC?]


> Section 2.2.4.1
>
>    For this option, the Authentication Data MUST contain the two-byte
>    integer token length, the token, and the keyed message digest (MAC)
>    or the Client signature (as shown in Figure 4).  [...]
>
> Does this go in the AUTH (which is what =C2=A72.2.4 claims to cover) or t=
he
> initial CONNECT?  (Hint: later in the paragraph the broker replies to it
> with a CONNACK.)
>


[CS: I guess this is not clear? This is the AUTH property in the client's
CONNECT. Only if a challenge mechanism is used the broker generates an AUTH
packet. ]

 Section 7.5 of [RFC8446]).  This content is exported from the TLS
>    session using the exporter label 'EXPORTER-ACE-MQTT-Sign-Challenge',
>    an empty context, and length of 32 bytes.  [...]
>
> While an empty context should provide ample protection, it seems to me
> that we could consider using the client identifier as the context.
> There can also be value in incorporating information on the server
> identity in the output.  If the SNI extension is used, that information
> would already be included in the key schedule, though we do not
> currently seem to mandate SNI usage.  Current best practices for new
> deployments are to always use SNI and always use ALPN, so we should
> probably consider both of those.
>
> [CS: Happy to add all those considerations. Client ID assuming the MQTT
client id in the CONNECT message?]

   a CONNACK with the appropriate response code.  The client cannot
>    reauthenticate using this method during the same session ( see
>    Section 4).
>
> Depending on what "session" means, this restriction may be too strict.
> We should probably be more clear about what "session" means...if it's
> the MQTT session, I think it's okay to use this method when
> re-connecting to take over the session.
>

[CS: This is the MQTT session - I believe we discussed this before, and the
agreement was that this should not be allowed.
The reasoning was the client was not necessarily proving anything new with
the challenge from TLS-Exporter already used.]

Section 2.2.4.2

I a little bit wonder if we need to hardcode the nonce length or could
let it be variable, with the corresponding change in level of protection
provided.  In non-constrained setups we would typically use a 128- or
even 256-bit bit nonce for this purpose, not a 64-bit one, and it's
somewhat surprising to preclude the stronger usage.  (Especially so
since we use a 256-bit value from the TLS exporter.)  If we do allow for
length variation, we'll need to add length prefixes to the MAC/signature
input (we should probably do that anyway since the client nonce is
variable-length).

[CS: I believe this was discussed before as well. And the general feeling
was we did not want to do variable nonce, and then complicate with agreeing
on which lengths etc. If the feeling has changed, happy to make that
change, which was my initial proposal.)

   Validation of the signature or MAC MUST fail if the signature
>    algorithm is set to "none", when the key used for the signature
>    algorithm cannot be determined, or the computed and received
>    signature/MAC do not match.
>
> Where would the "none" appear?  We haven't said anything about a COSE
> encoding for the signature or MAC value, or anything like that...I
> assumed it was going to be the "raw" output from the relevant primitive
> (EdDSA, HMAC, etc.).
>

[CS: Yes. This is written assuming a header JOSE/COSE associated with the
token or,
may have received as a result of introspection response. Will revise.]


>    a new session, it MUST also set Session Present to 0 in the CONNACK
>    packet to signal a clean session to the Client.  Otherwise, it MUST
>    set Session Present to 1.
>
> (As above,) my understanding is that the Broker does not have agency
> over whether a new session is started, and must honor the client's
> request.  So these "MUST set" seem out of place.
>

[CS:This will be revised, but the Broker can signal if it can support
continuing a session or not by sending a CONNACK with session expiry
interval 0.]


   If the Broker accepts the connection, it MUST store the token until
   the end of the connection.  On Client or Broker disconnection, the
   Client is expected to transport a token again on the next connection
   attempt.

This seems to deviate somewhat from the framework, that expects the RS
to be prepared to store at least one token for future use, and
recommends storing one token per PoP key.
[CS: OK I will need to update the draft if I cannot have a deviation.
Then,I  need to think about how to implement it - I assume PoP will be done
again
if the client connects without a token, but RS believes there is a token
associated with it?]


>                                                              The Broker
>    SHOULD also use a cache time out to introspect tokens regularly.
>
> We will surely be asked to provide guidance on what timescale
> "regularly" indicates, if we do not proactively provide some guidance.
>
> [CS: I would expect that is based on the dynamicity of the application an=
d
risk associated, but I was considering
ranges like every 12 hours; every 24 hours]

 If the Will Flag is set, then the Broker MUST check that the token
>    allows the publication of the Will message (i.e. the Will Topic
>    filter is in the scope array).
>
> We might want to say a little more about when this check happens.  My
> intuition is that it occurs during the CONNECT processing where the
> actual Will message is provided, and that the connection would be
> rejected if the Will message is unauthorized.  But this section is
> titled "Authorizing PUBLISH and SUBSCRIBE Messages", so one might be
> forgiven for assuming that CONNECT is out of scope...
>

[CS: I assumed the check will happen when the Will message needs to be
published (information about the Will topic is in the CONNECT).
And the Broker will refuse to publish if it is not covered in the token.
This can be changed to checking in CONNECT but then, we add "Will message
not authorised" as a reason to refuse Connection with the rationale that
even if it is not an actual publication, it may result in publishing a
message (the will) in future.
(I've written more on this in "Will do" section below, because it came up
in multiple places, and I did not want to repeat the same discussion)]


> Section 4
>
>    Authentication Data.  The Broker accepts reauthentication requests if
>    the Client has already submitted a token (may be expired) and
>    validated via the challenge-response PoP.  Otherwise, the Broker MUST
>    deny the request.  If the reauthentication fails, the Broker MUST
>    send a DISCONNECT with the reason code "0x87 (Not Authorized)".
>
> Is this correct?  It seems to say that if the initial CONNECT used the
> TLS exporter for PoP, then it's forbidden to use the challenge-response
> method for PoP and thus impossible to reauthenticate on that connection.
> I don't understand why such a limitation would be needed or useful.

[CS: Yes, at the time, in the workgroup meetings, I believe we agreed with
authentication and re-authentication to use the same methods.
I cannot think of why now. It should be OK to resubmit a token without a
PoP MAC, and trigger challenge-response. Will fix.
]

Section 6.2
>
>    o  RS-Client PUBLISH authorization failure: When RS is forwarding
>       PUBLISH messages to the subscribed Clients, it may discover that
>       some of the subscribers are no more authorized due to expired
>       tokens.  These token expirations SHOULD lead to disconnecting the
>       Client rather than silently dropping messages.
>
> (I'm not actually sure how much the MQTT spec says about this type of
> scenario, and thus whether the "SHOULD" is the right term to use.)
>

[CS: MQTT v3.1 would not consider the clients losing authentication in the
middle of a session. I am not sure we can find guidance there on this.]

Section 10.1

> The normative use of AIF means that we'll have to wait for AIF to catch
> up to us at some point, whether at the RFC Editor or sooner.
>

[CS: Advice is not to make it normative? There was a strong sentiment in
the workgroup that we should standardise the token scope]



Will Do:
-----------


>
> If we're using TLS Exporters and allow TLS-not-1.3, we need to make some
> additional requirements on TLS usage in order for the exporter values to
> be safe.  Typically this takes the form of requiring the extended master
> secret extension along with guidance on what cipher suites to use; I
> guess RFC 7925 (rather than 7525) would be the default reference for
> other TLS usage.
>
[CS: OK ]


> This document seems to mostly use British English.  AFAIR, that's okay,
> but if it's inconsistent the RFC Editor will prefer American English.  I
> didn't attempt to check for this (though there are tools like
> https://github.com/larseggert/ietf-reviewtool that will do so).
>

[CS: Will check and Americanize. :) ]


>
>    Clients use MQTT PUBLISH message to publish to a topic.  This
>    document does not protect the payload of the PUBLISH message from the
>    Broker.  Hence, the payload is not signed or encrypted specifically
>    for the subscribers.  This functionality MAY be implemented using the
>    proposal outlined in the ACE Pub-Sub Profile
>    [I-D.ietf-ace-pubsub-profile].
>
> I suggest s/MAY/may/, which would avoid any need to make
> ace-pubsub-profile a normative reference.
>

[CS: OK.]


>
>    reference or JSON Web Token (JWT) [RFC7519].  For JWTs, this document
>    follows [RFC7800] for PoP semantics for JWTs.  The Client-AS and RS-
>    AS MAY also use protocols other than HTTP, e.g.  Constrained
>    Application Protocol (CoAP) [RFC7252] or MQTT; it is recommended that
>    TLS is used to secure these communication channels between Client-AS
>    and RS-AS.  Implementations MAY also use "application/ace+cbor"
>    content type, and CBOR encoding [RFC8949], and CBOR Web Token (CWT)
>    [RFC8392] and associated PoP semantics to reduce the protocol memory
>    and bandwidth requirements.  For more information, see Proof-of-
>    Possession Key Semantics for CBOR Web Tokens (CWTs) [RFC8747].
>
> One thing that can be surprising to readers not versed in the ecosystem
> is that RFCs 7800 and 8747 only talk about the token claims that are
> used to build the PoP system, and don't actually define mechanisms for
> providing the proof of possession.  We might want a forward-reference to
> =C2=A7 2 where we do actually specify mechansisms to prove possession of =
the
> indicated key.
>

[CS: OK.]

   o  "TLS:Anon-MQTT:ace": The token is transported inside the CONNECT
>       message, and MUST be validated using one of the methods described
>       in Section 2.2.2.  This option also supports a tokenless
>       connection request for AS discovery.
>
> We should probably look carefully at the "for AS discovery" phrasing, in
> light of the late changes in how the framework talks about the AS
> Request Creation Hints.
>

[CS: OK, I will double-check, but I believe I have included this as an
option only following the framework.]


>
>    o  "TLS:Known(RPK/PSK)-MQTT:none": For the RPK, the token MUST have
>       been published to the "authz-info" topic.  For the PSK, the token
>       MAY be, alternatively, provided as an "identity" in the
>       "identities" field in the client's "pre_shared_key" extension in
>       TLS 1.3.  The TLS session set-up is as described in DTLS profile
>       for ACE [I-D.ietf-ace-dtls-authorize].
>
> A couple notes here:  First, the DTLS profile primarily uses (D)TLS 1.2
> terminology, with the DTLS 1.3 flow as an addendum.  I'm actually happy
> for us to only or primarily talk about the TLS 1.3 idiom here in this
> document, but we may want to think about what phrasing we use for the
> relationship between our usage and the DTLS profile.  Second, the DTLS
> profile is for, well, DTLS, not TLS.  We should acknowledge that and
> state the (lack of) effect on the procedures to follow.
>

[CS: Agreed. I will look into phrasing that.]


>
>    The Broker MUST be authenticated during the TLS handshake.  If the
>    Client authentication uses TLS:Known(RPK/PSK), then the Broker is
>    authenticated using the respective method.  Otherwise, to
>    authenticate the Broker, the client MUST validate a public key from a
>    X.509 certificate or an RPK from the Broker against the 'rs_cnf'
>    parameter in the token response.  The AS MAY include the thumbprint
>    of the RS's X.509 certificate in the 'rs_cnf' (thumbprint as defined
>    in [I-D.ietf-cose-x509]).  In this case, the client MUST validate the
>    RS certificate against this thumbprint.
>
> Just to confirm: we consciously chose to not reference RFC 6125 for
> "normal" X.509 server certificate validation procedures, in favor of the
> "constrained environment" procedures we describe here?
>

[CS: Yes.]


>
> Section 2.2.2
>
>    The Broker MUST verify the validity of the token (i.e. through local
>    validation or introspection, if the token is a reference) as
>    described in Section 2.2.5.  If the token is not valid, the Broker
>    MUST discard the token.  Depending on the QoS level of the PUBLISH
>
> I see that this is covered in the framework (and we reference the
> appropriate section already), but I'd consider reiterating that "not
> valid" includes "the Broker is not an intended audience of the token".
>

[CS: OK. Will add that to 2.2.5]

>
>    It must be noted that when the RS sends the 'Not authorized'
>    response, this corresponds to the token being invalid, and not that
>    the actual PUBLISH message was not authorized.  Given that the
>    "authz-info" is a public topic, this response is not expected to
>    cause confusion.
>
> Thanks for including this note.  I assume that it would be challenging
> to get OASIS to allocate a new reason code for us to use, and we didn't
> attempt to pursue that path.
>

[CS: Yes]


>
> Section 2.2.3
>
>    Similarly, the Broker MUST NOT process any packets before it has sent
>    a CONNACK.  The only exceptions are DISCONNECT or an AUTH response
>    from the Client.
>
> nit: in some pedantic sense, these two sentences are in conflict, since
> the latter violates the "MUST NOT".  Who cares and how much has varied
> over time, especially on the IESG, so it's not clear that we actually
> need to change anything right now.
>

[CS: I see - Would rewording like "Except a DISCONNECT and AUTH response,
the broker MUST NOT process any other
packets before it has sent a CONNACK" work?



>
>           +------------------------------------------------------+
>           |CPT=3D1 | Rsvd.|Remaining len.| Protocol name len. =3D 4  |
>           +------------------------------------------------------+
>
> Figure 2 appears to show that the Remaining Length field of the fixed
> header occupies a single octet, but IIUC it's encoded as a variable byte
> integer.  Fixing that would also let us put the separator that appears
> after it on a proper byte boundary.
>

[CS: True. Will fix - it should have been clarified that this was an
example and that the actual
field could be of variable length, using a continuation algorithm for
larger values.]




>
>           |                      'M' 'Q' 'T' 'T'                 |
>           +------------------------------------------------------+
>
> This figure does not show the two-byte length prefix for the string.
>

[CS: OK, will fix the example (indeed it is not precise). ]


>
>    The Will Flag indicates that a Will message needs to be sent if the
>    [...]
>    Interval in the Will Properties.  Section 5 explains how the Broker
>    deals with the retained messages in further detail.
>
> We might be able to get away with leaving the description of Will
> operation to the MQTT spec, and not have to say so much about it here.
>

[CS: This part was extended because I've got a number of clarification
requests for Will messages in MQTT.
So, I will keep it if it is not an issue.]

>
>

> Section 2.2.4
>
>    To use AUTH, the Client MUST set the Authentication Method as a
>    property of a CONNECT packet by using the property identifier 21
>    (0x15).  This is followed by a UTF-8 Encoded String containing the
>    name of the Authentication Method, which MUST be set to 'ace'.  [...]
>
> (I assume there's not an MQTT registry that we can register "ace" in as
> an Authentication Method.)
>

[CS: That's what I understand as well from prev. communication]


>
>
> Section 2.2.5
>
>    To authenticate the Client, the RS validates the signature or the
>    MAC, depending on how the PoP protocol is implemented.  HS256 (HMAC-
>    SHA-256) [RFC6234] and Ed25519 [RFC8032] are mandatory to implement
>    depending on the choice of symmetric or asymmetric validation.
>
> I think there is a decent argument (and that it's likely some other AD
> will make it) that we need to make both HS256 and Ed25519 mandatory to
> implement for the Broker, leaving only clients with the choice.
> Otherwise we can get into scenarios where interop is impossible.
>

[CS: Agreed.]


>
>
> Section 2.2.6.2
>
>    On success, the reason code of the CONNACK is "0x00 (Success)".  The
>    AS informs the client that selected profile is "mqtt_tls" using the
>    "ace_profile" parameter in the token response.  If the Broker starts
>
> The line about the AS returning "mqtt_tls" as the selected profile feels
> out of place here, where we're discussing successful MQTT
> authorization.
>

[CS: That's definitely misplaced and should be removed]



> Section 3
>
>    The scope field contains the publish and subscribe permissions for
>    the Client.  The scope is a JSON array, each item following the
>    Authorization Information Format (AIF) for ACE [I-D.ietf-ace-aif].
>    Using the Concise Data Definition Language (CDDL) [RFC8610], the
>    specific data model for MQTT is:
>
> This seems a little dicey, since we claim to allow JWT tokens as well as
> CWT.  JWT "scope" is pretty tightly nailed down to be a space-separated
> list (though CWT gives much greater freedom).  We probably need to have
> some text about this situation, with a phrase about how "in order to be
> compatible with the JWT scope format, we use a single scope value with
> internal structure", that this structure is also compatible with the CWT
> rules, and noting that our AIF usage prevents any internal spaces, so
> the interpretation of the scope value is unambiguous even when
> unmodified JWT libraries are used.
>

[CS: OK will do]




> Section 3.2
>
>    subscription to the particular topic).  The Broker sends a PUBLISH
>    message with the Topic name to all the valid subscribers.
>
> (nit) It seems a little strange to mention specifically the Topic name
> but say nothing about there being a payload along with it.
>

[CS: I assumed Publish "message" captures the payload - what I am trying to
say is it is the message corresponding to that topic.]


>
> Section 3.3
>
>    On receiving the SUBSCRIBE message, the Broker MUST use the type of
>    message (i.e.  SUBSCRIBE) and the Topic Filter in the message header
>    to match against the scope field of the stored token or introspection
>    result.  The Topic Filters MUST be equal or a subset of at least one
>    of the 'topic_filter' fields in the scope array found in the Client's
>    token.
>
> I suggest being very explicit about whether the wildcards in the token
> scope are expanded as part of matching the topic filter in the request,
> or if the SUBSCRIBE message must use topic filters that match
> byte-for-byte the permissions granted by the token.
>

[CS: OK. It is the former. So subscribe has "a/b/*", token permits "a/*" -
this is a valid subscription request, as "a/b/* a subset of "a/*"]


>
> Section 5
>
>    In the case of a Client DISCONNECT, the Broker deletes all the
>    session state but MUST keep the retained messages.  By setting a
>
> As written, this seems to imply that all client DISCONNECT messages
> result in the loss of session state.  I didn't (quickly) find a clear
> statement one way or the other in the MQTT spec, but it does seem that
> it's allowed to send a nonzero session expiry interval in a DISCONNECT,
> which seems to imply that such DISCONNECT messages do not cause all
> session state to be discarded.
>

[CS: Will clarify the Session Expiry Interval, which may lead to keeping
state.]

>
>    Hence, the new subscribers can receive the last sent message from the
>    publisher for that particular topic without waiting for the next
>    PUBLISH message.  The Broker MUST continue publishing the retained
>    messages as long as the associated tokens are valid.
>
> This MUST seems to be repeating a requirement from the MQTT spec, which
> may not merit normative language from us.
>

[CS: I did a MUST because it puts a condition on tokens being valid.]


>
>    In case of disconnections due to network errors or server
>    disconnection due to a protocol error (which includes authorization
>    errors), the Will message is sent if the Client supplied a Will in
>    the CONNECT message.  The Client's token scope array MUST include the
>
> This "if the Client supplied a Will in the CONNECT message" implies that
> authorization checks are performed at time of CONNECT...
>

[CS: I've put a note on this in discussion. The client does supply the will
in the message, but it's for a future publication;
it may never be published. We can choose to reject that in CONNECT, or when
the time comes.I  am fine either way to add a CONNECT failure
due to Will being out of scope.]


>
>    Will Topic.  The Will message MUST be published to the Will Topic
>
> ... but "scope array MUST include the Will Topic" suggests an
> authorization check when the Will message is actually sent.  Is it one,
> the other, or both checks that must pass?
>

[CS: The token scope needs to include the Will Topic. In the draft, the
broker checks if it can publish a message, just before a publish.
This applies to Will as well. Can be changed as stated above.]



>
> Section 6.1
>
> [My earlier comments about the MQTT header layout apply to Figure 11 as
> well.]
>

[CS: Noted. Will fix.]

>
>    The Broker SHOULD NOT accept session continuation.  To this end, the
>    Broker ignores how the Clean Session Flag is set, and on connection
>    success, the Broker MUST set the Session Present flag to 0 in the
>    CONNACK packet to indicate a clean session to the Client.  [...]
>
> As above, this seems to violate the MQTT normative requirements (but I
> mostly only read about MQTT 5, not 3.1.1).
>

[CS: Noted. Will fix based on agreement]

>
>    The CONNECT in MQTT v3.1.1 does not have a field to indicate the
>    authentication method.  To signal that the Username field contains an
>    ACE token, this field MUST be prefixed with 'ace' keyword, which is
>    followed by the access token.  [...]
>
> An example of what this looks like would be helpful.  It sounds like we
> just take the first three bytes for the sentinel and then go directly to
> the access token, vs having some kind of "separator" as part of the
> sentinel value.
>

[CS: Yes, will give an example.]


>
>    In MQTT v3.1.1, the MQTT Username is a UTF-8 encoded string (i.e.  is
>    prefixed by a 2-byte length field followed by UTF-8 encoded character
>    data) and may be up to 65535 bytes.  Therefore, an access token that
>    is not a valid UTF-8 MUST be Base64 [RFC4648] encoded.  (The MQTT
>    Password allows binary data up to 65535 bytes.)
>
> Data-dependent encoding transformation without explicit signaling is a
> really bad idea.  I think we need to always base64-encode the token.
> We should also specify a section reference to RFC 4648 (for plain base64
> vs base64url) and probably make a statement about whether padding
> characters are retained or omitted.
>

[OK. Will do that]

>
>
>
> Section 7.1
>
>    This document registers 'EXPORTER-ACE-MQTT-Sign-Challenge'
>    (introduced in Section 2.2.4.1 in this document) in the TLS Exporter
>    Label Registry [RFC8447].
>
> We need to specify the other columns in the registry.
> I think we can have:
> DTLS-OK: Y
> Recommended: Y
> Reference: [this document]
>

[CS: Thank you, will add.]


>
> Section 7.2
>
>    This document registers the 'application/ace+json' media type for
>    messages of the protocols defined in this document carrying
>    parameters encoded in JSON.
>
> Thanks for sending this to the media-types list for review
> (
> https://mailarchive.ietf.org/arch/msg/media-types/85kGXBBKaWqIoCSU5k7GrE5=
FRWw/
> ).
> It's unfortunate that nobody replied to that thread, but I don't know
> that there's more that we can do.
>

[CS: Do I need to send follow-up e-mails?]


>
> Section 7.3
>
>    The following registrations are done for the ACE OAuth Profile
>    Registry following the procedure specified in
>    [I-D.ietf-ace-oauth-authz].
>    [...]
>    o  CBOR Value:
>
> I think it's clearer for reviewers if we put "TBA" or "to be assigned by
> IANA" here.
>

[CS: OK]

>
>    o  Description: Profile for delegating Client authentication and
>       authorization using MQTT as the application protocol and TLS For
>       transport layer security.
>
> It seems like it might be preferred to talk about using MQTT for the
> C/RS interactions and HTTP for the interactions with the AS.
> Separately, mention that TLS is used for confidentiality/integrity
> protection and server authentication; also, client authentication can be
> provided either via TLS or using in-band proof of possession at the MQTT
> application layer.
>

[CS: OK. Will revise]


>
> Section 8
>
>    revoked topics.  If the RS caches the token introspection responses,
>    then the RS SHOULD use a reasonable cache timeout to introspect
>
> ("reasonable cache timeout" again)
>
[CS: Will fix it with the same guidance, once agreed.]



>
>                                       If the RS supports the public
>    "authz-info" topic, described in Section 2.2.2, then this may be
>    vulnerable to a DDoS attack, where many Clients use the "authz-info"
>    public topic to transport fictitious tokens, which RS may need to
>    store indefinitely.
>
> We do say that the RS only stores "valid" tokens, which includes being
> generated by a trusted AS and having RS as the audience.  So it's not
> clear that this statement is accurate if the attack is to involve
> "fictitious" tokens.  Similar attacks are possible, though.
>

[CS: OK,  We accept it can still be DOS'ed? fictitious doesn't sound right.
my intention was to say tokens not meant to be used.]

>
> Section 10.1
>
>
> RFC 8447 probably does not need to be normative; it is just mentioned as
> the thing that is the reference for the IANA registry of TLS exporter
> values.
>
[CS: OK]


>
> Section 10.2
>
> I think the DTLS profile needs to be a normative reference, since we
> defer to it for TLS session set-up.
>

[CS: OK]

>
> Likewise, RFC 6234 and RFC 8032 specify MTI algorithms for
> authentication, which would make them normative.
>
[CS: OK]

>
> Appendix A
>
> I think we need to update the checklist to match the current template
> from
>
> https://datatracker.ietf.org/doc/html/draft-ietf-ace-oauth-authz-43#appen=
dix-C


[CS: OK]

>
>
> -Ben
>

--00000000000077514705c8f87d2a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">Hello Ben,=C2=A0<div>Thank you very much =
for the review, and I will look into the pull request as soon as possible.=
=C2=A0</div><div>Below I&#39;ve gone over your comments and categorised the=
m=C2=A0 =C2=A0as &quot;Discussion&quot; if I had questions/clarifications/c=
omments, and &quot;Will Do&quot; for the rest.</div><div><br></div><div>Dis=
cussion:</div></div><br><div class=3D"gmail_quote"><blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,2=
04,204);padding-left:1ex"><br>
Specifically, there&#39;s no requirement for ACE access tokens to be<br>
self-deliniating, so we can&#39;t actually programmatically tell whether<br=
>
there&#39;s content after the token in a CONNECT message; the mechanisms in=
<br>
Sections <a href=3D"http://2.2.4.1/2.2.4.2" rel=3D"noreferrer" target=3D"_b=
lank">2.2.4.1/2.2.4.2</a> seem to assume that we can do so for<br>
determining whether the CONNECT is just providing a token or also<br>
providing PoP over a TLS exporter value.=C2=A0 I think that this just means=
<br>
we need to have an explicit &quot;token length&quot; field (or similar).<br=
></blockquote><div><br></div><div>[CS: Those sections do make use of an exp=
licitly token length field Both figures 4 and 5 show a token length in the =
Authentication Data.=C2=A0</div><div>2.2.4.1 - &quot;For this option, the A=
uthentication Data MUST contain the two-byte</div>=C2=A0 =C2=A0integer toke=
n length, the token, and the keyed message digest (MAC)<br>=C2=A0 =C2=A0or =
the Client signature (as shown in Figure 4).&quot;</div><div class=3D"gmail=
_quote">Am I misunderstanding something?</div><div class=3D"gmail_quote">]<=
/div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"=
margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-lef=
t:1ex">
<br>
There are also a few places where we seem to be putting requirements on<br>
Broker behavior that are in direct conflict with normative requirements<br>
of the MQTT specification.=C2=A0 We can&#39;t override the external spec, s=
o<br>
we&#39;ll need to check and reword in any places where there are conflicts.=
<br>
(I&#39;m not an expert on MQTT and only read the spec as part of doing this=
<br>
review, so it&#39;s entirely possible that I&#39;m misinterpreting the MQTT=
 spec<br>
in some or all of these locations.)<br></blockquote><div><br></div><div>[CS=
: Noted, I will respond to them where you have raised them specifically.]</=
div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p=
x 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
A few other general notes before the section-by-section notes:<br>
<br>
There is very little in this document about the HTTP-based interactions<br>
with the AS.=C2=A0 I think the intent is to defer to the core framework for=
<br>
that, but being a little more explicit about what is being pulled in and<br=
>
how would be helpful.<br></blockquote><div><br></div><div>[CS: OK. Does thi=
s mean refer/cite the relevant sections in the core framework?]</div><div><=
br></div><div>Section 1<br><br>=C2=A0 =C2=A0their subscribers.=C2=A0 In the=
 rest of the document the terms &quot;RS&quot;, &quot;MQTT<br>=C2=A0 =C2=A0=
Server&quot; and &quot;Broker&quot; are used interchangeably.<br><br>We wil=
l probably get a reviewer asking why we can&#39;t pick a single term<br>and=
 standardize on it.=C2=A0 However, I expect that there are places where we<=
br>want to emphasize on one aspect or another of its behavior, so don&#39;t=
<br>think we should actually do so.=C2=A0 Similarly for the places where we=
<br>mention that CoAP can be used (but don&#39;t reference a concrete<br>sp=
ecification).<br></div><div><br></div><div>[CS: This was brought up before.=
 In practice, MQTT Broker or Broker is widely used, MQTT Server is in MQTT =
spec, and the</div><div>RS is the additional functionality we are putting o=
n the broker with this spec. I am happy to keep to one if interchangeable u=
se is an issue -=C2=A0</div><div>possibly select &quot;MQTT Server&quot; th=
en. ]</div><div><br></div><div>Section 2.2.1<br><br>The way we name these a=
uthentication options with specific (quoted)<br>strings suggest that they w=
ill be used as a protocol element.=C2=A0 But<br>where?=C2=A0 Is the literal=
 string &quot;Known(RPK/PSK)&quot; used in both cases (vs.<br>having distin=
ct strings for RPK and PSK)?<br><br>Also, the hyphen character tends to mor=
e often be used as a joiner than<br>a separator, so it&#39;s easy to misrea=
d this as a triple of &quot;TLS&quot;,<br>&quot;Anon-MQTT&quot;, &quot;None=
&quot;/etc..=C2=A0 (I originally was going to ask why these all<br>had a &q=
uot;TLS&quot; prefix...)=C2=A0 It might be better to use a semicolon or com=
ma<br>instead of hyphen.<br></div><div><br></div><div>[CS: No they are not =
protocol elements. These were all the cases that we came up with Jim thinki=
ng about the different possibilities for pushing the token (Client may push=
 the token before/during TLS session set-up; or client may defer it to MQTT=
 connect. ). I am open to suggestions to present them better. I guess remov=
ing the &quot;&quot; would help? or any other suggestions on naming?</div><=
div><br></div><div>=C2=A0o=C2=A0 &quot;TLS:Anon-MQTT:None&quot;: This optio=
n is used only for the topics that<br>=C2=A0 =C2=A0 =C2=A0 do not require a=
uthorization, including the &quot;authz-info&quot; topic.<br><br>Are there =
topics other than &quot;authz-info&quot; that don&#39;t require<br>authoriz=
ation?=C2=A0 We might need to add some heding language to the earlier<br>st=
atement that &quot;Client and the Broker MUST perform mutual<br>authenticat=
ion&quot; if so.<br></div><div><br></div><div>[CS: Yes, actually we should =
think that the Broker may be hosting both public and private topics, and he=
nce, it may accept unauthorised clients if that&#39;s the case. ]</div><div=
><br>=C2=A0 =C2=A0It is RECOMMENDED that the Client implements &quot;TLS:An=
on-MQTT:ace&quot; as a<br>=C2=A0 =C2=A0first choice when working with prote=
cted topics.=C2=A0 However, depending<br>=C2=A0 =C2=A0on the Client capabil=
ity, Client MAY implement &quot;TLS:Known(RPK/PSK)-<br>=C2=A0 =C2=A0MQTT:no=
ne&quot;, and consequently &quot;TLS:Anon-MQTT:None&quot; to submit its tok=
en<br>=C2=A0 =C2=A0to &quot;authz-info&quot;.<br><br>It&#39;s good that we =
provide guidance on which of the authentication<br>schemes are preferred (s=
ince we offer both ACE-layer and TLS-layer<br>schemes).=C2=A0 However, we w=
ill surely be asked to defend why there are two<br>possible ways of doing i=
t instead of just one, and this text doesn&#39;t<br>really do a good job of=
 that.=C2=A0 What might cause a need to implement<br>TLS:Known(RPK/PSK)-MQT=
T:none?<br></div><div><br></div><div>[CS: This is I think historical - at t=
he beginning we wrote the spec for MQTT v.3.1 where we are overloading</div=
><div>the username/password.=C2=A0 We thought this may not be always prefer=
red, as the ace framework already talked about the</div><div>authz-info end=
point. Hence, we gave two options for providing the token and tried to repl=
icate the &quot;authz-info&quot; behaviour in MQTT.]</div><div><br></div><d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left:1px solid rgb(204,204,204);padding-left:1ex">=C2=A0 The Broker MUST=
 support &quot;TLS:Anon-MQTT:ace&quot;.=C2=A0 To support Clients with<br>
=C2=A0 =C2=A0different capabilities, the Broker MAY provide multiple client=
<br>
=C2=A0 =C2=A0authentication options, e.g. support &quot;TLS:Known(RPK)-MQTT=
:none&quot; and<br>
=C2=A0 =C2=A0&quot;TLS:Anon-MQTT:None&quot;, to enable RPK-based client aut=
hentication, but<br>
=C2=A0 =C2=A0fall back to &quot;TLS:Anon-MQTT:ace&quot; if the Client does =
not send a client<br>
=C2=A0 =C2=A0certificate (i.e. it sends an empty Certificate message) durin=
g the<br>
=C2=A0 =C2=A0TLS handshake.<br>
<br>
[Just a potential nit about the wording: &quot;fall back&quot; implies some=
<br>
ordering requirements, but IIRC use of RPK requires sending the token to<br=
>
authz-info before starting the new TLS connection, which doesn&#39;t quite<=
br>
match the steps as ordered in this description.]<br></blockquote><div><br><=
/div><div>[CS: True that is not well-written.=C2=A0=C2=A0</div><div>That wa=
s added because to potentially=C2=A0handle the Brokers having optional clie=
nt authentication for TLS.</div><div>So, client authentication in TLS doesn=
&#39;t work, the broker would expect a token in CONNECT.=C2=A0</div><div>Bu=
t it doesn&#39;t look needed as we do have a MUST for a token to be provide=
d for TLS-level client authentication.</div><div>]</div></div><div><br></di=
v><div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;=
border-left:1px solid rgb(204,204,204);padding-left:1ex">=C2=A0 =C2=A0In MQ=
TT v5.0, the Client signals a clean session (i.e. the session<br>=C2=A0 =C2=
=A0does not continue an existing session), by setting the Clean Start<br>=
=C2=A0 =C2=A0Flag to 1 and, the Session Expiry Interval to 0 in the CONNECT=
<br>=C2=A0 =C2=A0message.=C2=A0 [...]<br><br>I don&#39;t understand why set=
ting the Session Expiry Interval to 0 is<br>needed to produce a clean sessi=
on.=C2=A0 As I understand it, setting this<br>interval to 0 merely directs =
the server to not store session state after<br>the client disconnects from =
this session, which is unrelated to whether<br>or not this is a new session=
 or a reused session.<br></blockquote><div><br></div></div><div>[CS: This w=
as when we switched from MQTT v3.1 to induce MQTT v5 in the draft.=C2=A0</d=
iv><div>We were looking for some equivalence between two specs and MQTTv5 h=
ad:</div><div>&quot;<span style=3D"color:rgb(0,0,0);font-family:Arial,sans-=
serif;font-size:13.3333px">Setting of Clean Start to 1 and Session Expiry I=
nterval to 0 is equivalent in MQTT v3.1.1 of setting Clean Session to 1.&qu=
ot;</span></div><div><span style=3D"color:rgb(0,0,0);font-family:Arial,sans=
-serif;font-size:13.3333px">But we should acknowledge that this got separat=
ed and a clean start is the way to signal to start a new session. Will fix.=
]</span></div><div><span style=3D"color:rgb(0,0,0);font-family:Arial,sans-s=
erif;font-size:13.3333px"><br></span></div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0=
In this profile, the Broker SHOULD always start with a<br>=C2=A0 =C2=A0clea=
n session regardless of how these parameters are set.=C2=A0 Starting a<br>=
=C2=A0 =C2=A0clean session helps the Broker avoid keeping unnecessary sessi=
on<br>=C2=A0 =C2=A0state for unauthorised clients.=C2=A0 If the Broker star=
ts a clean<br><br>This SHOULD seems highly problematic to me.=C2=A0 It look=
s like it<br>contradicts a hard requirement of MQTT 5.0 (&quot;If a CONNECT=
 packet is<br>received with Clean Start set to 0 and there is a Session ass=
ociated<br>with the Client Identifier, the Server MUST resume communication=
s with<br>the Client based on state from the existing Session&quot;).=C2=A0=
 If we want to<br>recommend that the broker does not maintain session state=
, that should<br>be implemented by setting the Session Expiry Interval in t=
he CONNACK,<br>not as part of the CONNECT processing.<span style=3D"color:r=
gb(0,0,0);font-family:Arial,sans-serif;font-size:13.3333px"><br></span></di=
v><div><br></div><div>[CS: yes, you are right. the CONNACK can set the sess=
ion expiry interval to 0.=C2=A0</div><div>Actually, then it doesn&#39;t mat=
ter what clean start flag is.=C2=A0</div><div>I will change to the=C2=A0&qu=
ot;Session Expiry Interval SHOULD be set to 0&quot; so that no session stat=
e is kept.=C2=A0</div><div>And yes the server can override the client&#39;s=
 session expiry interval in connect by</div><div>sending a different value =
in connack. ]</div><div><br></div><div><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd=
ing-left:1ex">=C2=A0 =C2=A0When reconnecting to a Broker that supports sess=
ion continuation, the<br>=C2=A0 =C2=A0Client MUST still provide a token, in=
 addition to using the same<br>=C2=A0 =C2=A0Client identifier, setting the =
Clean Start to 0 and supplying a<br>=C2=A0 =C2=A0Session Expiry interval in=
 the CONNECT message.=C2=A0 The Broker MUST<br><br>(As above, setting a Ses=
sion Expiry interval seems to relate to the<br>subsequent connection, not t=
he current one, so this feels<br>over-specified.)<br></blockquote><div><br>=
</div></div><div>[CS: Overspecified for current connection? As this is some=
thing that is communicated in the CONNECT, my preference would be to includ=
e it and be clear about it. At the moment, the client is allowed to provide=
 a session expiry interval (to say for how long it wants the session state =
to be kept at the broker),=C2=A0 but the server can connack a different val=
ue. It may actually be better to recommend a=C2=A0broker to always dictate =
session expiry in connack and not accept client value? ]</div><div><br></di=
v><div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;=
border-left:1px solid rgb(204,204,204);padding-left:1ex">=C2=A0 =C2=A0Note =
that, according to the MQTT standard, the Broker uses the Client<br>
=C2=A0 =C2=A0identifier to identify the session state.=C2=A0 In the case of=
 a Client<br>
=C2=A0 =C2=A0identifier collision, a client may take over another client&#3=
9;s<br>
=C2=A0 =C2=A0session.=C2=A0 [...]<br>
<br>
Just to confirm: the ACE token is not used to provide authorization to<br>
use a given client identifer; the client identifier is just used as an<br>
unauthenticated identifier?=C2=A0 We might consider calling that out<br>
explicitly.<br></blockquote><div><br></div><div>[OK. Yes, the MQTT client i=
d is considered different than the Client Identifier that may be in the tok=
en.]</div></div><div><br></div><div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">=C2=A0 =C2=A0topics.=C2=A0 Therefore, while this issue is not ex=
pected to affect<br>=C2=A0 =C2=A0security, it may affect QoS (i.e.=C2=A0 PU=
BLISH or QoS messages saved for<br>=C2=A0 =C2=A0Client A may be delivered t=
o a Client B).=C2=A0 [...]<br><br>I think this is just an aside and not som=
ething we need to cover in this<br>document, but what happens if (e.g.) PUB=
COMP goes to client B when<br>PUBREC went to client A?=C2=A0 Does the messa=
ge actually get delivered?=C2=A0 Does<br>anything deadlock?<br></blockquote=
><div><br></div><div>[CS: Is your example assuming client A sent a PUBREL, =
but the broker&#39;s PUBCOMP sent and failed to client A?</div><div>From th=
e spec: When Client B reconnects, it won&#39;t have a state of sending PUBR=
EL, so it won&#39;t retry, whereas client A would have retried (&quot;<span=
 style=3D"color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:13.3333px=
;background-color:rgb(255,255,0)">When a Client reconnects with Clean Start=
 set to 0 and a session is present, both the Client and Server MUST resend =
any unacknowledged PUBLISH packets (where QoS &gt; 0) and PUBREL packets us=
ing their original Packet Identifiers</span><span style=3D"color:black;font=
-family:Arial,sans-serif;font-size:13.3333px">.=C2=A0</span><span style=3D"=
background-color:rgb(255,255,0);color:rgb(0,0,0);font-family:Arial,sans-ser=
if;font-size:13.3333px">This is the only circumstance where a Client or Ser=
ver is REQUIRED to resend messages. Clients and Servers MUST NOT resend mes=
sages at any other time</span><span style=3D"color:black;font-family:Arial,=
sans-serif;font-size:13.3333px">&quot;)</span></div><div><span style=3D"col=
or:black;font-family:Arial,sans-serif;font-size:13.3333px">So, I can&#39;t =
see how PUBCOMP could have gone to client B.=C2=A0 But, the Broker=C2=A0may=
</span><span style=3D"color:black;font-family:Arial,sans-serif;font-size:13=
.3333px">=C2=A0release the message to the subscribers, so the packet would =
be delivered to subscribers, as with PUBREC/PUBREL/PUBCOMP it is trying to =
ascertain only-once delivery. (Figure 4.3 in MQTT spec shows the receiver</=
span><span style=3D"color:rgb(0,0,0);font-family:Arial,sans-serif;font-size=
:13.3333px">=C2=A0Initiates onward delivery of the Application Message) but=
 with a note:</span><span style=3D"color:rgb(0,0,0);font-family:Arial,sans-=
serif;font-size:13.3333px">=C2=A0&quot;The receiver does not need to comple=
te the delivery of the Application Message before sending the PUBREC or PUB=
COMP.&quot;=C2=A0</span><span style=3D"color:rgb(0,0,0);font-family:Arial,s=
ans-serif;font-size:13.3333px">So, it will be up to broker implementation i=
f message gets delivered.</span></div></div><div><span style=3D"color:rgb(0=
,0,0);font-family:Arial,sans-serif;font-size:13.3333px"><br></span></div><d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left:1px solid rgb(204,204,204);padding-left:1ex">Section 2.2.4.1, 2.2.4=
.2<br><br>(Expounding on the high-level comment from above,)<br>It seems th=
at we&#39;re using the presence/absence of extra data after the<br>token to=
 indicate whether or not the MAC/Signature over exporter content<br>is pres=
ent and thus which message flow is being used for authentication.<br>Howeve=
r, this is only possible if the token itself is self-describing,<br>which I=
 do not think is guaranteed.=C2=A0 Consider, for example, the case of<br>a =
token that&#39;s a reference value that must be introspected in order to<br=
>retrieve claim information.=C2=A0 Such tokens can be arbitrary byte string=
s,<br>so I think we need some other in-band way to differentiate between<br=
>authentication methods.<br></blockquote><div><br></div><div>[CS: But, Ther=
e is authentication data length then 2-B token length, then token.</div><di=
v>So, using this information, the beginning of MAC can be computed. so, if =
it ends up being the end of authentication data, there is no MAC?]</div></d=
iv><div><br></div><div><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><b=
r>Section 2.2.4.1<br><br>=C2=A0 =C2=A0For this option, the Authentication D=
ata MUST contain the two-byte<br>=C2=A0 =C2=A0integer token length, the tok=
en, and the keyed message digest (MAC)<br>=C2=A0 =C2=A0or the Client signat=
ure (as shown in Figure 4).=C2=A0 [...]<br><br>Does this go in the AUTH (wh=
ich is what =C2=A72.2.4 claims to cover) or the<br>initial CONNECT?=C2=A0 (=
Hint: later in the paragraph the broker replies to it<br>with a CONNACK.)<b=
r></blockquote><div><br></div><div><br></div><div>[CS: I guess this is not =
clear? This is the AUTH property in the client&#39;s CONNECT. Only if a cha=
llenge mechanism is used the broker generates an AUTH packet. ]=C2=A0</div>=
</div><div><br></div><div><blockquote class=3D"gmail_quote" style=3D"margin=
:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"=
>=C2=A0Section 7.5 of [RFC8446]).=C2=A0 This content is exported from the T=
LS<br>=C2=A0 =C2=A0session using the exporter label &#39;EXPORTER-ACE-MQTT-=
Sign-Challenge&#39;,<br>=C2=A0 =C2=A0an empty context, and length of 32 byt=
es.=C2=A0 [...]<br><br>While an empty context should provide ample protecti=
on, it seems to me<br>that we could consider using the client identifier as=
 the context.<br>There can also be value in incorporating information on th=
e server<br>identity in the output.=C2=A0 If the SNI extension is used, tha=
t information<br>would already be included in the key schedule, though we d=
o not<br>currently seem to mandate SNI usage.=C2=A0 Current best practices =
for new<br>deployments are to always use SNI and always use ALPN, so we sho=
uld<br>probably consider both of those.<br><br></blockquote><div>[CS: Happy=
 to add all those considerations. Client ID assuming the MQTT client id in =
the CONNECT message?]</div><div><br></div></div><div><blockquote class=3D"g=
mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204=
,204,204);padding-left:1ex">=C2=A0 =C2=A0a CONNACK with the appropriate res=
ponse code.=C2=A0 The client cannot<br>=C2=A0 =C2=A0reauthenticate using th=
is method during the same session ( see<br>=C2=A0 =C2=A0Section 4).<br><br>=
Depending on what &quot;session&quot; means, this restriction may be too st=
rict.<br>We should probably be more clear about what &quot;session&quot; me=
ans...if it&#39;s<br>the MQTT session, I think it&#39;s okay to use this me=
thod when<br>re-connecting to take over the session.<br></blockquote><div><=
br></div></div><div>[CS: This is the MQTT session - I believe we discussed =
this before, and the agreement was that this should not be allowed.=C2=A0</=
div><div>The reasoning was the client was not necessarily proving anything =
new with the challenge from TLS-Exporter already used.]</div><div><br></div=
><div>Section 2.2.4.2<br><br>I a little bit wonder if we need to hardcode t=
he nonce length or could<br>let it be variable, with the corresponding chan=
ge in level of protection<br>provided.=C2=A0 In non-constrained setups we w=
ould typically use a 128- or<br>even 256-bit bit nonce for this purpose, no=
t a 64-bit one, and it&#39;s<br>somewhat surprising to preclude the stronge=
r usage.=C2=A0 (Especially so<br>since we use a 256-bit value from the TLS =
exporter.)=C2=A0 If we do allow for<br>length variation, we&#39;ll need to =
add length prefixes to the MAC/signature<br>input (we should probably do th=
at anyway since the client nonce is<br>variable-length).<br></div><div><br>=
</div><div>[CS: I believe this was discussed before as well. And the genera=
l feeling was we did not want to do variable=C2=A0nonce, and then complicat=
e with agreeing on which lengths etc. If the feeling has changed, happy to =
make that change, which was my initial proposal.)</div><div><br></div><div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">=C2=A0 =C2=A0Validation o=
f the signature or MAC MUST fail if the signature<br>
=C2=A0 =C2=A0algorithm is set to &quot;none&quot;, when the key used for th=
e signature<br>
=C2=A0 =C2=A0algorithm cannot be determined, or the computed and received<b=
r>
=C2=A0 =C2=A0signature/MAC do not match.<br>
<br>
Where would the &quot;none&quot; appear?=C2=A0 We haven&#39;t said anything=
 about a COSE<br>
encoding for the signature or MAC value, or anything like that...I<br>
assumed it was going to be the &quot;raw&quot; output from the relevant pri=
mitive<br>
(EdDSA, HMAC, etc.).<br></blockquote><div><br></div><div>[CS: Yes. This is =
written assuming a header JOSE/COSE associated with the token or,=C2=A0</di=
v><div>may have received as a result of introspection response. Will revise=
.]</div></div><div><br></div><div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex"><br>=C2=A0 =C2=A0a new session, it MUST also set Session Present=
 to 0 in the CONNACK<br>=C2=A0 =C2=A0packet to signal a clean session to th=
e Client.=C2=A0 Otherwise, it MUST<br>=C2=A0 =C2=A0set Session Present to 1=
.<br><br>(As above,) my understanding is that the Broker does not have agen=
cy<br>over whether a new session is started, and must honor the client&#39;=
s<br>request.=C2=A0 So these &quot;MUST set&quot; seem out of place.<br></b=
lockquote><div><br></div><div>[CS:This will be revised, but the Broker can =
signal if it can support continuing a session or not by sending a CONNACK w=
ith session expiry interval 0.]</div></div><div><br></div><div><br>=C2=A0 =
=C2=A0If the Broker accepts the connection, it MUST store the token until<b=
r>=C2=A0 =C2=A0the end of the connection.=C2=A0 On Client or Broker disconn=
ection, the<br>=C2=A0 =C2=A0Client is expected to transport a token again o=
n the next connection<br>=C2=A0 =C2=A0attempt.<br><br>This seems to deviate=
 somewhat from the framework, that expects the RS<br>to be prepared to stor=
e at least one token for future use, and<br>recommends storing one token pe=
r PoP key.<br></div><div>[CS: OK I will need to update the draft if I canno=
t have a deviation.=C2=A0</div><div>Then,I=C2=A0=C2=A0need to think about h=
ow to implement it - I assume PoP will be done again</div><div>if the clien=
t connects without a token, but RS believes there is a token associated wit=
h it?]</div><div><br></div><div><blockquote class=3D"gmail_quote" style=3D"=
margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-lef=
t:1ex"><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0The Broker<br>=C2=A0 =C2=A0SHOULD also use a cache time out to intros=
pect tokens regularly.<br><br>We will surely be asked to provide guidance o=
n what timescale<br>&quot;regularly&quot; indicates, if we do not proactive=
ly provide some guidance.<br><br></blockquote><div>[CS: I would expect that=
 is based on the dynamicity of the application and risk associated, but I w=
as considering=C2=A0</div><div>ranges like every 12 hours; every 24 hours]<=
/div></div><div><br></div><div><blockquote class=3D"gmail_quote" style=3D"m=
argin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left=
:1ex">=C2=A0If the Will Flag is set, then the Broker MUST check that the to=
ken<br>=C2=A0 =C2=A0allows the publication of the Will message (i.e. the Wi=
ll Topic<br>=C2=A0 =C2=A0filter is in the scope array).<br><br>We might wan=
t to say a little more about when this check happens.=C2=A0 My<br>intuition=
 is that it occurs during the CONNECT processing where the<br>actual Will m=
essage is provided, and that the connection would be<br>rejected if the Wil=
l message is unauthorized.=C2=A0 But this section is<br>titled &quot;Author=
izing PUBLISH and SUBSCRIBE Messages&quot;, so one might be<br>forgiven for=
 assuming that CONNECT is out of scope...<br></blockquote><div><br></div><d=
iv>[CS: I assumed the=C2=A0check will happen when the Will message needs to=
 be published (information about the=C2=A0Will topic is in the CONNECT).</d=
iv><div>And the Broker will refuse to publish if it is not covered in the t=
oken. This can be changed to checking in CONNECT but then, we add &quot;Wil=
l message not authorised&quot; as a reason to refuse Connection with the ra=
tionale that even if it is not an actual publication, it may result in publ=
ishing a message (the will) in future.=C2=A0</div><div>(I&#39;ve written mo=
re on this in &quot;Will do&quot; section below, because it came up in mult=
iple places, and I did not want to repeat the same discussion)]</div><div>=
=C2=A0</div></div><div><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Se=
ction 4<br><br>=C2=A0 =C2=A0Authentication Data.=C2=A0 The Broker accepts r=
eauthentication requests if<br>=C2=A0 =C2=A0the Client has already submitte=
d a token (may be expired) and<br>=C2=A0 =C2=A0validated via the challenge-=
response PoP.=C2=A0 Otherwise, the Broker MUST<br>=C2=A0 =C2=A0deny the req=
uest.=C2=A0 If the reauthentication fails, the Broker MUST<br>=C2=A0 =C2=A0=
send a DISCONNECT with the reason code &quot;0x87 (Not Authorized)&quot;.<b=
r><br>Is this correct?=C2=A0 It seems to say that if the initial CONNECT us=
ed the<br>TLS exporter for PoP, then it&#39;s forbidden to use the challeng=
e-response<br>method for PoP and thus impossible to reauthenticate on that =
connection.<br>I don&#39;t understand why such a limitation would be needed=
 or useful.</blockquote><div>[CS: Yes, at the time, in the workgroup meetin=
gs, I believe we agreed with authentication and re-authentication to use th=
e same methods.</div><div>I cannot think of why now. It should be OK to res=
ubmit a token without a PoP MAC, and trigger challenge-response. Will fix.<=
/div><div>]</div></div><div><br></div><div><blockquote class=3D"gmail_quote=
" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);=
padding-left:1ex">Section 6.2<br><br>=C2=A0 =C2=A0o=C2=A0 RS-Client PUBLISH=
 authorization failure: When RS is forwarding<br>=C2=A0 =C2=A0 =C2=A0 PUBLI=
SH messages to the subscribed Clients, it may discover that<br>=C2=A0 =C2=
=A0 =C2=A0 some of the subscribers are no more authorized due to expired<br=
>=C2=A0 =C2=A0 =C2=A0 tokens.=C2=A0 These token expirations SHOULD lead to =
disconnecting the<br>=C2=A0 =C2=A0 =C2=A0 Client rather than silently dropp=
ing messages.<br><br>(I&#39;m not actually sure how much the MQTT spec says=
 about this type of<br>scenario, and thus whether the &quot;SHOULD&quot; is=
 the right term to use.)<br></blockquote><div><br></div><div>[CS: MQTT v3.1=
 would not consider the clients losing authentication in the middle of a se=
ssion. I am not sure we can find guidance there on this.]</div><div>=C2=A0<=
/div></div><div>Section 10.1</div><div><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd=
ing-left:1ex">The normative use of AIF means that we&#39;ll have to wait fo=
r AIF to catch<br>up to us at some point, whether at the RFC Editor or soon=
er.<br></blockquote><div>=C2=A0</div><div>[CS: Advice is not to make it nor=
mative? There was a strong sentiment in the workgroup that we should standa=
rdise the token scope]</div><div>=C2=A0</div></div><div><br></div><div><br>=
</div><div>Will Do:</div><div>-----------</div><div>=C2=A0</div><blockquote=
 class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px so=
lid rgb(204,204,204);padding-left:1ex">
<br>
If we&#39;re using TLS Exporters and allow TLS-not-1.3, we need to make som=
e<br>
additional requirements on TLS usage in order for the exporter values to<br=
>
be safe.=C2=A0 Typically this takes the form of requiring the extended mast=
er<br>
secret extension along with guidance on what cipher suites to use; I<br>
guess RFC 7925 (rather than 7525) would be the default reference for<br>
other TLS usage.<br></blockquote><div>[CS: OK ]</div><div><br></div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p=
x solid rgb(204,204,204);padding-left:1ex">
<br>
This document seems to mostly use British English.=C2=A0 AFAIR, that&#39;s =
okay,<br>
but if it&#39;s inconsistent the RFC Editor will prefer American English.=
=C2=A0 I<br>
didn&#39;t attempt to check for this (though there are tools like<br>
<a href=3D"https://github.com/larseggert/ietf-reviewtool" rel=3D"noreferrer=
" target=3D"_blank">https://github.com/larseggert/ietf-reviewtool</a> that =
will do so).<br></blockquote><div><br></div><div>[CS: Will check and Americ=
anize. :) ]=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex">
<br>
=C2=A0 =C2=A0Clients use MQTT PUBLISH message to publish to a topic.=C2=A0 =
This<br>
=C2=A0 =C2=A0document does not protect the payload of the PUBLISH message f=
rom the<br>
=C2=A0 =C2=A0Broker.=C2=A0 Hence, the payload is not signed or encrypted sp=
ecifically<br>
=C2=A0 =C2=A0for the subscribers.=C2=A0 This functionality MAY be implement=
ed using the<br>
=C2=A0 =C2=A0proposal outlined in the ACE Pub-Sub Profile<br>
=C2=A0 =C2=A0[I-D.ietf-ace-pubsub-profile].<br>
<br>
I suggest s/MAY/may/, which would avoid any need to make<br>
ace-pubsub-profile a normative reference.<br></blockquote><div><br></div><d=
iv>[CS: OK.]</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">
<br>
=C2=A0 =C2=A0reference or JSON Web Token (JWT) [RFC7519].=C2=A0 For JWTs, t=
his document<br>
=C2=A0 =C2=A0follows [RFC7800] for PoP semantics for JWTs.=C2=A0 The Client=
-AS and RS-<br>
=C2=A0 =C2=A0AS MAY also use protocols other than HTTP, e.g.=C2=A0 Constrai=
ned<br>
=C2=A0 =C2=A0Application Protocol (CoAP) [RFC7252] or MQTT; it is recommend=
ed that<br>
=C2=A0 =C2=A0TLS is used to secure these communication channels between Cli=
ent-AS<br>
=C2=A0 =C2=A0and RS-AS.=C2=A0 Implementations MAY also use &quot;applicatio=
n/ace+cbor&quot;<br>
=C2=A0 =C2=A0content type, and CBOR encoding [RFC8949], and CBOR Web Token =
(CWT)<br>
=C2=A0 =C2=A0[RFC8392] and associated PoP semantics to reduce the protocol =
memory<br>
=C2=A0 =C2=A0and bandwidth requirements.=C2=A0 For more information, see Pr=
oof-of-<br>
=C2=A0 =C2=A0Possession Key Semantics for CBOR Web Tokens (CWTs) [RFC8747].=
<br>
<br>
One thing that can be surprising to readers not versed in the ecosystem<br>
is that RFCs 7800 and 8747 only talk about the token claims that are<br>
used to build the PoP system, and don&#39;t actually define mechanisms for<=
br>
providing the proof of possession.=C2=A0 We might want a forward-reference =
to<br>
=C2=A7 2 where we do actually specify mechansisms to prove possession of th=
e<br>
indicated key.<br></blockquote><div><br></div><div>[CS: OK.]</div><div><br>=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left:1px solid rgb(204,204,204);padding-left:1ex">
=C2=A0 =C2=A0o=C2=A0 &quot;TLS:Anon-MQTT:ace&quot;: The token is transporte=
d inside the CONNECT<br>
=C2=A0 =C2=A0 =C2=A0 message, and MUST be validated using one of the method=
s described<br>
=C2=A0 =C2=A0 =C2=A0 in Section 2.2.2.=C2=A0 This option also supports a to=
kenless<br>
=C2=A0 =C2=A0 =C2=A0 connection request for AS discovery.<br>
<br>
We should probably look carefully at the &quot;for AS discovery&quot; phras=
ing, in<br>
light of the late changes in how the framework talks about the AS<br>
Request Creation Hints.<br></blockquote><div><br></div><div>[CS: OK, I will=
 double-check, but I believe I have included this as an option only followi=
ng the framework.]</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pa=
dding-left:1ex">
<br>
=C2=A0 =C2=A0o=C2=A0 &quot;TLS:Known(RPK/PSK)-MQTT:none&quot;: For the RPK,=
 the token MUST have<br>
=C2=A0 =C2=A0 =C2=A0 been published to the &quot;authz-info&quot; topic.=C2=
=A0 For the PSK, the token<br>
=C2=A0 =C2=A0 =C2=A0 MAY be, alternatively, provided as an &quot;identity&q=
uot; in the<br>
=C2=A0 =C2=A0 =C2=A0 &quot;identities&quot; field in the client&#39;s &quot=
;pre_shared_key&quot; extension in<br>
=C2=A0 =C2=A0 =C2=A0 TLS 1.3.=C2=A0 The TLS session set-up is as described =
in DTLS profile<br>
=C2=A0 =C2=A0 =C2=A0 for ACE [I-D.ietf-ace-dtls-authorize].<br>
<br>
A couple notes here:=C2=A0 First, the DTLS profile primarily uses (D)TLS 1.=
2<br>
terminology, with the DTLS 1.3 flow as an addendum.=C2=A0 I&#39;m actually =
happy<br>
for us to only or primarily talk about the TLS 1.3 idiom here in this<br>
document, but we may want to think about what phrasing we use for the<br>
relationship between our usage and the DTLS profile.=C2=A0 Second, the DTLS=
<br>
profile is for, well, DTLS, not TLS.=C2=A0 We should acknowledge that and<b=
r>
state the (lack of) effect on the procedures to follow.<br></blockquote><di=
v><br></div><div>[CS: Agreed. I will look into phrasing that.]</div><div>=
=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
=C2=A0 =C2=A0The Broker MUST be authenticated during the TLS handshake.=C2=
=A0 If the<br>
=C2=A0 =C2=A0Client authentication uses TLS:Known(RPK/PSK), then the Broker=
 is<br>
=C2=A0 =C2=A0authenticated using the respective method.=C2=A0 Otherwise, to=
<br>
=C2=A0 =C2=A0authenticate the Broker, the client MUST validate a public key=
 from a<br>
=C2=A0 =C2=A0X.509 certificate or an RPK from the Broker against the &#39;r=
s_cnf&#39;<br>
=C2=A0 =C2=A0parameter in the token response.=C2=A0 The AS MAY include the =
thumbprint<br>
=C2=A0 =C2=A0of the RS&#39;s X.509 certificate in the &#39;rs_cnf&#39; (thu=
mbprint as defined<br>
=C2=A0 =C2=A0in [I-D.ietf-cose-x509]).=C2=A0 In this case, the client MUST =
validate the<br>
=C2=A0 =C2=A0RS certificate against this thumbprint.<br>
<br>
Just to confirm: we consciously chose to not reference RFC 6125 for<br>
&quot;normal&quot; X.509 server certificate validation procedures, in favor=
 of the<br>
&quot;constrained environment&quot; procedures we describe here?<br></block=
quote><div><br></div><div>[CS: Yes.]</div><div>=C2=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid r=
gb(204,204,204);padding-left:1ex">
<br>
Section 2.2.2<br>
<br>
=C2=A0 =C2=A0The Broker MUST verify the validity of the token (i.e. through=
 local<br>
=C2=A0 =C2=A0validation or introspection, if the token is a reference) as<b=
r>
=C2=A0 =C2=A0described in Section 2.2.5.=C2=A0 If the token is not valid, t=
he Broker<br>
=C2=A0 =C2=A0MUST discard the token.=C2=A0 Depending on the QoS level of th=
e PUBLISH<br>
<br>
I see that this is covered in the framework (and we reference the<br>
appropriate section already), but I&#39;d consider reiterating that &quot;n=
ot<br>
valid&quot; includes &quot;the Broker is not an intended audience of the to=
ken&quot;.<br></blockquote><div><br></div><div>[CS: OK. Will add that to 2.=
2.5]</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
=C2=A0 =C2=A0It must be noted that when the RS sends the &#39;Not authorize=
d&#39;<br>
=C2=A0 =C2=A0response, this corresponds to the token being invalid, and not=
 that<br>
=C2=A0 =C2=A0the actual PUBLISH message was not authorized.=C2=A0 Given tha=
t the<br>
=C2=A0 =C2=A0&quot;authz-info&quot; is a public topic, this response is not=
 expected to<br>
=C2=A0 =C2=A0cause confusion.<br>
<br>
Thanks for including this note.=C2=A0 I assume that it would be challenging=
<br>
to get OASIS to allocate a new reason code for us to use, and we didn&#39;t=
<br>
attempt to pursue that path.<br></blockquote><div>=C2=A0</div><div>[CS: Yes=
]</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Section 2.2.3<br>
<br>
=C2=A0 =C2=A0Similarly, the Broker MUST NOT process any packets before it h=
as sent<br>
=C2=A0 =C2=A0a CONNACK.=C2=A0 The only exceptions are DISCONNECT or an AUTH=
 response<br>
=C2=A0 =C2=A0from the Client.<br>
<br>
nit: in some pedantic sense, these two sentences are in conflict, since<br>
the latter violates the &quot;MUST NOT&quot;.=C2=A0 Who cares and how much =
has varied<br>
over time, especially on the IESG, so it&#39;s not clear that we actually<b=
r>
need to change anything right now.<br></blockquote><div><br></div><div>[CS:=
 I see - Would rewording like &quot;Except a DISCONNECT and AUTH response, =
the broker MUST NOT process any other=C2=A0</div><div>packets before it has=
 sent a CONNACK&quot; work?</div><div><br></div><div>=C2=A0</div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s=
olid rgb(204,204,204);padding-left:1ex">
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 +---------------------------------------=
---------------+<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |CPT=3D1 | Rsvd.|Remaining len.| Protoco=
l name len. =3D 4=C2=A0 |<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 +---------------------------------------=
---------------+<br>
<br>
Figure 2 appears to show that the Remaining Length field of the fixed<br>
header occupies a single octet, but IIUC it&#39;s encoded as a variable byt=
e<br>
integer.=C2=A0 Fixing that would also let us put the separator that appears=
<br>
after it on a proper byte boundary.<br></blockquote><div><br></div><div>[CS=
: True. Will fix - it should have been clarified that this was an example a=
nd that the actual</div><div>field could be of variable length, using a con=
tinuation algorithm for larger values.]=C2=A0</div><div><br></div><div><br>=
</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &#39;M&#39; &#39;Q&#39; &#39;T&#39; =
&#39;T&#39;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<=
br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 +---------------------------------------=
---------------+<br>
<br>
This figure does not show the two-byte length prefix for the string.<br></b=
lockquote><div><br></div><div>[CS: OK, will fix the example (indeed it is n=
ot precise). ]</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex">
<br>
=C2=A0 =C2=A0The Will Flag indicates that a Will message needs to be sent i=
f the<br>
=C2=A0 =C2=A0[...]<br>
=C2=A0 =C2=A0Interval in the Will Properties.=C2=A0 Section 5 explains how =
the Broker<br>
=C2=A0 =C2=A0deals with the retained messages in further detail.<br>
<br>
We might be able to get away with leaving the description of Will<br>
operation to the MQTT spec, and not have to say so much about it here.<br><=
/blockquote><div>=C2=A0</div><div>[CS: This part was extended because I&#39=
;ve got a number of clarification requests for Will messages in MQTT.=C2=A0=
</div><div>So, I will keep it if it is not an issue.]</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid r=
gb(204,204,204);padding-left:1ex"><br></blockquote><div><span style=3D"colo=
r:black;font-family:Arial,sans-serif;font-size:13.3333px">=C2=A0</span></di=
v><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;borde=
r-left:1px solid rgb(204,204,204);padding-left:1ex">
Section 2.2.4<br>
<br>
=C2=A0 =C2=A0To use AUTH, the Client MUST set the Authentication Method as =
a<br>
=C2=A0 =C2=A0property of a CONNECT packet by using the property identifier =
21<br>
=C2=A0 =C2=A0(0x15).=C2=A0 This is followed by a UTF-8 Encoded String conta=
ining the<br>
=C2=A0 =C2=A0name of the Authentication Method, which MUST be set to &#39;a=
ce&#39;.=C2=A0 [...]<br>
<br>
(I assume there&#39;s not an MQTT registry that we can register &quot;ace&q=
uot; in as<br>
an Authentication Method.)<br></blockquote><div><br></div><div>[CS: That&#3=
9;s what I understand as well from prev. communication]</div><div>=C2=A0</d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
Section 2.2.5<br>
<br>
=C2=A0 =C2=A0To authenticate the Client, the RS validates the signature or =
the<br>
=C2=A0 =C2=A0MAC, depending on how the PoP protocol is implemented.=C2=A0 H=
S256 (HMAC-<br>
=C2=A0 =C2=A0SHA-256) [RFC6234] and Ed25519 [RFC8032] are mandatory to impl=
ement<br>
=C2=A0 =C2=A0depending on the choice of symmetric or asymmetric validation.=
<br>
<br>
I think there is a decent argument (and that it&#39;s likely some other AD<=
br>
will make it) that we need to make both HS256 and Ed25519 mandatory to<br>
implement for the Broker, leaving only clients with the choice.<br>
Otherwise we can get into scenarios where interop is impossible.<br></block=
quote><div>=C2=A0</div><div>[CS: Agreed.]=C2=A0</div><div>=C2=A0</div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:=
1px solid rgb(204,204,204);padding-left:1ex"><br></blockquote><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli=
d rgb(204,204,204);padding-left:1ex">
<br>
Section 2.2.6.2<br>
<br>
=C2=A0 =C2=A0On success, the reason code of the CONNACK is &quot;0x00 (Succ=
ess)&quot;.=C2=A0 The<br>
=C2=A0 =C2=A0AS informs the client that selected profile is &quot;mqtt_tls&=
quot; using the<br>
=C2=A0 =C2=A0&quot;ace_profile&quot; parameter in the token response.=C2=A0=
 If the Broker starts<br>
<br>
The line about the AS returning &quot;mqtt_tls&quot; as the selected profil=
e feels<br>
out of place here, where we&#39;re discussing successful MQTT<br>
authorization.<br></blockquote><div>=C2=A0</div><div>[CS: That&#39;s defini=
tely misplaced and should be removed]</div><div><br></div><div>=C2=A0</div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">
Section 3<br>
<br>
=C2=A0 =C2=A0The scope field contains the publish and subscribe permissions=
 for<br>
=C2=A0 =C2=A0the Client.=C2=A0 The scope is a JSON array, each item followi=
ng the<br>
=C2=A0 =C2=A0Authorization Information Format (AIF) for ACE [I-D.ietf-ace-a=
if].<br>
=C2=A0 =C2=A0Using the Concise Data Definition Language (CDDL) [RFC8610], t=
he<br>
=C2=A0 =C2=A0specific data model for MQTT is:<br>
<br>
This seems a little dicey, since we claim to allow JWT tokens as well as<br=
>
CWT.=C2=A0 JWT &quot;scope&quot; is pretty tightly nailed down to be a spac=
e-separated<br>
list (though CWT gives much greater freedom).=C2=A0 We probably need to hav=
e<br>
some text about this situation, with a phrase about how &quot;in order to b=
e<br>
compatible with the JWT scope format, we use a single scope value with<br>
internal structure&quot;, that this structure is also compatible with the C=
WT<br>
rules, and noting that our AIF usage prevents any internal spaces, so<br>
the interpretation of the scope value is unambiguous even when<br>
unmodified JWT libraries are used.<br></blockquote><div>=C2=A0</div><div>[C=
S: OK will do]</div><div><br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">=C2=A0 =C2=A0</blockquote><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex">
<br>
Section 3.2<br>
<br>
=C2=A0 =C2=A0subscription to the particular topic).=C2=A0 The Broker sends =
a PUBLISH<br>
=C2=A0 =C2=A0message with the Topic name to all the valid subscribers.<br>
<br>
(nit) It seems a little strange to mention specifically the Topic name<br>
but say nothing about there being a payload along with it.<br></blockquote>=
<div><br></div><div>[CS: I assumed Publish &quot;message&quot; captures the=
 payload - what I am trying to say is it is the message corresponding to th=
at topic.]</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le=
ft:1ex">
<br>
Section 3.3<br>
<br>
=C2=A0 =C2=A0On receiving the SUBSCRIBE message, the Broker MUST use the ty=
pe of<br>
=C2=A0 =C2=A0message (i.e.=C2=A0 SUBSCRIBE) and the Topic Filter in the mes=
sage header<br>
=C2=A0 =C2=A0to match against the scope field of the stored token or intros=
pection<br>
=C2=A0 =C2=A0result.=C2=A0 The Topic Filters MUST be equal or a subset of a=
t least one<br>
=C2=A0 =C2=A0of the &#39;topic_filter&#39; fields in the scope array found =
in the Client&#39;s<br>
=C2=A0 =C2=A0token.<br>
<br>
I suggest being very explicit about whether the wildcards in the token<br>
scope are expanded as part of matching the topic filter in the request,<br>
or if the SUBSCRIBE message must use topic filters that match<br>
byte-for-byte the permissions granted by the token.<br></blockquote><div><b=
r></div><div>[CS: OK. It is the former. So subscribe has &quot;a/b/*&quot;,=
 token permits &quot;a/*&quot; - this is a valid subscription request, as &=
quot;a/b/* a subset of &quot;a/*&quot;]</div><div>=C2=A0</div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli=
d rgb(204,204,204);padding-left:1ex">
<br>
Section 5<br>
<br>
=C2=A0 =C2=A0In the case of a Client DISCONNECT, the Broker deletes all the=
<br>
=C2=A0 =C2=A0session state but MUST keep the retained messages.=C2=A0 By se=
tting a<br>
<br>
As written, this seems to imply that all client DISCONNECT messages<br>
result in the loss of session state.=C2=A0 I didn&#39;t (quickly) find a cl=
ear<br>
statement one way or the other in the MQTT spec, but it does seem that<br>
it&#39;s allowed to send a nonzero session expiry interval in a DISCONNECT,=
<br>
which seems to imply that such DISCONNECT messages do not cause all<br>
session state to be discarded.<br></blockquote><div><br></div><div>[CS: Wil=
l clarify the Session Expiry Interval, which may lead to keeping state.]=C2=
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
=C2=A0 =C2=A0Hence, the new subscribers can receive the last sent message f=
rom the<br>
=C2=A0 =C2=A0publisher for that particular topic without waiting for the ne=
xt<br>
=C2=A0 =C2=A0PUBLISH message.=C2=A0 The Broker MUST continue publishing the=
 retained<br>
=C2=A0 =C2=A0messages as long as the associated tokens are valid.<br>
<br>
This MUST seems to be repeating a requirement from the MQTT spec, which<br>
may not merit normative language from us.<br></blockquote><div>=C2=A0</div>=
<div>[CS: I did a MUST because it puts a condition on tokens being valid.]=
=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1=
ex">
<br>
=C2=A0 =C2=A0In case of disconnections due to network errors or server<br>
=C2=A0 =C2=A0disconnection due to a protocol error (which includes authoriz=
ation<br>
=C2=A0 =C2=A0errors), the Will message is sent if the Client supplied a Wil=
l in<br>
=C2=A0 =C2=A0the CONNECT message.=C2=A0 The Client&#39;s token scope array =
MUST include the<br>
<br>
This &quot;if the Client supplied a Will in the CONNECT message&quot; impli=
es that<br>
authorization checks are performed at time of CONNECT...<br></blockquote><d=
iv><br></div><div>[CS: I&#39;ve put a note on this in discussion. The clien=
t does supply the will in the message, but it&#39;s for a future publicatio=
n;</div><div>it may never be published. We can choose to reject that in CON=
NECT, or when the time comes.I=C2=A0 am fine either way to add a CONNECT fa=
ilure</div><div>due to Will being out of scope.]</div><div>=C2=A0</div><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
:1px solid rgb(204,204,204);padding-left:1ex">
<br>
=C2=A0 =C2=A0Will Topic.=C2=A0 The Will message MUST be published to the Wi=
ll Topic<br>
<br>
... but &quot;scope array MUST include the Will Topic&quot; suggests an<br>
authorization check when the Will message is actually sent.=C2=A0 Is it one=
,<br>
the other, or both checks that must pass?<br></blockquote><div><br></div><d=
iv>[CS: The token scope needs to include the Will Topic. In the draft, the =
broker checks if it can publish a message, just before a publish.=C2=A0</di=
v><div>This applies to Will as well. Can be changed as stated above.]</div>=
<div><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"=
margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-lef=
t:1ex">
<br>
Section 6.1<br>
<br>
[My earlier comments about the MQTT header layout apply to Figure 11 as<br>
well.]<br></blockquote><div><br></div><div>[CS: Noted. Will fix.]=C2=A0</di=
v><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;borde=
r-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
=C2=A0 =C2=A0The Broker SHOULD NOT accept session continuation.=C2=A0 To th=
is end, the<br>
=C2=A0 =C2=A0Broker ignores how the Clean Session Flag is set, and on conne=
ction<br>
=C2=A0 =C2=A0success, the Broker MUST set the Session Present flag to 0 in =
the<br>
=C2=A0 =C2=A0CONNACK packet to indicate a clean session to the Client.=C2=
=A0 [...]<br>
<br>
As above, this seems to violate the MQTT normative requirements (but I<br>
mostly only read about MQTT 5, not 3.1.1).<br></blockquote><div><br></div><=
div>[CS: Noted. Will fix based on agreement]=C2=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex">
<br>
=C2=A0 =C2=A0The CONNECT in MQTT v3.1.1 does not have a field to indicate t=
he<br>
=C2=A0 =C2=A0authentication method.=C2=A0 To signal that the Username field=
 contains an<br>
=C2=A0 =C2=A0ACE token, this field MUST be prefixed with &#39;ace&#39; keyw=
ord, which is<br>
=C2=A0 =C2=A0followed by the access token.=C2=A0 [...]<br>
<br>
An example of what this looks like would be helpful.=C2=A0 It sounds like w=
e<br>
just take the first three bytes for the sentinel and then go directly to<br=
>
the access token, vs having some kind of &quot;separator&quot; as part of t=
he<br>
sentinel value.<br></blockquote><div><br></div><div>[CS: Yes, will give an =
example.]</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"=
margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-lef=
t:1ex">
<br>
=C2=A0 =C2=A0In MQTT v3.1.1, the MQTT Username is a UTF-8 encoded string (i=
.e.=C2=A0 is<br>
=C2=A0 =C2=A0prefixed by a 2-byte length field followed by UTF-8 encoded ch=
aracter<br>
=C2=A0 =C2=A0data) and may be up to 65535 bytes.=C2=A0 Therefore, an access=
 token that<br>
=C2=A0 =C2=A0is not a valid UTF-8 MUST be Base64 [RFC4648] encoded.=C2=A0 (=
The MQTT<br>
=C2=A0 =C2=A0Password allows binary data up to 65535 bytes.)<br>
<br>
Data-dependent encoding transformation without explicit signaling is a<br>
really bad idea.=C2=A0 I think we need to always base64-encode the token.<b=
r>
We should also specify a section reference to RFC 4648 (for plain base64<br=
>
vs base64url) and probably make a statement about whether padding<br>
characters are retained or omitted.<br></blockquote><div><br></div><div>[OK=
. Will do that]=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex=
">
<br><br></blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0px =
0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Section 7.1<br>
<br>
=C2=A0 =C2=A0This document registers &#39;EXPORTER-ACE-MQTT-Sign-Challenge&=
#39;<br>
=C2=A0 =C2=A0(introduced in Section 2.2.4.1 in this document) in the TLS Ex=
porter<br>
=C2=A0 =C2=A0Label Registry [RFC8447].<br>
<br>
We need to specify the other columns in the registry.<br>
I think we can have:<br>
DTLS-OK: Y<br>
Recommended: Y<br>
Reference: [this document]<br></blockquote><div><br></div><div>[CS: Thank y=
ou, will add.]</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex">
<br>
Section 7.2<br>
<br>
=C2=A0 =C2=A0This document registers the &#39;application/ace+json&#39; med=
ia type for<br>
=C2=A0 =C2=A0messages of the protocols defined in this document carrying<br=
>
=C2=A0 =C2=A0parameters encoded in JSON.<br>
<br>
Thanks for sending this to the media-types list for review<br>
(<a href=3D"https://mailarchive.ietf.org/arch/msg/media-types/85kGXBBKaWqIo=
CSU5k7GrE5FRWw/" rel=3D"noreferrer" target=3D"_blank">https://mailarchive.i=
etf.org/arch/msg/media-types/85kGXBBKaWqIoCSU5k7GrE5FRWw/</a>).<br>
It&#39;s unfortunate that nobody replied to that thread, but I don&#39;t kn=
ow<br>
that there&#39;s more that we can do.<br></blockquote><div>=C2=A0</div><div=
>[CS: Do I need to send follow-up e-mails?]</div><div>=C2=A0</div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex">
<br>
Section 7.3<br>
<br>
=C2=A0 =C2=A0The following registrations are done for the ACE OAuth Profile=
<br>
=C2=A0 =C2=A0Registry following the procedure specified in<br>
=C2=A0 =C2=A0[I-D.ietf-ace-oauth-authz].<br>
=C2=A0 =C2=A0[...]<br>
=C2=A0 =C2=A0o=C2=A0 CBOR Value:<br>
<br>
I think it&#39;s clearer for reviewers if we put &quot;TBA&quot; or &quot;t=
o be assigned by<br>
IANA&quot; here.<br></blockquote><div><br></div><div>[CS: OK]=C2=A0</div><b=
lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le=
ft:1px solid rgb(204,204,204);padding-left:1ex">
<br>
=C2=A0 =C2=A0o=C2=A0 Description: Profile for delegating Client authenticat=
ion and<br>
=C2=A0 =C2=A0 =C2=A0 authorization using MQTT as the application protocol a=
nd TLS For<br>
=C2=A0 =C2=A0 =C2=A0 transport layer security.<br>
<br>
It seems like it might be preferred to talk about using MQTT for the<br>
C/RS interactions and HTTP for the interactions with the AS.<br>
Separately, mention that TLS is used for confidentiality/integrity<br>
protection and server authentication; also, client authentication can be<br=
>
provided either via TLS or using in-band proof of possession at the MQTT<br=
>
application layer.<br></blockquote><div><br></div><div>[CS: OK. Will revise=
]</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Section 8<br>
<br>
=C2=A0 =C2=A0revoked topics.=C2=A0 If the RS caches the token introspection=
 responses,<br>
=C2=A0 =C2=A0then the RS SHOULD use a reasonable cache timeout to introspec=
t<br>
<br>
(&quot;reasonable cache timeout&quot; again)<br></blockquote><div>[CS: Will=
 fix it with the same guidance, once agreed.]</div><div><br></div><div>=C2=
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 If the RS suppo=
rts the public<br>
=C2=A0 =C2=A0&quot;authz-info&quot; topic, described in Section 2.2.2, then=
 this may be<br>
=C2=A0 =C2=A0vulnerable to a DDoS attack, where many Clients use the &quot;=
authz-info&quot;<br>
=C2=A0 =C2=A0public topic to transport fictitious tokens, which RS may need=
 to<br>
=C2=A0 =C2=A0store indefinitely.<br>
<br>
We do say that the RS only stores &quot;valid&quot; tokens, which includes =
being<br>
generated by a trusted AS and having RS as the audience.=C2=A0 So it&#39;s =
not<br>
clear that this statement is accurate if the attack is to involve<br>
&quot;fictitious&quot; tokens.=C2=A0 Similar attacks are possible, though.<=
br></blockquote><div><br></div><div>[CS: OK,=C2=A0 We accept it can still b=
e DOS&#39;ed? fictitious doesn&#39;t sound right. my intention was to say t=
okens not meant to be used.]=C2=A0</div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex">
<br>
Section 10.1<br><br></blockquote><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le=
ft:1ex">
<br>
RFC 8447 probably does not need to be normative; it is just mentioned as<br=
>
the thing that is the reference for the IANA registry of TLS exporter<br>
values.<br></blockquote><div>[CS: OK]</div><div>=C2=A0</div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid =
rgb(204,204,204);padding-left:1ex">
<br>
Section 10.2<br>
<br>
I think the DTLS profile needs to be a normative reference, since we<br>
defer to it for TLS session set-up.<br></blockquote><div><br></div><div>[CS=
: OK]=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px =
0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Likewise, RFC 6234 and RFC 8032 specify MTI algorithms for<br>
authentication, which would make them normative.<br></blockquote><div>[CS: =
OK]=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0p=
x 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Appendix A<br>
<br>
I think we need to update the checklist to match the current template<br>
from<br>
<a href=3D"https://datatracker.ietf.org/doc/html/draft-ietf-ace-oauth-authz=
-43#appendix-C" rel=3D"noreferrer" target=3D"_blank">https://datatracker.ie=
tf.org/doc/html/draft-ietf-ace-oauth-authz-43#appendix-C</a></blockquote><d=
iv><br></div><div>[CS: OK]=C2=A0</div><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi=
ng-left:1ex"><br>
<br>
-Ben<br>
</blockquote></div></div>

--00000000000077514705c8f87d2a--


From nobody Tue Aug 10 09:43:02 2021
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: ace@ietf.org
Delivered-To: ace@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 4E1933A00D5; Tue, 10 Aug 2021 09:42:55 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: IESG Secretary <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
Cc: ace-chairs@ietf.org, ace@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.36.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <162861377452.5082.9676723720991667163@ietfa.amsl.com>
Date: Tue, 10 Aug 2021 09:42:55 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/Hqpan0WxZUIkIa1N-EJ4a6c-P_E>
Subject: [Ace] Authentication and Authorization for Constrained Environments (ace) WG Interim Meeting Cancelled (was 2021-08-10)
X-BeenThere: ace@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 10 Aug 2021 16:42:56 -0000

The Authentication and Authorization for Constrained Environments (ace) virtual 
interim meeting for 2021-08-10 from 10:00 to 11:00 America/New_York
has been cancelled.






From nobody Tue Aug 10 23:43:02 2021
Return-Path: <ludwig.seitz@combitech.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 B6C863A0D3F for <ace@ietfa.amsl.com>; Tue, 10 Aug 2021 23:43:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level: 
X-Spam-Status: No, score=-2.101 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=combitech.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 gOAZ7u6juYsN for <ace@ietfa.amsl.com>; Tue, 10 Aug 2021 23:42:54 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2069.outbound.protection.outlook.com [40.107.21.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CC4A53A0D3D for <ace@ietf.org>; Tue, 10 Aug 2021 23:42:52 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YrMr2W9qo8fA3+WQH4yWcBQKI7EOb1jTbGNEpRr4d4eSLPCCowYoS9PGqhgL5UOZqzW0NvlqIpeEhj47MMluYi613ri5/3YzjZcasgURCwm/oowd5Ok4KJ6+oK5wn8iMpfOnTvVuG4zWPY0TNzOdy/Qzk8rrCJU7HCur6giKrQwNp0m+BEvjJepq55onAykiMtwNNG1/RiIkFnRMc1dlpvBQf7SgG70OjGfiWzrCId+ArFKeyxnEQulMLngPc4g+7NDMXTnww2woo5EcFv8zXkNqw5g4Q+hymk3qenu/dIE0bgIyRTSfnXwjchEhwPCF7F15yDp6s0uXVtLNZyBdjw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xX+0+UY73z5KkreCPr/reqahhfvEf/5/LauFSC4bJ9I=; b=ddIHCuruEpMknJEu+Fr3Prijf5vMy/Bwal7YiXNd4L3+WaMecl21wj7V56czv3lry82rlhKPF9Vl3Efhk3qpfd3kItmeowx+nF1cseqlPq01gokm6vxWK8TBlc2vfwX//+vBp2xYUbUv4i5Nd2Vhg0XflB6lsVHJu4ebH4QK+fZeMU/z7QoJQ/NJ/lnripbsfhD4ZDCYkMQHTgIOx5A6hnR6ZzFy09rBzQcZ3BdnfbCovnD7esiGgWUa1vaUbFUFBHBDOOpfo1+HXn49IE7GgM6GDvw3PNAcBp+NmAlEYh2TwViMDD4Tdp7iEt0I39CJ16/Re6+BcMLneFEO5Mfvng==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=combitech.com; dmarc=pass action=none header.from=combitech.com; dkim=pass header.d=combitech.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=combitech.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xX+0+UY73z5KkreCPr/reqahhfvEf/5/LauFSC4bJ9I=; b=BAjjx/QF7TM+PdHEGLncj34LqaN8i+1u2NTWk6ouyR7PRGq2f476IG8jnKdNb4Q6BUtytFrq0jGxuowAmDwrF5cki7Kmhmr4kbAs2yPxyw7iEeYrd6MdqGSxEyPWWaxQqOTRforbHHdjpB66sdsk8FwcFhqXhJukNa09RO00S3A04n6ap0G0q/P3EVOcQnlZniYpBpgMFTYL52xMj9e9UDGVyYHj44PFuEBKJBN8cAkMGir75AJQIjWtc+ADZ3HPpsbbwpxTCE1t+v9hminQsBjrYWuDJ/dEzC4z0rWm0kSBuaNOcGUmHqW5+fml9VDRmXXhDG5NfAByZzyx/6G6Tg==
Received: from AM0PR0302MB3363.eurprd03.prod.outlook.com (2603:10a6:208:c::21) by AM0PR03MB4932.eurprd03.prod.outlook.com (2603:10a6:208:fd::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.15; Wed, 11 Aug 2021 06:42:48 +0000
Received: from AM0PR0302MB3363.eurprd03.prod.outlook.com ([fe80::8562:622f:2b59:854a]) by AM0PR0302MB3363.eurprd03.prod.outlook.com ([fe80::8562:622f:2b59:854a%6]) with mapi id 15.20.4415.016; Wed, 11 Aug 2021 06:42:47 +0000
From: Ludwig Seitz <ludwig.seitz@combitech.com>
To: "ace@ietf.org" <ace@ietf.org>
Thread-Topic: Nits in draft-ietf-ace-oauth-authz
Thread-Index: AdeOeuu3Wo4wqy8dQxa6sxjDhIZbMA==
Date: Wed, 11 Aug 2021 06:42:47 +0000
Message-ID: <AM0PR0302MB3363C2AADFCD40CDB9D001629EF89@AM0PR0302MB3363.eurprd03.prod.outlook.com>
Accept-Language: en-US, sv-SE
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_Enabled=true; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_SetDate=2021-08-11T06:33:10Z;  MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_Method=Standard; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_Name=Company Confidential; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_SiteId=0d11ac4a-ef5e-423a-803b-e51aacfa43d6; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_ActionId=b794ff75-c309-42c2-8ea4-864d98192317; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_ContentBits=0
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=combitech.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b9258347-31f3-46fa-fac9-08d95c933b98
x-ms-traffictypediagnostic: AM0PR03MB4932:
x-microsoft-antispam-prvs: <AM0PR03MB49324D62C103402EFE9CDAC39EF89@AM0PR03MB4932.eurprd03.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: q2amV/RTqBvBIt5dAeutu7b0xRb8W5AGS1QZ0LmtnJWxP8oDYP2JDrQ6v6e83gdYjjq1zP5ywSIVCGDJIOdKfU6q3sbw6md0JwAtTrJcW228AoeBIubCJUXgP0bfrl5pSMXoVysSAO+Pi6QRNbRP4PUsoj5/bd1P3WEEFEkIrA1RlRMspbn3XgToMfqMC50Gn8i9zqdidJ6M23yc/qn7Bg+DaJyskTZ+iWZXfu2fadWnBWHhyt1zjY4liM+P3jH4DMTgXiDJWnvOyu+3aKxDs7sE1tX8FBuiFmpkCDMFTZ8lw3v+WoW+8jeUizrM+nZ+Ql6djDszx505/5M6pyQfYM41LerMyaTM+VwMh728u7jIRtjRTgsq0HkHC8KtdhUOagp8JEqE100BOnEt3w52PvQDRDGJMMRGFcC5RFOYJD0kZTJ79MNmgLV6ssGq/IR+2E8yMrA3BI5dCTi0hy8hciFi5qGnRRPWjGo9Hu3kAtnjljf/Z6EtsJlyWC0iLYIRDUJHnIwk6RJvgccy5Alb0nxPxa/nccmFy1mrei45AJidNIpGbPwrgKmJCmcGqZ135S0uCpvpHmvgryw62FP8NVD45O8gg5LHkHlLiaaveGB7aMND7E0AaHNnxYRg5AOEib76aghnFHVy+zAT8p5+H9uPLGY3s3sbDjCG6cj2dHUraoWend4ovJKtdMBxyFMt/CuA6kGs0Fr7V5XVOeJGfQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM0PR0302MB3363.eurprd03.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(136003)(39840400004)(346002)(396003)(376002)(366004)(33656002)(44832011)(26005)(186003)(316002)(7696005)(478600001)(8676002)(6506007)(66574015)(76116006)(8936002)(2906002)(86362001)(83380400001)(52536014)(6916009)(122000001)(38100700002)(66446008)(9686003)(66476007)(66946007)(38070700005)(64756008)(5660300002)(55016002)(71200400001)(66556008); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?akRPajlNWXJPY0V3alpUOFdsd1lFZDlKZHByRU9TYld3LzV5cGM0MHRHMGxK?= =?utf-8?B?N0xuVEIxdjRNQkYwYTJDVE5uS3ZiSVE2aFdYOXRiNjU2djJpVW90MzBwa0Nq?= =?utf-8?B?NHlzWE1naE1pQ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bXhxVVh3Zyt0bWlyMW1talpvZlJWT21KeEdwcnZqV1JVVENoUkdGL2RE?= =?utf-8?B?Rjk4MTJvRTF1bHhPYWJqN3BtYVk5ZmRic3g0OHo0K1dRN3hjeVdZcWNLUjlK?= =?utf-8?B?NWFSTjZGSmdjZFIyYWVvekpUbmxJNWFuMStLbXFpUVBkUGlNRENLVnlpZW9R?= =?utf-8?B?ZzJ0ZmpOaWRva2VwVU82MGxJc0V2eHpvRGRKRmRYa3F1bUNpK3JVNVRzZU82?= =?utf-8?B?bHROWWRUM0FxRTRlc1JkUER5NWNFUXI3VW05TytFNmNSb01oNy9YMHE2T2V2?= =?utf-8?B?MTF0bkE2aFJXMW1xK0QxVklzand3akR3bWU1R1lHaUt3Q3d1cEpOMkZxVjR0?= =?utf-8?B?ODVPSzJvNWI2R2dCZVhLMmd5RDBMUGcxS0NOc1kxM2R6VnNFZ2U0M1dVbzRM?= =?utf-8?B?dkNjSzF6VWRzc25ITmhkYU15Ykh2c0QrVlUvVXhxaVlUU0pEek1Nb0xMU3Bj?= =?utf-8?B?TGliVzhiL1k2ZnJQakR3UThCQlZqWDZCUmhoR25URGs0SFRqYjVYb25JTlhx?= =?utf-8?B?V0FhaTIwRkNncEhiQTROaklZU3BZR0Z1VVhBNktDTkY5UnZwNDRjTmhVZWI0?= =?utf-8?B?T0VyN1QrdlV1dTFad0Y2VHhuYStzUVFYQmk5ZDhybVJaUXArcit2TXNWNlVn?= =?utf-8?B?NVdnY0ZnR05kYzYrNjVPcnYwMFM1TS9MWGZKKzYvMkdqNjNqck1GNXNzMTl2?= =?utf-8?Q?9JYL2iVySrq+qecDAE=3D?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: combitech.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR0302MB3363.eurprd03.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b9258347-31f3-46fa-fac9-08d95c933b98
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Aug 2021 06:42:47.7246 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 0d11ac4a-ef5e-423a-803b-e51aacfa43d6
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: MUkWHa9PE99BGFWRhMW8yX0goxKT8U+6e4vEx09ROiUKiB4sVaNSXCBPgNyfjOc0xMYJN79/PhOmh7SYmFEYGLEf5rd+0V2GxwPFmp+iEcE=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR03MB4932
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/C_bCIIxAATYhMYrb4PDa-0NVRR8>
Subject: [Ace] Nits in draft-ietf-ace-oauth-authz
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: Wed, 11 Aug 2021 06:43:01 -0000

SGVsbG8gQWNlLA0KDQpJJ20gY3VycmVudGx5IGRlYWxpbmcgd2l0aCBzb21lIG5pdHMgaW4gZHJh
ZnQtaWV0Zi1hY2Utb2F1dGgtYXV0aHogdGhhdCBJIGhhdmUgZGlzY292ZXJlZCBkdXJpbmcgdGhl
IGZpbmFsIElBTkEgY2hlY2suIEZvciBvbmUgb2YgdGhlbSBJIG5lZWQgZ3JvdXAgZmVlZGJhY2s6
IA0KDQpUaGUgZHJhZnQgZGVmaW5lcyBhIENCT1IgY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LnNlaXR6QGNvbWJpdGVjaC5jb20gLiBjb21iaXRlY2guY29tIFRoaXMgZS1tYWlsIGlz
IHByaXZhdGUgYW5kIGNvbmZpZGVudGlhbCBiZXR3ZWVuIHRoZSBzZW5kZXIgYW5kIHRoZSBhZGRy
ZXNzZWUuIEluIHRoZSBldmVudCBvZiBtaXNkaXJlY3Rpb24sIHRoZSByZWNpcGllbnQgaXMgcHJv
aGliaXRlZCBmcm9tIHVzaW5nLCBjb3B5aW5nIG9yIGRpc3NlbWluYXRpbmcgaXQgb3IgYW55IGlu
Zm9ybWF0aW9uIGluIGl0LiBQbGVhc2Ugbm90aWZ5IHRoZSBhYm92ZSBvZiBhbnkgc3VjaCBtaXNk
aXJlY3Rpb24gUGxlYXNlIGNvbnNpZGVyIHRoZSBlbnZpcm9ubWVudCBiZWZvcmUgcHJpbnRpbmcg
dGhpcyBlLW1haWwhDQoNCg0K


From nobody Fri Aug 13 17:37:27 2021
Return-Path: <kaduk@mit.edu>
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 947013A2DE7; Fri, 13 Aug 2021 17:37:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.498
X-Spam-Level: 
X-Spam-Status: No, score=-1.498 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no 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 0a9pusSBMweK; Fri, 13 Aug 2021 17:37:20 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 48E023A2DE6; Fri, 13 Aug 2021 17:37:19 -0700 (PDT)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 17E0bAWo011307 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Aug 2021 20:37:16 -0400
Date: Fri, 13 Aug 2021 17:37:10 -0700
From: Benjamin Kaduk <kaduk@mit.edu>
To: Cigdem Sengul <cigdem.sengul@gmail.com>
Cc: draft-ietf-ace-mqtt-tls-profile.all@ietf.org, Ace Wg <ace@ietf.org>
Message-ID: <20210814003710.GA50759@kduck.mit.edu>
References: <20210805223931.GI50759@kduck.mit.edu> <CAA7SwCM1Gjqb+ydTz2dmxA33FKYimwegWcpCckCZWiO3qeyH8w@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAA7SwCM1Gjqb+ydTz2dmxA33FKYimwegWcpCckCZWiO3qeyH8w@mail.gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/PMUOIo4whLkJR9zuIBGcez6afgo>
Subject: Re: [Ace] AD Evaluation of draft-ietf-ace-mqtt-tls-profile-12
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 Aug 2021 00:37:26 -0000

Hi Cigdem,

Hopefully you have not gotten too far along on the few items where I reply
and say that your proposed change may not be needed; I had hoped to write
this message several days ago.  (That said, there really are only a few
such places; the bulk of your proposals look good.)

On Sat, Aug 07, 2021 at 02:54:16PM +0100, Cigdem Sengul wrote:
> Hello Ben,
> Thank you very much for the review, and I will look into the pull request
> as soon as possible.
> Below I've gone over your comments and categorised them   as "Discussion"
> if I had questions/clarifications/comments, and "Will Do" for the rest.
> 
> Discussion:
> 
> 
> > Specifically, there's no requirement for ACE access tokens to be
> > self-deliniating, so we can't actually programmatically tell whether
> > there's content after the token in a CONNECT message; the mechanisms in
> > Sections 2.2.4.1/2.2.4.2 seem to assume that we can do so for
> > determining whether the CONNECT is just providing a token or also
> > providing PoP over a TLS exporter value.  I think that this just means
> > we need to have an explicit "token length" field (or similar).
> >
> 
> [CS: Those sections do make use of an explicitly token length field Both
> figures 4 and 5 show a token length in the Authentication Data.
> 2.2.4.1 - "For this option, the Authentication Data MUST contain the
> two-byte
>    integer token length, the token, and the keyed message digest (MAC)
>    or the Client signature (as shown in Figure 4)."
> Am I misunderstanding something?
> ]

I think I am misunderstanding (or misreading) something, and you have it
right.  Oops.
I'm not sure what I was looking at when I wrote that comment, but what I'm
looking at now doesn't have the behavior I was apparently concerned about.
Sorry about that.

> >
> > There are also a few places where we seem to be putting requirements on
> > Broker behavior that are in direct conflict with normative requirements
> > of the MQTT specification.  We can't override the external spec, so
> > we'll need to check and reword in any places where there are conflicts.
> > (I'm not an expert on MQTT and only read the spec as part of doing this
> > review, so it's entirely possible that I'm misinterpreting the MQTT spec
> > in some or all of these locations.)
> >
> 
> [CS: Noted, I will respond to them where you have raised them specifically.]
> 
> 
> > A few other general notes before the section-by-section notes:
> >
> > There is very little in this document about the HTTP-based interactions
> > with the AS.  I think the intent is to defer to the core framework for
> > that, but being a little more explicit about what is being pulled in and
> > how would be helpful.
> >
> 
> [CS: OK. Does this mean refer/cite the relevant sections in the core
> framework?]

I think that would help, yes.

> Section 1
> 
>    their subscribers.  In the rest of the document the terms "RS", "MQTT
>    Server" and "Broker" are used interchangeably.
> 
> We will probably get a reviewer asking why we can't pick a single term
> and standardize on it.  However, I expect that there are places where we
> want to emphasize on one aspect or another of its behavior, so don't
> think we should actually do so.  Similarly for the places where we
> mention that CoAP can be used (but don't reference a concrete
> specification).
> 
> [CS: This was brought up before. In practice, MQTT Broker or Broker is
> widely used, MQTT Server is in MQTT spec, and the
> RS is the additional functionality we are putting on the broker with this
> spec. I am happy to keep to one if interchangeable use is an issue -
> possibly select "MQTT Server" then. ]

Let's leave things as-is for now and see who complains.  I just didn't want
it to come as a surprise later, and it sounds like we have a plan for what
we can do if necessary.

> Section 2.2.1
> 
> The way we name these authentication options with specific (quoted)
> strings suggest that they will be used as a protocol element.  But
> where?  Is the literal string "Known(RPK/PSK)" used in both cases (vs.
> having distinct strings for RPK and PSK)?
> 
> Also, the hyphen character tends to more often be used as a joiner than
> a separator, so it's easy to misread this as a triple of "TLS",
> "Anon-MQTT", "None"/etc..  (I originally was going to ask why these all
> had a "TLS" prefix...)  It might be better to use a semicolon or comma
> instead of hyphen.
> 
> [CS: No they are not protocol elements. These were all the cases that we
> came up with Jim thinking about the different possibilities for pushing the
> token (Client may push the token before/during TLS session set-up; or
> client may defer it to MQTT connect. ). I am open to suggestions to present
> them better. I guess removing the "" would help? or any other suggestions
> on naming?

Yes, removing the quotation marks would help.
I'd also replace the hyphen with a comma in each pairing, and change the
sentence introducing the list to be something like "Thus, client
authentication procedures involve the following possible combinations:"
(s/options/combinations/ is the main goal, but I reworded further to avoid
having both "combined" and "combinations" in the same sentence.)

>  o  "TLS:Anon-MQTT:None": This option is used only for the topics that
>       do not require authorization, including the "authz-info" topic.
> 
> Are there topics other than "authz-info" that don't require
> authorization?  We might need to add some heding language to the earlier
> statement that "Client and the Broker MUST perform mutual
> authentication" if so.
> 
> [CS: Yes, actually we should think that the Broker may be hosting both
> public and private topics, and hence, it may accept unauthorised clients if
> that's the case. ]

I suspected there could be some other public topics, but wasn't sure.
Maybe start the section like:

  The Broker always authenticates itself to the Client.  Some topics may be
  "public" and not require client authentication to subscribe to (or even
  write to, as in the case of "authz-info"), but in order to perform
  operations that require authorization, the Client and Broker MUST perform
  mutual authentication.

>    It is RECOMMENDED that the Client implements "TLS:Anon-MQTT:ace" as a
>    first choice when working with protected topics.  However, depending
>    on the Client capability, Client MAY implement "TLS:Known(RPK/PSK)-
>    MQTT:none", and consequently "TLS:Anon-MQTT:None" to submit its token
>    to "authz-info".
> 
> It's good that we provide guidance on which of the authentication
> schemes are preferred (since we offer both ACE-layer and TLS-layer
> schemes).  However, we will surely be asked to defend why there are two
> possible ways of doing it instead of just one, and this text doesn't
> really do a good job of that.  What might cause a need to implement
> TLS:Known(RPK/PSK)-MQTT:none?
> 
> [CS: This is I think historical - at the beginning we wrote the spec for
> MQTT v.3.1 where we are overloading
> the username/password.  We thought this may not be always preferred, as the
> ace framework already talked about the
> authz-info endpoint. Hence, we gave two options for providing the token and
> tried to replicate the "authz-info" behaviour in MQTT.]

Let's try to come up with some additional text we can put in the document
to support the less-preferred behavior, even if it's just so that some
architecture can use a consistent implementation strategy across profiles.

>   The Broker MUST support "TLS:Anon-MQTT:ace".  To support Clients with
> >    different capabilities, the Broker MAY provide multiple client
> >    authentication options, e.g. support "TLS:Known(RPK)-MQTT:none" and
> >    "TLS:Anon-MQTT:None", to enable RPK-based client authentication, but
> >    fall back to "TLS:Anon-MQTT:ace" if the Client does not send a client
> >    certificate (i.e. it sends an empty Certificate message) during the
> >    TLS handshake.
> >
> > [Just a potential nit about the wording: "fall back" implies some
> > ordering requirements, but IIRC use of RPK requires sending the token to
> > authz-info before starting the new TLS connection, which doesn't quite
> > match the steps as ordered in this description.]
> >
> 
> [CS: True that is not well-written.
> That was added because to potentially handle the Brokers having optional
> client authentication for TLS.
> So, client authentication in TLS doesn't work, the broker would expect a
> token in CONNECT.
> But it doesn't look needed as we do have a MUST for a token to be provided
> for TLS-level client authentication.
> ]

I think that makes sense to not require the broker to support TLS-level
client authentication, yes.

>    In MQTT v5.0, the Client signals a clean session (i.e. the session
> >    does not continue an existing session), by setting the Clean Start
> >    Flag to 1 and, the Session Expiry Interval to 0 in the CONNECT
> >    message.  [...]
> >
> > I don't understand why setting the Session Expiry Interval to 0 is
> > needed to produce a clean session.  As I understand it, setting this
> > interval to 0 merely directs the server to not store session state after
> > the client disconnects from this session, which is unrelated to whether
> > or not this is a new session or a reused session.
> >
> 
> [CS: This was when we switched from MQTT v3.1 to induce MQTT v5 in the
> draft.
> We were looking for some equivalence between two specs and MQTTv5 had:
> "Setting of Clean Start to 1 and Session Expiry Interval to 0 is equivalent
> in MQTT v3.1.1 of setting Clean Session to 1."
> But we should acknowledge that this got separated and a clean start is the
> way to signal to start a new session. Will fix.]

Okay, and that makes sense how we would have gotten here!  (I only read
MQTT v5, not v3.1, so I think I internalized the nice/idealized version of
MQTT and missed out on all the messy bits of v3.1...)

>        In this profile, the Broker SHOULD always start with a
>    clean session regardless of how these parameters are set.  Starting a
>    clean session helps the Broker avoid keeping unnecessary session
>    state for unauthorised clients.  If the Broker starts a clean
> 
> This SHOULD seems highly problematic to me.  It looks like it
> contradicts a hard requirement of MQTT 5.0 ("If a CONNECT packet is
> received with Clean Start set to 0 and there is a Session associated
> with the Client Identifier, the Server MUST resume communications with
> the Client based on state from the existing Session").  If we want to
> recommend that the broker does not maintain session state, that should
> be implemented by setting the Session Expiry Interval in the CONNACK,
> not as part of the CONNECT processing.
> 
> [CS: yes, you are right. the CONNACK can set the session expiry interval to
> 0.
> Actually, then it doesn't matter what clean start flag is.
> I will change to the "Session Expiry Interval SHOULD be set to 0" so that
> no session state is kept.
> And yes the server can override the client's session expiry interval in
> connect by
> sending a different value in connack. ]

Thanks for confirming that I was reading the MQTT spec properly (in this
instance, at least)!  This proposal sounds good to me.

>    When reconnecting to a Broker that supports session continuation, the
> >    Client MUST still provide a token, in addition to using the same
> >    Client identifier, setting the Clean Start to 0 and supplying a
> >    Session Expiry interval in the CONNECT message.  The Broker MUST
> >
> > (As above, setting a Session Expiry interval seems to relate to the
> > subsequent connection, not the current one, so this feels
> > over-specified.)
> >
> 
> [CS: Overspecified for current connection? As this is something that is
> communicated in the CONNECT, my preference would be to include it and be
> clear about it. At the moment, the client is allowed to provide a session
> expiry interval (to say for how long it wants the session state to be kept
> at the broker),  but the server can connack a different value. It may
> actually be better to recommend a broker to always dictate session expiry
> in connack and not accept client value? ]

I think we probably should focus more on broker behavior, yes.
So this could be "client SHOULD set to zero" and "broker MUST dictate
expire in connack" as you suggest.

>    Note that, according to the MQTT standard, the Broker uses the Client
> >    identifier to identify the session state.  In the case of a Client
> >    identifier collision, a client may take over another client's
> >    session.  [...]
> >
> > Just to confirm: the ACE token is not used to provide authorization to
> > use a given client identifer; the client identifier is just used as an
> > unauthenticated identifier?  We might consider calling that out
> > explicitly.
> >
> 
> [OK. Yes, the MQTT client id is considered different than the Client
> Identifier that may be in the token.]

They are clearly different identifiers, yes.  I was trying to ask about
something slightly different, though.  One might imagine treating MQTT
Client Identifiers as resources in their own right, and having the AS grant
authorization to use them.  In that case the Client Identifier could be
encoded in the token and the broker could reject attempts to use a client
identifier that were not accompanied by a token authorizing use of that
identifier.  However, such an architecture seems to have some layering
issues and could be messy to implement, so I was assuming that we were not
proposing to do so.

>    topics.  Therefore, while this issue is not expected to affect
> >    security, it may affect QoS (i.e.  PUBLISH or QoS messages saved for
> >    Client A may be delivered to a Client B).  [...]
> >
> > I think this is just an aside and not something we need to cover in this
> > document, but what happens if (e.g.) PUBCOMP goes to client B when
> > PUBREC went to client A?  Does the message actually get delivered?  Does
> > anything deadlock?
> >
> 
> [CS: Is your example assuming client A sent a PUBREL, but the broker's
> PUBCOMP sent and failed to client A?

Either sent and failed or the sending was delayed and disconnection
detected before it got sent.

> From the spec: When Client B reconnects, it won't have a state of sending
> PUBREL, so it won't retry, whereas client A would have retried ("When a
> Client reconnects with Clean Start set to 0 and a session is present, both
> the Client and Server MUST resend any unacknowledged PUBLISH packets (where
> QoS > 0) and PUBREL packets using their original Packet Identifiers. This
> is the only circumstance where a Client or Server is REQUIRED to resend
> messages. Clients and Servers MUST NOT resend messages at any other time")
> So, I can't see how PUBCOMP could have gone to client B.  But, the
> Broker may release the message to the subscribers, so the packet would be
> delivered to subscribers, as with PUBREC/PUBREL/PUBCOMP it is trying to
> ascertain only-once delivery. (Figure 4.3 in MQTT spec shows the
> receiver Initiates
> onward delivery of the Application Message) but with a note: "The receiver
> does not need to complete the delivery of the Application Message before
> sending the PUBREC or PUBCOMP." So, it will be up to broker implementation
> if message gets delivered.

I think I was assuming that the server would keep the PUBCOMP queued up and
do its own (timer-driven?) retransmissions, but your description makes it
sound like the server only stores the session state but doesn't send a
PUBCOMP until it gets a repeated PUBREL.  That makes sense given the
TCP-based connection scheme, so I think I was just misunderstanding how
MQTT works.  Thanks for helping me un-confuse myself :)

> Section 2.2.4.1, 2.2.4.2
> >
> > (Expounding on the high-level comment from above,)
> > It seems that we're using the presence/absence of extra data after the
> > token to indicate whether or not the MAC/Signature over exporter content
> > is present and thus which message flow is being used for authentication.
> > However, this is only possible if the token itself is self-describing,
> > which I do not think is guaranteed.  Consider, for example, the case of
> > a token that's a reference value that must be introspected in order to
> > retrieve claim information.  Such tokens can be arbitrary byte strings,
> > so I think we need some other in-band way to differentiate between
> > authentication methods.
> >
> 
> [CS: But, There is authentication data length then 2-B token length, then
> token.
> So, using this information, the beginning of MAC can be computed. so, if it
> ends up being the end of authentication data, there is no MAC?]
> 
> 
> > Section 2.2.4.1
> >
> >    For this option, the Authentication Data MUST contain the two-byte
> >    integer token length, the token, and the keyed message digest (MAC)
> >    or the Client signature (as shown in Figure 4).  [...]
> >
> > Does this go in the AUTH (which is what §2.2.4 claims to cover) or the
> > initial CONNECT?  (Hint: later in the paragraph the broker replies to it
> > with a CONNACK.)
> >
> 
> 
> [CS: I guess this is not clear? This is the AUTH property in the client's
> CONNECT. Only if a challenge mechanism is used the broker generates an AUTH
> packet. ]

Right, this was not clear, at least on first reading, since the overall
2.2.4 section heading primes the reader to be thinking about AUTH and I
apparently didn't internalize the first paragraph of §2.2.4 and connect it
to this description.  I'd suggest "the Authentication Data in the initial
CONNECT MUST contain".


>  Section 7.5 of [RFC8446]).  This content is exported from the TLS
> >    session using the exporter label 'EXPORTER-ACE-MQTT-Sign-Challenge',
> >    an empty context, and length of 32 bytes.  [...]
> >
> > While an empty context should provide ample protection, it seems to me
> > that we could consider using the client identifier as the context.
> > There can also be value in incorporating information on the server
> > identity in the output.  If the SNI extension is used, that information
> > would already be included in the key schedule, though we do not
> > currently seem to mandate SNI usage.  Current best practices for new
> > deployments are to always use SNI and always use ALPN, so we should
> > probably consider both of those.
> >
> > [CS: Happy to add all those considerations. Client ID assuming the MQTT
> client id in the CONNECT message?]

Yup, the MQTT client id from CONNECT.

>    a CONNACK with the appropriate response code.  The client cannot
> >    reauthenticate using this method during the same session ( see
> >    Section 4).
> >
> > Depending on what "session" means, this restriction may be too strict.
> > We should probably be more clear about what "session" means...if it's
> > the MQTT session, I think it's okay to use this method when
> > re-connecting to take over the session.
> >
> 
> [CS: This is the MQTT session - I believe we discussed this before, and the
> agreement was that this should not be allowed.
> The reasoning was the client was not necessarily proving anything new with
> the challenge from TLS-Exporter already used.]

I agree that re-using the same challenge value from a TLS-Exporter is
problematic for that reason.

But consider the case where a client makes a new TCP+TLS connection and
then sends MQTT CONNECT with Clean Start=0.  The new TLS connection, even
if using TLS session resumption, will have [*] a different TLS exporter
value than any other TLS connection, so it would be a safe way to
authenticate, but this text seems to prohibit us from using it.
(I guess I commented on basically the same thing later on, too...)

[*] modulo things like the "triple-handshake attack" that motivated the
extended master secret extension of RFC 7627.  See also my comment that we
should incorporate current TLS best practices, which will include mandating
the use of extended master secret.

> Section 2.2.4.2
> 
> I a little bit wonder if we need to hardcode the nonce length or could
> let it be variable, with the corresponding change in level of protection
> provided.  In non-constrained setups we would typically use a 128- or
> even 256-bit bit nonce for this purpose, not a 64-bit one, and it's
> somewhat surprising to preclude the stronger usage.  (Especially so
> since we use a 256-bit value from the TLS exporter.)  If we do allow for
> length variation, we'll need to add length prefixes to the MAC/signature
> input (we should probably do that anyway since the client nonce is
> variable-length).
> 
> [CS: I believe this was discussed before as well. And the general feeling
> was we did not want to do variable nonce, and then complicate with agreeing
> on which lengths etc. If the feeling has changed, happy to make that
> change, which was my initial proposal.)

I don't feel strongly enough to reopen a topic that was previously
discussed.  The nonce is presumably strongly time-limited anyway, so I
think in practice it will provide plenty of security strength.

>    Validation of the signature or MAC MUST fail if the signature
> >    algorithm is set to "none", when the key used for the signature
> >    algorithm cannot be determined, or the computed and received
> >    signature/MAC do not match.
> >
> > Where would the "none" appear?  We haven't said anything about a COSE
> > encoding for the signature or MAC value, or anything like that...I
> > assumed it was going to be the "raw" output from the relevant primitive
> > (EdDSA, HMAC, etc.).
> >
> 
> [CS: Yes. This is written assuming a header JOSE/COSE associated with the
> token or,
> may have received as a result of introspection response. Will revise.]

Thanks!

> 
> >    a new session, it MUST also set Session Present to 0 in the CONNACK
> >    packet to signal a clean session to the Client.  Otherwise, it MUST
> >    set Session Present to 1.
> >
> > (As above,) my understanding is that the Broker does not have agency
> > over whether a new session is started, and must honor the client's
> > request.  So these "MUST set" seem out of place.
> >
> 
> [CS:This will be revised, but the Broker can signal if it can support
> continuing a session or not by sending a CONNACK with session expiry
> interval 0.]

Yup, and that's fine -- I have no problem telling the broker that it will
not actually create new sessions, just with requiring it to put bits on the
wire that OASIS says to not do.

> 
>    If the Broker accepts the connection, it MUST store the token until
>    the end of the connection.  On Client or Broker disconnection, the
>    Client is expected to transport a token again on the next connection
>    attempt.
> 
> This seems to deviate somewhat from the framework, that expects the RS
> to be prepared to store at least one token for future use, and
> recommends storing one token per PoP key.
> [CS: OK I will need to update the draft if I cannot have a deviation.
> Then,I  need to think about how to implement it - I assume PoP will be done
> again
> if the client connects without a token, but RS believes there is a token
> associated with it?]

It may be okay to have a deviation, but I don't want to just "silently"
have a deviation -- it should be noted as such, which indicates that we've
actually thought about it.
(The framework text seems to be "MUST be prepared to store at least one
access token", not "MUST store at least one access token"...)

> 
> >                                                              The Broker
> >    SHOULD also use a cache time out to introspect tokens regularly.
> >
> > We will surely be asked to provide guidance on what timescale
> > "regularly" indicates, if we do not proactively provide some guidance.
> >
> > [CS: I would expect that is based on the dynamicity of the application and
> risk associated, but I was considering
> ranges like every 12 hours; every 24 hours]
> 
>  If the Will Flag is set, then the Broker MUST check that the token
> >    allows the publication of the Will message (i.e. the Will Topic
> >    filter is in the scope array).
> >
> > We might want to say a little more about when this check happens.  My
> > intuition is that it occurs during the CONNECT processing where the
> > actual Will message is provided, and that the connection would be
> > rejected if the Will message is unauthorized.  But this section is
> > titled "Authorizing PUBLISH and SUBSCRIBE Messages", so one might be
> > forgiven for assuming that CONNECT is out of scope...
> >
> 
> [CS: I assumed the check will happen when the Will message needs to be
> published (information about the Will topic is in the CONNECT).
> And the Broker will refuse to publish if it is not covered in the token.
> This can be changed to checking in CONNECT but then, we add "Will message
> not authorised" as a reason to refuse Connection with the rationale that
> even if it is not an actual publication, it may result in publishing a
> message (the will) in future.
> (I've written more on this in "Will do" section below, because it came up
> in multiple places, and I did not want to repeat the same discussion)]

(Definitely don't repeat the same discussion in the same email!)

I think my assumption was that the client sets a Will message and assumes
that it will always go out if the client goes away uncleanly, functioning
as a sort of "dead-man's switch".  If the client disconnects and the broker
prepares to send the Will message only to discover that it's unauthorized,
there's no way to indicate the error to the client, and so the client's
assumption that the message will go out is broken.  Maybe I'm wrong about
what Will messages are used for, though, and this is not actually a problem
in practice.  However, if there is a need to provide some "guarantee of
future delivery" for the Will message, we need to check authorization while
the client is still around, and at CONNECT time seems to be the natural (or
even only?) option for when to do that.  If we do move the checking to
CONNECT, I think we would also want to mention that "Will message not
authorised" can happen at the periodic re-authorisation checks that we
already talk about.

> 
> > Section 4
> >
> >    Authentication Data.  The Broker accepts reauthentication requests if
> >    the Client has already submitted a token (may be expired) and
> >    validated via the challenge-response PoP.  Otherwise, the Broker MUST
> >    deny the request.  If the reauthentication fails, the Broker MUST
> >    send a DISCONNECT with the reason code "0x87 (Not Authorized)".
> >
> > Is this correct?  It seems to say that if the initial CONNECT used the
> > TLS exporter for PoP, then it's forbidden to use the challenge-response
> > method for PoP and thus impossible to reauthenticate on that connection.
> > I don't understand why such a limitation would be needed or useful.
> 
> [CS: Yes, at the time, in the workgroup meetings, I believe we agreed with
> authentication and re-authentication to use the same methods.
> I cannot think of why now. It should be OK to resubmit a token without a
> PoP MAC, and trigger challenge-response. Will fix.
> ]

(just noting that this is the comment I had referred to above as being on
basically the same topic)

> Section 6.2
> >
> >    o  RS-Client PUBLISH authorization failure: When RS is forwarding
> >       PUBLISH messages to the subscribed Clients, it may discover that
> >       some of the subscribers are no more authorized due to expired
> >       tokens.  These token expirations SHOULD lead to disconnecting the
> >       Client rather than silently dropping messages.
> >
> > (I'm not actually sure how much the MQTT spec says about this type of
> > scenario, and thus whether the "SHOULD" is the right term to use.)
> >
> 
> [CS: MQTT v3.1 would not consider the clients losing authentication in the
> middle of a session. I am not sure we can find guidance there on this.]

It makes sense that we won't get much guidance, given that v3.1 was
basically assuming password auth, which is "one and done" for the whole
connection.  I should have been more clear, though -- I think this is a
candidate for "MUST lead to disconnecting the client rather than silently
dropping messages", and I wanted to know if you had a reason to make it
optional.

> Section 10.1
> 
> > The normative use of AIF means that we'll have to wait for AIF to catch
> > up to us at some point, whether at the RFC Editor or sooner.
> >
> 
> [CS: Advice is not to make it normative? There was a strong sentiment in
> the workgroup that we should standardise the token scope]

No, having it normative is fine (good, actually).  I'm just pointing out
that we won't get an RFC number until AIF does, but the datatracker doesn't
even know that AIF had a WGLC yet (though
https://mailarchive.ietf.org/arch/msg/ace/WJ_GjkSgsuVKspK5QDlf4U-VcxI/
thinks otherwise).

> 
> 
> Will Do:
> -----------
> 
> 
> >
> > If we're using TLS Exporters and allow TLS-not-1.3, we need to make some
> > additional requirements on TLS usage in order for the exporter values to
> > be safe.  Typically this takes the form of requiring the extended master
> > secret extension along with guidance on what cipher suites to use; I
> > guess RFC 7925 (rather than 7525) would be the default reference for
> > other TLS usage.
> >
> [CS: OK ]
> 
> 
> > This document seems to mostly use British English.  AFAIR, that's okay,
> > but if it's inconsistent the RFC Editor will prefer American English.  I
> > didn't attempt to check for this (though there are tools like
> > https://github.com/larseggert/ietf-reviewtool that will do so).
> >
> 
> [CS: Will check and Americanize. :) ]

I *think* you don't have to Americanize :)
It's just that if you have a mix, the RFC Editor will pick American every
time.  If it's consistently British they will leave it alone, is my
understanding.

> 
> >
> >    Clients use MQTT PUBLISH message to publish to a topic.  This
> >    document does not protect the payload of the PUBLISH message from the
> >    Broker.  Hence, the payload is not signed or encrypted specifically
> >    for the subscribers.  This functionality MAY be implemented using the
> >    proposal outlined in the ACE Pub-Sub Profile
> >    [I-D.ietf-ace-pubsub-profile].
> >
> > I suggest s/MAY/may/, which would avoid any need to make
> > ace-pubsub-profile a normative reference.
> >
> 
> [CS: OK.]
> 
> 
> >
> >    reference or JSON Web Token (JWT) [RFC7519].  For JWTs, this document
> >    follows [RFC7800] for PoP semantics for JWTs.  The Client-AS and RS-
> >    AS MAY also use protocols other than HTTP, e.g.  Constrained
> >    Application Protocol (CoAP) [RFC7252] or MQTT; it is recommended that
> >    TLS is used to secure these communication channels between Client-AS
> >    and RS-AS.  Implementations MAY also use "application/ace+cbor"
> >    content type, and CBOR encoding [RFC8949], and CBOR Web Token (CWT)
> >    [RFC8392] and associated PoP semantics to reduce the protocol memory
> >    and bandwidth requirements.  For more information, see Proof-of-
> >    Possession Key Semantics for CBOR Web Tokens (CWTs) [RFC8747].
> >
> > One thing that can be surprising to readers not versed in the ecosystem
> > is that RFCs 7800 and 8747 only talk about the token claims that are
> > used to build the PoP system, and don't actually define mechanisms for
> > providing the proof of possession.  We might want a forward-reference to
> > § 2 where we do actually specify mechansisms to prove possession of the
> > indicated key.
> >
> 
> [CS: OK.]
> 
>    o  "TLS:Anon-MQTT:ace": The token is transported inside the CONNECT
> >       message, and MUST be validated using one of the methods described
> >       in Section 2.2.2.  This option also supports a tokenless
> >       connection request for AS discovery.
> >
> > We should probably look carefully at the "for AS discovery" phrasing, in
> > light of the late changes in how the framework talks about the AS
> > Request Creation Hints.
> >
> 
> [CS: OK, I will double-check, but I believe I have included this as an
> option only following the framework.]
> 
> 
> >
> >    o  "TLS:Known(RPK/PSK)-MQTT:none": For the RPK, the token MUST have
> >       been published to the "authz-info" topic.  For the PSK, the token
> >       MAY be, alternatively, provided as an "identity" in the
> >       "identities" field in the client's "pre_shared_key" extension in
> >       TLS 1.3.  The TLS session set-up is as described in DTLS profile
> >       for ACE [I-D.ietf-ace-dtls-authorize].
> >
> > A couple notes here:  First, the DTLS profile primarily uses (D)TLS 1.2
> > terminology, with the DTLS 1.3 flow as an addendum.  I'm actually happy
> > for us to only or primarily talk about the TLS 1.3 idiom here in this
> > document, but we may want to think about what phrasing we use for the
> > relationship between our usage and the DTLS profile.  Second, the DTLS
> > profile is for, well, DTLS, not TLS.  We should acknowledge that and
> > state the (lack of) effect on the procedures to follow.
> >
> 
> [CS: Agreed. I will look into phrasing that.]
> 
> 
> >
> >    The Broker MUST be authenticated during the TLS handshake.  If the
> >    Client authentication uses TLS:Known(RPK/PSK), then the Broker is
> >    authenticated using the respective method.  Otherwise, to
> >    authenticate the Broker, the client MUST validate a public key from a
> >    X.509 certificate or an RPK from the Broker against the 'rs_cnf'
> >    parameter in the token response.  The AS MAY include the thumbprint
> >    of the RS's X.509 certificate in the 'rs_cnf' (thumbprint as defined
> >    in [I-D.ietf-cose-x509]).  In this case, the client MUST validate the
> >    RS certificate against this thumbprint.
> >
> > Just to confirm: we consciously chose to not reference RFC 6125 for
> > "normal" X.509 server certificate validation procedures, in favor of the
> > "constrained environment" procedures we describe here?
> >
> 
> [CS: Yes.]
> 
> 
> >
> > Section 2.2.2
> >
> >    The Broker MUST verify the validity of the token (i.e. through local
> >    validation or introspection, if the token is a reference) as
> >    described in Section 2.2.5.  If the token is not valid, the Broker
> >    MUST discard the token.  Depending on the QoS level of the PUBLISH
> >
> > I see that this is covered in the framework (and we reference the
> > appropriate section already), but I'd consider reiterating that "not
> > valid" includes "the Broker is not an intended audience of the token".
> >
> 
> [CS: OK. Will add that to 2.2.5]
> 
> >
> >    It must be noted that when the RS sends the 'Not authorized'
> >    response, this corresponds to the token being invalid, and not that
> >    the actual PUBLISH message was not authorized.  Given that the
> >    "authz-info" is a public topic, this response is not expected to
> >    cause confusion.
> >
> > Thanks for including this note.  I assume that it would be challenging
> > to get OASIS to allocate a new reason code for us to use, and we didn't
> > attempt to pursue that path.
> >
> 
> [CS: Yes]
> 
> 
> >
> > Section 2.2.3
> >
> >    Similarly, the Broker MUST NOT process any packets before it has sent
> >    a CONNACK.  The only exceptions are DISCONNECT or an AUTH response
> >    from the Client.
> >
> > nit: in some pedantic sense, these two sentences are in conflict, since
> > the latter violates the "MUST NOT".  Who cares and how much has varied
> > over time, especially on the IESG, so it's not clear that we actually
> > need to change anything right now.
> >
> 
> [CS: I see - Would rewording like "Except a DISCONNECT and AUTH response,
> the broker MUST NOT process any other
> packets before it has sent a CONNACK" work?

Yes, that's the typical sort of phrasing we end up with in the cases where
someone decides to make a stink about it.

> 
> 
> >
> >           +------------------------------------------------------+
> >           |CPT=1 | Rsvd.|Remaining len.| Protocol name len. = 4  |
> >           +------------------------------------------------------+
> >
> > Figure 2 appears to show that the Remaining Length field of the fixed
> > header occupies a single octet, but IIUC it's encoded as a variable byte
> > integer.  Fixing that would also let us put the separator that appears
> > after it on a proper byte boundary.
> >
> 
> [CS: True. Will fix - it should have been clarified that this was an
> example and that the actual
> field could be of variable length, using a continuation algorithm for
> larger values.]
> 
> 
> 
> 
> >
> >           |                      'M' 'Q' 'T' 'T'                 |
> >           +------------------------------------------------------+
> >
> > This figure does not show the two-byte length prefix for the string.
> >
> 
> [CS: OK, will fix the example (indeed it is not precise). ]
> 
> 
> >
> >    The Will Flag indicates that a Will message needs to be sent if the
> >    [...]
> >    Interval in the Will Properties.  Section 5 explains how the Broker
> >    deals with the retained messages in further detail.
> >
> > We might be able to get away with leaving the description of Will
> > operation to the MQTT spec, and not have to say so much about it here.
> >
> 
> [CS: This part was extended because I've got a number of clarification
> requests for Will messages in MQTT.
> So, I will keep it if it is not an issue.]

Not an issue.
It's just always easier to add text than remove it, so I try to keep an eye
out for potential opportunities :)

> >
> >
> 
> > Section 2.2.4
> >
> >    To use AUTH, the Client MUST set the Authentication Method as a
> >    property of a CONNECT packet by using the property identifier 21
> >    (0x15).  This is followed by a UTF-8 Encoded String containing the
> >    name of the Authentication Method, which MUST be set to 'ace'.  [...]
> >
> > (I assume there's not an MQTT registry that we can register "ace" in as
> > an Authentication Method.)
> >
> 
> [CS: That's what I understand as well from prev. communication]
> 
> 
> >
> >
> > Section 2.2.5
> >
> >    To authenticate the Client, the RS validates the signature or the
> >    MAC, depending on how the PoP protocol is implemented.  HS256 (HMAC-
> >    SHA-256) [RFC6234] and Ed25519 [RFC8032] are mandatory to implement
> >    depending on the choice of symmetric or asymmetric validation.
> >
> > I think there is a decent argument (and that it's likely some other AD
> > will make it) that we need to make both HS256 and Ed25519 mandatory to
> > implement for the Broker, leaving only clients with the choice.
> > Otherwise we can get into scenarios where interop is impossible.
> >
> 
> [CS: Agreed.]
> 
> 
> >
> >
> > Section 2.2.6.2
> >
> >    On success, the reason code of the CONNACK is "0x00 (Success)".  The
> >    AS informs the client that selected profile is "mqtt_tls" using the
> >    "ace_profile" parameter in the token response.  If the Broker starts
> >
> > The line about the AS returning "mqtt_tls" as the selected profile feels
> > out of place here, where we're discussing successful MQTT
> > authorization.
> >
> 
> [CS: That's definitely misplaced and should be removed]
> 
> 
> 
> > Section 3
> >
> >    The scope field contains the publish and subscribe permissions for
> >    the Client.  The scope is a JSON array, each item following the
> >    Authorization Information Format (AIF) for ACE [I-D.ietf-ace-aif].
> >    Using the Concise Data Definition Language (CDDL) [RFC8610], the
> >    specific data model for MQTT is:
> >
> > This seems a little dicey, since we claim to allow JWT tokens as well as
> > CWT.  JWT "scope" is pretty tightly nailed down to be a space-separated
> > list (though CWT gives much greater freedom).  We probably need to have
> > some text about this situation, with a phrase about how "in order to be
> > compatible with the JWT scope format, we use a single scope value with
> > internal structure", that this structure is also compatible with the CWT
> > rules, and noting that our AIF usage prevents any internal spaces, so
> > the interpretation of the scope value is unambiguous even when
> > unmodified JWT libraries are used.
> >
> 
> [CS: OK will do]
> 
> 
> 
> 
> > Section 3.2
> >
> >    subscription to the particular topic).  The Broker sends a PUBLISH
> >    message with the Topic name to all the valid subscribers.
> >
> > (nit) It seems a little strange to mention specifically the Topic name
> > but say nothing about there being a payload along with it.
> >
> 
> [CS: I assumed Publish "message" captures the payload - what I am trying to
> say is it is the message corresponding to that topic.]
> 
> 
> >
> > Section 3.3
> >
> >    On receiving the SUBSCRIBE message, the Broker MUST use the type of
> >    message (i.e.  SUBSCRIBE) and the Topic Filter in the message header
> >    to match against the scope field of the stored token or introspection
> >    result.  The Topic Filters MUST be equal or a subset of at least one
> >    of the 'topic_filter' fields in the scope array found in the Client's
> >    token.
> >
> > I suggest being very explicit about whether the wildcards in the token
> > scope are expanded as part of matching the topic filter in the request,
> > or if the SUBSCRIBE message must use topic filters that match
> > byte-for-byte the permissions granted by the token.
> >
> 
> [CS: OK. It is the former. So subscribe has "a/b/*", token permits "a/*" -
> this is a valid subscription request, as "a/b/* a subset of "a/*"]

Sounds good, and thanks for making the update.  This would be a very
high-impact place to have implementation differences and failure to
interoperate, so putting in extra text seems merited.

> 
> >
> > Section 5
> >
> >    In the case of a Client DISCONNECT, the Broker deletes all the
> >    session state but MUST keep the retained messages.  By setting a
> >
> > As written, this seems to imply that all client DISCONNECT messages
> > result in the loss of session state.  I didn't (quickly) find a clear
> > statement one way or the other in the MQTT spec, but it does seem that
> > it's allowed to send a nonzero session expiry interval in a DISCONNECT,
> > which seems to imply that such DISCONNECT messages do not cause all
> > session state to be discarded.
> >
> 
> [CS: Will clarify the Session Expiry Interval, which may lead to keeping
> state.]
> 
> >
> >    Hence, the new subscribers can receive the last sent message from the
> >    publisher for that particular topic without waiting for the next
> >    PUBLISH message.  The Broker MUST continue publishing the retained
> >    messages as long as the associated tokens are valid.
> >
> > This MUST seems to be repeating a requirement from the MQTT spec, which
> > may not merit normative language from us.
> >
> 
> [CS: I did a MUST because it puts a condition on tokens being valid.]

Ok.

> 
> >
> >    In case of disconnections due to network errors or server
> >    disconnection due to a protocol error (which includes authorization
> >    errors), the Will message is sent if the Client supplied a Will in
> >    the CONNECT message.  The Client's token scope array MUST include the
> >
> > This "if the Client supplied a Will in the CONNECT message" implies that
> > authorization checks are performed at time of CONNECT...
> >
> 
> [CS: I've put a note on this in discussion. The client does supply the will
> in the message, but it's for a future publication;
> it may never be published. We can choose to reject that in CONNECT, or when
> the time comes.I  am fine either way to add a CONNECT failure
> due to Will being out of scope.]

Sorry to split the discussion between locations in the review/email.
I think the important question here is what the client expects to get from
the Will message, e.g., if it needs to be a sort of "dead-man's switch"
(not sure if there's a better expression than that idiom).  I have no
intersection with the MQTT ecosystem to know the answer myself.  I could
perhaps ask some people internally, though, if that would help.

> 
> >
> >    Will Topic.  The Will message MUST be published to the Will Topic
> >
> > ... but "scope array MUST include the Will Topic" suggests an
> > authorization check when the Will message is actually sent.  Is it one,
> > the other, or both checks that must pass?
> >
> 
> [CS: The token scope needs to include the Will Topic. In the draft, the
> broker checks if it can publish a message, just before a publish.
> This applies to Will as well. Can be changed as stated above.]
> 
> 
> 
> >
> > Section 6.1
> >
> > [My earlier comments about the MQTT header layout apply to Figure 11 as
> > well.]
> >
> 
> [CS: Noted. Will fix.]
> 
> >
> >    The Broker SHOULD NOT accept session continuation.  To this end, the
> >    Broker ignores how the Clean Session Flag is set, and on connection
> >    success, the Broker MUST set the Session Present flag to 0 in the
> >    CONNACK packet to indicate a clean session to the Client.  [...]
> >
> > As above, this seems to violate the MQTT normative requirements (but I
> > mostly only read about MQTT 5, not 3.1.1).
> >
> 
> [CS: Noted. Will fix based on agreement]
> 
> >
> >    The CONNECT in MQTT v3.1.1 does not have a field to indicate the
> >    authentication method.  To signal that the Username field contains an
> >    ACE token, this field MUST be prefixed with 'ace' keyword, which is
> >    followed by the access token.  [...]
> >
> > An example of what this looks like would be helpful.  It sounds like we
> > just take the first three bytes for the sentinel and then go directly to
> > the access token, vs having some kind of "separator" as part of the
> > sentinel value.
> >
> 
> [CS: Yes, will give an example.]
> 
> 
> >
> >    In MQTT v3.1.1, the MQTT Username is a UTF-8 encoded string (i.e.  is
> >    prefixed by a 2-byte length field followed by UTF-8 encoded character
> >    data) and may be up to 65535 bytes.  Therefore, an access token that
> >    is not a valid UTF-8 MUST be Base64 [RFC4648] encoded.  (The MQTT
> >    Password allows binary data up to 65535 bytes.)
> >
> > Data-dependent encoding transformation without explicit signaling is a
> > really bad idea.  I think we need to always base64-encode the token.
> > We should also specify a section reference to RFC 4648 (for plain base64
> > vs base64url) and probably make a statement about whether padding
> > characters are retained or omitted.
> >
> 
> [OK. Will do that]
> 
> >
> >
> >
> > Section 7.1
> >
> >    This document registers 'EXPORTER-ACE-MQTT-Sign-Challenge'
> >    (introduced in Section 2.2.4.1 in this document) in the TLS Exporter
> >    Label Registry [RFC8447].
> >
> > We need to specify the other columns in the registry.
> > I think we can have:
> > DTLS-OK: Y
> > Recommended: Y
> > Reference: [this document]
> >
> 
> [CS: Thank you, will add.]
> 
> 
> >
> > Section 7.2
> >
> >    This document registers the 'application/ace+json' media type for
> >    messages of the protocols defined in this document carrying
> >    parameters encoded in JSON.
> >
> > Thanks for sending this to the media-types list for review
> > (
> > https://mailarchive.ietf.org/arch/msg/media-types/85kGXBBKaWqIoCSU5k7GrE5FRWw/
> > ).
> > It's unfortunate that nobody replied to that thread, but I don't know
> > that there's more that we can do.
> >
> 
> [CS: Do I need to send follow-up e-mails?]

As far as I know, you don't need to do anything else.


> >
> > Section 7.3
> >
> >    The following registrations are done for the ACE OAuth Profile
> >    Registry following the procedure specified in
> >    [I-D.ietf-ace-oauth-authz].
> >    [...]
> >    o  CBOR Value:
> >
> > I think it's clearer for reviewers if we put "TBA" or "to be assigned by
> > IANA" here.
> >
> 
> [CS: OK]
> 
> >
> >    o  Description: Profile for delegating Client authentication and
> >       authorization using MQTT as the application protocol and TLS For
> >       transport layer security.
> >
> > It seems like it might be preferred to talk about using MQTT for the
> > C/RS interactions and HTTP for the interactions with the AS.
> > Separately, mention that TLS is used for confidentiality/integrity
> > protection and server authentication; also, client authentication can be
> > provided either via TLS or using in-band proof of possession at the MQTT
> > application layer.
> >
> 
> [CS: OK. Will revise]
> 
> 
> >
> > Section 8
> >
> >    revoked topics.  If the RS caches the token introspection responses,
> >    then the RS SHOULD use a reasonable cache timeout to introspect
> >
> > ("reasonable cache timeout" again)
> >
> [CS: Will fix it with the same guidance, once agreed.]
> 
> 
> 
> >
> >                                       If the RS supports the public
> >    "authz-info" topic, described in Section 2.2.2, then this may be
> >    vulnerable to a DDoS attack, where many Clients use the "authz-info"
> >    public topic to transport fictitious tokens, which RS may need to
> >    store indefinitely.
> >
> > We do say that the RS only stores "valid" tokens, which includes being
> > generated by a trusted AS and having RS as the audience.  So it's not
> > clear that this statement is accurate if the attack is to involve
> > "fictitious" tokens.  Similar attacks are possible, though.
> >
> 
> [CS: OK,  We accept it can still be DOS'ed? fictitious doesn't sound right.
> my intention was to say tokens not meant to be used.]

Yes, this is still vulnerable to DDoS, but the pool of potential attackers
is somewhat restricted.  In particular, if the AS only issues a small
number of tokens with the RS as the audience, that bounds the amount of
state that the RS has to maintain (but it could still be subject to
resource exhaustion of resources like CPU when processing a bunch of
invalid tokens).  So "may need to store indefinitely" might be the main
thing I was commenting about here.

Thanks for all the replies and updates!

-Ben

> >
> > Section 10.1
> >
> >
> > RFC 8447 probably does not need to be normative; it is just mentioned as
> > the thing that is the reference for the IANA registry of TLS exporter
> > values.
> >
> [CS: OK]
> 
> 
> >
> > Section 10.2
> >
> > I think the DTLS profile needs to be a normative reference, since we
> > defer to it for TLS session set-up.
> >
> 
> [CS: OK]
> 
> >
> > Likewise, RFC 6234 and RFC 8032 specify MTI algorithms for
> > authentication, which would make them normative.
> >
> [CS: OK]
> 
> >
> > Appendix A
> >
> > I think we need to update the checklist to match the current template
> > from
> >
> > https://datatracker.ietf.org/doc/html/draft-ietf-ace-oauth-authz-43#appendix-C
> 
> 
> [CS: OK]
> 
> >
> >
> > -Ben
> >


From nobody Sat Aug 14 04:37:20 2021
Return-Path: <garciadan@uniovi.es>
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 100E43A07FB; Sat, 14 Aug 2021 04:37:18 -0700 (PDT)
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, HTML_FONT_FACE_BAD=0.001, HTML_MESSAGE=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_MSPIKE_H2=-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=unioviedo.onmicrosoft.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 NstedCBkrLvZ; Sat, 14 Aug 2021 04:37:13 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2040.outbound.protection.outlook.com [40.107.22.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C0C933A07F8; Sat, 14 Aug 2021 04:37:11 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A8On9/D+mKfi0Q/SF+VHDxdtyeBcuMsWoYUGXSUh5UPpcpw8BL0PktcuRb/sW7ZfELrShwPUUTQA3myxLQBzX87IgEKc2GX5VGXTAYlVS814PTzcaG3+ZpQrKu7l9ZeKmEXjfYwMB/zNCoHIwbVomTzMoRsIJFOcJhDWUavwIm0eqq5VyafL+DVbe4UDLzl4jc1Bd7QSokCO9hmt2aWEaI6wZG6U8lczXi/dRy8d7XLinPPzcr3g9CH3jma/haV8RscyllR/0WntRgxt1mHCyTce6NuXYgNURl6M3o4xZshehp1Sw4Ruzk6KKPiWTOYzYmYjdOoYoyzs9olABkru9g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qYrbGYo6oloF4rKGG0mLYkdI/cjcy0M3Coa0cs+6lmU=; b=K0z4WTBOitER373tvIbmDRvrIA9Z3F1pjCo6Gy/c4n5avx1XjlL+RJYMlc7BZpdwYVVEqc1OIH79tfPOwP/7XMfMLPTJ1mwnEhrlZdoqMrgQcxtngCXWNWz1b8+PvsTds/QPwcdolhQ+XxmA0IvqRLq3KHVuKqTojEzDNa8+XTHRaTCGAKeTxe926yVPOX9QXBFJRrGX0Df0CKkHqPRuFQG71Bp8xxf3kkRcA6jk0qF5P+M9+mmzlW2bDSgkf0a6abG1qeS4OE9YbgL2UVJMe3MpET5IoU5PnosA4864lX2GDAjJQKBxngRexUr+hIYoQqCPDc4l12pdQMskr3y66Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uniovi.es; dmarc=pass action=none header.from=uniovi.es; dkim=pass header.d=uniovi.es; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unioviedo.onmicrosoft.com; s=selector2-unioviedo-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qYrbGYo6oloF4rKGG0mLYkdI/cjcy0M3Coa0cs+6lmU=; b=OGuA+6RzRXSZeh46G97SBaYLKihRXq9Fq/qqMjn9ocjuvA4SgNW8kbD2P43hS6VKFgj4coKYZ2dd8eYlpACmcPBjyEWt27TOM1PgWSTMXKkVwDYZngLnZJM3c5hPFoKSeLmIvnydKWvypd2JSW1mvDKC895zpKq1HhHGQOqd/r8=
Authentication-Results: uniovi.es; dkim=none (message not signed) header.d=none;uniovi.es; dmarc=none action=none header.from=uniovi.es;
Received: from DBBPR08MB6202.eurprd08.prod.outlook.com (2603:10a6:10:209::9) by DB6PR0802MB2549.eurprd08.prod.outlook.com (2603:10a6:4:a0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.15; Sat, 14 Aug 2021 11:37:08 +0000
Received: from DBBPR08MB6202.eurprd08.prod.outlook.com ([fe80::983d:2684:af23:a4c3]) by DBBPR08MB6202.eurprd08.prod.outlook.com ([fe80::983d:2684:af23:a4c3%8]) with mapi id 15.20.4415.021; Sat, 14 Aug 2021 11:37:08 +0000
Cc: garciadan@uniovi.es
From: Dan Garcia Carrillo <garciadan@uniovi.es>
To: EMU WG <emu@ietf.org>, "ace@ietf.org" <ace@ietf.org>
Message-ID: <07cd0942-9ee0-b124-b3a7-649f262d7c9e@uniovi.es>
Date: Sat, 14 Aug 2021 13:37:06 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
Content-Type: multipart/alternative; boundary="------------D3A76AE98E3FECF677309874"
Content-Language: en-GB
X-ClientProxiedBy: MR1P264CA0051.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:3e::26) To DBBPR08MB6202.eurprd08.prod.outlook.com (2603:10a6:10:209::9)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from DansMacBookPro.local (188.26.210.117) by MR1P264CA0051.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:3e::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.17 via Frontend Transport; Sat, 14 Aug 2021 11:37:07 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: b943b4ca-3efc-48fc-6a00-08d95f17d935
X-MS-TrafficTypeDiagnostic: DB6PR0802MB2549:
X-MS-Exchange-Transport-Forked: True
X-Microsoft-Antispam-PRVS: <DB6PR0802MB2549AF39FA7F2984E8B490A3B4FB9@DB6PR0802MB2549.eurprd08.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: 7iEJ57R7PiNp6Wz+nD9Nq0U4UOGW3R+KsdRs8VMaxJ+fhU50WkXZ6vz5+du0Bvhy6F2vciFFOhOymp9kmYvNeTocQOHGa2lD2B7el079wZ86yxI7ZSyxewWccTB/xuxb7g4GIMaMCrt86sZj2+4txKYOd/V8WZnL+4ExE73muox+3NC60Idqxt4CRyJExLNiTHoe+FZG3t6iEv29/vTO4nQ9GB5oUutHQxUVaK/NlgutPY9OVoolUqi7J86VbEAkNI/HQ0Hdyqn905xb1GXQmSvonyCE1TvqvQasSm7VP/4LI9cWVLOYTyJHb+N8BLs4Rn/EDq+tOSrK17wX6uG9WR1yhJubiAA9324NWO4/IXcgg/idaS07gHWii9sazZ8Ghoc7XSmTD2Y6vn7ojSYn6LtiTcN2do2rDIs7F36O47ykTcDZVw8zlf7hDq6NxfApBg5aRiL7aH1S2lK3T6ruq2zJUmGnhgSKz4vo2zttUzOLj9h3nceRuE08xGIsWt8pKqzXDFy10LPuTFjn5RTHY8wCjrwdVaRUigLjii7Cw77bcDMk0uabMdJJxoMcMy0GQsyKoBnWiSELzCXmk1DbqxtepLhG5pWi7GwPmrf3tGE3zSFr8lE0gHi97f0fJGudyGqegxa2kOhDg1NUhq/54HBN599WW3bCMvYkIl4Z2rZNqqb3CSaatSg5KsgedCHA/eFbVidSG2ZA9KDYCHq6bjGJue4BFFJmmamF+l+Ym/wWo8kMGaNd4RuLvCt6TQkm5lyOQ5YHGXPOjBJ+WDjktQ==
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:DBBPR08MB6202.eurprd08.prod.outlook.com; PTR:; CAT:NONE;  SFS:(39840400004)(136003)(346002)(376002)(396003)(366004)(786003)(52116002)(450100002)(26005)(478600001)(33964004)(186003)(31696002)(316002)(110136005)(4326008)(36756003)(6506007)(31686004)(6512007)(107886003)(2906002)(2616005)(66556008)(83380400001)(86362001)(8936002)(5660300002)(6486002)(66476007)(38100700002)(38350700002)(956004)(66946007)(8676002)(45980500001)(43740500002); DIR:OUT; SFP:1101; 
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cEFyMFJaa0ZwSm1oNURjMFQ5YXdYS1ZpMmF4V01NSjRDYVo0Tlllb0piZHVl?= =?utf-8?B?dUdMV0c3Q0ZsRWlQNTZuY0E0OU1oSm5lbmZjUXFiZVozcXdvNHM3aTJzTFlH?= =?utf-8?B?c0pZWXZvR3VHSlhibVdLMFRrTm91YmN5QWEwUFQzTmptdU9CUjRNZldRU2dV?= =?utf-8?B?U0cwaGUxNWtycEFzak92eHpqMW1KT2tuQXN0WXhaTXo4R1pOQlNYK1dpQ2pB?= =?utf-8?B?dlVwdllEc0MrVE9DZTFzMm1aWjAra1RudVZBRkIwWjk2T1NkbndvMC9NRmt1?= =?utf-8?B?TkorM0hSMXpmQjd3aWZSbitqZkRodmFYTGltb1IrZ0NwR1UvVmgwTnV4UFBB?= =?utf-8?B?TTg2R1ROR3FiTHIvcmRQWENrZExsWHZaVXA4T0NodW45VitDeHRwWFUvRWJR?= =?utf-8?B?M3cvYUFoTDQ5RHJRV2J6aUFrN0xpR1dJWTVNRmRRTmsrZ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Gl3ZnBESUhUVmdMWmR1c1pUNG1leEZBL2tvbGl3OWZj?= =?utf-8?B?andEd0hKQ1orS25lL3pnY2todzZwRGJwVXlDSkFZcjhBWnRZY04wdXk3bHhj?= =?utf-8?B?N3dmaWs1QVd0RXJqSmtDMWlLUXlVV2pFS2dJWUh1L1VXcGZUM1Z2cEZqNFlO?= =?utf-8?B?V08yUmFLVmpzeXVoRnEvQTF2K1FsTnc5RHNMaHBZYzNhOVJUSW5sQjF5cnRx?= =?utf-8?B?V0tuQjcwVWxpN0hUcWRLVU9HbmZmbFJ2bFZtWXYxRGQxb0hETEtSdUlqaTVn?= =?utf-8?B?UW5UVkxReUptK1BXSE5VMzAvSzVveHFrS3R0VkNFYVpGd3l3bVE4QUZEOGUy?= =?utf-8?B?ejZPUWtleTk2YnU1OFFYRElmdUE1dXBxeDhMcTIxSzd0Z1B1dS9Ld3pOajFy?= =?utf-8?Q?LVBxx6iWMw7uDrIBzDpjmZ1Y5QcB93Ihp0lsc2W?=
X-OriginatorOrg: uniovi.es
X-MS-Exchange-CrossTenant-Network-Message-Id: b943b4ca-3efc-48fc-6a00-08d95f17d935
X-MS-Exchange-CrossTenant-AuthSource: DBBPR08MB6202.eurprd08.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2021 11:37:08.4331 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 05ea74a3-92c5-4c31-978a-925c3c799cd0
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: 7jtEOSEpz3489uX7GvCdSf/rIuMNvPSHmY4d+/BAU1DS0woQjlbNvIffl/A81aWp2R9h+65uhjBJ3aDCIhltiA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2549
X-MS-Exchange-CrossPremises-AuthSource: DBBPR08MB6202.eurprd08.prod.outlook.com
X-MS-Exchange-CrossPremises-AuthAs: Internal
X-MS-Exchange-CrossPremises-AuthMechanism: 06
X-MS-Exchange-CrossPremises-Mapi-Admin-Submission: 
X-MS-Exchange-CrossPremises-MessageSource: StoreDriver
X-MS-Exchange-CrossPremises-BCC: 
X-MS-Exchange-CrossPremises-OriginalClientIPAddress: 188.26.210.117
X-MS-Exchange-CrossPremises-TransportTrafficType: Email
X-MS-Exchange-CrossPremises-Antispam-ScanContext: DIR:Originating; SFV:NSPM; SKIP:0; 
X-MS-Exchange-CrossPremises-SCL: 1
X-MS-Exchange-CrossPremises-Processed-By-Journaling: Journal Agent
X-OrganizationHeadersPreserved: DB6PR0802MB2549.eurprd08.prod.outlook.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/f2r-_kVn5FhR8o885t9lpyorWVE>
Subject: [Ace] About securing last exchange CoAP-EAP
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 Aug 2021 11:37:18 -0000

--------------D3A76AE98E3FECF677309874
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit

Dear ACE and EMU WG members,

In the last exchange of CoAP-EAP we intended to run OSCORE to achieve 
key confirmation, a protected EAP success and the establishment of the 
OSCORE security association.Â It was our understanding that only 
integrity protection was possible but it is not the case after 
consulting OSCORE authors. More specifically, the payload and URI-Path 
with OSCORE are class E they are ciphered (and integrity protected) and, 
as far as we understand, there is no option, currently, of using a NULL 
encryption suite to achieve only integrity.

 Â  Â  Â  Â  Â  Â Â  CoAP Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â Â Â Â Â Â Â  CoAP
SeverÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Client
 Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â ...
 Â Â Â Â Â Â Â Â Â Â  5) |<----------------------------------------|
 Â Â Â Â Â Â Â Â Â Â Â Â Â  | ACK [0x9869]Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  |
 Â Â Â Â Â Â Â Â Â Â Â Â Â  | Token (0xac)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  |
 Â Â Â Â Â Â Â Â Â Â Â Â Â  | 2.01 Created Location-Path [/a/z]Â Â Â Â Â Â  | MSK
 Â Â Â Â Â Â Â Â Â Â Â Â Â  | Payload EAP-X-Resp (n)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  |Â  |
 Â Â Â Â Â Â Â Â Â Â  6) |---------------------------------------->|Â  v
 Â Â Â Â Â Â Â Â Â Â Â Â Â  |Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  CON [0x7811] POST /a/zÂ Â  |OSCORE
 Â Â Â Â Â Â Â Â Â Â Â Â Â  |Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Token (0xac), OSCOREÂ Â  |CONTEXT
 Â Â Â  MSKÂ Â Â Â Â Â  | Payload (EAP success||Session-Lifetime) |(*)
 Â Â Â Â  |Â Â Â Â  7) |<----------------------------------------|
 Â Â Â Â  vÂ Â Â Â Â Â Â  | ACK [0x7811]Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  |
 Â Â  OSCOREÂ  (*)| Token (0xac), OSCOREÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  |
 Â Â  CONTEXT 8) |---------------------------------------->|
 Â Â Â Â Â Â Â Â Â Â Â Â Â  (*) Protected with OSCORE

As such, CoAP server (left side) could not see the content of the CoAP 
message (message 7) without deciphering it. Moreover, as the URI-path is 
also ciphered we cannot point to the right application to process the 
message to achieve an alternate indication of success.However, the MSK 
required to create the OSCORE context, which allows deciphering the 
message, is not available yet (even though eapKeyData variable has 
content). The reason is that, according to EAP state machine (RFC 4137) 
Figure 3, the MSK becomes available (eapKeyAvailable = TRUE) when EAP 
success (rxSuccess or altSuccess from the EAP lower layer) is sent to 
EAP state machine.

rxSuccess &&
 Â Â Â  (reqId == lastId) &&
 Â Â Â  (decision != FAIL)
 Â Â Â Â Â Â Â Â Â Â Â Â  |
 Â Â Â Â Â Â Â Â Â Â Â Â  V
 Â __________________________
|______SUCCESS_____________|
|if (eapKeyData != NONE)Â Â  |
| eapKeyAvailable = TRUE |
|eapSuccess = TRUEÂ Â Â Â Â Â Â Â  |
|__________________________|
 Â Â Â Â Â Â Â Â Â Â Â Â  ^
 Â Â Â Â Â Â Â Â Â Â Â Â  |
(altAccept && decision != FAIL) ||
 Â Â Â  (idleWhile == 0 &&
 Â Â Â Â  decision == UNCOND_SUCC)


Our proposed solution is to generate an authentication tag in the form 
of a COSE object that will be used to integrity-protect the payload of 
message 7 and message 8, allowing the EAP peer to see the EAP success 
and sending it to the EAP state machine so that, after obtaining the 
MSK, verifying the authentication tag in message 7 (key confirmation). 
After message 7 is processed correctly, CoAP server will be able to 
generate the OSCORE security context and after processing message 8 CoAP 
client (right entity in the exchange) will create the OSCORE context. 
 From this point CoAP messages between both entities can be protected 
using OSCORE context.

 Â  Â  Â  Â  Â  Â Â  CoAP Â Â Â Â Â Â Â  CoAP
SeverÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Client
 Â Â Â Â Â Â Â Â Â Â  5) |<----------------------------------------|
 Â Â Â Â Â Â Â Â Â Â Â Â Â  | ACK [0x9869]Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  |
 Â Â Â Â Â Â Â Â Â Â Â Â Â  | Token (0xac)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  |
 Â Â Â Â Â Â Â Â Â Â Â Â Â  | 2.01 Created Location-Path [/a/z]Â Â Â Â Â Â  |
 Â Â Â Â Â Â Â Â Â Â Â Â Â  | Payload EAP-X-Resp (n)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  |
 Â Â Â Â Â Â Â Â Â Â  6) |---------------------------------------->|
 Â Â Â Â Â Â Â Â Â Â Â Â Â  |Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  CON [0x7811] POST /a/zÂ Â  |
 Â Â Â Â Â Â Â Â Â Â Â Â Â  |Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Token (0xac)Â Â  | Â Â Â Â  MSK
 Â Â Â Â Â Â Â Â Â Â Â Â Â  | Payload (EAP success||Session-Lifetime |Â Â Â Â  |Â  |
 Â  MSKÂ Â Â Â Â Â Â Â  |Â Â Â Â Â Â Â Â Â Â  || AuthenticationTag) |Â Â Â Â  vÂ  |
 Â  | |Â Â  Â Â  7) |<----------------------------------------|AUTH_KEY|
| vÂ Â Â  Â  Â Â  | ACK [0x7811]Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  | |
|AUTH_KEYÂ Â  | 2.01 Created Location-Path [/a/z1]Â Â Â Â Â  |Â Â Â Â Â Â Â  |
v Â Â Â Â Â Â Â Â Â  | Token (0xac)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  |Â Â Â Â Â Â Â  |
OSCORE Context| Payload(AuthenticationTag)Â Â Â Â Â Â Â Â Â Â Â Â Â  |Â Â Â Â Â Â Â  V
 Â  Â Â  Â Â Â Â Â  8) |---------------------------------------->| OSCORE
Context




Best Regards.

--------------D3A76AE98E3FECF677309874
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">Dear ACE and EMU WG members,&nbsp;</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">
      <br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">
      <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">In the last exchange of CoAP-EAP we intended to run
        OSCORE to achieve key confirmation, a protected EAP success and
        the establishment of the OSCORE security association.&nbsp;It was our
        understanding that only integrity protection was possible but it
        is not the case after consulting OSCORE authors.&nbsp;</span><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">More
        specifically, the payload and URI-Path with OSCORE are class E
        they are ciphered (and integrity protected) and, as far as we
        understand, there is no option, currently, of using a NULL
        encryption suite to achieve only integrity.&nbsp;</span></p>
    <div class=""><font class="" face="Courier New" color="#000000"><span style="caret-color: rgb(0, 0, 0);" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; CoAP
          &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CoAP <br>
        </span></font></div>
    <div class=""><font class="" face="Courier New" color="#000000"><span style="caret-color: rgb(0, 0, 0);" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
          Sever&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Client<br>
        </span></font></div>
    <font style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="" face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;...<br class="">
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5) |&lt;----------------------------------------|<br class="">
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | ACK [0x9869]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br class="">
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Token (0xac)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br class="">
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 2.01 Created Location-Path [/a/z]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | MSK<br class="">
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Payload EAP-X-Resp (n)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; |<br class="">
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6) |----------------------------------------&gt;|&nbsp; v<br class="">
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CON [0x7811] POST /a/z&nbsp;&nbsp; |OSCORE<br class="">
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Token (0xac), OSCORE&nbsp;&nbsp; |CONTEXT<br class="">
      &nbsp;&nbsp;&nbsp; MSK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Payload (EAP success||Session-Lifetime) |(*)<br class="">
      &nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; 7) |&lt;----------------------------------------|<br class="">
      &nbsp;&nbsp;&nbsp;&nbsp; v&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | ACK [0x7811]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br class="">
      &nbsp;&nbsp; OSCORE&nbsp; (*)| Token (0xac), OSCORE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br class="">
      &nbsp;&nbsp; CONTEXT 8) |----------------------------------------&gt;|<br class="">
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (*) Protected with OSCORE</font><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">
    <div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0,
        0, 0);" class=""><br class="">
      </span></div>
    <div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0,
        0, 0);" class="">As such, CoAP server (left side) could not see
        the content of the CoAP message (message 7) without deciphering
        it. Moreover, a</span><span style="caret-color: rgb(0, 0, 0);
        color: rgb(0, 0, 0);" class="">s the URI-path is also ciphered
        we cannot point to the right application to process the message
        to achieve an alternate indication of success.</span><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">&nbsp;</span><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">However,
        the MSK required to create the OSCORE context, which allows
        deciphering the message, is not available yet (even though&nbsp;</span><font class="" color="#000000"><span style="caret-color: rgb(0, 0,
          0);" class="">eapKeyData variable has content)</span></font><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">.
        The reason is that, according to EAP state machine (RFC 4137)&nbsp;</span><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">Figure
        3, the MSK becomes available (eapKeyAvailable = TRUE) when EAP
        success (rxSuccess or altSuccess from the EAP lower layer) is
        sent to EAP state machine.&nbsp;</span></div>
    <div class=""><br class="">
    </div>
    <div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0,
        0, 0); font-family: &quot;Courier New&quot;;" class="">rxSuccess
        &amp;&amp;</span><span style="caret-color: rgb(0, 0, 0); color:
        rgb(0, 0, 0); font-family: &quot;Courier New&quot;;" class="">&nbsp;</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">
      <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">&nbsp;&nbsp;&nbsp; (reqId ==
        lastId) &amp;&amp;</span><span style="caret-color: rgb(0, 0, 0);
        color: rgb(0, 0, 0); font-family: &quot;Courier New&quot;;" class="">&nbsp;</span><br style="caret-color: rgb(0, 0, 0); color:
        rgb(0, 0, 0); font-family: &quot;Courier New&quot;;" class="">
      <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">&nbsp;&nbsp;&nbsp; (decision !=
        FAIL)&nbsp;&nbsp;&nbsp;</span><span style="caret-color: rgb(0, 0, 0); color:
        rgb(0, 0, 0); font-family: &quot;Courier New&quot;;" class="">&nbsp;</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">
      <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">
      <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; V</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">
      <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">&nbsp;__________________________</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">
      <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">|______SUCCESS_____________|</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">
      <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">|if (eapKeyData
        != NONE)&nbsp;&nbsp; |</span><br style="caret-color: rgb(0, 0, 0); color:
        rgb(0, 0, 0); font-family: &quot;Courier New&quot;;" class="">
      <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">|&nbsp;&nbsp;
        eapKeyAvailable = TRUE |</span><br style="caret-color: rgb(0, 0,
        0); color: rgb(0, 0, 0); font-family: &quot;Courier New&quot;;" class="">
      <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">|eapSuccess =
        TRUE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |</span><br style="caret-color: rgb(0, 0, 0);
        color: rgb(0, 0, 0); font-family: &quot;Courier New&quot;;" class="">
      <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">|__________________________|</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">
      <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">
      <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">
      <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">(altAccept
        &amp;&amp; decision != FAIL) ||</span><span style="caret-color:
        rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: &quot;Courier
        New&quot;;" class="">&nbsp;</span><br style="caret-color: rgb(0, 0,
        0); color: rgb(0, 0, 0); font-family: &quot;Courier New&quot;;" class="">
      <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">&nbsp;&nbsp;&nbsp; (idleWhile
        == 0 &amp;&amp;</span><span style="caret-color: rgb(0, 0, 0);
        color: rgb(0, 0, 0); font-family: &quot;Courier New&quot;;" class="">&nbsp;</span><br style="caret-color: rgb(0, 0, 0); color:
        rgb(0, 0, 0); font-family: &quot;Courier New&quot;;" class="">
      <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
        font-family: &quot;Courier New&quot;;" class="">&nbsp;&nbsp;&nbsp;&nbsp; decision ==
        UNCOND_SUCC)</span><span style="caret-color: rgb(0, 0, 0);
        color: rgb(0, 0, 0); font-family: &quot;Courier New&quot;;" class="">&nbsp;</span><br style="caret-color: rgb(0, 0, 0); color:
        rgb(0, 0, 0);" class="">
      <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><br class="">
      </span></div>
    <div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0,
        0, 0);" class="">&nbsp;</span><br style="caret-color: rgb(0, 0, 0);
        color: rgb(0, 0, 0);" class="">
      <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">Our proposed solution is to generate an authentication
        tag in the form of a COSE object that will be used to
        integrity-protect the payload of message 7 and message 8,
        allowing the EAP peer to see the EAP success and sending it to
        the EAP state machine so that, after obtaining the MSK,
        verifying the authentication tag in message 7 (key
        confirmation). After message 7 is processed correctly, CoAP
        server will be able to generate the OSCORE security context and
        after processing message 8 CoAP client (right entity in the
        exchange) will create the OSCORE context. From this point CoAP
        messages between both entities can be protected using OSCORE
        context.</span></div>
    <div class=""><br class="">
    </div>
    <div class="">
      <div class="">
        <div class="">
          <div class=""><font class="" face="Courier New" color="#000000"><span style="caret-color: rgb(0, 0, 0);" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; CoAP &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CoAP <br>
              </span></font></div>
          <div class=""><font class="" face="Courier New" color="#000000"><span style="caret-color: rgb(0, 0, 0);" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
                Sever&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Client<br>
              </span></font></div>
          <div class=""><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5)
              |&lt;----------------------------------------|<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | ACK [0x9869]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Token (0xac)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 2.01 Created Location-Path [/a/z]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |
              <br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Payload EAP-X-Resp (n)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6)
              |----------------------------------------&gt;|<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CON [0x7811] POST /a/z&nbsp;&nbsp; |<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Token (0xac)&nbsp;&nbsp; |
              &nbsp;&nbsp;&nbsp;&nbsp; MSK<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Payload (EAP success||Session-Lifetime&nbsp;
              |&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; |<br>
              &nbsp; MSK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; || AuthenticationTag)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              |&nbsp;&nbsp;&nbsp;&nbsp; v&nbsp; |<br>
              &nbsp; | |&nbsp;&nbsp; &nbsp;&nbsp; 7)
              |&lt;----------------------------------------|AUTH_KEY</font><font face="Courier New"><font face="Courier New">|</font> <br>
              &nbsp; </font><font face="Courier New"><font face="Courier
                New">|</font> v&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; | ACK
              [0x7811]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><font face="Courier New"><font face="Courier New">|</font> <br>
              &nbsp; </font><font face="Courier New"><font face="Courier
                New">|</font>AUTH_KEY&nbsp;&nbsp; | 2.01 Created Location-Path
              [/a/z1]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
              &nbsp; </font><font face="Courier New">v &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Token
              (0xac)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
              OSCORE Context</font><font face="Courier New">|
              Payload(AuthenticationTag)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; V<br>
              &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8)
              |----------------------------------------&gt;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><font face="Courier New"><font face="Courier New">OSCORE</font>
            </font></div>
        </div>
      </div>
    </div>
    <div class=""><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        Context</font><br>
    </div>
    <div class=""><br class="">
    </div>
    <br class="">
    <br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">
    <br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">
    <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">Best Regards.</span>
  </body>
</html>

--------------D3A76AE98E3FECF677309874--


From nobody Mon Aug 16 07:40:20 2021
Return-Path: <christian@amsuess.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 AB22B3A17B5; Mon, 16 Aug 2021 07:40:18 -0700 (PDT)
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, SPF_HELO_NONE=0.001, SPF_PASS=-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 ebnLpAdm7CoB; Mon, 16 Aug 2021 07:40:14 -0700 (PDT)
Received: from prometheus.amsuess.com (alt.prometheus.amsuess.com [IPv6:2a01:4f8:190:3064::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CBCE93A17B1; Mon, 16 Aug 2021 07:40:11 -0700 (PDT)
Received: from poseidon-mailhub.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bd]) by prometheus.amsuess.com (Postfix) with ESMTPS id E4E9D40104; Mon, 16 Aug 2021 16:40:06 +0200 (CEST)
Received: from poseidon-mailbox.amsuess.com (poseidon-mailbox.amsuess.com [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bf]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id BFC2AD0; Mon, 16 Aug 2021 16:40:04 +0200 (CEST)
Received: from hephaistos.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:6a01:d988:4e55:c71b]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id 3681C46; Mon, 16 Aug 2021 16:40:04 +0200 (CEST)
Received: (nullmailer pid 2872286 invoked by uid 1000); Mon, 16 Aug 2021 14:40:03 -0000
Date: Mon, 16 Aug 2021 16:40:03 +0200
From: Christian =?iso-8859-1?Q?Ams=FCss?= <christian@amsuess.com>
To: Dan Garcia Carrillo <garciadan@uniovi.es>
Cc: EMU WG <emu@ietf.org>, "ace@ietf.org" <ace@ietf.org>, Rafa Marin-Lopez <rafa@um.es>, core@ietf.org
Message-ID: <A4C71152-DA98-47B1-9BFC-136F59CAB68A@amsuess.com>
References: <0cfd2df3-9264-b6fd-e58b-a93a7d8fda5f@uniovi.es>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <0cfd2df3-9264-b6fd-e58b-a93a7d8fda5f@uniovi.es>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/RNFRrQyDLQsgRYvBTY6VHCwAXAg>
Subject: Re: [Ace] CoAP-EAP draft
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: Mon, 16 Aug 2021 14:40:19 -0000

Hello CoAP-EAP authors and involved groups,
(CC'ing core@ as this is a review on CoAP usage),


I've read the -03 draft and accumulated a few comments; largely in
sequence of occurrence.

Over all, the protocol has improved a lot since I've last had my eyes on
it. Several comments below are about how prescriptive the message types
are. I believe that this should be resolved towards generality, or else
the usability of this protocol with generic CoAP components will be
limited (or, worse, still implemented and then surprisingly
incompatible).


* Figure 1: For readers new to the topic of EAP, I think that it might
  be useful to extend this to cover also the EAP server or AAA
  infrastructure, if that can be covered without too much complication.

  Suggestion (without illusions of correctness):

           IoT device            Controller
         +------------+        +------------+       
         | EAP peer/  |        | EAP auth./ |+-----+[ AAA infra. ]
         | CoAP server|+------+| CoAP client|+-----+[ EAP server?]
         +------------+  CoAP  +------------+  EAP?
        
         \_____ Scope of this document _____/

                      Figure 1: CoAP-EAP Architecture

* `/.well-known/a`: [note: May be irrelevant, see next two items]

  If the designated experts don't go along with a
  very-short option (I'd kind of doubt you'd get anything shorter than
  `/.well-known/eap`) and if that puts you up against practical limits,
  using a short-hand option might be viable.

  So far there's no document for it and I've only pitched the idea
  briefly at an interim[1] (slides at [2]), but if push comes to shove
  and you need the compactness, let me know and that work can be
  expedited.

  [1]: https://datatracker.ietf.org/meeting/interim-2021-core-05/session/core
  [2]: https://datatracker.ietf.org/meeting/interim-2021-core-05/materials/slides-interim-2021-core-05-sessa-core-option-for-well-known-resources-00

* Discovering the Controller is described rather generically, but with
  CoAP discovery as an example.

  As long as CoAP discovery (as per RFC6690/7252) is used, that already
  produces a URI, which can contain any path the server picked. It has
  thus no need for a well-known path.

  Are there other discovery options envisioned that'd only result in a
  network address? Only for these, a well-known path would make sense.
  (And then it's up to the envisioned client complexity if one is
  warranted).

  For comparison, RD[3] explores some of the options. A path may be
  discovered using CoAP discovery as `?rt=core.rd*` right away from
  multicast. Or an address may be discovered using an IPv6 RA option,
  with CoAP discovery acting on that address. Only for cases of very
  simple endpoints, it also defines a `/.well-known/rd` name that can be
  used without CoAP discovery (and thus link parsing) happening
  beforehand. The same rationales may apply for EAP (the devices using
  the resource are mostly servers, otherwise, and send a very simple
  request to start things), but again that's only if the address was
  discovered through something that's not CoAP discovery already.

  [3]: https://www.ietf.org/archive/id/draft-ietf-core-resource-directory-28.html#name-rd-discovery-and-other-inte

* For message 1, why does this need to go to a fixed resource? There has
  been previous communication in message 0 in which the resource could
  have been transported.

  Granted, it's not as easy as in messages 2-to-3 etc where the
  Location-* options are around, but the original message 0 POST could
  just as well contain the path in the payload.

  There are options as to how to do that precisely (just the URI
  reference in text form, or a RFC6690 link, or a CBOR list of path
  segments, or a CRI reference[4] -- if the latter were in WGLC already
  I'd recommend it wholeheartedly), but either of them would stay more
  true to the style of the other messages in that the earlier message
  informs the path choice of the next ones.

  An upside of this would be that it allows better behavior in presence
  of proxies (see later), even though it may be practical to not spec
  that out in full here. (But the path would be open for further specs,
  and they'd just need some setting down of paving stones).

  [4]: https://datatracker.ietf.org/doc/draft-ietf-core-href/

* (Bycatch of suggesting URIs): It may be worth mentioning that the
  NON's source address can easily be spoofed. Thus, any device on the
  network can trigger what the authenticator may think of as a
  device-triggered reauthentication, and the device may think of as an
  authenticator-triggered reauthentication (provided it works that way,
  see below when reauthentication is mentioned again).

  Even sending full URIs in message 0 would be no worse than the current
  source spoofing.

  Sending URI paths in message 0 would make this minimally better
  because the attacker would need to guess (or observe from the network)
  the CoAP server's path.

* In 3.1 General flow, the message types are described in high detail.
  CoAP can generally be used with different transports (some of which
  don't even do NON/CON). Also, while I think it's reasonable to expect
  that a CoAP implementation can deal with requests coming in as either
  CON or NON, I'd expect that some don't offer all possible choices to
  applications. (A very constrained device may only send NON requests,
  or an implementation may decide autonomously whether to send
  piggy-backed or not).

  Can you clarify as to what of this is meant to be normative and what
  exemplary?

  My recommendation is to state that what is prescribed is the flow of
  requests and responses (which is what CoAP provides to the next
  layer), while notes on reliable transmission are recommendations for
  CoAP-over-UDP/DTLS. A similar statement, which I like a lot, is
  already in 3.2 on error handling.

  (I can serve examples of how subtle incompatibilities can develop but
  go unnoticed, but I'd only go through that if this is all really
  intended to be prescriptive).

* The reuse of the empty token only works if the peers actually respond
  with piggy-backed responses, so that's where enforcing the above rules
  would give some benefit -- but at the cost of losing existing CoAP
  implementations that make no guarantees as to how the response will be
  sent as long as it's reliable.

* Proxying: As it is right now, this protocol just barely works across
  proxies, and only if they support CoAP-EAP explicitly. (And while it
  may sound odd to even consider that, bear in mind that they are used
  in a very similar way in RFC9031).

  While it's a bit open whether all CoAP-based protocols should
  reasonably be expected to work across proxies or not, a remark (maybe
  before 3.1?) that "If CoAP proxies are used between EAP peer and EAP
  authenticator, they must be configured with knowledge of this
  specification, or the operations will fail after step 0."

* 3.2.2: The use of RST is rather unusual here, for the same reasons as
  the prescriptive message types.

  A response of 5.03 (Service Unavailable) has roughly the same size,
  is available independent of transport, and on most libraries *way*
  easier to use, if they support sending an RST to a well-formed message
  at all.

  (Furthermore, the sender of the 5.03 can encode an estimate of the
  remaining unavailable time in the Max-Age option; not sure if that is
  of any help here).

* 3.3.1: "received with the ACK", "sends piggybacked response" are,
  again, overly specific. "received in the last response" and "sends a
  response" could work as replacements even if message types are
  presecriptive.

* 3.3.1: "after the maximum retransmission attempts, the CoAP client
  will remove the state from its side".

  So the device that's being kicked from the network can delay its own
  eviction for about a minute as long as it doesn't answer?

* 3.3.2: Is reauthentication always triggered by the EAP peer, or can it
  also be triggered by the authenticator? If the latter, will the
  authenticator use /.well-known/a again, or POST something to the
  resource from where it'd DELETE in 3.3.1?

* cryptosuites: What's the upgrade model of that hardcoded list? As it
  is now, it looks pretty static, so updates would be through updates of
  this document. The obvious alternative is an IANA registry with
  ranges, policies and the usual pros and cons.

  Then again, this is not the first nor last time AEAD algorithms with
  their parametrization and hash functions are assigned aggregate
  numbers (I-D.ietf-lake-edhoc comes to mind which has asymmetric algs
  in the mix too; probably others as well); can we deduplicate this with
  anything? (Possibly by bringing this up with COSE or OSCORE people).

* OSCORE derivation: Is it cryptographically necessary to derive *both*
  a master secret and a master salt through KDF? (Sounds like a
  needless step to me, as both only go into KDF once more when the
  actual OSCORE parameters are derived). I *guess* there's a good reason
  why the MSK is not used as the OSCORE IKM right away and the CSO as
  OSCORE master salt, but it'd help to have at list a comment here on
  why that's needed.

  (It may be useful to compare this step to the HKDF steps in OSCORE;
  their info element is always a 5-element array with a 4th "type"
  element of "Key" or "IV"; other extractions might just hook in there
  with different type values, maybe, and save everyone an extra handling
  step).

* OSCORE ID derivation:

  * Randomly assigned full-length ideas look like an odd choice. They
    are excessively long (nonce length - 6 is 7 for the MTI
    AES-CCM-16-64-128 and shorter for other current ones, but I doubt
    that keeping the IV *short* is necessarily a design criterion for
    future algorithms).

    What commonly happens here (eg. in the ACE-OSCORE profile, or in
    EDHOC) is that each party picks a recipient ID out of its pool of
    currently unused IDs. This makes for shorter keys, and allows the
    client to be sure that no two peers use the same context.

    Any chance something like that can still make it in?

  * If the parties happen to be assigned the same sender ID, bad things
    happen (identical key derivation, nonce reuse, nuclear meltdown).

    If the current pattern of KDF'ing IDs stands, this needs to be
    prevented explicitly.

  * The derivations of "OSCORE RECIPIENT ID" and "OSCORE SENDER ID" are
    confusing as they each need to happen on both sides, and the terms
    will match on one and need to be opposite on the other.

    (I couldn't even easily find which is intended to be which).

    My suggestion is to derive "OSCORE EAP PEER SENDER ID" and "OSCORE
    AUTHENTICATOR SENDER ID" instead. (Or preferably shorter strings).

* Exmaples: Do you envision particular EAP protocols to be used in the
  given examples?

Best regards
Christian


From nobody Mon Aug 16 07:52:22 2021
Return-Path: <christian@amsuess.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 73C413A1874; Mon, 16 Aug 2021 07:52:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 AgDMP2wJO7ID; Mon, 16 Aug 2021 07:52:12 -0700 (PDT)
Received: from prometheus.amsuess.com (alt.prometheus.amsuess.com [IPv6:2a01:4f8:190:3064::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 036723A1871; Mon, 16 Aug 2021 07:52:11 -0700 (PDT)
Received: from poseidon-mailhub.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bd]) by prometheus.amsuess.com (Postfix) with ESMTPS id 3F4A440104; Mon, 16 Aug 2021 16:52:04 +0200 (CEST)
Received: from poseidon-mailbox.amsuess.com (hermes.amsuess.com [10.13.13.254]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id 9780FD0; Mon, 16 Aug 2021 16:52:03 +0200 (CEST)
Received: from hephaistos.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:6a01:d988:4e55:c71b]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id 6140246; Mon, 16 Aug 2021 16:52:03 +0200 (CEST)
Received: (nullmailer pid 2872923 invoked by uid 1000); Mon, 16 Aug 2021 14:52:03 -0000
Date: Mon, 16 Aug 2021 16:52:03 +0200
From: Christian =?iso-8859-1?Q?Ams=FCss?= <christian@amsuess.com>
To: Dan Garcia Carrillo <garciadan@uniovi.es>
Cc: EMU WG <emu@ietf.org>, "ace@ietf.org" <ace@ietf.org>
Message-ID: <YRp7k/qFA0dE+/wp@hephaistos.amsuess.com>
References: <07cd0942-9ee0-b124-b3a7-649f262d7c9e@uniovi.es>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6QeRU75tkUw4cMvK"
Content-Disposition: inline
In-Reply-To: <07cd0942-9ee0-b124-b3a7-649f262d7c9e@uniovi.es>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/Z6oN4JeYsX-BoY1hrUkwWZcfa4s>
Subject: Re: [Ace] About securing last exchange CoAP-EAP
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: Mon, 16 Aug 2021 14:52:17 -0000

--6QeRU75tkUw4cMvK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello,

On Sat, Aug 14, 2021 at 01:37:06PM +0200, Dan Garcia Carrillo wrote:
> As such, CoAP server (left side) could not see the content of the CoAP
> message (message 7) without deciphering it. Moreover, as the URI-path is
> also ciphered we cannot point to the right application to process the
> message to achieve an alternate indication of success.

If the recipient ID were available a bit earlier (and not derived from
the MSK), would it then be viable to infer from the OSCORE ID that this
is the last message, process an "EAP success", and start derivation just
to extract the session lifetime (and thereby confirm the keys)?

(That'd be all assuming that the "EAP success" contains really just the
EAP success code and no further information, which would be "compressed"
into the "some OSCORE is sent on this" information, and that the
Session-Lifetime does not need to be known to advance the EAP state
machine).

BR
c

--=20
To use raw power is to make yourself infinitely vulnerable to greater power=
s.
  -- Bene Gesserit axiom

--6QeRU75tkUw4cMvK
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECM1tElX6OodcH7CWOY0REtOkveEFAmEae48ACgkQOY0REtOk
veENKA//V4Tcr6FjHsELReeRgr80hAvciO6hQUcQ9cy/ej0MSyk4XY+BdnQn+Q1/
PUxiZljVgxix6phm16VsVrcMFT9r81syXwWVOJwgV7OYBrdIEPiV8VzMxx44ljSi
oG13KZgN9A2hShdZNWXbLTo71z1mqYqy+RvJ8ZvNZjReaTJ9PUZE5I9KkmjLQlm9
D1K0l23dmBTdMtn8+KGt8gwmWGYJcGfu6GwZGBIsdcZpsrf0LMYtBn92vyXa6jte
5BO9UgurFwsC0HJ4Bu53e1vskloUJaP9JjArP0BcjBSVnZRQlbFg7qCtFu7eNiD1
8YENOn5w0RqzbWw4U3EZXeGprOr/KkBIwmmIFga9jgWA8HlXvAM9iGEmC//wCwoi
QLjQzD9hT8FkSY/s1+0AtAKgpejKty7/tohPiPu38whAK66BPkTotyiTTAvLstIO
9hZWcLgAjQOG03uQEOkY7ZP3hLDFHy84jS2HIbLuwDuNbvpwkMKC1tbQUZhsf/cW
KToMI4XLPxUM3FL2tT1XhnNx0B66LRnQD3Hnp3EjBBfMWs9nyk5O7S094Vfe93ON
T2yMcggwhND2hmG4352lKNNRZSgBsJfZ9pK34g1WIfU/7vhhO1aCx6XGocHrQNdb
NgxHoH6NMWo1bvK8qUKM4db1Jw+5ReHdhA7PTWxQNByLtmUbhNM=
=bJIX
-----END PGP SIGNATURE-----

--6QeRU75tkUw4cMvK--


From nobody Mon Aug 16 20:50:00 2021
Return-Path: <kaduk@mit.edu>
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 A586A3A1963 for <ace@ietfa.amsl.com>; Mon, 16 Aug 2021 20:49:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.499
X-Spam-Level: 
X-Spam-Status: No, score=-1.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no 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 PL_L0kFtNt3C for <ace@ietfa.amsl.com>; Mon, 16 Aug 2021 20:49:56 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EB4B83A1951 for <ace@ietf.org>; Mon, 16 Aug 2021 20:49:55 -0700 (PDT)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 17H3nl9f012417 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 Aug 2021 23:49:51 -0400
Date: Mon, 16 Aug 2021 20:49:46 -0700
From: Benjamin Kaduk <kaduk@mit.edu>
To: Ludwig Seitz <ludwig.seitz@combitech.com>
Cc: "ace@ietf.org" <ace@ietf.org>
Message-ID: <20210817034946.GL96301@kduck.mit.edu>
References: <AM0PR0302MB3363C2AADFCD40CDB9D001629EF89@AM0PR0302MB3363.eurprd03.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <AM0PR0302MB3363C2AADFCD40CDB9D001629EF89@AM0PR0302MB3363.eurprd03.prod.outlook.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/6SzBgjz8gaiW_Kk_amnziBkeEMI>
Subject: Re: [Ace] Nits in draft-ietf-ace-oauth-authz
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: Tue, 17 Aug 2021 03:49:59 -0000

On Wed, Aug 11, 2021 at 06:42:47AM +0000, Ludwig Seitz wrote:
> Hello Ace,
> 
> I'm currently dealing with some nits in draft-ietf-ace-oauth-authz that I have discovered during the final IANA check. For one of them I need group feedback: 
> 
> The draft defines a CBOR abbreviation for the Introspection parameter 'cti' which is the CWT identifier defined in RFC 8392, however it turns out that parameter was never defined as Introspection response parameter, it only exists as CWT claim.
> 
>  Can this draft just add 'cti' to the OAuth Token Introspection Response parameters without affecting the progress of the draft at this stage?

The relevant OAuth registry operates under the "specification required"
policy.  Since we don't currently talk about "cti" in Section 5.9.2 that
covers the other introspection response parameters (nor elsewhere that I
could find), I think this means we'd need to add a new paragraph or so of
text to describe the use of this introspection response parameter (i.e., by
analogoy to the existing "jti" introspection response parameter).  That's
enough new text that I'd want to see a specific all for comment on the WG
list to confirm consensus (probably two weeks, since we're already in the
RFC Editor queue and there is not much slack time later in the process).

I'll also float the topic with the IESG and get a better handle on whether
an IETF-wide call is needed as well (myself, I don't see a need, since the
work as a whole pretty clearly envisions that this is part of it).

Thanks for catching this, and sorry that it is not easier to resolve.

-Ben


From nobody Tue Aug 17 07:23:57 2021
Return-Path: <ludwig.seitz@combitech.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 CC5A23A178F for <ace@ietfa.amsl.com>; Tue, 17 Aug 2021 07:23:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 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_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=combitech.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 93oV0wLDFbO3 for <ace@ietfa.amsl.com>; Tue, 17 Aug 2021 07:23:49 -0700 (PDT)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2062e.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::62e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5036F3A178E for <ace@ietf.org>; Tue, 17 Aug 2021 07:23:47 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C0deFkH755U/HIyzciGHW3yZiopfyaxfvshEqyxg0oKRa5lr0rro3n47JDIdLZeSZn2j/V2GPMKUUsguv68+3J3QAZo+Md8dRbgoJv2HKDyaXDyJsfnuC5c6c8Fk4Zmc9I2LeE+T0lOVHtfnYRWD6aUW/wvjX1AYZL1GW+YZfuSQT9XsAdq0hUn4fPy7GY4AFh+MCeui3N1LGi8qPUH3YNKhQ1HnlGH7vKJReonW0hwKgwB3tTr8rtu5bvMyS9/NC+mGOlX/HAJmMUlsyR1akXeF3iz57BLBXTEBupL5lhUT2spVginQVoLlSN6Yl3iHnv7tgb4s1kgTp6T5vl8S2Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HX1auSGE3py+byeOaQoaoxHvCA4Bh9UHiBgjQbe507U=; b=m2uRz8ne5lnJP4mZEoX41PLD2v7c5XW4qrObzug4JagU7AKe/jH4hsMRczGALocgL5wiRTY97U1l5VfFuHPuQGAe5LrfRXbP2bbt0M34/I9zlqm8LjdTkWOM8CEI/BNNxXw2Nw0RMIW4s9VS4jkK4ccbdq7n0Xi09cyMYb2LVGEF3Qh/jkPUIz1O6DBsbAnVAnkbaMy+ZEaSjCJ7ASUMLFeUsp2WuAiQXl/v0cbBiuC/SEffEl5bWpmsaLbR9U+1Jr8iYoNNwRitlfeI8426bOhHZFAudEb1wEpkVL2AqP1xWomtUez7MbqxyE7eDv6enp+6da1bH/XyvaCw6UKwRg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=combitech.com; dmarc=pass action=none header.from=combitech.com; dkim=pass header.d=combitech.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=combitech.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HX1auSGE3py+byeOaQoaoxHvCA4Bh9UHiBgjQbe507U=; b=GP2y90VwKpgpLjosPYuMSN0V1NjpZUf2dgmxJymf1BINbw3BAFOs8WfPHk+U7ENMbiLemdzjctPJkEn0NSBoR04OuVvygV/gA7oVIcfOCzv8p6xwH7gCQ/7ITNyAAEZNa5q1601oU8jWyoegmJ079bJaKdzm+f3970j8OfV0OzWEvjKtKukGgQv6fgpmcMPeZyio6QpY+6VejxiHKHzXSyKBMjIlBCFI/81EaWkI8fG65TwkyClKjy+y77sK/moRAmi6uBrHp+vVZHYOBVmDmBKHlbUaxMoA8p9kovckg48bIbbq1m1BZcBYcgOMzrXKd1PuwuNs4IcZKznZUY+dcw==
Received: from AM0PR0302MB3363.eurprd03.prod.outlook.com (2603:10a6:208:c::21) by AM9PR03MB6929.eurprd03.prod.outlook.com (2603:10a6:20b:287::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.17; Tue, 17 Aug 2021 14:23:40 +0000
Received: from AM0PR0302MB3363.eurprd03.prod.outlook.com ([fe80::8562:622f:2b59:854a]) by AM0PR0302MB3363.eurprd03.prod.outlook.com ([fe80::8562:622f:2b59:854a%6]) with mapi id 15.20.4415.024; Tue, 17 Aug 2021 14:23:40 +0000
From: Ludwig Seitz <ludwig.seitz@combitech.com>
To: "ace@ietf.org" <ace@ietf.org>
Thread-Topic: Missing Introspection parameter in draft-ietf-ace-oauth-authz
Thread-Index: AdeTccBInk2WnXcwSwu/sx0yJihN+w==
Date: Tue, 17 Aug 2021 14:23:39 +0000
Message-ID: <AM0PR0302MB336360E5A74D2141173E03B49EFE9@AM0PR0302MB3363.eurprd03.prod.outlook.com>
Accept-Language: en-US, sv-SE
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_Enabled=true; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_SetDate=2021-08-17T14:06:04Z;  MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_Method=Standard; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_Name=Company Confidential; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_SiteId=0d11ac4a-ef5e-423a-803b-e51aacfa43d6; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_ActionId=88313f4b-7828-4413-8f42-a5a6c609bd85; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_ContentBits=0
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=combitech.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: d8275320-25dd-46d2-9296-08d9618a9c05
x-ms-traffictypediagnostic: AM9PR03MB6929:
x-microsoft-antispam-prvs: <AM9PR03MB692934DFA50132C31390B8D29EFE9@AM9PR03MB6929.eurprd03.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: HY4bzPQ1ZceDy/pka7aNoJUZFM+qyNWntvuo/NVGd+CKJGdqIPB200zYQLi/3OoaeyaBt1En8r5zJmeaoat9fnOrER8nGdDrV+3fYhyuKgrc4ZMkatG7+RBX6NzUYK49g8p/PuRKKaJtN1w6ubuFjSJSkpGjlXCCaCikO01mqJFutHK7klv853G5taOEzuzCuV6PrTZ2uss/J0D7opAjegvg7Edi2jsgrL+DtknDrKwU5YARDgydrQwOO0mkAWY0V5hnHWzz9zVSRTYGd6RVKaTC3guUTqQ2i+kTU1CryqDX3D7agcgMkVyqQopnJjbx4C4sXVQeu1bR4pfupJT+TQL1McPMDEWtvC0c3irWkSWj4j0VcseNWmLK9g7FntutO56QmCRqW4ZHst8CsxhUJBSpRvmMaWbmxPZu1OCpTyN50kN9qdtHwjdLmMfn1rPT8BBU1ZmZycOHRlz8N7I7ZPhAcRW8/xf2Q3A//1yZzXcfYyk2CxhiDWIYgpxxI8JPj1upxkF0l4+BE3ulqmdlk0gsXkPUELdVb3zUQmz0ewDWacW/MpnKaJIw37PMNbR40++KFQa6X5/56FNvejk9aYNXPKva7An2DpPHnNZLNV/zo3ioVi5NAmKYFdIk8DjRwGN1wfaUuUFyGNoGs7lynpm1rDaI66q/6zaBD/qN6ysmOTBQpFE+BD7BDC0NySWMO+kId/+vXrKxEx0GtIQvjrmrA4RNy0opAf3IAeL6cuFmyyvMOIfDjOVDpwSPc3QOYMFIIQqDd+X6Q/2eVzx9qiwVfI5YEBJ5G4vl/I6PLa4=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM0PR0302MB3363.eurprd03.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(39840400004)(366004)(396003)(346002)(376002)(136003)(76116006)(122000001)(52536014)(2906002)(5660300002)(6916009)(66446008)(66946007)(66476007)(64756008)(66556008)(44832011)(38100700002)(83380400001)(66574015)(8936002)(186003)(7696005)(316002)(55016002)(38070700005)(86362001)(8676002)(33656002)(26005)(478600001)(71200400001)(9686003)(6506007); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?cWViRFYzcEw3d25mYXlLSmpYRkc4blJISGRzLzBqQlVQR1cvNXg5eG1MWEZ6?= =?utf-8?B?SUpUaXRLZkl5VTYrbGVtQTR1di9Nc0ZGWExCSnU4UjR3RzV1a001SnhPelU3?= =?utf-8?B?OE9SeVRtbmxJcjlDK1R2REQ4V0VhRHBHVDN2STY1UFAwbldXVFVQaDd2UnZ5?= =?utf-8?B?Vk5pT1ZIelBKOEIwejdyQkFsY2t4K3UvbXZpbkJCaEdYRlIvOHRxYkkyNVVZ?= =?utf-8?B?cURacUZ3WkJpbmZLd0YxaEFvY09HbStHY3lGMlNEdjJyNTFXQXB0VllFYVpv?= =?utf-8?B?MnIweHNObW02UHdyWVdkdlNLUjJ2Z242dFZpMXRSYjZnV21UaDVTSWFCaGJv?= =?utf-8?B?QmN3QkRiYzE0Qkp1dm9kM1VsaDFiM3lmT1M3QU5DUGhJVzBKcGxWaU9PcEpL?= =?utf-8?B?M3RLcFVGdDViSDdUcTFTdVRwajFPazdoeGdmV3ByTGs5UDdJR0VFcnU1WW5B?= =?utf-8?B?MVBzcTJ3eTBuMm5sUGNxNkJBeG5Ody9JK0pZ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1WjR5YjhxNzBrN0ZsT1RSZjBCT0g2WUcyVHpsakMrQWlscTNS?= =?utf-8?B?STFyN2lNdHgrQnQrMG9NRGtNdVd0dlM3YVFFbTJyYS81YlVPbGFKbEV5WFM2?= =?utf-8?B?cFRkOHJmdDgzbmQrZVdhZ3RNMXN3NjBQeDduOEJyelZXWUlyb09GU1NDU1pU?= =?utf-8?B?bnE4YjFMajQ5QjdNc3ovcndzR0U5bzJFT1I0end3ZjVLZExnTzNLNVBJWUlU?= =?utf-8?B?cTFUQXlsK3JQd1BwZGVZQmhKSHpwVGxjNkR4Z2JwRHNabjFLQzAvekM4R2FR?= =?utf-8?B?Y3J1V0NIM24zMUFFNFgyZnAvR0M5czVhajZIei96dTlxZU85WmREY0pubDZl?= =?utf-8?Q?mvBNZWWebVNln/92S/487cNfvzNM0kkSA76mSJz?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: combitech.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR0302MB3363.eurprd03.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: d8275320-25dd-46d2-9296-08d9618a9c05
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Aug 2021 14:23:39.9658 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 0d11ac4a-ef5e-423a-803b-e51aacfa43d6
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 0cTdxIqA9CM+ma4FdlP9kXemLNc7pK0OW7izUIuhGyW2mwSDYWODC7IVAecNCGT8fbV6BkivtZWTyXBgCtWPZ9hDWpTTka6crHMAl9izT50=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR03MB6929
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/LMLBtEcNMRTJHhHG2PUxmkzk37A>
Subject: [Ace] Missing Introspection parameter in draft-ietf-ace-oauth-authz
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: Tue, 17 Aug 2021 14:23:56 -0000

SGVsbG8gQUNFLA0KDQpJIHdhbnQgdG8gcmFpc2Ugb25lIGlzc3VlIGZvciBncm91cCBjb21tZW50
cyB0aGF0IGhhcyBjb21lIHVwIGluIGNvbmp1bmN0aW9uIHdpdGggZml4aW5nIHRoZSBJQU5BIG5p
dHMgZm9yIGRyYWZ0LWlldGYtYWNlLW9hdXRoLWF1dGh6Og0KSW4gZmlndXJlIDE2IHdlIGRlZmlu
ZSBtYXBwaW5ncyBmcm9tIE9BdXRoIFRva2VuIGludHJvc3BlY3Rpb24gcGFyYW1ldGVycyB0byBD
Qk9SIGFiYnJldmlhdGlvbnMuIFRoZXNlIHBhcmFtZXRlcnMgKHNob3VsZCkgY29ycmVzcG9uZCB0
byB0aGUgY2xhaW1zIHRoYXQgY291bGQgYmUgZm91bmQgaW4gZS5nLiwgYSBDV1QuDQpDV1QgcmVu
YW1lZCBvbmUgdG9rZW4gY2xhaW0sIG5hbWVseSAnanRpJyAoSldUIElEKSBpbnRvICdjdGknIGZv
ciBDV1QgSUQuIEhvd2V2ZXIsIHRoaXMgaXMgbm90IHJlZmxlY3RlZCBpbiB0aGUgcmVnaXN0ZXJl
ZCBJbnRyb3NwZWN0aW9uIHBhcmFtZXRlcnMNCihodHRwczovL3d3dy5pYW5hLm9yZy9hc3NpZ25t
ZW50cy9v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NDYgMTAyIDE2MCA4
NDYNCmx1ZHdpZy5zZWl0ekBjb21iaXRlY2guY29tIC4gY29tYml0ZWNoLmNvbSBUaGlzIGUtbWFp
bCBpcyBwcml2YXRlIGFuZCBjb25maWRlbnRpYWwgYmV0d2VlbiB0aGUgc2VuZGVyIGFuZCB0aGUg
YWRkcmVzc2VlLiBJbiB0aGUgZXZlbnQgb2YgbWlzZGlyZWN0aW9uLCB0aGUgcmVjaXBpZW50IGlz
IHByb2hpYml0ZWQgZnJvbSB1c2luZywgY29weWluZyBvciBkaXNzZW1pbmF0aW5nIGl0IG9yIGFu
eSBpbmZvcm1hdGlvbiBpbiBpdC4gUGxlYXNlIG5vdGlmeSB0aGUgYWJvdmUgb2YgYW55IHN1Y2gg
bWlzZGlyZWN0aW9uIFBsZWFzZSBjb25zaWRlciB0aGUgZW52aXJvbm1lbnQgYmVmb3JlIHByaW50
aW5nIHRoaXMgZS1tYWlsIQ0KDQoNCg==


From nobody Tue Aug 17 08:25:31 2021
Return-Path: <mglt.ietf@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 52D4E3A1F69 for <ace@ietfa.amsl.com>; Tue, 17 Aug 2021 08:25:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 juxGzxGZPRHQ for <ace@ietfa.amsl.com>; Tue, 17 Aug 2021 08:25:23 -0700 (PDT)
Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (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 53C443A1F67 for <ace@ietf.org>; Tue, 17 Aug 2021 08:25:23 -0700 (PDT)
Received: by mail-qt1-x834.google.com with SMTP id d9so17401360qty.12 for <ace@ietf.org>; Tue, 17 Aug 2021 08:25:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ckL1QCwWBTXB6D9l5eZc68JDdAX6vahd3wDwSNdnBUY=; b=gKhn5JX38PA5HSoQ/o522MC0RelRdATqo2F3SxRjOgoJ79eI/WWT1S+6J2r8Uuj7V/ J/GBwhlTjKKCQuxj1u0uD57MeNBXJnQpYpzrjyokpP2be2QYA+Jxzj/HwsTFq9ZfGsWK jsPwzn5latBM9XvMuvnErzoQkPOxIZum5ctoGUXdt1D3bmM/bszMwwLFf1Rnrtw7ubZD RnlbyFA/qIbjqPp4chhO9k/W2avOKo7bjyBR1q8GhBIqcYni+6HQMIKRGtAXkrSI4zXj HiJkfWK4gPKpFnRy5wZkWXZ46ggrQqbDDht4YuG77JckQ+8kZEvrgK/N1fOG/XFunqVs JAYQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ckL1QCwWBTXB6D9l5eZc68JDdAX6vahd3wDwSNdnBUY=; b=H1Oh6rOsT0WHxi8rNLwcpCxAVji1hbaIKKWQicHR6BMidydNlVsX61KrB2EwBi6A/M peGgfz/YbCootPpr5N/7nSOYBkYIX3XZLlTJXtIiaNt6khsLpvjuVKCM17ErZTUeWj+z tbUlTeEd8Us+MIzeFSvOvMjgT0tEAAR87kxgI2Om+ksb5bO6WFPfX0LSxl309BOA5rn0 9o2R5nx+tyY3GrH/bTGqj2ZswTPwvUqJE4vBwlvVj+WndgkbBWEDQ45UQ9sYnYGfMlhs M2wuB/Ib2mZTgyexDH4NdNFctE7FwEQ166TKWH68u+CceugPV5y4v3TEA5+4Wizp1s9E 0zZA==
X-Gm-Message-State: AOAM530xwoFgZHZwh6wwN1mIWjUYPJ/RzEVBOFm1gInHO9kQV3mDqmFX 4lU0GnfcwdbMQuvqyhb5Yk6lQ9QVjtRablT/Yjs=
X-Google-Smtp-Source: ABdhPJx76oFHHyGAmGGw4vTov+GglHJQaalhSMNnTRzDGEt1lJVOlaAX65FYOKsmFqqR2MReenRn1Hs/l8OJ5jiAJY8=
X-Received: by 2002:a05:622a:64b:: with SMTP id a11mr3587609qtb.107.1629213921397;  Tue, 17 Aug 2021 08:25:21 -0700 (PDT)
MIME-Version: 1.0
References: <AM0PR0302MB336360E5A74D2141173E03B49EFE9@AM0PR0302MB3363.eurprd03.prod.outlook.com>
In-Reply-To: <AM0PR0302MB336360E5A74D2141173E03B49EFE9@AM0PR0302MB3363.eurprd03.prod.outlook.com>
From: Daniel Migault <mglt.ietf@gmail.com>
Date: Tue, 17 Aug 2021 11:25:10 -0400
Message-ID: <CADZyTkmHfBAveX0DSJtdLQ2-wF_6XuULZe_w_OfAaiemgXu63g@mail.gmail.com>
To: Ludwig Seitz <ludwig.seitz@combitech.com>
Cc: "ace@ietf.org" <ace@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000000c50c405c9c2ed3a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/RLycVVDtCC3Cg8optrDmKdfMHiY>
Subject: Re: [Ace] Missing Introspection parameter in draft-ietf-ace-oauth-authz
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: Tue, 17 Aug 2021 15:25:30 -0000

--0000000000000c50c405c9c2ed3a
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thanks Ludwig for raising the question. If anyone has an objection, please
express your concern by August 24. Expressing support is also more than
welcome!

Yours,
Daniel

On Tue, Aug 17, 2021 at 10:24 AM Ludwig Seitz <ludwig.seitz@combitech.com>
wrote:

> Hello ACE,
>
> I want to raise one issue for group comments that has come up in
> conjunction with fixing the IANA nits for draft-ietf-ace-oauth-authz:
> In figure 16 we define mappings from OAuth Token introspection parameters
> to CBOR abbreviations. These parameters (should) correspond to the claims
> that could be found in e.g., a CWT.
> CWT renamed one token claim, namely 'jti' (JWT ID) into 'cti' for CWT ID.
> However, this is not reflected in the registered Introspection parameters
> (
> https://www.iana.org/assignments/oauth-parameters/oauth-parameters.xhtml#=
token-introspection-response)
> where only 'jti' is registered. This was overlooked when we originally
> defined the mappings in figure 16.
>
> I would therefore put the following question to the group:
>
> Does anyone object to this draft adding 'cti' as an OAuth introspection
> parameter?
>
> The corresponding text would go into the list of additional parameters in
> section 5.9.2 and be something along the lines of:
> "cti  OPTIONAL.  The CWT ID parameter has the same meaning and processing
> rules as the "jti" parameter defined in section 3.1.2. of [RFC 7662] exce=
pt
> that the value is a byte string. "
>
> Regards,
>
> Ludwig
>
> --
> Ludwig Seitz
> Infrastructure Security Analyst
> Combitech AB
> Dj=C3=A4knegatan 31 . SE-211 35 Malm=C3=B6 . Sweden
> Phone: +46 102 160 846
> ludwig.seitz@combitech.com . combitech.com This e-mail is private and
> confidential between the sender and the addressee. In the event of
> misdirection, the recipient is prohibited from using, copying or
> disseminating it or any information in it. Please notify the above of any
> such misdirection Please consider the environment before printing this
> e-mail!
>
>
> _______________________________________________
> Ace mailing list
> Ace@ietf.org
> https://www.ietf.org/mailman/listinfo/ace
>


--=20
Daniel Migault
Ericsson

--0000000000000c50c405c9c2ed3a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thanks Ludwig for raising the question. If anyone has an o=
bjection, please express your concern by August 24. Expressing support is a=
lso more than welcome!<div><br></div><div>Yours,=C2=A0<br>Daniel</div></div=
><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tu=
e, Aug 17, 2021 at 10:24 AM Ludwig Seitz &lt;<a href=3D"mailto:ludwig.seitz=
@combitech.com">ludwig.seitz@combitech.com</a>&gt; wrote:<br></div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px=
 solid rgb(204,204,204);padding-left:1ex">Hello ACE,<br>
<br>
I want to raise one issue for group comments that has come up in conjunctio=
n with fixing the IANA nits for draft-ietf-ace-oauth-authz:<br>
In figure 16 we define mappings from OAuth Token introspection parameters t=
o CBOR abbreviations. These parameters (should) correspond to the claims th=
at could be found in e.g., a CWT.<br>
CWT renamed one token claim, namely &#39;jti&#39; (JWT ID) into &#39;cti&#3=
9; for CWT ID. However, this is not reflected in the registered Introspecti=
on parameters<br>
(<a href=3D"https://www.iana.org/assignments/oauth-parameters/oauth-paramet=
ers.xhtml#token-introspection-response" rel=3D"noreferrer" target=3D"_blank=
">https://www.iana.org/assignments/oauth-parameters/oauth-parameters.xhtml#=
token-introspection-response</a>) where only &#39;jti&#39; is registered. T=
his was overlooked when we originally defined the mappings in figure 16.<br=
>
<br>
I would therefore put the following question to the group:<br>
<br>
Does anyone object to this draft adding &#39;cti&#39; as an OAuth introspec=
tion parameter?<br>
<br>
The corresponding text would go into the list of additional parameters in s=
ection 5.9.2 and be something along the lines of:<br>
&quot;cti=C2=A0 OPTIONAL.=C2=A0 The CWT ID parameter has the same meaning a=
nd processing rules as the &quot;jti&quot; parameter defined in section 3.1=
.2. of [RFC 7662] except that the value is a byte string. &quot;<br>
<br>
Regards,<br>
<br>
Ludwig<br>
<br>
--<br>
Ludwig Seitz<br>
Infrastructure Security Analyst<br>
Combitech AB<br>
Dj=C3=A4knegatan 31 . SE-211 35 Malm=C3=B6 . Sweden<br>
Phone: +46 102 160 846<br>
<a href=3D"mailto:ludwig.seitz@combitech.com" target=3D"_blank">ludwig.seit=
z@combitech.com</a> . <a href=3D"http://combitech.com" rel=3D"noreferrer" t=
arget=3D"_blank">combitech.com</a> This e-mail is private and confidential =
between the sender and the addressee. In the event of misdirection, the rec=
ipient is prohibited from using, copying or disseminating it or any informa=
tion in it. Please notify the above of any such misdirection Please conside=
r the environment before printing this e-mail!<br>
<br>
<br>
_______________________________________________<br>
Ace mailing list<br>
<a href=3D"mailto:Ace@ietf.org" target=3D"_blank">Ace@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/ace" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/ace</a><br>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
 class=3D"gmail_signature"><div dir=3D"ltr"><div>Daniel Migault<br></div><d=
iv>Ericsson</div></div></div>

--0000000000000c50c405c9c2ed3a--


From nobody Tue Aug 24 09:52:34 2021
Return-Path: <goran.selander@ericsson.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 77FA43A1CFE for <ace@ietfa.amsl.com>; Tue, 24 Aug 2021 09:52:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.553
X-Spam-Level: 
X-Spam-Status: No, score=-2.553 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.452, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 OHQwvkl8sBAk for <ace@ietfa.amsl.com>; Tue, 24 Aug 2021 09:52:26 -0700 (PDT)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150040.outbound.protection.outlook.com [40.107.15.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5550A3A1CF8 for <ace@ietf.org>; Tue, 24 Aug 2021 09:52:26 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WY4//KWYQKe0QYbuNgI725SQ0E0kL9CLootAVRsYfQQ11VeiSSiyC0TRMQD8GhVlfEcu8wQejIRlgvuirnkJLf+D8a3vkvXdnWsoJWwiGIqmbcYOMbL2luVJYn99q8m8YWqavg1jb0Hfi4ohYFi53D+GwnuSsPpHuKJamznRZJIi9BU/68jyk7eIQdWsdWi87nPD4fZOBjCzMbYxoEPG4ri4aKL5UU3zWNP9SnwWxmMeXprFuh/I2OB11x+eEKlOb9/bWOYFx8VRF3A9Ed5D4UiW29LdDAkBpRZWFRu6UUobO6911dbMFP4qeFFT28G8OkM7ZGmG7Ob8BY4alxZA1Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1GPJIHX7bwXuJv9ghOcTqb1g+cdMkgIcZZcEzc+aFMo=; b=RmfgorlF7Fc6uN0Cu2ibPl2xvpl2R81dyuqQuy7VSA76TiWrFwfNHECGt6XwyWPFcdaEv6ETH9S0z84bHXlA2Q75iVAvqO82R1969GuTAGQfL4BwZ273e+VPVpX41gtcHjAVyH2enE62YD3fKqfJL4yxDo562UBhEeZYrTJE2mz3Mg8iIDNO3rXBSdu5UjLxS7ngw9RQoQgQZZZ0pdEetjh6ShXCQ6TuTdE2l2t7/N1kPbsDczwL6ChMT4lSVbu/to9QwAzU07q2A+1xs2s124G4cr1R3WGnGQwdaIrrwwFm0GaiRL1ykhHBTg0+4o6qziJa+DHpbtJP1Pr/gfI/2g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1GPJIHX7bwXuJv9ghOcTqb1g+cdMkgIcZZcEzc+aFMo=; b=MGMtHMjbcXv2gTnmX1fkLF2U5u4AnqitwfkTI6HDVM9jgvDvAaoOtXnNicX9dL+VxOjMgRZ5iGkvFyIu3h1vvtJAV/LvK70yiD3/DGptRNLM8tGbyao/k2dBVbSOA6Yi3/HHBo1PN3YkAkyTN8t5+cNvhFOkRa24gK1XgmdGtXc=
Received: from HE1PR07MB3500.eurprd07.prod.outlook.com (2603:10a6:7:31::20) by HE1PR0702MB3546.eurprd07.prod.outlook.com (2603:10a6:7:8d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.17; Tue, 24 Aug 2021 16:52:23 +0000
Received: from HE1PR07MB3500.eurprd07.prod.outlook.com ([fe80::a141:8e66:ce19:813d]) by HE1PR07MB3500.eurprd07.prod.outlook.com ([fe80::a141:8e66:ce19:813d%7]) with mapi id 15.20.4457.012; Tue, 24 Aug 2021 16:52:22 +0000
From: =?utf-8?B?R8O2cmFuIFNlbGFuZGVy?= <goran.selander@ericsson.com>
To: "ace@ietf.org" <ace@ietf.org>
Thread-Topic: draft-ietf-ace-key-groupcomm-13
Thread-Index: AQHXlTNlf0RDV9YpEE+v7sk1YG68dg==
Date: Tue, 24 Aug 2021 16:52:22 +0000
Message-ID: <E59F2C52-F777-4704-90D2-1D04C700A60E@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/16.52.21080801
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 468fec3e-0daf-4b02-9d51-08d9671f8b4b
x-ms-traffictypediagnostic: HE1PR0702MB3546:
x-microsoft-antispam-prvs: <HE1PR0702MB3546F737FE21F2BAD8251F3FF4C59@HE1PR0702MB3546.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7691;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: ABx8yXC8X3lAqDgv08H2NOkDCat0oN1O08C3S/BXSlp22xGZLkEgg/sArxyR+jHSinKy0oP3MlBJ533Hf3faFfbTXRZlOVqB2rQK6TIZAg5nuds75oDzQrIqeVZls33wlolvNq+VU/iNnqvkXU9TH5QGTpFz/1euPjEABEfC/6i81otnLtlBNyqM9d6lz7goIdh4/wTSZVn7CG2cdX+Lj2WOU3IxcWnkGsoKrOnGWlZfOlWcnhrHJ+loxCxid2k4D0L/KYKmItaKF1/BH1Tzjio8AmZRzHuMg5C0G6uDU1BusGeVrsvAxF6kslKHVscnfKxk23qIQ+3ZSfQJW0d8jA1XcTbTyFvaFakFW9KNuSw6cB3yvpF9gbcxcWif1q3lntPlDrqAN7fBtmTOxsyQ0FaJcT/boF24jRO+UMxKD8qQsXquKp2kWX8YMt4jXzAiOspcypdSnMgCzMhwuiM1WaQYsOuwzsQ4VaP+Bd7Oi3ZrEQR88fMdDT+hbk78Tj+m8qOF8FeepfSgR+XTq7iuMiE5P1b84BlheQ7egs5uyBfr5zFR6oSDOdOPwmOMOzIlCy+CSbJ5L0aQ6DIRCOy8ndlc/pu0XuFHLUkAfx07SCvYPWNHq8InhPZDniaMDbtJy4fTr1LazT4uIt3lIi/LPawcmEm8jGStN00/hqmgnap+G5K+PTC8ecAR0R5KbGM/cy+vB8H+TIV4KsnnfmYOUmf/ujyPf/ULQz17YPHaHwsT4tmsq+epagqe6R6gyuYCrOaSQjsyUIhh5JmI8b4mJaS7WAPPBPhkWojPOtZ81pFrpQDSpwRL2/w8XSoupExLuc0JrgKZsC96UsmdIfHinrlodavE17un93jmusTKZaw=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:HE1PR07MB3500.eurprd07.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(366004)(508600001)(66574015)(30864003)(5660300002)(2616005)(26005)(71200400001)(966005)(122000001)(316002)(64756008)(36756003)(2906002)(86362001)(76116006)(8936002)(38100700002)(8676002)(33656002)(6486002)(66946007)(38070700005)(186003)(6506007)(6512007)(66446008)(66476007)(66556008)(83380400001)(53546011)(85182001)(6916009)(85202003)(45980500001); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?MHV3OHNCYnJYcmo0Y0F2a2NDSStIQVZmckVQN3NyaGwvT0N4dWE1UnQ0Vkti?= =?utf-8?B?MjVETVdVNG1OSHRGN3BTSTBOYjRUNlQyUlBOY0tWNTRXYVhmOGpuOE5hRXFZ?= =?utf-8?B?MUZ2T1NZM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ON09O?= =?utf-8?B?OU84SWdidDNoY2Jpb2VhckJIVmFXSGMyajRGcTZ1WDZzSWtPUytpQWRQeWor?= =?utf-8?B?Yk5uVWRuU3pubmozcFF3OFhHcEZISjdPNjVDNlNvMFBZVXhjTHFoWWFBanBB?= =?utf-8?B?Nm1ONXZjc0taWW5kQVpZT2hTcS9tdVZmeG42MHRoWTNCN0pOMCt6Ukd3TGVj?= =?utf-8?B?OUNzTzZkbTc0VUk1TyttUVVmVkNkSWRXeXJOSzVBV0ZoNFNIcG9QeWJQbnps?= =?utf-8?B?VHlLelE2dFRiTncrMDV4aDdSVHRmS2ZiN3MzeFd0YUZ0emNxQTF0cWJjRzNU?= =?utf-8?B?QXV3QktPM0lVYzJIMWorMXRITUhjSUpCYXdiRFFpbVNieXVjTVpMYzIrV243?= =?utf-8?B?NVpmTFkzVDdFbk1TSysxQkNZSGNOQ1hFdHlTRHN3c3JKWU0vNjh0NDFtdFdF?= =?utf-8?B?VlAwMUJ1TW1GenB5SlBnVXNrQ1dwSFZoTjhjcklVQmJWeUs1NkJyTEs5Uzdz?= =?utf-8?B?M0lQUEg0bWJaZkt2WWlNSE9kdElMOWtKUXlNOUZXVXlsVkhFenVCN2N2U01x?= =?utf-8?B?ajM2U3ZoVXV6aHJEeUFSWlVvd2l0aWpyWmV0eHlLbWR5L2VHOWxJMUg1N1VV?= =?utf-8?B?U0duaW1JT0J0b0JxeFNDWUhpSTAxb3U5VnByLzhKSFhGei9nWmU1RERRMUxj?= =?utf-8?B?SHkxVkN0Yy85NFZJK1QxbjQxLzBwd0tuVHY3OXBsRS9UVmROWlVuSExuWStl?= =?utf-8?B?VEYrRWNmNER0cTYzMjVwMEQ4OUFSWU9nVHd4bDhLMndDSi9VbXUycDY2QWVY?= =?utf-8?B?dmpIWUR0ZjVzVnBHTDJnQT09?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <3DAB74E9134DBF4383CC4332A7620650@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR07MB3500.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 468fec3e-0daf-4b02-9d51-08d9671f8b4b
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Aug 2021 16:52:22.6162 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: StXpm4uuFDr1HEVnFo8mZtxrlrBIPXynpOFvefgv+Tt38VUkiRJG/SeGbwJXFJ6QQc0qq4sfDJqsKGsYDHdlSLZRxSo+poxS+SCm8rwxNdE=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0702MB3546
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/pr2gBhvqy9j8AfUdQVTZLwamXac>
Subject: [Ace] draft-ietf-ace-key-groupcomm-13
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: Tue, 24 Aug 2021 16:52:33 -0000

SGksDQoNCkhlcmUgaXMgYSByZXZpZXcgb2YgYWNlLWtleS1ncm91cGNvbW0tMTMuDQoNCg0KR2Vu
ZXJhbA0KPT09DQoNClRoaXMgZHJhZnQgcHJvdmlkZXMgYSBsaW5rIG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4YmY1ZCZ1PWh0dHBzJTNBJTJGJTJGZ2l0aHViLmNvbSUyRmFjZS13ZyUyRmFjZS1rZXktZ3Jv
dXBjb21tLg0KDQoNCiAgICBUaGUgSUVURiBkYXRhdHJhY2tlciBzdGF0dXMgcGFnZSBmb3IgdGhp
cyBkcmFmdCBpczoNCiAgICBodHRwczovL2RhdGF0cmFja2VyLmlldGYub3JnL2RvYy9kcmFmdC1p
ZXRmLWFjZS1rZXktZ3JvdXBjb21tLw0KDQogICAgVGhlcmUgaXMgYWxzbyBhbiBodG1saXplZCB2
ZXJzaW9uIGF2YWlsYWJsZSBhdDoNCiAgICBodHRwczovL2RhdGF0cmFja2VyLmlldGYub3JnL2Rv
Yy9odG1sL2RyYWZ0LWlldGYtYWNlLWtleS1ncm91cGNvbW0tMTMNCg0KICAgIEEgZGlmZiBmcm9t
IHRoZSBwcmV2aW91cyB2ZXJzaW9uIGlzIGF2YWlsYWJsZSBhdDoNCiAgICBodHRwczovL3d3dy5p
ZXRmLm9yZy9yZmNkaWZmP3VybDI9ZHJhZnQtaWV0Zi1hY2Uta2V5LWdyb3VwY29tbS0xMw0KDQoN
CiAgICBJbnRlcm5ldC1EcmFmdHMgYXJlIGFsc28gYXZhaWxhYmxlIGJ5IGFub255bW91cyBGVFAg
YXQ6DQogICAgZnRwOi8vZnRwLmlldGYub3JnL2ludGVybmV0LWRyYWZ0cy8NCg0KDQogICAgX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCiAgICBBY2UgbWFp
bGluZyBsaXN0DQogICAgQWNlQGlldGYub3JnDQogICAgaHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFp
bG1hbi9saXN0aW5mby9hY2UNCg0KDQo=


From nobody Tue Aug 24 23:02:11 2021
Return-Path: <ludwig.seitz@combitech.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 29FE63A0D6A for <ace@ietfa.amsl.com>; Tue, 24 Aug 2021 23:02:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=combitech.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 RNf5FgysfH61 for <ace@ietfa.amsl.com>; Tue, 24 Aug 2021 23:02:01 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70043.outbound.protection.outlook.com [40.107.7.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6E63F3A0D63 for <ace@ietf.org>; Tue, 24 Aug 2021 23:02:00 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L3mOydgIAQqP+WvSWpWrOykfeUX1WYXMd5ehbtaWG/uw4vPejadBb3f3H7VEHSat5Y/NzRecN6vH953Nl+gl1v/HBThD8vpXwXd8JAEReRZuIy+vuQzFYbXxNuszPh/EodbxqAX8tjO5VMhpNAFdqLsres4m6lqUYZlcZakM06Z/FftFiPyH5mc8Re1okJd7SYzEiRwnmQnRWCmOe7iHE0QPOXtKibicU5r4lQkoJQcvRCgebk2MoIw+te+JkVcTjKmkfSzK+dPErdqKarKq9BoxlfdHkWFIkVj+MefxAQZsTVw3uPYd5hCs6exH9MpyPM4c8+iWrrFf/TPQWuWQhg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fkSLX2NmeRr7yxJEqEFRummfPfrKmgFDMKmgYZNU0u4=; b=fFabjeomf78X0BZTJNZnnbIUM1zWlhTXxNdRwU7CIqldCyxkfetb+HiH5JyDYl35wMpkugrB7jTjT2ESC+/4HRm2BMeQQqhixzt5ADoWmScfUdbGU9Ondrbo/TKIEwik6pTKo9ugWDyYacaEW1c6M8P1H/BCkJ6GSRaX91kx5XhojhP9ID5crzggl7AIMBJXvRM+udr7NFKkTWbqgrnp7cEuQBIJKuNVMK2htF/87etQ9ap07egZEnvk2P+7eorszRtUIBF+y/rgkHG4WlqN9JgvkcSmd5Ou84xxMNjAqaT/zqmouNoamWDBCHSpGhoqxHSKfxcbW13yXPE70KJ5KA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=combitech.com; dmarc=pass action=none header.from=combitech.com; dkim=pass header.d=combitech.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=combitech.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fkSLX2NmeRr7yxJEqEFRummfPfrKmgFDMKmgYZNU0u4=; b=pSy/ldwQN7h3hufmF2hKgIbddEMaQuJYfqYBSfhPtuDNK0oSJGFpmMMU2ZgJaTd1rfZ+iNEx2d0afJn77FwAOSQ0LuRRtmpMwnmqVjJqDpqVB478ImwqccizUPAjCBQTrA36B8uyJC4XwNiQRpMnhWO4jPaiZ6YMvn3I2aBRxuzWyVocbpgpK3QK7soWJ4+cL/I5vUsIHSk+uZD6UbcmIl4vgCgHBzRlJ05rwWtV1PtazzHPTVZwstXflKW6PUJJhc7Qq9JQX1xtHpSPzEuAxO7SUQsD3/67FqIGRUvlzBtGewaDSuuTXwD6qlMciwdPyRDFhojQPQ/d+DhBPBrpyQ==
Received: from AM0PR0302MB3363.eurprd03.prod.outlook.com (2603:10a6:208:c::21) by AM0PR0302MB3186.eurprd03.prod.outlook.com (2603:10a6:208:a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.22; Wed, 25 Aug 2021 06:01:57 +0000
Received: from AM0PR0302MB3363.eurprd03.prod.outlook.com ([fe80::c4f8:8d18:eb58:c4f]) by AM0PR0302MB3363.eurprd03.prod.outlook.com ([fe80::c4f8:8d18:eb58:c4f%7]) with mapi id 15.20.4436.025; Wed, 25 Aug 2021 06:01:56 +0000
From: Ludwig Seitz <ludwig.seitz@combitech.com>
To: "ace@ietf.org" <ace@ietf.org>
Thread-Topic: [Ace] Missing Introspection parameter in draft-ietf-ace-oauth-authz
Thread-Index: AdeTccBInk2WnXcwSwu/sx0yJihN+wAClCkAAX6esyA=
Date: Wed, 25 Aug 2021 06:01:56 +0000
Message-ID: <AM0PR0302MB3363A17E0B2F53DA9E82D21E9EC69@AM0PR0302MB3363.eurprd03.prod.outlook.com>
References: <AM0PR0302MB336360E5A74D2141173E03B49EFE9@AM0PR0302MB3363.eurprd03.prod.outlook.com> <CADZyTkmHfBAveX0DSJtdLQ2-wF_6XuULZe_w_OfAaiemgXu63g@mail.gmail.com>
In-Reply-To: <CADZyTkmHfBAveX0DSJtdLQ2-wF_6XuULZe_w_OfAaiemgXu63g@mail.gmail.com>
Accept-Language: en-US, sv-SE
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_Enabled=true; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_SetDate=2021-08-25T06:01:55Z;  MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_Method=Standard; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_Name=Company Confidential; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_SiteId=0d11ac4a-ef5e-423a-803b-e51aacfa43d6; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_ActionId=af4ad0f8-be5f-4a7d-b491-3b2d88fbc905; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_ContentBits=0
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=combitech.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: cf4bf507-de1f-40a7-1757-08d9678dd87e
x-ms-traffictypediagnostic: AM0PR0302MB3186:
x-microsoft-antispam-prvs: <AM0PR0302MB318697395B0C18178AF418759EC69@AM0PR0302MB3186.eurprd03.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: AgVfZLN9ot0J85jblY8rYShMUG526gTe/0uzcIgRs2Nm8e2B3QmrEMmk0eWuNO3KSsKzcHcsNG6kKJn9P0X5GmToPsJrt/S4eg+ZGvMoqeTPvSHhbKxzerFAkCRe+HuWsCOo+PdJ4ZrMBQURlnvdC9D+WXdEYWcpINRH5XMNuLMdnKoW4ES9pO0GKo+IeyCvanvWJa0m6npxI0dORXwpDpQ0m6MDh0jKfNYcprSuCnN3wCFSA0hfMRSyE6otQ8WXX4HK8NiZerxnL3hGU3zqoA/tcRCJu0ve6KtazS1ybyW7pi9PgoaFoFKnH/Xvngw+DFGGnlWeGhwsXHsGQzIEZ2FEwlxTtX/XpNe+4JlOYNlxaLEVlgp9Pv1YS09DBapQGw/tAH2qXFBk1+jv4YhDfMo8aJUMolOajODnFbpMQj4QUa0650GalUudQKAOCO3uh69nLGRADN2BF/L83KqN2SiVd72aFcLgvfDOp2yAj3UJD1FVt3EUnYbSZOqKr/Ku+kPBYr1azpizlp4V6Y+w/hlCc7YjWvs2kQKNW2D8Gvve4o1Z+OXbCdqQ+HkZ08sUVcZ+S8WdzFEQOd56Wh0jeDv0ojpQ/6XQmRp59gVzeUxrNLkHuy8nyKDsd9cCd2dD9dCNJPBzmPHX9i/54F0KeETftU+0+0nXOBaWVr+hZvLFnOR+y5IUQjOOkmXvh/pOn/o/l9JdJOkjXp+dO3kM8WmCU5KbrEgYiW6PsS3IoR4YR+txVIgvdX0KS7KL54h10HBN8UG2Yj939+5KYehFP9ZTvbDq4/oFdmBV8iQATHk=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM0PR0302MB3363.eurprd03.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(39850400004)(136003)(396003)(366004)(346002)(376002)(86362001)(52536014)(71200400001)(8936002)(8676002)(6916009)(44832011)(316002)(26005)(5660300002)(186003)(166002)(38070700005)(66476007)(66556008)(64756008)(66946007)(55016002)(6506007)(53546011)(66446008)(66574015)(76116006)(966005)(2906002)(478600001)(33656002)(7696005)(9686003)(83380400001)(122000001)(38100700002); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?VkdzS0hydkNUWnd3MGR2Y0oybFZ1b0x6S0pmOVRCQVl6RW1iNzR3Q2ZXZUhV?= =?utf-8?B?ZkNUMW5ON25yV2hxeVB6S0NHZ2YzbmE1RmJFeU9seUZuWHhkd3hqTVhaMzF2?= =?utf-8?B?S2REOVkydVNxUXlVZU9BNHRxUW9tbFZVVUxUeE9Rb2RjbU1IS0UrUEx4dHZF?= =?utf-8?B?cWI0SStjVThPZ1N2WkFMQnhFMXlPcWpPcVBRajZjNGZkSkJrdEV3ZWEzakpM?= =?utf-8?B?WVZzb2thQ2ZEVVZ6ZlFWTE5WUGtSRi8yWFFjSjlaNHN5U0NnUHNXejhDb1JW?= =?utf-8?B?cVhFblBZdElEY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?= =?utf-8?B?MnBRbHU3Vk9ZM2FyYnhjSm82RlNsTGgzMEk1ZE12c2o2V3o3Vkh2KzFTYVh3?= =?utf-8?B?ZVhaNk9CZTRBNkNrRVBldHc5VlVldUwvd0x6TklwUU9yZjRHamhzSkt4SFJv?= =?utf-8?B?RC8yMkxkekR5bGlxZ1A5bEI1d3VKakY0Y29vZlE0TVp2WGhBL3U4N0wxd1Jx?= =?utf-8?B?bXp6bktHZytpM1luOEtRN0FRWEtrYmc1L3F6dW0rU2Y0eXBsNEc1eENJRHh4?= =?utf-8?B?S25oYTQxTDRrbTlldFErakJmdEQ1MXVPQzM1LzM5ajYwZmpHendLZW4yZVZk?= =?utf-8?B?amF4TkYweWUrQng0YW5GSHFocXQrcnpXb3pRYi9tVE04OWJ0WkdrdElDOU52?= =?utf-8?B?aTdyRGhXY1FVZ20zR2hyc1ZIR3NFeFRXMllHUEVyWkN4V1AybzNOd1gxdDNr?= =?utf-8?B?UTVCM0dDamZucGVDRU1KUHBZUkVYVmIwS3BVMkZoMituY3FKUUMzNm5mMFVs?= =?utf-8?B?ZEswdElKWFN5OHVNdFMzLzFwTjEyUHYzRjllM0kzNVlscVMzQkVVVmd2K2Zr?= =?utf-8?Q?7/i8jmr6Aqz5Tf/jYs=3D?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_AM0PR0302MB3363A17E0B2F53DA9E82D21E9EC69AM0PR0302MB3363_"
MIME-Version: 1.0
X-OriginatorOrg: combitech.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR0302MB3363.eurprd03.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: cf4bf507-de1f-40a7-1757-08d9678dd87e
X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Aug 2021 06:01:56.9447 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 0d11ac4a-ef5e-423a-803b-e51aacfa43d6
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: SmUbJLMEsv6k4+Lfz6JU07HrvNEozdIxLSP0Uwa4cqpgqBPZOBOuf5ifClL/SS0QUikj1QkddUKXdKznccPxFjHT5Pq52mTeC9zpp6AvpuI=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0302MB3186
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/QoGn4H_JTsNKWa4hi_DlnODGFR0>
Subject: Re: [Ace] Missing Introspection parameter in draft-ietf-ace-oauth-authz
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: Wed, 25 Aug 2021 06:02:09 -0000

--_000_AM0PR0302MB3363A17E0B2F53DA9E82D21E9EC69AM0PR0302MB3363_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

SGVsbG8gQUNFLA0KDQpTaW5jZSBJIGhhdmVu4oCZdCBoZWFyZCBhbiBvYmplY3Rpb24sIEkgd2ls
bCBnbyBmb3J3YXJkIGFuZCBhZGQgdGhpcyB0byB0aGUgZHJhZnQuDQoNClJlZ2FyZHMsDQoNCkx1
ZHdpZw0KDQpGcm9tOiBEYW5pZWwgTWlnYXVsdCA8bWdsdC5pZXRmQGdtYWlsLmNvbT4NClNlbnQ6
IGRlbiAxNyBhdWd1c3RpIDIwMjEgMTc6MjUNClRvOiBMdWR3aWcgU2VpdHogPGx1ZHdpZy5zZWl0
ekBjb21iaXRlY2guY29tPg0KQ2M6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+
LS0gPG86cD48L286cD48L3A+DQo8ZGl2Pg0KPGRpdj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9y
bWFsIj5EYW5pZWwgTWlnYXVsdDxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xh
c3M9Ik1zb05vcm1hbCI+RXJpY3Nzb248bzpwPjwvbzpwPjwvcD4NCjwvZGl2Pg0KPC9kaXY+DQo8
L2Rpdj4NCjwvZGl2Pg0KPC9ib2R5Pg0KPC9odG1sPg0K

--_000_AM0PR0302MB3363A17E0B2F53DA9E82D21E9EC69AM0PR0302MB3363_--


From nobody Tue Aug 24 23:32:46 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: ace@ietf.org
Delivered-To: ace@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id CB5B93A0873; Tue, 24 Aug 2021 23:32:28 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: ace@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.36.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: ace@ietf.org
Message-ID: <162987314876.21756.15841205803723401096@ietfa.amsl.com>
Date: Tue, 24 Aug 2021 23:32:28 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/BN8M5NhFurn_0GPjcqmJOSdncqQ>
Subject: [Ace] I-D Action: draft-ietf-ace-oauth-authz-44.txt
X-BeenThere: ace@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 25 Aug 2021 06:32:30 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Authentication and Authorization for Constrained Environments WG of the IETF.

        Title           : Authentication and Authorization for Constrained Environments (ACE) using the OAuth 2.0 Framework (ACE-OAuth)
        Authors         : Ludwig Seitz
                          Goeran Selander
                          Erik Wahlstroem
                          Samuel Erdtman
                          Hannes Tschofenig
	Filename        : draft-ietf-ace-oauth-authz-44.txt
	Pages           : 83
	Date            : 2021-08-24

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 and the Constrained Application Protocol (CoAP), 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.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-ace-oauth-authz/

There is also an htmlized version available at:
https://datatracker.ietf.org/doc/html/draft-ietf-ace-oauth-authz-44

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-ace-oauth-authz-44


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Tue Aug 24 23:34:27 2021
Return-Path: <ludwig.seitz@combitech.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 4159F3A0873 for <ace@ietfa.amsl.com>; Tue, 24 Aug 2021 23:34:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.091
X-Spam-Level: 
X-Spam-Status: No, score=-2.091 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=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=combitech.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 g7EKSGywqGMI for <ace@ietfa.amsl.com>; Tue, 24 Aug 2021 23:34:18 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2076.outbound.protection.outlook.com [40.107.21.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BC2883A08DE for <ace@ietf.org>; Tue, 24 Aug 2021 23:34:18 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nAblP9Rdxn4fnLrDskse0Zun4QMs7xIxlN7V/5ITXuSRllWaA0lWzWYjjGf97Gaz4yv30tg4PaE+QvhwoRMnTFbWsQd3bCtTq8Z0wKgIPoUb01lScUZGwa5x02j/VOC5J7r/vIjpSCwmczzmZ0zk7wSH5AQUDd8Vi35hFsJ5LYTBiL9tIv5k3DwYiQMEUv/eTgqKQpi3Eys+GnJEoYZBwknTKVGMUmZ4n8pGWT3B1IkhyD75EFJ+lo5/LLkKxUs3S9C+0sNgWjgQcNIbHjDq85KclEhkMWeIogETubNOfiXsU8xnciZX75OOG2Askc/rscBxuJbTIUvwqxfMCEAFFA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YtIW+ucmQHykyvPiXxqVoXGL0f7E+kQCg4fyI6Ik3y8=; b=Mwbyk5WxPBKsqUjxKsCCXUhPf2pZgqxnXn+STs1T0zAvUCtt92d3PefP9eFed3+vJJdcV2K0fTbbYUsZID/9J8nXR3cW8OAaWw0fuQWCKtb4B4DdF5k77GPAlGunazmhGO7KnTon7583LTo6XXZ0D88/Sb1UPNwjugVUG5jKgNKgmRF9zqPt2FL6brArij/ctN+ASkQeXGaPZ67KJ7WllYsE0BnKxNEHuugstn3EkfI4PWYiyPNttBEsGChNSMKXRodFyoZ2rPzGcCx2inReo53Qidwtoe9SNp5NVRtHqC+GPWjO7p60ytsCc1jaVRR9GVsItVh8arlOS4z1lF4Qsg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=combitech.com; dmarc=pass action=none header.from=combitech.com; dkim=pass header.d=combitech.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=combitech.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YtIW+ucmQHykyvPiXxqVoXGL0f7E+kQCg4fyI6Ik3y8=; b=HLm/zLhi8h0gy3Z4E1KteW7qZDBWqU62yq0721SkdaO0v3HFoApNoH7bu2Lt1nvxA9SVvr3z+HaZGb0OLLDf5NZ3/nRG15vkC945RNY3dddW0n7e8ZmNMZ3vCHTKuxfYIsfRdU4UW2hSV65kbEjYJ7ZnXscEGwv5piAnjj4dtpX9a0K7+HbjETHbB5cWkTu/JNBW2zVXZPon38AJPMsaTB9lNGKwHV8NH4olRyYwrDtWPgEcb481C0VDnrNkqNM/7hemFHXrs399rzQoVinjJ223wFjxyLSDGDOEKYQnSp6HLqty6me4YYJ+jCeF+kG+ntw2RCX69tT3eF8aoB4bhQ==
Received: from AM0PR0302MB3363.eurprd03.prod.outlook.com (2603:10a6:208:c::21) by AM0PR03MB5826.eurprd03.prod.outlook.com (2603:10a6:208:15d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.22; Wed, 25 Aug 2021 06:34:15 +0000
Received: from AM0PR0302MB3363.eurprd03.prod.outlook.com ([fe80::c4f8:8d18:eb58:c4f]) by AM0PR0302MB3363.eurprd03.prod.outlook.com ([fe80::c4f8:8d18:eb58:c4f%7]) with mapi id 15.20.4436.025; Wed, 25 Aug 2021 06:34:15 +0000
From: Ludwig Seitz <ludwig.seitz@combitech.com>
To: "ace@ietf.org" <ace@ietf.org>
Thread-Topic: New Version Notification for draft-ietf-ace-oauth-authz-44.txt
Thread-Index: AQHXmXr8GPmXCqIg0keyBFzZefpN8KuDww4w
Date: Wed, 25 Aug 2021 06:34:15 +0000
Message-ID: <AM0PR0302MB336319BBAA6861DBF67AFA3A9EC69@AM0PR0302MB3363.eurprd03.prod.outlook.com>
References: <162987314934.21756.11758388116903810742@ietfa.amsl.com>
In-Reply-To: <162987314934.21756.11758388116903810742@ietfa.amsl.com>
Accept-Language: en-US, sv-SE
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_Enabled=true; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_SetDate=2021-08-25T06:34:14Z;  MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_Method=Standard; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_Name=Company Confidential; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_SiteId=0d11ac4a-ef5e-423a-803b-e51aacfa43d6; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_ActionId=749e590e-fe68-4279-a078-cb52383d898d; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_ContentBits=0
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=combitech.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 65786b3c-db42-4a18-cf16-08d967925c24
x-ms-traffictypediagnostic: AM0PR03MB5826:
x-microsoft-antispam-prvs: <AM0PR03MB5826D5370165683B6C30CC609EC69@AM0PR03MB5826.eurprd03.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: kPTxuLqFhOS1Oi2DBkJ9wr+Yxd09mFzTLhyLGlk7zwothgrZRIEPDBQRjhTroTKrzsGS74Cw0EsVM+UnxhjInb0DSuZwbBdEhOwHq+D8lJ17UHRcL2EPkR1ZZScDOwppikSD22HWh7Jx/aIWWNkk4x6bt5O+ZA2nFf9rkbScDiSayUclshAqjmTl3e9YCub/D6lcpQXh2bagcfgx9r+oQ4lWUmEez78GmJVAEXg6EGaukq7OQGsqz6RZD+JdKflEh0awqkD2GarqKjoHNTAJJL2WLLRQ2b6pkVaEjArCbcfWzJXr5PLx6Y0MbQeJBkYkgIZWb4eljCiRSb84L2pQxlU540c3M4nzKHCAGO5i4ZBYjJ2QKAtuA6SaviVRrq44R0e1qlavmE9TS4nGTuXDT6Jh6bmUUJanEFzEIeY6xSWlYMc6/y8bWQryMuVRDJuU/GPK/Tu4KxHCOHVUPY4US6KqJLH28cUF3UuCIc0OmdOGPSrUJXiogx/WtiWyWNRumJogBFkPcfHp/UlmPJ9BD80qeH0POFoV/uQRgUAE+ELppRWxaljqm1SWprgDgUheFud1yAF4dUMlIxRWztU7dIzoh0L29EEP+5NbZmBxMDz2yZStLWugRmPvR95+097IDuf8RqFZ8bL9oDh4f1SN8PwBTPKKEEjjQwdxjkB2mKCMvcwTxenHZsQ5PvT8FdXtkNpOabtXaV4bMoPEyZSGNvSAt1fKcz7yu7vfNoTyJBMyI1bAd10wNhVlhP24Gycs1WwWDmmi76DqxRms/UlwZTZeA+c8qcIZpPfQZb/P9ZQ=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM0PR0302MB3363.eurprd03.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(39840400004)(396003)(376002)(136003)(346002)(366004)(76116006)(66446008)(64756008)(66556008)(7696005)(66476007)(44832011)(8676002)(66946007)(71200400001)(83380400001)(6916009)(38070700005)(9686003)(8936002)(5660300002)(52536014)(55016002)(15650500001)(316002)(186003)(26005)(66574015)(2906002)(33656002)(86362001)(6506007)(53546011)(966005)(478600001)(38100700002)(122000001); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?WCsxdVVmWVk1TjZBMjR1WnBiMHphRk9oemJIaXVxNy9GZW9YK3RjWE1oNnR6?= =?utf-8?B?bmhVRHMzQ2E5UXE4ZnJNejJPUFRzOFU1VHR5cyt3VjFzVDdqQ1paRzVJVHp4?= =?utf-8?B?UFd4TDhhMXlZY1hhTjVaekMxamhpdnRVTEo3YlQzeW4wSkZtamlTUStsSVVi?= =?utf-8?B?bWNuREUzSEFIYkVCYVU4Rkh6OUs4dVFLQnVNK0YyOWtIOHROTHRqYUhIQ3Fo?= =?utf-8?B?SVNVNWdSS1BjdGJ6aitqYlc4a2podWJOMjE5MWIwc3BXam5lVFF0TEk1M2tB?= =?utf-8?B?L0pwdzdrdkorYURCMVowZ294eEcxTjFhV3FUMzdJT3BJWWhLS3JIeTEraEVC?= =?utf-8?B?Q1NrTUtuckZoWmc5ZUY2ZWhVaWM4NzJTd3B3bHJZa2NPQkhkSThvcHFwUlJv?= =?utf-8?B?MzdZdHFHY2xtRHY3UXR5RlJyNWpqWFd0WFpmRGZXeFcyNVhRTHhFZWk0SW9I?= =?utf-8?B?Z25HS0duaG81SDNDMUordmJsdkdBemtsR04rSlBEVVZ0VE9aV1NFeTFZUE5l?= =?utf-8?B?ZExaTEVWK1lWbHdyVjBvS3dRNW04aUI1c25mZVFSaU94VE9neTBOVHBYczJs?= =?utf-8?B?NGJRT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utf-8?B?aUZpcGgwSHhZeHRVYzE1c1NiajNrU0tIL1VHZWJzcExHMWZGaDFCcXBaV0FO?= =?utf-8?B?TmlBNUJaeXdRNldCdlc3c2dKK3dRZW8yU0x6K0dFbUxGSUNLM1prRmludXVW?= =?utf-8?B?WGNkUEl0REJULzZMT0c2M21BdVBrSHJBRTZBSEp5QmhDaFBQdjV1L0hnMDVC?= =?utf-8?B?ZDlFUzFHRE9pR1padng4R0RxbnZ0YllJbEl6cC9Gb091bWRENGdHZEthZGIr?= =?utf-8?Q?fx7xnOfgL+t/aMSr9k=3D?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: combitech.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR0302MB3363.eurprd03.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 65786b3c-db42-4a18-cf16-08d967925c24
X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Aug 2021 06:34:15.7478 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 0d11ac4a-ef5e-423a-803b-e51aacfa43d6
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 2+uirHaOWi2hcw374PZ90mF8g0C10X8NsDraxqXAYrAysmIUOHXTASQks5ahgrlbTtMpBlkJY5MVPcaNeZmTWntnM22r+wtcUIjxmuxnF8o=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR03MB5826
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/Ljc_aJbDD7I-6eGPZGrLGsy3o4E>
Subject: Re: [Ace] New Version Notification for draft-ietf-ace-oauth-authz-44.txt
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: Wed, 25 Aug 2021 06:34:26 -0000

SGVsbG8gQUNFLA0KDQpUaGlzIHVwZGF0ZSBmaXhlcyBhIG51bWJlciBvZiBuaXRzIGlkZW50aWZp
ZWQgZHVyaW5nIHRoZSBJQU5BIGFjdGlvbnMgcmV2aWV3IGFuZCBpbnRyb2R1Y2VzICJjdGkiIGFz
IEludHJvc3BlY3Rpb24gcGFyYW1ldGVyLg0KDQovTHVkd2lnDQoNCi0tLS0tT3JpZ2luYWwgTWVz
c2FnZS0tLS0tDQpGcm9tOiBpbnRlcm5ldC1kcmFmdHNAaWV0Zi5vcmcgPGludGVybmV0LWRyYWZ0
c0BpZXRmLm9yZz4gDQpTZW50OiBkZW4gMjUgYXVndXN0aSAyMDIxIDA4OjMyDQpUbzogRXJpayBX
YWhsc3Ryb2VtIDxlcmlrQHdhaGxzdHJvbXN0ZWtuaXNrYS5zZT47IEdvZXJhbiBTZWxhbmRlciA8
Z29yYW4uc2VsYW5kZXJAZXJpY3Nzb24uY29tPjsgSGFubmVzIFRzY2hvZmVuaWcgPEhhbm5lcy5U
c2Nob2ZlbmlnQGFybS5jb20+OyBIYW5uZXMgVHNjaG9mZW5pZyA8aGFubmVzLnRzY2hvZmVuaWdA
YXJtLmNvbT47IEx1ZHdpZyBTZWl0eiA8bHVkd2lnLnNlaXR6QGNvbWJpdGVjaC5jb20+OyBTYW11
ZWwgRXJkdG1hbiA8ZXJkdG1hbkBzcG90aWZ5LmNvbT47IGFjZS1jaGFpcnNAaWV0Zi5vcmcNClN1
YmplY3Q6IE5ldyBWZXJzaW9uIE5vdGlmaWNhdGlvbiBmb3I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1dGhlbnRpY2F0aW9uIGFuZA0KICAgYXV0aG9yaXphdGlv
biBpbiBJbnRlcm5ldCBvZiBUaGluZ3MgKElvVCkgZW52aXJvbm1lbnRzIGNhbGxlZCBBQ0UtDQog
ICBPQXV0aC4gIFRoZSBmcmFtZXdvcmsgaXMgYmFzZWQgb24gYSBzZXQgb2YgYnVpbGRpbmcgYmxv
Y2tzIGluY2x1ZGluZw0KICAgT0F1dGggMi4wIGFuZCB0aGUgQ29uc3RyYWluZWQgQXBwbGljYXRp
b24gUHJvdG9jb2wgKENvQVApLCB0aHVzDQogICB0cmFuc2Zvcm1pbmcgYSB3ZWxsLWtub3duIGFu
ZCB3aWRlbHkgdXNlZCBhdXRob3JpemF0aW9uIHNvbHV0aW9uIGludG8NCiAgIGEgZm9ybSBzdWl0
YWJsZSBmb3IgSW9UIGRldmljZXMuICBFeGlzdGluZyBzcGVjaWZpY2F0aW9ucyBhcmUgdXNlZA0K
ICAgd2hlcmUgcG9zc2libGUsIGJ1dCBleHRlbnNpb25zIGFyZSBhZGRlZCBhbmQgcHJvZmlsZXMg
YXJlIGRlZmluZWQgdG8NCiAgIGJldHRlciBzZXJ2ZSB0aGUgSW9UIHVzZSBjYXNlcy4NCg0KICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgIA0KDQoNClRoZSBJRVRGIFNlY3JldGFyaWF0DQoNCg0K


From nobody Wed Aug 25 14:53:16 2021
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 6A5E23A14B8 for <ace@ietfa.amsl.com>; Wed, 25 Aug 2021 14:53:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.419
X-Spam-Level: 
X-Spam-Status: No, score=-0.419 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, FUZZY_CREDIT=1.678, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 bcKWwmO7lpAp for <ace@ietfa.amsl.com>; Wed, 25 Aug 2021 14:53:04 -0700 (PDT)
Received: from mail-vk1-xa2c.google.com (mail-vk1-xa2c.google.com [IPv6:2607:f8b0:4864:20::a2c]) (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 EF6833A14AF for <ace@ietf.org>; Wed, 25 Aug 2021 14:53:03 -0700 (PDT)
Received: by mail-vk1-xa2c.google.com with SMTP id d30so242575vkl.12 for <ace@ietf.org>; Wed, 25 Aug 2021 14:53:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xy95LfGBj63/xNeCnfZ0kdTXIIkEgsx6y+trc1+N/kQ=; b=OOH5RgarZ+pe30+4RDhi5BJwoelLn3gLYlFJBkWEjyluyTOb2DyKdC8KHJ06EkUEOw z5NNKu3lDBMocDANUBVWkkHvoVJ8myb4tFV+or6OO/Wk9kz1LqZ7Qx240VeNe1z8PBBd mjA1lSkF+UKOm6wjW68Y+rXSH0FZmPg9goWXJRn6Nqs0w1Rawb4ho7R+HZkpmLdKrTQL 69IDZurvI+b64qXLSEXTgupNFC1MZzqazwC+vCbVEnak6VyjB9XXx+4Vi8Yqm++FYRkI GpAfBF9YYQnfEsrCclHOYBaOb4EM84ovuR1fhEWapx6y662wmeqcVwxUPFJcwocPxJDt V8Tg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xy95LfGBj63/xNeCnfZ0kdTXIIkEgsx6y+trc1+N/kQ=; b=aqDZbiGjC8n8PgohAd1t7AZoepxlu5ieVu2tgsmJGyz6PWvIa8nW/Rh1FVt6LjMbFb RHlQdXm7iE0/drd6mp0LrZvC0o6fIjD8F9nzIkAHaM1fLAh0WFFoS2AcUgKENUymgsqh OEpLuhOdBad1cZbBm1ejfsQ5n+38BlHbvcDuvTv5EkSMxaYy7JzVxAW72N3JlWXf76ks exYDXhNmu2G8Evpxr/P+svwYpG3LhZTSwXPDVDMUYhIvxojpBzHvZdjZfqGfGRGlAw8L 09S+BFX4AtCImgMMindtajb0/UDFRrNllgln0F1/LZa8Wfx8L2ZayOF20gXlnJYhq5I0 vs9w==
X-Gm-Message-State: AOAM530htrnGlAOUHqnnjkdEwj6TenrhnUNL2PSUIjbJkV2w/vM/xNyy 8fNYdFJyc6bE9hmIzxGf9llgb4dH5NVuqMyKlzuyzVyieXi9cw==
X-Google-Smtp-Source: ABdhPJxNMtoWvfGVu1jZPEK0En2lF5oAibWY77NYQyzlwrn/j1Lgx053g35aNz3UutoHMqpmxOeP/0iZlu1Cc5zMXWs=
X-Received: by 2002:a1f:264c:: with SMTP id m73mr288379vkm.1.1629928380343; Wed, 25 Aug 2021 14:53:00 -0700 (PDT)
MIME-Version: 1.0
References: <E59F2C52-F777-4704-90D2-1D04C700A60E@ericsson.com>
In-Reply-To: <E59F2C52-F777-4704-90D2-1D04C700A60E@ericsson.com>
From: Cigdem Sengul <cigdem.sengul@gmail.com>
Date: Wed, 25 Aug 2021 22:52:54 +0100
Message-ID: <CAA7SwCPzy-ALLRtw2Qxt9K3UhEkE8BWSBUFnx-RJJbpZj+n13A@mail.gmail.com>
To: =?UTF-8?Q?G=C3=B6ran_Selander?= <goran.selander=40ericsson.com@dmarc.ietf.org>
Cc: "ace@ietf.org" <ace@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000001ea8ce05ca6946e4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/gv_uRo2Y45jqOLJghVSbAARWky0>
Subject: Re: [Ace] draft-ietf-ace-key-groupcomm-13
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: Wed, 25 Aug 2021 21:53:15 -0000

--0000000000001ea8ce05ca6946e4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello,
Here is also my review, as promised. I agree with G=C3=B6ran's comments and
tried not to repeat them (but I realise I have the same concern about the
presentation of Section 4 - more details below).
*General comments:*
The draft is quite thorough in providing details about how a node, as a
participant of group communication, can get authorisation, join/get
information about and leave the group, how a node can be removed, and how
the key information is provided to protect the group communication. In the
pub-sub draft, we take advantage of all these resources to secure pub-sub
communication.
In addition to some questions I have about resources (in my detailed
comments), most of my comments are focused on improving the readability of
the draft. As G=C3=B6ran also mentioned, after defining the available resou=
rces,
it would be good to explain the flows and then give details of endpoints
and examples. This way, it would be possible to understand first the
primitives available for securing group communication, then have more
detail important for the implementation.
Also,  reading the draft, it was first not clear how the rekeying was
supported, whether it was a push/poll based solution, i.e., whether the KDC
pushes new keys or the group participants query for the new key
information.  Both options are supported, but it would be nice to have one
clear section on this with a recommendation (Sections 4.4 and 4.5 look like
the main sections for this, but there are several instances throughout the
text rekeying is mentioned.)
Finally, I've read the draft linearly and revised my comments if something
I questioned was answered later; however, I've kept the comment to show
where someone can be puzzled, and a forward pointer to the correct section
may be appropriate. My comments are within [CS: ]. I hope you find them
useful.

*Detailed comments:*


ACE Working Group                                           F. Palombini
Internet-Draft                                               Ericsson AB
Intended status: Standards Track                               M. Tiloca
Expires: 13 January 2022                                         RISE AB
                                                            12 July 2021


           Key Provisioning for Group Communication using ACE
                    draft-ietf-ace-key-groupcomm-13

Abstract

   This document defines message formats and procedures for requesting
   and distributing group keying material using the ACE framework, to
   protect communications between group members.

Discussion Venues
[SNIP]


Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   4
   2.  Overview  . . . . . . . . . . . . . . . . . . . . . . . . . .   5
   3.  Authorization to Join a Group . . . . . . . . . . . . . . . .   8
     3.1.  Authorization Request . . . . . . . . . . . . . . . . . .   8
     3.2.  Authorization Response  . . . . . . . . . . . . . . . . .  10
     3.3.  Token Post  . . . . . . . . . . . . . . . . . . . . . . .  12
   4.  Keying Material Provisioning and Group Membership
           Management  . . . . . . . . . . . . . . . . . . . . . . .  15
     4.1.  Interface at the KDC  . . . . . . . . . . . . . . . . . .  17
     4.2.  Retrieval of Group Names and URIs . . . . . . . . . . . .  39
     4.3.  Joining Exchange  . . . . . . . . . . . . . . . . . . . .  40
     4.4.  Retrieval of Updated Keying Material  . . . . . . . . . .  42
     4.5.  Requesting a Change of Keying Material  . . . . . . . . .  44
     4.6.  Retrieval of Public Keys and Roles for Group Members  . .  45
     4.7.  Update of Public Key  . . . . . . . . . . . . . . . . . .  47
     4.8.  Retrieval of Group Policies . . . . . . . . . . . . . . .  48
     4.9.  Retrieval of Keying Material Version  . . . . . . . . . .  49
     4.10. Group Leaving Request . . . . . . . . . . . . . . . . . .  50
   5.  Removal of a Node from the Group  . . . . . . . . . . . . . .  50
   6.  Extended Scope Format . . . . . . . . . . . . . . . . . . . .  52
   7.  ACE Groupcomm Parameters  . . . . . . . . . . . . . . . . . .  54
   8.  ACE Groupcomm Error Identifiers . . . . . . . . . . . . . . .  55
   9.  Security Considerations . . . . . . . . . . . . . . . . . . .  56
     9.1.  Update of Keying Material . . . . . . . . . . . . . . . .  57
     9.2.  Block-Wise Considerations . . . . . . . . . . . . . . . .  58
   10. IANA Considerations . . . . . . . . . . . . . . . . . . . . .  58
     10.1.  Media Type Registrations . . . . . . . . . . . . . . . .  58
     10.2.  CoAP Content-Formats Registry  . . . . . . . . . . . . .  59
     10.3.  OAuth Parameters Registry  . . . . . . . . . . . . . . .  60
     10.4.  OAuth Parameters CBOR Mappings Registry  . . . . . . . .  60
     10.5.  ACE Groupcomm Parameters Registry  . . . . . . . . . . .  61
     10.6.  ACE Groupcomm Key Registry . . . . . . . . . . . . . . .  61
     10.7.  ACE Groupcomm Profile Registry . . . . . . . . . . . . .  62
     10.8.  ACE Groupcomm Policy Registry  . . . . . . . . . . . . .  63
     10.9.  Sequence Number Synchronization Method Registry  . . . .  63
     10.10. Interface Description (if=3D) Link Target Attribute Values
             Registry  . . . . . . . . . . . . . . . . . . . . . . .  64
     10.11. CBOR Tags Registry . . . . . . . . . . . . . . . . . . .  64
     10.12. ACE Scope Semantics  . . . . . . . . . . . . . . . . . .  65



Palombini & Tiloca       Expires 13 January 2022                [Page 2]

Internet-Draft  Key Provisioning for Group Communication       July 2021


     10.13. ACE Groupcomm Errors . . . . . . . . . . . . . . . . . .  65
     10.14. Expert Review Instructions . . . . . . . . . . . . . . .  66
   11. References  . . . . . . . . . . . . . . . . . . . . . . . . .  66
     11.1.  Normative References . . . . . . . . . . . . . . . . . .  66
     11.2.  Informative References . . . . . . . . . . . . . . . . .  69
   Appendix A.  Requirements on Application Profiles . . . . . . . .  70
   Appendix B.  Extensibility for Future COSE Algorithms . . . . . .  73
     B.1.  Format of 'sign_info_entry' . . . . . . . . . . . . . . .  74
   Appendix C.  Document Updates . . . . . . . . . . . . . . . . . .  74
     C.1.  Version -04 to -05  . . . . . . . . . . . . . . . . . . .  74
     C.2.  Version -03 to -04  . . . . . . . . . . . . . . . . . . .  75
     C.3.  Version -02 to -03  . . . . . . . . . . . . . . . . . . .  75
     C.4.  Version -01 to -02  . . . . . . . . . . . . . . . . . . .  76
     C.5.  Version -00 to -01  . . . . . . . . . . . . . . . . . . .  76
   Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . .  77
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  77

1.  Introduction

   This document expands the ACE framework [I-D.ietf-ace-oauth-authz] to
   define the message exchanges used to request, distribute and renew
   the keying material in a group communication scenario, e.g., based on
   multicast [I-D.ietf-core-groupcomm-bis] or on publishing-subscribing
   [I-D.ietf-core-coap-pubsub].


[CS: Nit: publish-subscribe messaging instead of publishing-subscribing?]


The ACE framework is based on CBOR
   [RFC8949], so CBOR is the format used in this specification.
   However, using JSON [RFC8259] instead of CBOR is possible, using the
   conversion method specified in Sections 6.1 and 6.2 of [RFC8949].

   Profiles that use group communication can build on this document, by
   defining a number of details such as the exact group communication
   protocol and security protocols used.  The specific list of details a
   profile needs to define is shown in Appendix A.

   If the application requires backward and forward security, new keying
   material is generated and distributed to the group upon membership
   changes.

[CS: Whose responsibility is this? While I acknowledge that options
available become clear in the end, it would be good to define the different
operating models, e.g., push/pull based]

 A key management scheme performs the actual distribution of
   the new keying material to the group.  In particular, the key
   management scheme rekeys the current group members when a new node
   joins the group, and the remaining group members when a node leaves
   the group.  Rekeying mechanisms can be based on [RFC2093], [RFC2094]
   and [RFC2627].

Palombini & Tiloca       Expires 13 January 2022                [Page 3]

Internet-Draft  Key Provisioning for Group Communication       July 2021


1.1.  Terminology

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
   "OPTIONAL" in this document are to be interpreted as described in BCP
   14 [RFC2119] [RFC8174] when, and only when, they appear in all
   capitals, as shown here.

   Readers are expected to be familiar with the terms and concepts
   described in [I-D.ietf-ace-oauth-authz][I-D.ietf-cose-rfc8152bis-stru
   ct][I-D.ietf-cose-rfc8152bis-algs], such as Authorization Server (AS)
   and Resource Server (RS).

   This document uses names or identifiers for groups and nodes.  Their
   different meanings are summarized here:

   *  "Group name" is the invariant once established identifier of the
      group.  It is used in the communication between AS, RS and Client
      to identify the group.

[CS: This has confused me earlier with the distinction of security and
application
group not being clear at the time. Would it be possible to emphasise this
is a Security Group
Name?]

   *  "GROUPNAME" is the invariant once established text string used in
      URIs.  GROUPNAME maps to the group name of a group, although it is
      not necessarily the same.

   *  "Group identifier" is the identifier of the group keying material.
      Opposite to group name and GROUPNAME, this identifier changes over
      time, when the keying material is updated.

   *  "Node name" is the invariant once established identifier of the
      node.  It is used in the communication between AS, RS and Client
      to identify a member of the group.

   *  "NODENAME" is the invariant once established text string used in
      URIs.  NODENAME is used to identify a node in a group.

   This document additionally uses the following terminology:

   *  Transport profile, to indicate a profile of ACE as per
      Section 5.8.4.3 of [I-D.ietf-ace-oauth-authz].  A transport
      profile specifies the communication protocol and communication
      security protocol between an ACE Client and Resource Server, as
      well as proof-of-possession methods, if it supports proof-of-
      possession access tokens, etc.  Tranport profiles of ACE include,
      for instance, [I-D.ietf-ace-oscore-profile],
      [I-D.ietf-ace-dtls-authorize] and [I-D.ietf-ace-mqtt-tls-profile].

[CS: Tranport -> Transport]



Palombini & Tiloca       Expires 13 January 2022                [Page 4]

Internet-Draft  Key Provisioning for Group Communication       July 2021


   *  Application profile, that defines how applications enforce and use
      supporting security services they require.  These services may
      include, for instance, provisioning, revocation and distribution
      of keying material.  An application profile may define specific
      procedures and message formats.

2.  Overview

   The full procedure can be separated in two phases: the first one
   follows the ACE framework, between Client, AS and KDC; the second one
   is the key distribution between Client and KDC.  After the two phases
   are completed, the Client is able to participate in the group
   communication, via a Dispatcher entity.


       +------------+                  +-----------+
       |     AS     |                  |    KDC    |
       |            |        .-------->|           |
       +------------+       /          +-----------+
             ^             /
             |            /
             v           /                           +-----------+
       +------------+   /      +------------+        |+-----------+
       |   Client   |<-'       | Dispatcher |        ||+-----------+
       |            |<-------->|            |<------->||   Group   |
       +------------+          +------------+         +|  members  |
                                                       +-----------+

                  Figure 1: Key Distribution Participants

   The following participants (see Figure 1) take part in the
   authorization and key distribution.

   *  Client (C): node that wants to join the group communication.  It
      can request write and/or read rights.

   *  Authorization Server (AS): same as AS in the ACE Framework; it
      enforces access policies, and knows if a node is allowed to join a
      given group with write and/or read rights.

   *  Key Distribution Center (KDC): maintains the keying material to
      protect group communications, and provides it to Clients
      authorized to join a given group.  During the first part of the
      exchange (Section 3), it takes the role of the RS in the ACE
      Framework.  During the second part (Section 4), which is not based
      on the ACE Framework, it distributes the keying material.  In
      addition, it provides the latest keying material to group members
      when requested or, if required by the application, when membership
      changes.

[CS: It is not clear to me whether the KDC is programmed to rekey when
membership
changes or that needs to be invoked as a request from one of the group
communication
participants (which may have, say, a coordinator role). (Again, this is
clarified later,
but each time I saw it, it triggered the same question.)]



Palombini & Tiloca       Expires 13 January 2022                [Page 5]

Internet-Draft  Key Provisioning for Group Communication       July 2021


   *  Dispatcher: entity through which the Clients communicate with the
      group and which distributes messages to the group members.
      Examples of dispatchers are: the Broker node in a pub-sub setting;
      a relayer node for group communication that delivers group
      messages as multiple unicast messages to all group members; an
      implicit entity as in a multicast communication setting, where
      messages are transmitted to a multicast IP address and delivered
      on the transport channel.

[CS:Is a Dispatcher always needed? Clients initiating unicast messages to
other
group members directly p2p?]


   This document specifies a mechanism for:

   *  Authorizing a new node to join the group (Section 3), and
      providing it with the group keying material to communicate with
      the other group members (Section 4).

   *  Allowing a group member to retrieve group keying material
      (Section 4.4 and Section 4.5).

   *  Allowing a group member to retrieve public keys of other group
      members (Section 4.6) and to provide an updated public key
      (Section 4.7).

   *  Allowing a group member to leave the group (Section 5).

   *  Evicting a group member from the group (Section 5).

   *  Renewing and re-distributing the group keying material (rekeying)
      upon a membership change in the group (Section 4.10 and
      Section 5).

   Figure 2 provides a high level overview of the message flow for a
   node joining a group communication setting, which can be expanded as
   follows.

   1.  The joining node requests an Access Token from the AS, in order
       to access a specific group-membership resource on the KDC and
       hence join the associated group.  This exchange between Client
       and AS MUST be secured, as specified by the transport profile of
       ACE used between Client and KDC.  The joining node will start or
       continue using a secure communication association with the KDC,
       according to the response from the AS.

   2.  The joining node transfers authentication and authorization
       information to the KDC, by posting the obtained Access Token to
       the /authz-info endpoint at the KDC.  This exchange, and all
       further communications between the Client and the KDC, MUST occur
       over the secure channel established as a result of the transport
       profile of ACE used between Client and KDC.  After that, a



Palombini & Tiloca       Expires 13 January 2022                [Page 6]

Internet-Draft  Key Provisioning for Group Communication       July 2021


       joining node MUST have a secure communication association
       established with the KDC, before starting to join a group under
       that KDC.  Possible ways to provide a secure communication
       association are described in the DTLS transport profile
       [I-D.ietf-ace-dtls-authorize] and OSCORE transport profile
       [I-D.ietf-ace-oscore-profile] of ACE.

   3.  The joining node starts the joining process to become a member of
       the group, by accessing the related group-membership resource at
       the KDC.  At the end of the joining process, the joining node has
       received from the KDC the parameters and keying material to
       securely communicate with the other members of the group, and the
       KDC has stored the association between the authorization
       information from the access token and the secure session with the
       joining node.

[CS: Maybe also clarify here that this potentially triggers re-keying as
shown in the figure?]

   4.  The joining node and the KDC maintain the secure association, to
       support possible future communications.  These especially include
       key management operations, such as retrieval of updated keying
       material or participation to a group rekeying process.

   5.  The joining node can communicate securely with the other group
       members, using the keying material provided in step 3.

               C                           AS  KDC                Group
               |                           |    |                 Member
             / |                           |    |                     |
             | |   Authorization Request   |    |                     |
    Defined  | |-------------------------->|    |                     |
    in the   | |                           |    |                     |
      ACE    | |   Authorization Response  |    |                     |
   framework | |<--------------------------|    |                     |
             | |                                |                     |
             \ |---------- Token Post --------->|                     |
               |                                |                     |
               |------- Joining Request ------->|                     |
               |                                |                     |
               |<------ Joining Response -------|-- Group Rekeying -->|
               |                                |                     |
               |                                     Dispatcher       |
               |                                         |            |
               |<=3D=3D=3D=3D=3D Secure group communication =3D=3D=3D=3D=3D=
=3D=3D|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>|
               |                                         |            |

               Figure 2: Message Flow Upon New Node's Joining


Palombini & Tiloca       Expires 13 January 2022                [Page 7]

Internet-Draft  Key Provisioning for Group Communication       July 2021


3.  Authorization to Join a Group

  [SNIP]

3.1.  Authorization Request

   The Authorization Request sent from the Client to the AS is defined
   in Section 5.8.1 of [I-D.ietf-ace-oauth-authz] and MAY contain the
   following parameters, which, if included, MUST have the corresponding
   values:

   *  'scope', containing the identifier of the specific groups, or
      topics in the case of pub-sub, that the Client wishes to access,
      and optionally the roles that the Client wishes to take.

[CS: I think we have to include that a pub-sub model may also group nodes
based on something other than topics, even though we've written the pub-sub
profile based on topic(or topic filter)-based group identifiers. Maybe this
is
better given just as an example?]

      This value is a CBOR byte string, wrapping a CBOR array of one or
      more entries.



Palombini & Tiloca       Expires 13 January 2022                [Page 8]

Internet-Draft  Key Provisioning for Group Communication       July 2021


      By default, each entry is encoded as specified by
      [I-D.ietf-ace-aif].  The object identifier Toid corresponds to the
      group name and MUST be encoded as a tstr.  The permission set
      Tperm indicates the roles that the client wishes to take in the
      group.  It is up to the application profiles to define Tperm
      (REQ2) and register Toid and Tperm to fit the use case.  An
      example of scope using the AIF format is given in Figure 4.

      Otherwise, each scope entry can be defined as a CBOR array, which
      contains:

[CS: Two options. One recommended? (Though I see that this is better
clarified
below when explaining extended scope format and how KDC may support
multiple...
Maybe a forward reference?)]

      -  As first element, the identifier of the specific group or
         topic, encoded as a tstr.

      -  Optionally, as second element, the role (or CBOR array of
         roles) that the Client wishes to take in the group.  This
         element is optional since roles may have been pre-assigned to
         the Client, as associated to its verifiable identity
         credentials.  Alternatively, the application may have defined a
         single, well-known role for the target resource(s) and
         audience(s).

[CS: What happens if a Client uses the option to select a role but
mismatches what
is pre-assigned. I expect it's overwritten with what's pre-programmed at
the AS?
Is there an error message for the mismatch? e.g., "Request inconsistent
with the current roles"]

      In each entry, the encoding of the role identifiers is application
      specific, and part of the requirements for the application profile
      (REQ2).  In particular, the application profile may specify CBOR
      values to use for abbreviating role identifiers (OPT7).

      An example of CDDL definition [RFC8610] of scope using the format
      above, with group name and role identifiers encoded as text
      strings is given in Figure 5.

[CS: is->are]

   *  'audience', with an identifier of a KDC.

   As defined in [I-D.ietf-ace-oauth-authz], other additional parameters
   can be included if necessary.

Palombini & Tiloca       Expires 13 January 2022                [Page 9]

Internet-Draft  Key Provisioning for Group Communication       July 2021


   gname =3D tstr

   permissions =3D uint . bits roles

   roles =3D &(
      Requester: 1,
      Responder: 2,
      Monitor: 3,
      Verifier: 4
   )

   scope_entry =3D AIF_Generic<gname, permissions>

   scope =3D << [ + scope_entry ] >>

       Figure 4: Example CDLL definition of scope, using the default
                      Authorization Information Format

   gname =3D tstr

   role =3D tstr

   scope_entry =3D [ gname , ? ( role / [ 2*role ] ) ]

   scope =3D << [ + scope_entry ] >>

      Figure 5: CDLL definition of scope, using as example group name
                      encoded as tstr and role as tstr

3.2.  Authorization Response

[SNIP]


3.3.  Token Post

   The Client sends a CoAP POST request including the access token to
   the KDC, as specified in Section 5.8.1 of [I-D.ietf-ace-oauth-authz].

   This request differs from the one defined in
   [I-D.ietf-ace-oauth-authz], because it allows to transport additional
   encoding information about the public keys in the group, used for
   source authentication, as well as any other group parameters.

[CS: Transport or request additional information?]

   The joining node MAY ask for this information from the KDC in the
   same message it uses to POST the token to the RS.  In such a case,
   the message MUST have Content-Format set to application/ace+cbor
   defined in Section 8.16 of [I-D.ietf-ace-oauth-authz].  The message
   payload MUST be formatted as a CBOR map, which MUST include the
   access token.  The CBOR map MAY additionally include the following
   parameter, which, if included, MUST have the corresponding values:

   *  'sign_info' defined in Section 3.3.1, encoding the CBOR simple
      value Null to require information about the signature algorithm,
      signature algorithm parameters, signature key parameters and on
      the exact encoding of public keys used in the group.

   Alternatively, the joining node may retrieve this information by
   other means.
[CS: Reference to them?]

   After successful verification, the Client is authorized to receive
   the group keying material from the KDC and join the group.

   The KDC replies to the Client with a 2.01 (Created) response, using
   Content-Format "application/ace+cbor".

   The payload of the 2.01 response is a CBOR map.  If the access token
   contains a role that requires the Client to send its own public key
   to the KDC when joining the group, the CBOR map MUST include the
   parameter 'kdcchallenge' defined in Section 3.3.2, specifying a
   dedicated challenge N_S generated by the KDC.  The Client uses this
   challenge to prove possession of its own private key (see the
   'client_cred_verify' parameter in Section 4).  Note that the payload
   format of the response deviates from the one defined in the ACE
   framework (see Section 5.10.1 of [I-D.ietf-ace-oauth-authz]), which
   has no payload.

   The KDC MUST store the 'kdcchallenge' value associated to the Client
   at least until it receives a join request from it (see Section 4.3),
   to be able to verify that the Client possesses its own private key.

[CS: OK, just to clarify? the kdcchallenge is generated and returned in the
Authorisation
response, and the client uses it to prove ownership of public key on join
request.
It may be useful to specify more clearly when the challenge parameter is
used.
(This is clarified much later; I feel explaining the possible flows using
the resources
beforehand would be better, as I comment later as well.]

   The same challenge MAY be reused several times by the Client, to
   generate a new proof of possession, e.g., in case of update of the



Palombini & Tiloca       Expires 13 January 2022               [Page 12]

Internet-Draft  Key Provisioning for Group Communication       July 2021


   public key, or to join a different group with a different signing
   key, so it is RECOMMENDED that the KDC keeps storing the
   'kdcchallenge' after the first join is processed as well.  If the KDC
   has already discarded the 'kdcchallenge', that will trigger an error
   response with a newly generated 'kdcchallenge' that the Client can
   use to restart the join process, as specified in Section 4.3.

   If 'sign_info' is included in the request, the KDC MAY include the
   'sign_info' parameter defined in Section 3.3.1, with the same
   encoding.  Note that the field 'id' takes the value of the group name
   for which the 'sign_info_entry' applies to.

[CS: This MAY mean that even if the client has sign_info, the KDC
may not return this information? What's the reason for this?]

   Note that the CBOR map specified as payload of the 2.01 (Created)
   response may include further parameters, e.g. according to the
   signalled transport profile of ACE.  Application profiles MAY define
   the additional parameters to use within this exchange (OPT2).

   Application profiles of this specification MAY define alternative
   specific negotiations of parameter values for the signature algorithm
   and signature keys, if 'sign_info' is not used (OPT1).

3.3.1.  'sign_info' Parameter

[CS: It is confusing to read about sign_info in two places (in
the previous section and this section). Maybe defer
all sign_info -related information to this section?]

[SNIP]


3.3.2.  'kdcchallenge' Parameter
[CS: The same comment as above, either explained here or above... Otherwise
repetitious]
[SNIP]

4.  Keying Material Provisioning and Group Membership Management

[SNIP]


4.1.  Interface at the KDC

   The KDC is configured with the following resources.  Note that the
   root url-path "ace-group" given here are default names:
   implementations are not required to use these names, and can define
   their own instead.  Each application profile of this specification
   MUST register a Resource Type for the root url-path (REQ7), and that
   Resource Type can be used to discover the correct url to access at
   the KDC.  This Resource Type can also be used at the GROUPNAME sub-
   resource, to indicate different application profiles for different
   groups.  The Interface Description (if=3D) Link Target Attribute value
   ace.group is registered (Section 10.10) and can be used to describe
   this interface.

   *  /ace-group: this resource is invariant once established and
      indicates that this specification is used.  If other applications
      run on a KDC implementing this specification and use this same
      resource, these applications will collide, and a mechanism will be
      needed to differentiate the endpoints.  This resource supports the
      FETCH method.

   *  /ace-group/GROUPNAME: one sub-resource to /ace-group is
      implemented for each group the KDC manages.

      If the value of the GROUPNAME URI path and the group name in the
      access token scope ('gname' in Section 3.2) do not match, the KDC
      MUST implement a mechanism to map the GROUPNAME value in the URI
      to the group name, in order to retrieve the right group (REQ1).

[CS: While I understand the purpose of the statement above, it reads
confusing.
What if the mismatch is an error? E.g., the wrong token is provided
for the call, and it should be not authorised, no?]

      Each resource contains the symmetric group keying material for
      that group.  These resources support the GET and POST methods.

   *  /ace-group/GROUPNAME/pub-key: this resource is invariant once
      established and contains the public keys of all group members.
      This resource supports the GET and FETCH methods.

[CS: All group members do not need to have public keys, e.g., For pub-sub,
its only publishers]

   *  /ace-group/GROUPNAME/policies: this resource is invariant once
      established and contains the group policies.  This resource
      supports the GET method.


Palombini & Tiloca       Expires 13 January 2022               [Page 17]

Internet-Draft  Key Provisioning for Group Communication       July 2021


   *  /ace-group/GROUPNAME/num: this resource is invariant once
      established and contains the version number for the symmetric
      group keying material.  This sub-resource supports the GET method.

   *  /ace-group/GROUPNAME/nodes/NODENAME: one sub-resource to /ace-
      group/GROUPNAME is implemented for each node in the group the KDC
      manages.  These resources are identified by the node name (in this
      example, the node name has value NODENAME).  Each resource
      contains the group and individual keying material for that node.
      These resources support the GET, PUT and DELETE methods.

   *  /ace-group/GROUPNAME/nodes/NODENAME/pub-key: one sub-resource to
      /ace-group/GROUPNAME/nodes/NODENAME is implemented for each node
      in the group the KDC manages.  These resources are identified by
      the node name (in this example, the node name has value NODENAME).
      Each resource contains the individual public keying material for
      that node.  These resources support the POST method.
[CS: It also supports FETCH and GET, as detailed later?]

   It is REQUIRED of the application profiles of this specification to
   define what operations (e.g., CoAP methods) are allowed on each
   resource, for each role defined in Section 3.1 according to REQ2
   (REQ8).

[CS: Just to clarify again, this spec supports the above detailed
operations,
and it is REQUIRED that the profile, which uses this profile, further
constrains the operations
and who is allowed to access. And the access may not be based on only role,
e.g.
NODENAME may be able to PUT under nodes/NODENAME?]

   The details for the handlers of each resource are given in the
   following sections.  These endpoints are used to perform the
   operations introduced in Section 4.

4.1.1.  ace-group

   This resource implements a FETCH handler.

4.1.1.1.  FETCH Handler

   [SNIP]

4.1.2.  ace-group/GROUPNAME

   This resource implements GET and POST handlers.

4.1.2.1.  POST Handler

   The POST handler adds the public key of the client to the list of the
   group members' public keys and returns the symmetric group keying
   material for the group identified by GROUPNAME.  Note that the group
   joining exchange is done by the client via this operation, as
   described in Section 4.3.

   The handler expects a request with payload formatted as a CBOR map,
   which MAY contain the following fields, which, if included, MUST have
   the corresponding values:


Palombini & Tiloca       Expires 13 January 2022               [Page 19]

Internet-Draft  Key Provisioning for Group Communication       July 2021


   *  'scope', with value the specific resource at the KDC that the
      Client is authorized to access, i.e., group or topic name, and
      role(s).  This value is a CBOR byte string wrapping one scope
      entry, as defined in Section 3.1.

   *  'get_pub_keys', if the Client wishes to receive the public keys of
      the other nodes in the group from the KDC.  This parameter may be
      present if the KDC stores the public keys of the nodes in the
      group and distributes them to the Client; it is useless to have
      here if the set of public keys of the members of the group is
      known in another way, e.g., it was provided by the AS.  Note that
      including this parameter may result in a large message size for
      the following response, which can be inconvenient for resource-
      constrained devices.

      The parameter's value is either the CBOR simple value Null, or a
      non-empty CBOR array containing the following three elements.

      -  The first element, namely 'inclusion_flag', encodes the CBOR
         simple value True.

[CS: Maybe explained what this flag signifies, as I see it's true by
default for this handler, and may not be for other handlers (It's explained
much later)]

      -  The second element, namely 'role_filter', is a non-empty CBOR
         array.  Each element of the array contains one role or a
         combination of roles for the group identified by GROUPNAME.
         The Client indicates that it wishes to receive the public keys
         of all group members having any of the single roles, or at
         least all of the roles indicated in any combination of roles.
         For example, the array ["role1", "role2+role3"] indicates that
         the Client wishes to receive the public keys of all group
         members that have at least "role1" or at least both "role2" and
         "role3".

      -  The third element, namely 'id_filter', is an empty CBOR array.

      If the Client wishes to receive all public keys of all group
      members, it encodes the 'get_pub_key' parameter as the CBOR simple
      value Null.

      The CDDL definition [RFC8610] of 'get_pub_keys' is given in
      Figure 6, using as example encoding: node identifier encoded as a
      CBOR byte string; role identifier encoded as a CBOR text string,
      and combination of roles encoded as a CBOR array of roles.

      Note that the array of roles 'role_filter' is non-empty for this
      handler, but this is not necessarily the case for other handlers
      using this parameter: if this array is empty, it means that the
      client is not filtering public keys based on roles.


Palombini & Tiloca       Expires 13 January 2022               [Page 20]

Internet-Draft  Key Provisioning for Group Communication       July 2021


      Also note that the array of node identifiers 'id_filter' is empty
      for this handler, because the joining node is not expected or
      capable to express a filter based on node identifiers at this
      point in time.  Consistently, the 'inclusion_flag' element is set
      to the CBOR simple value True.  However, the 'id_filter' array is
      not necessarily empty for the value of 'get_pub_keys' received by
      the handler of FETCH to ace-group/GROUPNAME/pub-key (see
      Section 4.1.3.1).

      Finally, the 'get_pub_keys' parameter MUST NOT have the arrays
      'role_filter' and 'id_filter' as both empty, i.e., in CBOR
      diagnostic notation: [ bool, [ ], [ ] ].  Thus, if this parameter
      is received as formatted in that way, it has to be considered
      malformed.

[CS: I understand that other handlers may use this parameter, but maybe
it's better to focus its value for this handler; otherwise it becomes
tedious
to parse the information].

   [SNIP]



   *  'control_uri', with value a full URI, encoded as a CBOR text
      string.  If 'control_uri' is supported by the Client, the Client
      acts as a CoAP server and hosts a resource at this specific URI.
      The KDC MAY use this URI to send CoAP requests to the Client
      (acting as CoAP server in this exchange), for example for
      individual provisioning of new keying material when performing a
      group rekeying (see Section 4.4), or to inform the Client of its
      removal from the group Section 5.

[CS: So the above are KDC initiated? I think it needs to be clarified what
mechanisms are expected to be initiated by KDC. If this uri is not present,
how does the KDC rekey?]

If the KDC does not implement


Palombini & Tiloca       Expires 13 January 2022               [Page 22]

Internet-Draft  Key Provisioning for Group Communication       July 2021


      mechanisms using this resource, it can just ignore this parameter.
      Other additional functionalities of this resource MAY be defined
      in application profiles of this specifications (OPT9).  In
      particular, this resource is intended for communications
      concerning exclusively the group or topic specified in the 'scope'
      parameter.

[SNIP]

   If no public key is included in the 'client_cred' field, the handler
   checks if one public key is already associated to the received access
   token (see Section 4.3 for an example) and to the group identified by
   GROUPNAME.

[CS: I assume the client can use different public keys for different
groups,
and KDC supports this]

   If an eligible public key for the Client is neither present in the
   'client_cred' field nor already stored, it is RECOMMENDED that the
   handler stops the processing and responds with a 4.00 (Bad Request)
   error message.  Applications profiles MAY define alternatives (OPT6).

   If all the verifications above succeed, the handler performs the
   following actions.

   *  The handler adds the Client to the list of current members of the
      group.

   *  The handler assigns a name identifier NODENAME to the Client, and
      creates a sub-resource to /ace-group/GROUPNAME/ at the KDC (e.g.,
      "/ace-group/GROUPNAME/nodes/NODENAME").

   *  The handler associates the node identifier NODENAME to the access
      token and the secure session for the Client.

   *  If the KDC manages the group members' public keys:

      -  The handler associates the retrieved Client's public key to the
         node identifier NODENAME and to the access token.

[CS: shouldn't this be better  - (nodename, groupname, accesstoken, public
key),
or my assumption is invalid, one public key per client, not per group?]

      -  The handler adds the retrieved Client's public key to the
         stored list of public keys stored for the group identified by
         GROUPNAME.  If such list already includes a public key for the
         Client, but a different public key is specified in the
         'client_cred' field, then the handler MUST replace the old
         public key in the list with the one specified in the
         'client_cred' field.

   *  The handler returns a 2.01 (Created) response, containing the
      symmetric group keying material, the group policies and the public
      keys of the current members of the group, if the KDC manages those
      and the Client requested them.

[SNIP]


   *  'group_policies', with value a CBOR map, whose entries specify how
      the group handles specific management aspects.  These include, for
      instance, approaches to achieve synchronization of sequence
      numbers among group members.  The elements of this field are
      registered in the "ACE Groupcomm Policy" Registry.  This
      specification defines the three elements "Sequence Number
      Synchronization Method", "Key Update Check Interval" and
      "Expiration Delta", which are summarized in Figure 9.  Application
      profiles that build on this document MUST specify the exact
      content format and default value of included map entries (REQ17).

[CS: So these MUST be specified, but I am still unclear whether Key updates
are push/poll based, e.g., there are places where it reads like it is KDC
initiated.
So, key update check interval is 0, for example, if it's always push-based?=
]


Palombini & Tiloca       Expires 13 January 2022               [Page 27]

Internet-Draft  Key Provisioning for Group Communication       July 2021


  +--------------+-------+----------|---------------------|------------+
  |      Name    | CBOR  |   CBOR   |    Description      | Reference  |
  |              | label |   type   |                     |            |
  |--------------+-------+----------|---------------------|------------|
  | Sequence     | TBD1  | tstr/int | Method for a re-    | [[this     |
  | Number       |       |          | cipient node to     | document]] |
  | Synchroniza- |       |          | synchronize with    |            |
  | tion Method  |       |          | sequence numbers    |            |
  |              |       |          | of a sender node.   |            |
  |              |       |          | Its value is taken  |            |
  |              |       |          | from the 'Value'    |            |
  |              |       |          | column of the       |            |
  |              |       |          | Sequence Number     |            |
  |              |       |          | Synchronization     |            |
  |              |       |          | Method registry     |            |
  |              |       |          |                     |            |
  | Key Update   | TBD2  |   int    | Polling interval    | [[this     |
  | Check        |       |          | in seconds, to      | document]] |
  | Interval     |       |          | check for new       |            |
  |              |       |          | keying material at  |            |
  |              |       |          | the KDC             |            |
  |              |       |          |                     |            |
  | Expiration   | TBD3  |   uint   | Number of seconds   | [[this     |
  | Delta        |       |          | from 'exp' until    | document]] |
  |              |       |          | the specified UTC   |            |
  |              |       |          | date/time after     |            |
  |              |       |          | which group members |            |
  |              |       |          | MUST stop using the |            |
  |              |       |          | keying material to  |            |
  |              |       |          | verify incoming     |            |
  |              |       |          | messages.           |            |
  +--------------+-------+----------|---------------------|------------+

                     Figure 9: ACE Groupcomm Policies

   *  'mgt_key_material', encoded as a CBOR byte string and containing
      the administrative keying material to participate in the group
      rekeying performed by the KDC.  The application profile MUST
      define if this field is used, and if used then MUST specify the
      exact format and content which depend on the specific rekeying
      scheme used in the group.  If the usage of 'mgt_key_material' is
      indicated and its format defined for a specific key management
      scheme, that format must explicitly indicate the key management
      scheme itself.  If a new rekeying scheme is defined to be used for
      an existing 'mgt_key_material' in an existing profile, then that
      profile will have to be updated accordingly, especially with
      respect to the usage of 'mgt_key_material' related format and
      content (REQ22).

[CS: so, there is an implicit admin group, which can receive this
information.
I assume this is pre-assigned, or is it in the token scope?]

[SNIP]


4.1.3.  ace-group/GROUPNAME/pub-key

   [SNIP]


4.1.3.1.  FETCH Handler

   The FETCH handler receives identifiers of group members for the group
   identified by GROUPNAME and returns the public keys of such group
   members.

   The handler expects a request with payload formatted as a CBOR map,
   that MUST contain the following fields:

   *  'get_pub_keys', whose value is encoded as in Section 4.1.2.1 with
      the following modification:

      -  The element 'inclusion_flag' encodes the CBOR simple value True
         if the third element 'id_filter' specifies an empty CBOR array,
         or if the Client wishes to receive the public keys of the nodes
         having their node identifier specified in 'id_filter'.
         Instead, this element encodes the CBOR simple value False if
         the Client wishes to receive the public keys of the nodes not
         having the node identifiers specified in the third element
         'id_filter'.

[CS: so, to clarify, id_filter becomes an exclusion list if inclusion_flag
is false?
if it is true, and id_filter is not empty, it returns the pub_keys in the
list, i.e.,
inclusion list? (Reading further, this seems correct. It may be explained
earlier when
inclusion_flag is first introduced]

      -  The array 'role_filter' may be empty, if the Client does not
         wish to filter the requested public keys based on the roles of
         the group members.

      -  The array 'id_filter' contains zero or more node identifiers of
         group members, for the group identified by GROUPNAME.  The
         Client indicates that it wishes to receive the public keys of
         the nodes having or not having these node identifiers, in case
         the 'inclusion_flag' parameter encodes the CBOR simple value
         True or False, respectively.  The array may be empty, if the
         Client does not wish to filter the requested public keys based
         on the node identifiers of the group members.

   Note that, in case both the 'role_filter' array and the 'id_filter'
   array are not empty:

   *  If the 'inclusion_flag' encodes the CBOR simple value True, the
      handler returns the public keys of group members whose roles match
      with 'role_filter' and/or having their node identifier specified
      in 'id_filter'.

   *  If the 'inclusion_flag' encodes the CBOR simple value False, the
      handler returns the public keys of group members whose roles match
      with 'role_filter' and, at the same time, not having their node
      identifier specified in 'id_filter'.

Palombini & Tiloca       Expires 13 January 2022               [Page 30]

Internet-Draft  Key Provisioning for Group Communication       July 2021


   Finally, as mentioned in Section 4.1.2.1, both arrays 'role_filter'
   and 'id_filter' MUST NOT be both empty.

[CS: Why? Can't I ask to get all the public keys of nodes in this group,
which has a public key? (I see that this is a GET request, on reading
further,
a forward pointer here?)]

  [SNIP]

   The handler MAY enforce one of the following policies, in order to
   handle possible node identifiers that are included in the 'id_filter'
   element of the 'get_pub_keys' parameter of the request but are not
   associated to any current group member.  Such a policy MUST be
   specified by the application profile (REQ16).

   *  The KDC silently ignores those node identifiers.

   *  The KDC retains public keys of group members for a given amount of
      time after their leaving, before discarding them.  As long as such
      public keys are retained, the KDC provides them to a requesting
      Client.

[CS: I think this is a wider policy e.g., how long does the KDC retain
any information about the historical group members?]

[SNIP]


4.1.4.  ace-group/GROUPNAME/policies

[SNIP]


4.1.5.  ace-group/GROUPNAME/num

   This resource implements a GET handler.

4.1.5.1.  GET Handler

   The handler expects a GET request.

 [SNIP]
[CS: In general, in the SNIPPED text above, there is much repetition
across different sections, in terms of format expected, group membership
access control etc. Could that be said only once to apply to all resources,
or
all operations within a resource?]

[SNIP]

4.1.6.  ace-group/GROUPNAME/nodes/NODENAME

   This resource implements GET, PUT and DELETE handlers.

4.1.6.1.  PUT Handler
The PUT handler is used to get the KDC to produce and return
   individual keying material to protect outgoing messages for the node
   (identified by NODENAME) for the group identified by GROUPNAME.
   Application profiles MAY also use this handler to rekey the whole
   group.  It is up to the application profiles to specify if this
   handler supports renewal of individual keying material, renewal of
   the group keying material or both (OPT8).

[CS: I am a bit puzzled that something that potentially is rekeying
the whole group is done under NODENAME resource.
On the other hand, POSTing the GROUPNAME adds a node to the group rather
than rekeying
the group. I would expect POSTing to ace-group/GROUPNAME/nodes would add
a node instead.
]

   [SNIP]



4.1.7.  ace-group/GROUPNAME/nodes/NODENAME/pub-key

   This resource implements a POST handler, if the KDC stores the public
   key of group members.  If the KDC does not store the public keys of
   group members, the handler does not implement any method, and every
   request returns a 4.05 Method Not Allowed error.

4.1.7.1.  POST Handler

   The POST handler is used to replace the stored public key of this
   client (identified by NODENAME) with the one specified in the request
   at the KDC, for the group identified by GROUPNAME.

   [SNIP]

4.2.  Retrieval of Group Names and URIs

   In case the joining node only knows the group identifier of the group
   it wishes to join or about which it wishes to get update information
   from the KDC, the node can contact the KDC to request the
   corresponding group name and joining resource URI.  The node can
   request several group identifiers at once.  It does so by sending a
   CoAP FETCH request to the /ace-group endpoint at the KDC formatted as
   defined in Section 4.1.1.1.

   [SNIP]



4.3.  Joining Exchange

[CS: I feel this needs to come earlier in the draft]

   Figure 12 gives an overview of the Joining exchange between Client
   and KDC, when the Client first joins a group, while Figure 13 shows
   an example.

      Client                                                     KDC
         |                                                        |
         |----- Joining Request: POST /ace-group/GROUPNAME ------>|
         |                                                        |
         |<--------- Joining Response: 2.01 (Created) ----------- |
         | Location-Path =3D "/ace-group/GROUPNAME/nodes/NODENAME"  |

        Figure 12: Message Flow of First Exchange for Group Joining

 Request:

 Header: POST (Code=3D0.02)
 Uri-Host: "kdc.example.com"
 Uri-Path: "ace-group"
 Uri-Path: "g1"
 Content-Format: "application/ace-groupcomm+cbor"
 Payload (in CBOR diagnostic notation,
          with PUB_KEY and POP_EVIDENCE being CBOR byte strings):
   { "scope": << [ "group1", ["sender", "receiver"] ] >> ,
     "get_pub_keys": [true, ["sender"], []], "client_cred": PUB_KEY
     "cnonce": h'6df49c495409a9b5', "client_cred_verify": POP_EVIDENCE }

 Response:

 Header: Created (Code=3D2.01)
 Content-Format: "application/ace-groupcomm+cbor"
 Location-Path: "kdc.example.com"
 Location-Path: "g1"
 Location-Path: "nodes"
 Location-Path: "c101"
 Payload (in CBOR diagnostic notation,
          with KEY being a CBOR byte strings):
   { "gkty": 13, "key": KEY, "num": 12, "exp": 1609459200,
     "pub_keys": [ PUB_KEY1, PUB_KEY2 ],
     "peer_roles": ["sender", ["sender", "receiver"]],
     "peer_identifiers": [ ID1, ID2 ] }

         Figure 13: Example of First Exchange for Group Joining





Palombini & Tiloca       Expires 13 January 2022               [Page 40]

Internet-Draft  Key Provisioning for Group Communication       July 2021


   [SNIP]

4.4.  Retrieval of Updated Keying Material

   When any of the following happens, a node MUST stop using the owned
   group keying material to protect outgoing messages, and SHOULD stop
   using it to decrypt and verify incoming messages.

   *  Upon expiration of the keying material, according to what
      indicated by the KDC with the 'exp' parameter in a Joining
      Response, or to a pre-configured value.

   *  Upon receiving a notification of revoked/renewed keying material
      from the KDC, possibly as part of an update of the keying material
      (rekeying) triggered by the KDC.

   *  Upon receiving messages from other group members without being
      able to retrieve the keying material to correctly decrypt them.
      This may be due to rekeying messages previously sent by the KDC,
      that the Client was not able to receive or decrypt.

   In either case, if it wants to continue participating in the group
   communication, the node has to request the latest keying material
   from the KDC.  To this end, the Client sends a CoAP GET request to
   the /ace-group/GROUPNAME/nodes/NODENAME endpoint at the KDC,
   formatted as specified in Section 4.1.6.2.

[CS: I feel the information in this section need to come before after the
resources are introduced, but before
the operation and parameter details are presented for each group.
The message examples would be better appreciated right after all
the parameters etc of the operation is introduced.]

   [SNIP]


   Alternatively, the re-distribution of keying material can be
   initiated by the KDC, which e.g.,:

   *  Can make the ace-group/GROUPNAME resource Observable [RFC7641],
      and send notifications to observer Clients when the keying
      material is updated.

[CS: Some of my questions earlier is answered here. I feel this should
be said earlier]

    [SNIP]

   *  Can act as a publisher in a pub-sub scenario, and update the
      keying material by publishing on a specific topic on a broker,
      which all the members of the group are subscribed to.

[CS: This is not a good scenario for pub-sub, as the broker should not know
the
keys. The whole idea of the pub-sub profile is the protect the content
of the messages from the broker. That means these keying materials should b=
e
encrypted, and hence, then, the distribution of that keying material ...
becomes a recursive problem.]

   Note that these methods of KDC-initiated key distribution have
   different security properties and require different security
   associations.

4.5.  Requesting a Change of Keying Material

   [SNIP]



5.  Removal of a Node from the Group

   [SNIP]


   Furthermore, in case of forced eviction, the KDC removes the public
   key of the evicted node if the KDC keep tracks of that, and possibly
   removes the evicted node from the list of observers of the resource
   at ace-group/GROUPNAME (if observable).

[CS: Why only "possibly"?]

 [SNIP]


6.  Extended Scope Format

   [SNIP]

   The value of the 'scope' claim following the extended format is
   composed as follows.  Given the original scope using a semantics SEM
   and encoded as a CBOR byte string, the corresponding extended scope
   is encoded as a tagged CBOR byte string, wrapping a CBOR sequence
   [RFC8742] of two elements.  In particular:

   *  The first element of the sequence is a CBOR integer, and
      identifies the semantics SEM used for this scope.  The value of
      this element has to be taken from the "Value" column of the "ACE
      Scope Semantics" registry defined in Section 10.12 of this
      specification.



Palombini & Tiloca       Expires 13 January 2022               [Page 52]

Internet-Draft  Key Provisioning for Group Communication       July 2021


      When defining a new semantics for a binary scope, it is up to the
      applications and application profiles to define and register the
      corresponding integer identifier (REQ24).

   *  The second element of the sequence is the original scope using the
      semantics SEM, encoded as a CBOR byte string.

   Finally, the CBOR byte string wrapping the CBOR sequence is tagged,
   and identified by the CBOR tag TBD_TAG "ACE Extended Scope Format",
   defined in Section 10.11 of this specification.

   The resulting tagged CBOR byte string is used as value of the 'scope'
   claim of the access token.

   The usage of the extended scope format is not limited to application
   profiles of this specification or to applications based on group
   communication.  Rather, it is generally applicable to any application
   and application profile where access control information in the
   access token is expressed as a binary encoded scope.

[CS: Then should it be defined here in this profile or somewhere else?]


    [SNIP]



7.  ACE Groupcomm Parameters

[CS: Handy table]

   This specification defines a number of fields used during the second
   part of the message exchange, after the ACE Token POST exchange.  The
   table below summarizes them, and specifies the CBOR key to use
   instead of the full descriptive name.

   Note that the media type application/ace-groupcomm+cbor MUST be used
   when these fields are transported.

   +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=
=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+
   | Name                  | CBOR | CBOR Type      | Reference        |
   |                       | Key  |                |                  |
   +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=
=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+
   | error                 | TBD  | int            | Section 4        |
   +-----------------------+------+----------------+------------------+
   | error_description     | TBD  | text string    | Section 4        |
   +-----------------------+------+----------------+------------------+
   | scope                 | TBD  | byte string    | Section 4.1.2.1  |
   +-----------------------+------+----------------+------------------+
   | get_pub_keys          | TBD  | array / simple | Section 4.1.2.1, |
   |                       |      | value null     | Section 4.1.3.1  |
   +-----------------------+------+----------------+------------------+
   | client_cred           | TBD  | byte string    | Section 4.1.2.1  |
   +-----------------------+------+----------------+------------------+
   | cnonce                | TBD  | byte string    | Section 4.1.2.1  |
   +-----------------------+------+----------------+------------------+
   | client_cred_verify    | TBD  | byte string    | Section 4.1.2.1  |
   +-----------------------+------+----------------+------------------+



Palombini & Tiloca       Expires 13 January 2022               [Page 54]

Internet-Draft  Key Provisioning for Group Communication       July 2021


   | pub_keys_repos        | TBD  | text string    | Section 4.1.2.1  |
   +-----------------------+------+----------------+------------------+
   | control_uri           | TBD  | text string    | Section 4.1.2.1  |
   +-----------------------+------+----------------+------------------+
   | gkty                  | TBD  | integer / text | Section 4.1.2.1  |
   |                       |      | string         |                  |
   +-----------------------+------+----------------+------------------+
   | key                   | TBD  | see "ACE       | Section 4.1.2.1  |
   |                       |      | Groupcomm Key" |                  |
   |                       |      | Registry       |                  |
   +-----------------------+------+----------------+------------------+
   | num                   | TBD  | int            | Section 4.1.2.1  |
   +-----------------------+------+----------------+------------------+
   | ace-groupcomm-profile | TBD  | int            | Section 4.1.2.1  |
   +-----------------------+------+----------------+------------------+
   | exp                   | TBD  | int            | Section 4.1.2.1  |
   +-----------------------+------+----------------+------------------+
   | pub_keys              | TBD  | array          | Section 4.1.2.1  |
   +-----------------------+------+----------------+------------------+
   | peer_roles            | TBD  | array          | Section 4.1.2.1  |
   +-----------------------+------+----------------+------------------+
   | peer_identifiers      | TBD  | array          | Section 4.1.2.1  |
   +-----------------------+------+----------------+------------------+
   | group_policies        | TBD  | map            | Section 4.1.2.1  |
   +-----------------------+------+----------------+------------------+
   | mgt_key_material      | TBD  | byte string    | Section 4.1.2.1  |
   +-----------------------+------+----------------+------------------+
   | sign_info             | TBD  | array          | Section 4.1.2.1  |
   +-----------------------+------+----------------+------------------+
   | gid                   | TBD  | array          | Section 4.1.1.1  |
   +-----------------------+------+----------------+------------------+
   | gname                 | TBD  | array of text  | Section 4.1.1.1  |
   |                       |      | strings        |                  |
   +-----------------------+------+----------------+------------------+
   | guri                  | TBD  | array of text  | Section 4.1.1.1  |
   |                       |      | strings        |                  |
   +-----------------------+------+----------------+------------------+
   | kdcchallenge          | TBD  | byte string    | Section 4.1.7.1  |
   +-----------------------+------+----------------+------------------+

                                 Table 1

   [SNIP]



9.  Security Considerations

  [SNIP]

   That is, the KDC may not rekey the group at every membership change,
   for instance if members' joining and leaving occur frequently and
   performing a group rekeying takes too long.  The KDC may rekey the
   group after a minimum number of group members have joined or left
   within a given time interval, or after maximum amount of time since
   the last rekeying was completed, or yet during predictable network
   inactivity periods.

   However, this would result in the KDC not constantly preserving
   backward and forward security.  Newly joining group members could be
   able to access the keying material used before their joining, and
   thus could access past group communications.  Also, until the KDC
   performs a group rekeying, the newly leaving nodes would still be
   able to access upcoming group communications that are protected with
   the keying material that has not yet been updated.

[CS: I think the minimum number of group members should be just 1 if we
are talking about secure group communication]

  [SNIP]
9.1.  Update of Keying Material

   A group member can receive a message shortly after the group has been
   rekeyed, and new keying material has been distributed by the KDC.  In
   the following two cases, this may result in misaligned keying
   material between the group members.

   In the first case, the sender protects a message using the old keying
   material.  However, the recipient receives the message after having
   received the new keying material, hence not being able to correctly
   process it.  A possible way to ameliorate this issue is to preserve
   the old, recent, keying material for a maximum amount of time defined
   by the application.  By doing so, the recipient can still try to
   process the received message using the old retained keying material.
   Note that a former (compromised) group member can take advantage of



Palombini & Tiloca       Expires 13 January 2022               [Page 57]

Internet-Draft  Key Provisioning for Group Communication       July 2021


   this by sending messages protected with the old retained keying
   material.  Therefore, a conservative application policy should not
   admit the storage of old keying material.

[CS: Could it be an option to resend the message with the new keying
material? if the
rekeying happened within a window]


[SNIP]


10.  IANA Considerations

   This document has the following actions for IANA.

10.1.  Media Type Registrations

   [SNIP]




Appendix B.  Extensibility for Future COSE Algorithms

[CS: Why not just use this format instead of reformatting sign_info_entry
In section 3.3.1]

   As defined in Section 8.1 of [I-D.ietf-cose-rfc8152bis-algs], future
   algorithms can be registered in the "COSE Algorithms" Registry
   [COSE.Algorithms] as specifying none or multiple COSE capabilities.

   To enable the seamless use of such future registered algorithms, this
   section defines a general, agile format for each 'sign_info_entry' of
   the 'sign_info' parameter in the Token Post response, see
   Section 3.3.1.

   If any of the currently registered COSE algorithms is considered,
   using this general format yields the same structure of
   'sign_info_entry' defined in this document, thus ensuring retro-
   compatibility.




Palombini & Tiloca       Expires 13 January 2022               [Page 73]

Internet-Draft  Key Provisioning for Group Communication       July 2021


B.1.  Format of 'sign_info_entry'

   The format of each 'sign_info_entry' (see Section 3.3.1) is
   generalized as follows.  Given N the number of elements of the
   'sign_parameters' array, i.e., the number of COSE capabilities of the
   signature algorithm, then:

   *  'sign_key_parameters' is replaced by N elements 'sign_capab_i',
      each of which is a CBOR array.

   *  The i-th array following 'sign_parameters', i.e., 'sign_capab_i'
      (i =3D 0, ..., N-1), is the array of COSE capabilities for the
      algorithm capability specified in 'sign_parameters'[i].

      sign_info_entry =3D
      [
        id : gname / [ + gname ],
        sign_alg : int / tstr,
        sign_parameters : [ alg_capab_1 : any,
                            alg_capab_2 : any,
                            ...,
                            alg_capab_N : any],
        sign_capab_1 : [ any ],
        sign_capab_2 : [ any ],
        ...,
        sign_capab_N : [ any ],
        pub_key_enc =3D int / nil
      ]

      gname =3D tstr

              Figure 30: 'sign_info_entry' with general format

[SNIP]

On Tue, Aug 24, 2021 at 5:52 PM G=C3=B6ran Selander <goran.selander=3D
40ericsson.com@dmarc.ietf.org> wrote:

> Hi,
>
> Here is a review of ace-key-groupcomm-13.
>
>
> General
> =3D=3D=3D
>
> This draft provides a link between the ACE-OAuth authorization framework
> (including its transport profiles) and specifications of communication
> security in groups of constrained devices, e.g. the coap-groupcomm work
> currently developed in CORE. The document is intended to support differen=
t
> group communication schemes, but the details of those are defined in
> separate =E2=80=9Capplication profiles=E2=80=9D such as draft-ietf-ace-ke=
y-groupcomm-oscore
> (for Group OSCORE) and draft-ietf-ace-pubsub-profile (for pub/sub). This
> draft instead defines a common interface to a KDC acting as RS in the
> ACE-OAuth architecture, how to use this interface to perform various key
> management operations, and requirements for such application profiles.
>
> As such, this draft is thus an =E2=80=9Cintermediary=E2=80=9D specificati=
on, and its
> usefulness will be determined by the application profiles which I've
> glanced at but are not part of this review.
>
> While this approach seems reasonable from a structure point of view, I
> have a question about abstracting the underlying communication in comment=
 1
> below.
>
> The content of the draft is quite elaborate and with detailed examples
> which is good but also leads to my comment number 2.
>
> Now for the main comments:
>
> 1. How does this scale to large groups?
>
> Depending on application it may not be necessary to update keys during
> join of new members, and depending on the dynamics of the members rekeyin=
g
> may not be a major issue. But if it is a large group and all group member=
s
> need to be updated at joining or leaving then this may require a lot of
> communication for which the underlying group communication may be helpful=
.
>
> For example, in case of a new member joining then a new group key or the
> new node's public key may be distributed using broadcast/multicast and
> protected with some existing group key.
>
> In case of rekeying a group key after a node has been evicted, a similar
> method could be used if it was possible to apply some key hierarchy schem=
e
> like e.g. LKH, i.e. distributing new keys corresponding to a path from th=
e
> evicted node to the root in a key hierarchy.
>
> Two sub-questions:
>
> a. Is it possible to extend the interface to make use of the underlying
> group communication?
>
> b. Is it possible to apply this interface with a key hierarchy scheme?
>
> These features are not necessarily in scope of this draft, but it would b=
e
> good to understand if a specification of these features would be able to
> use the interface defined here, or if some generalization is required in
> which case that change may be considered already now.
>
>
> 2. How would a "minimal" profile look like?
>
> The target setting for ACE in general and this draft in particular is
> constrained devices and networks. Some parts of the draft give example of
> thinking about lightweight aspects, but other parts are not at all
> minimalistic and includes a large number of features, however in many cas=
es
> optional.
>
> It would be interesting to have a =E2=80=9Cminimal=E2=80=9D example, wher=
e care has been
> taken in trying to define a group setting such that the resulting message=
s
> are as few and as small as possible (for a certain security level). The
> same comment applies to code size and state machine: There are a number o=
f
> options and =E2=80=9Cnice to have=E2=80=9D features, which if all impleme=
nted could have a
> measurable impact on the footprint.
>
> The use of the word "minimal" is not intended in an absolute sense but to
> target as little as possible and still provide authorized group key
> functionality. Perhaps such an exercise makes more sense in an applicatio=
n
> profile, such as draft-ace-key-groupcomm-oscore. But this draft may be
> provide a partial answer by indicating what handlers to include (sec. 4),
> what groupcomm parameters (sec. 7), what error ids (sec 8), etc.
>
> (This comment actually applies also to the transport profiles, which this
> draft does not need to take responsibility for.)
>
>
>
> More detailed comments
> =3D=3D=3D
>
>
> I found the terminology =E2=80=9CPOST /token=E2=80=9D vs. =E2=80=9CToken =
Post=E2=80=9D/=E2=80=9Ctoken POST=E2=80=9D/=E2=80=9CPOST
> Token=E2=80=9D for the different message exchanges, respectively, quite c=
onfusing.
> For a long time I thought the latter referred to the former. It is true
> that the access token is carried with the method POST in the second
> exchange, but I think that is irrelevant and would suggest to instead use
> some other consistent terminology. For example, use  =E2=80=9CPOST /token=
=E2=80=9D and
> =E2=80=9CPOST /authz-info=E2=80=9D to refer to the exchanges, respectivel=
y. Alternatively,
> call the latter =E2=80=9CToken provisioning=E2=80=9D or something similar=
 without reference
> to the actual method by which the token is provisioned.
>
> This applies in particular to:
>
> Figure 2
> =E2=80=9CToken Post=E2=80=9D
>
> Figure 3
> =E2=80=9CPOST Token=E2=80=9D
>
> =E2=80=9C3.3. Token Post=E2=80=9D
>
> 3.3.1.
> =E2=80=9Can OPTIONAL parameter of the Token Post
>    response message =E2=80=9C
>
> 3.3.2
> =E2=80=9CToken Post response=E2=80=9D
>
> etc.
>
>
> 4.1
>
> Section 4.1 specifies the handlers, 20 pages. This is followed by how the
> handlers are used 4.2 - 4.10, roughly one page per subsection. When readi=
ng
> I ended up having two copies of the draft side by side looking at the
> handler and its corresponding use. I'm not sure this is a problem, but
> reading the handlers is more motivating after having read about how they
> are used. There is a summary in the bullet list in 4.0 but this is merely=
 a
> forward reference and didn't make me do the mapping from handler to actio=
n
> in my head. Maybe just move content such that 4.2-4.10 comes before 4.1
> (and then you can remove the bullet list in 4.0).
>
>
> "It is REQUIRED of the application profiles of this specification to
>    define what operations (e.g., CoAP methods) are allowed on each
>    resource"
>
> It speaks of operations on each resource, but it does not say which
> resources are mandatory to implement. Where is that written?
>
>
>
> 9.
>
> The security consideration speaks about different key update strategies. =
I
> was looking for considerations when to not rekey in case of new member
> joining a group. I would imagine in e.g. a building automation setting
> where a new actuator device is added into a group it may not always be
> necessary to renew the group key of existing actuators. This is in
> particular assuming by the nature of security for actuations there are
> already means in place to determine freshness etc. preventing misuse of a=
n
> old group key.
>
>
>
>
> Nits
> =3D=3D=3D
>
>
> 3.1
>
> s/Toid/=E2=80=9CToid=E2=80=9D
> s/Tperm/=E2=80=9CTperm=E2=80=9D
>
>
> 3.2
>
> If this parameter is not present, the granted scope is equal to the one
> requested in Section 3.1}.
>
> - remove the =E2=80=9C}=E2=80=9D
>
>
>
> 3.3.  Token Post
>
> - - -
>
>    =E2=80=9CThe CBOR map MAY additionally include the following
>    parameter, which, if included, MUST have the corresponding values:
>
>    *  'sign_info' defined in Section 3.3.1, encoding the CBOR simple
>       value Null to require information about the signature algorithm,
>       signature algorithm parameters, signature key parameters and on
>       the exact encoding of public keys used in the group.=E2=80=9D
>
>
> This seems to unnecessary duplicate information coming just after:
>
>
> =E2=80=9C3.3.1.  'sign_info' Parameter
>
>    The 'sign_info' parameter is an OPTIONAL parameter of the Token Post
>    response message defined in Section 5.10.1. of
>    [I-D.ietf-ace-oauth-authz].  This parameter contains information and
>    parameters about the signature algorithm and the public keys to be
>    used between the Client and the RS.  Its exact content is application
>    specific.
>
> - - -
>
>    When used in the request, the 'sign_info' encodes the CBOR simple
>    value Null, to require information and parameters on the signature
>    algorithm and on the public keys used.
>
>    The CDDL notation [RFC8610] of the 'sign_info' parameter formatted as
>    in the request is given below.
>
>       sign_info_req =3D nil=E2=80=9D
>
>
> 3.3.1
>
> I got the impression from the text above that =E2=80=98sign_info=E2=80=99=
 is the name of
> the parameter, but it turns out that the actual parameter is either calle=
d
> =E2=80=9Csign_info_req=E2=80=9D or =E2=80=9Csign_info_res=E2=80=9D. So, w=
hen it is stated that =E2=80=98sign_info=E2=80=99
> encoding the CBOR simple value Null, which seems like a straightforward
> assignment, there is actually no =E2=80=98sign_info=E2=80=99 parameter. T=
his is a minor,
> still slightly confusing.
>
>
> 3.3.1
>
> "This format is consistent with every signature algorithm currently
>    considered in [I-D.ietf-cose-rfc8152bis-algs], "
>
>
> s/considered/defined
>
>
>
> 3.3.2
>
> "(see the 'client_cred_verify' parameter in
>    Section 4)"
>
> Refer instead to 4.1.2.1
>
>
>
>
> 4.1.3.1
>
> =E2=80=9Cin case both the 'role_filter' array and the 'id_filter'
>    array are not empty=E2=80=9D
>
>
> s/not empty/non-empty
>
>
> 4.1.3.1
>
>  "Finally, as mentioned in Section 4.1.2.1, both arrays 'role_filter'
>    and 'id_filter' MUST NOT be both empty."
>
> replace with
>
>    "Finally, as mentioned in Section 4.1.2.1, the arrays 'role_filter'
>    and 'id_filter' MUST NOT both be empty."
>
>
>
>
>
> 4.4
> A  missing comma at the end of the following line:
>
> "get_pub_keys": [true, ["sender"], []], "client_cred": PUB_KEY
>
>
>
> G=C3=B6ran
>
>
>
>
> On 2021-07-12, 18:16, "Ace on behalf of internet-drafts@ietf.org" <
> ace-bounces@ietf.org on behalf of internet-drafts@ietf.org> wrote:
>
>
>     A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
>     This draft is a work item of the Authentication and Authorization for
> Constrained Environments WG of the IETF.
>
>             Title           : Key Provisioning for Group Communication
> using ACE
>             Authors         : Francesca Palombini
>                               Marco Tiloca
>         Filename        : draft-ietf-ace-key-groupcomm-13.txt
>         Pages           : 78
>         Date            : 2021-07-12
>
>     Abstract:
>        This document defines message formats and procedures for requestin=
g
>        and distributing group keying material using the ACE framework, to
>        protect communications between group members.
>
>     Discussion Venues
>
>        This note is to be removed before publishing as an RFC.
>
>        Source for this draft and an issue tracker can be found at
>
> https://protect2.fireeye.com/v1/url?k=3D08daa3fb-57419b19-08dae360-86073b=
36ea28-572fafc3ef6c5ed5&q=3D1&e=3Dfd87b927-3fdc-4d5a-ab71-6248ac68bf5d&u=3D=
https%3A%2F%2Fgithub.com%2Face-wg%2Face-key-groupcomm
> .
>
>
>     The IETF datatracker status page for this draft is:
>     https://datatracker.ietf.org/doc/draft-ietf-ace-key-groupcomm/
>
>     There is also an htmlized version available at:
>     https://datatracker.ietf.org/doc/html/draft-ietf-ace-key-groupcomm-13
>
>     A diff from the previous version is available at:
>     https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-ace-key-groupcomm-13
>
>
>     Internet-Drafts are also available by anonymous FTP at:
>     ftp://ftp.ietf.org/internet-drafts/
>
>
>     _______________________________________________
>     Ace mailing list
>     Ace@ietf.org
>     https://www.ietf.org/mailman/listinfo/ace
>
>
> _______________________________________________
> Ace mailing list
> Ace@ietf.org
> https://www.ietf.org/mailman/listinfo/ace
>

--0000000000001ea8ce05ca6946e4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br>Hello,<br>Here is also my review, as promised. I agree=
 with G=C3=B6ran&#39;s comments and tried not to repeat them (but I realise=
 I have the same concern about the presentation of Section 4 - more details=
 below).=C2=A0<br><b>General comments:</b>=C2=A0<div>The draft is quite tho=
rough in providing=C2=A0details about how a node, as a participant of group=
 communication, can get authorisation, join/get information about and leave=
 the group, how a node can be removed, and how the key information is provi=
ded to protect the group communication. In the pub-sub draft, we take advan=
tage of all these resources to secure pub-sub communication.=C2=A0<br>In ad=
dition to some questions I have about resources (in my detailed comments), =
most of my comments are=C2=A0focused on improving the=C2=A0readability of t=
he draft. As G=C3=B6ran also mentioned, after defining the available resour=
ces, it would be good to explain the flows and then give details of endpoin=
ts and examples. This way, it would be possible to understand first the pri=
mitives available for securing group communication, then have more detail i=
mportant for the implementation.<br>Also,=C2=A0 reading the draft, it was f=
irst not clear how the rekeying was supported, whether it was a push/poll b=
ased solution, i.e., whether the KDC pushes new keys or the group participa=
nts query for the new key information.=C2=A0 Both options are supported, bu=
t it would be nice to have one clear section on this with a recommendation =
(Sections 4.4 and 4.5 look like the main sections for this, but there are s=
everal instances throughout the text rekeying is mentioned.)<br>Finally, I&=
#39;ve read the draft linearly and revised my comments if something I quest=
ioned was answered later; however, I&#39;ve kept the comment to show where =
someone can be puzzled, and a forward pointer to the correct section may be=
 appropriate.=C2=A0My comments are within [CS: ]. I hope you find them usef=
ul.=C2=A0<div><br></div><div><b>Detailed comments:</b><br><br><br>ACE Worki=
ng Group =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 F. Palombini<br>Internet-Draft =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Ericsson AB<br>Intende=
d status: Standards Track =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 M. Tiloca<br>Expire=
s: 13 January 2022 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 RISE AB<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 12 July 2021<br><br><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0Key Provisioning for Group Communication using ACE<br>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 draft-ietf-ace-key-gro=
upcomm-13<br><br>Abstract<br><br>=C2=A0 =C2=A0This document defines message=
 formats and procedures for requesting<br>=C2=A0 =C2=A0and distributing gro=
up keying material using the ACE framework, to<br>=C2=A0 =C2=A0protect comm=
unications between group members.<br><br>Discussion Venues<br>[SNIP]<br><br=
><br>Table of Contents<br><br>=C2=A0 =C2=A01.=C2=A0 Introduction =C2=A0. . =
. . . . . . . . . . . . . . . . . . . . . . =C2=A0 3<br>=C2=A0 =C2=A0 =C2=
=A01.1.=C2=A0 Terminology . . . . . . . . . . . . . . . . . . . . . . . =C2=
=A0 4<br>=C2=A0 =C2=A02.=C2=A0 Overview =C2=A0. . . . . . . . . . . . . . .=
 . . . . . . . . . . . =C2=A0 5<br>=C2=A0 =C2=A03.=C2=A0 Authorization to J=
oin a Group . . . . . . . . . . . . . . . . =C2=A0 8<br>=C2=A0 =C2=A0 =C2=
=A03.1.=C2=A0 Authorization Request . . . . . . . . . . . . . . . . . . =C2=
=A0 8<br>=C2=A0 =C2=A0 =C2=A03.2.=C2=A0 Authorization Response =C2=A0. . . =
. . . . . . . . . . . . . . =C2=A010<br>=C2=A0 =C2=A0 =C2=A03.3.=C2=A0 Toke=
n Post =C2=A0. . . . . . . . . . . . . . . . . . . . . . . =C2=A012<br>=C2=
=A0 =C2=A04.=C2=A0 Keying Material Provisioning and Group Membership<br>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Management =C2=A0. . . . . . . . . . =
. . . . . . . . . . . . . =C2=A015<br>=C2=A0 =C2=A0 =C2=A04.1.=C2=A0 Interf=
ace at the KDC =C2=A0. . . . . . . . . . . . . . . . . . =C2=A017<br>=C2=A0=
 =C2=A0 =C2=A04.2.=C2=A0 Retrieval of Group Names and URIs . . . . . . . . =
. . . . =C2=A039<br>=C2=A0 =C2=A0 =C2=A04.3.=C2=A0 Joining Exchange =C2=A0.=
 . . . . . . . . . . . . . . . . . . . =C2=A040<br>=C2=A0 =C2=A0 =C2=A04.4.=
=C2=A0 Retrieval of Updated Keying Material =C2=A0. . . . . . . . . . =C2=
=A042<br>=C2=A0 =C2=A0 =C2=A04.5.=C2=A0 Requesting a Change of Keying Mater=
ial =C2=A0. . . . . . . . . =C2=A044<br>=C2=A0 =C2=A0 =C2=A04.6.=C2=A0 Retr=
ieval of Public Keys and Roles for Group Members =C2=A0. . =C2=A045<br>=C2=
=A0 =C2=A0 =C2=A04.7.=C2=A0 Update of Public Key =C2=A0. . . . . . . . . . =
. . . . . . . . =C2=A047<br>=C2=A0 =C2=A0 =C2=A04.8.=C2=A0 Retrieval of Gro=
up Policies . . . . . . . . . . . . . . . =C2=A048<br>=C2=A0 =C2=A0 =C2=A04=
.9.=C2=A0 Retrieval of Keying Material Version =C2=A0. . . . . . . . . . =
=C2=A049<br>=C2=A0 =C2=A0 =C2=A04.10. Group Leaving Request . . . . . . . .=
 . . . . . . . . . . =C2=A050<br>=C2=A0 =C2=A05.=C2=A0 Removal of a Node fr=
om the Group =C2=A0. . . . . . . . . . . . . . =C2=A050<br>=C2=A0 =C2=A06.=
=C2=A0 Extended Scope Format . . . . . . . . . . . . . . . . . . . . =C2=A0=
52<br>=C2=A0 =C2=A07.=C2=A0 ACE Groupcomm Parameters =C2=A0. . . . . . . . =
. . . . . . . . . . =C2=A054<br>=C2=A0 =C2=A08.=C2=A0 ACE Groupcomm Error I=
dentifiers . . . . . . . . . . . . . . . =C2=A055<br>=C2=A0 =C2=A09.=C2=A0 =
Security Considerations . . . . . . . . . . . . . . . . . . . =C2=A056<br>=
=C2=A0 =C2=A0 =C2=A09.1.=C2=A0 Update of Keying Material . . . . . . . . . =
. . . . . . . =C2=A057<br>=C2=A0 =C2=A0 =C2=A09.2.=C2=A0 Block-Wise Conside=
rations . . . . . . . . . . . . . . . . =C2=A058<br>=C2=A0 =C2=A010. IANA C=
onsiderations . . . . . . . . . . . . . . . . . . . . . =C2=A058<br>=C2=A0 =
=C2=A0 =C2=A010.1.=C2=A0 Media Type Registrations . . . . . . . . . . . . .=
 . . . =C2=A058<br>=C2=A0 =C2=A0 =C2=A010.2.=C2=A0 CoAP Content-Formats Reg=
istry =C2=A0. . . . . . . . . . . . . =C2=A059<br>=C2=A0 =C2=A0 =C2=A010.3.=
=C2=A0 OAuth Parameters Registry =C2=A0. . . . . . . . . . . . . . . =C2=A0=
60<br>=C2=A0 =C2=A0 =C2=A010.4.=C2=A0 OAuth Parameters CBOR Mappings Regist=
ry =C2=A0. . . . . . . . =C2=A060<br>=C2=A0 =C2=A0 =C2=A010.5.=C2=A0 ACE Gr=
oupcomm Parameters Registry =C2=A0. . . . . . . . . . . =C2=A061<br>=C2=A0 =
=C2=A0 =C2=A010.6.=C2=A0 ACE Groupcomm Key Registry . . . . . . . . . . . .=
 . . . =C2=A061<br>=C2=A0 =C2=A0 =C2=A010.7.=C2=A0 ACE Groupcomm Profile Re=
gistry . . . . . . . . . . . . . =C2=A062<br>=C2=A0 =C2=A0 =C2=A010.8.=C2=
=A0 ACE Groupcomm Policy Registry =C2=A0. . . . . . . . . . . . . =C2=A063<=
br>=C2=A0 =C2=A0 =C2=A010.9.=C2=A0 Sequence Number Synchronization Method R=
egistry =C2=A0. . . . =C2=A063<br>=C2=A0 =C2=A0 =C2=A010.10. Interface Desc=
ription (if=3D) Link Target Attribute Values<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0Registry =C2=A0. . . . . . . . . . . . . . . . . . . .=
 . . . =C2=A064<br>=C2=A0 =C2=A0 =C2=A010.11. CBOR Tags Registry . . . . . =
. . . . . . . . . . . . . . =C2=A064<br>=C2=A0 =C2=A0 =C2=A010.12. ACE Scop=
e Semantics =C2=A0. . . . . . . . . . . . . . . . . . =C2=A065<br><br><br><=
br>Palombini &amp; Tiloca =C2=A0 =C2=A0 =C2=A0 Expires 13 January 2022 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[Page 2]<br>=0C<br>Inte=
rnet-Draft =C2=A0Key Provisioning for Group Communication =C2=A0 =C2=A0 =C2=
=A0 July 2021<br><br><br>=C2=A0 =C2=A0 =C2=A010.13. ACE Groupcomm Errors . =
. . . . . . . . . . . . . . . . . =C2=A065<br>=C2=A0 =C2=A0 =C2=A010.14. Ex=
pert Review Instructions . . . . . . . . . . . . . . . =C2=A066<br>=C2=A0 =
=C2=A011. References =C2=A0. . . . . . . . . . . . . . . . . . . . . . . . =
. =C2=A066<br>=C2=A0 =C2=A0 =C2=A011.1.=C2=A0 Normative References . . . . =
. . . . . . . . . . . . . . =C2=A066<br>=C2=A0 =C2=A0 =C2=A011.2.=C2=A0 Inf=
ormative References . . . . . . . . . . . . . . . . . =C2=A069<br>=C2=A0 =
=C2=A0Appendix A.=C2=A0 Requirements on Application Profiles . . . . . . . =
. =C2=A070<br>=C2=A0 =C2=A0Appendix B.=C2=A0 Extensibility for Future COSE =
Algorithms . . . . . . =C2=A073<br>=C2=A0 =C2=A0 =C2=A0B.1.=C2=A0 Format of=
 &#39;sign_info_entry&#39; . . . . . . . . . . . . . . . =C2=A074<br>=C2=A0=
 =C2=A0Appendix C.=C2=A0 Document Updates . . . . . . . . . . . . . . . . .=
 . =C2=A074<br>=C2=A0 =C2=A0 =C2=A0C.1.=C2=A0 Version -04 to -05 =C2=A0. . =
. . . . . . . . . . . . . . . . . =C2=A074<br>=C2=A0 =C2=A0 =C2=A0C.2.=C2=
=A0 Version -03 to -04 =C2=A0. . . . . . . . . . . . . . . . . . . =C2=A075=
<br>=C2=A0 =C2=A0 =C2=A0C.3.=C2=A0 Version -02 to -03 =C2=A0. . . . . . . .=
 . . . . . . . . . . . =C2=A075<br>=C2=A0 =C2=A0 =C2=A0C.4.=C2=A0 Version -=
01 to -02 =C2=A0. . . . . . . . . . . . . . . . . . . =C2=A076<br>=C2=A0 =
=C2=A0 =C2=A0C.5.=C2=A0 Version -00 to -01 =C2=A0. . . . . . . . . . . . . =
. . . . . . =C2=A076<br>=C2=A0 =C2=A0Acknowledgments . . . . . . . . . . . =
. . . . . . . . . . . . . . =C2=A077<br>=C2=A0 =C2=A0Authors&#39; Addresses=
 =C2=A0. . . . . . . . . . . . . . . . . . . . . . . =C2=A077<br><br>1.=C2=
=A0 Introduction<br><br>=C2=A0 =C2=A0This document expands the ACE framewor=
k [I-D.ietf-ace-oauth-authz] to<br>=C2=A0 =C2=A0define the message exchange=
s used to request, distribute and renew<br>=C2=A0 =C2=A0the keying material=
 in a group communication scenario, e.g., based on<br>=C2=A0 =C2=A0multicas=
t [I-D.ietf-core-groupcomm-bis] or on publishing-subscribing<br>=C2=A0 =C2=
=A0[I-D.ietf-core-coap-pubsub]. =C2=A0<br><br><br>[CS: Nit: publish-subscri=
be messaging instead of publishing-subscribing?] <br><br><br>The ACE framew=
ork is based on CBOR<br>=C2=A0 =C2=A0[RFC8949], so CBOR is the format used =
in this specification.<br>=C2=A0 =C2=A0However, using JSON [RFC8259] instea=
d of CBOR is possible, using the<br>=C2=A0 =C2=A0conversion method specifie=
d in Sections 6.1 and 6.2 of [RFC8949].<br><br>=C2=A0 =C2=A0Profiles that u=
se group communication can build on this document, by<br>=C2=A0 =C2=A0defin=
ing a number of details such as the exact group communication<br>=C2=A0 =C2=
=A0protocol and security protocols used.=C2=A0 The specific list of details=
 a<br>=C2=A0 =C2=A0profile needs to define is shown in Appendix A.<br><br>=
=C2=A0 =C2=A0If the application requires backward and forward security, new=
 keying<br>=C2=A0 =C2=A0material is generated and distributed to the group =
upon membership<br>=C2=A0 =C2=A0changes. <br><br>[CS: Whose responsibility =
is this? While I acknowledge that options available become clear in=C2=A0th=
e end, it would be good to define the different operating models, e.g., pus=
h/pull based]<br><br>=C2=A0A key management scheme performs the actual dist=
ribution of<br>=C2=A0 =C2=A0the new keying material to the group.=C2=A0 In =
particular, the key<br>=C2=A0 =C2=A0management scheme rekeys the current gr=
oup members when a new node<br>=C2=A0 =C2=A0joins the group, and the remain=
ing group members when a node leaves<br>=C2=A0 =C2=A0the group.=C2=A0 Rekey=
ing mechanisms can be based on [RFC2093], [RFC2094]<br>=C2=A0 =C2=A0and [RF=
C2627].<br><br>Palombini &amp; Tiloca =C2=A0 =C2=A0 =C2=A0 Expires 13 Janua=
ry 2022 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[Page 3]<br>=
=0C<br>Internet-Draft =C2=A0Key Provisioning for Group Communication =C2=A0=
 =C2=A0 =C2=A0 July 2021<br><br><br>1.1.=C2=A0 Terminology<br><br>=C2=A0 =
=C2=A0The key words &quot;MUST&quot;, &quot;MUST NOT&quot;, &quot;REQUIRED&=
quot;, &quot;SHALL&quot;, &quot;SHALL NOT&quot;,<br>=C2=A0 =C2=A0&quot;SHOU=
LD&quot;, &quot;SHOULD NOT&quot;, &quot;RECOMMENDED&quot;, &quot;NOT RECOMM=
ENDED&quot;, &quot;MAY&quot;, and<br>=C2=A0 =C2=A0&quot;OPTIONAL&quot; in t=
his document are to be interpreted as described in BCP<br>=C2=A0 =C2=A014 [=
RFC2119] [RFC8174] when, and only when, they appear in all<br>=C2=A0 =C2=A0=
capitals, as shown here.<br><br>=C2=A0 =C2=A0Readers are expected to be fam=
iliar with the terms and concepts<br>=C2=A0 =C2=A0described in [I-D.ietf-ac=
e-oauth-authz][I-D.ietf-cose-rfc8152bis-stru<br>=C2=A0 =C2=A0ct][I-D.ietf-c=
ose-rfc8152bis-algs], such as Authorization Server (AS)<br>=C2=A0 =C2=A0and=
 Resource Server (RS).<br><br>=C2=A0 =C2=A0This document uses names or iden=
tifiers for groups and nodes.=C2=A0 Their<br>=C2=A0 =C2=A0different meaning=
s are summarized here:<br><br>=C2=A0 =C2=A0* =C2=A0&quot;Group name&quot; i=
s the invariant once established identifier of the<br>=C2=A0 =C2=A0 =C2=A0 =
group.=C2=A0 It is used in the communication between AS, RS and Client<br>=
=C2=A0 =C2=A0 =C2=A0 to identify the group.<br><br>[CS: This has confused m=
e earlier with the distinction of security and application<br>group not bei=
ng clear at the time. Would it be possible to emphasise this is a Security =
Group<br>Name?]<br><br>=C2=A0 =C2=A0* =C2=A0&quot;GROUPNAME&quot; is the in=
variant once established text string used in<br>=C2=A0 =C2=A0 =C2=A0 URIs.=
=C2=A0 GROUPNAME maps to the group name of a group, although it is<br>=C2=
=A0 =C2=A0 =C2=A0 not necessarily the same.<br><br>=C2=A0 =C2=A0* =C2=A0&qu=
ot;Group identifier&quot; is the identifier of the group keying material.<b=
r>=C2=A0 =C2=A0 =C2=A0 Opposite to group name and GROUPNAME, this identifie=
r changes over<br>=C2=A0 =C2=A0 =C2=A0 time, when the keying material is up=
dated.<br><br>=C2=A0 =C2=A0* =C2=A0&quot;Node name&quot; is the invariant o=
nce established identifier of the<br>=C2=A0 =C2=A0 =C2=A0 node.=C2=A0 It is=
 used in the communication between AS, RS and Client<br>=C2=A0 =C2=A0 =C2=
=A0 to identify a member of the group.<br><br>=C2=A0 =C2=A0* =C2=A0&quot;NO=
DENAME&quot; is the invariant once established text string used in<br>=C2=
=A0 =C2=A0 =C2=A0 URIs.=C2=A0 NODENAME is used to identify a node in a grou=
p.<br><br>=C2=A0 =C2=A0This document additionally uses the following termin=
ology:<br><br>=C2=A0 =C2=A0* =C2=A0Transport profile, to indicate a profile=
 of ACE as per<br>=C2=A0 =C2=A0 =C2=A0 Section 5.8.4.3 of [I-D.ietf-ace-oau=
th-authz].=C2=A0 A transport<br>=C2=A0 =C2=A0 =C2=A0 profile specifies the =
communication protocol and communication<br>=C2=A0 =C2=A0 =C2=A0 security p=
rotocol between an ACE Client and Resource Server, as<br>=C2=A0 =C2=A0 =C2=
=A0 well as proof-of-possession methods, if it supports proof-of-<br>=C2=A0=
 =C2=A0 =C2=A0 possession access tokens, etc.=C2=A0 Tranport profiles of AC=
E include,<br>=C2=A0 =C2=A0 =C2=A0 for instance, [I-D.ietf-ace-oscore-profi=
le],<br>=C2=A0 =C2=A0 =C2=A0 [I-D.ietf-ace-dtls-authorize] and [I-D.ietf-ac=
e-mqtt-tls-profile].<div><br></div><div>[CS: Tranport -&gt; Transport]<br><=
div><br><br><br>Palombini &amp; Tiloca =C2=A0 =C2=A0 =C2=A0 Expires 13 Janu=
ary 2022 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[Page 4]<br=
>=0C<br>Internet-Draft =C2=A0Key Provisioning for Group Communication =C2=
=A0 =C2=A0 =C2=A0 July 2021<br><br><br>=C2=A0 =C2=A0* =C2=A0Application pro=
file, that defines how applications enforce and use<br>=C2=A0 =C2=A0 =C2=A0=
 supporting security services they require.=C2=A0 These services may<br>=C2=
=A0 =C2=A0 =C2=A0 include, for instance, provisioning, revocation and distr=
ibution<br>=C2=A0 =C2=A0 =C2=A0 of keying material.=C2=A0 An application pr=
ofile may define specific<br>=C2=A0 =C2=A0 =C2=A0 procedures and message fo=
rmats.<br><br>2.=C2=A0 Overview<br><br>=C2=A0 =C2=A0The full procedure can =
be separated in two phases: the first one<br>=C2=A0 =C2=A0follows the ACE f=
ramework, between Client, AS and KDC; the second one<br>=C2=A0 =C2=A0is the=
 key distribution between Client and KDC.=C2=A0 After the two phases<br>=C2=
=A0 =C2=A0are completed, the Client is able to participate in the group<br>=
=C2=A0 =C2=A0communication, via a Dispatcher entity.<br><br><br>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0+------------+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0+-----------+<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =
=C2=A0 AS =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0| =C2=A0 =C2=A0KDC =C2=A0 =C2=A0|<br>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0=
.--------&gt;| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>=C2=A0 =C2=A0 =C2=A0=
 =C2=A0+------------+ =C2=A0 =C2=A0 =C2=A0 / =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0+-----------+<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^ =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 /<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/<br>=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0v =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 / =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 +-----------+<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0+--------=
----+ =C2=A0 / =C2=A0 =C2=A0 =C2=A0+------------+ =C2=A0 =C2=A0 =C2=A0 =C2=
=A0|+-----------+<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 Client =C2=A0 |&lt=
;-&#39; =C2=A0 =C2=A0 =C2=A0 | Dispatcher | =C2=A0 =C2=A0 =C2=A0 =C2=A0||+-=
----------+<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0|&lt;--------&gt;| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|&lt;=
-------&gt;|| =C2=A0 Group =C2=A0 |<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0+--------=
----+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0+------------+ =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 +| =C2=A0members =C2=A0|<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0+-----------+<br><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 Figure 1: Key Distribution Participants<br><br>=C2=A0 =
=C2=A0The following participants (see Figure 1) take part in the<br>=C2=A0 =
=C2=A0authorization and key distribution.<br><br>=C2=A0 =C2=A0* =C2=A0Clien=
t (C): node that wants to join the group communication.=C2=A0 It<br>=C2=A0 =
=C2=A0 =C2=A0 can request write and/or read rights.<br><br>=C2=A0 =C2=A0* =
=C2=A0Authorization Server (AS): same as AS in the ACE Framework; it<br>=C2=
=A0 =C2=A0 =C2=A0 enforces access policies, and knows if a node is allowed =
to join a<br>=C2=A0 =C2=A0 =C2=A0 given group with write and/or read rights=
.<br><br>=C2=A0 =C2=A0* =C2=A0Key Distribution Center (KDC): maintains the =
keying material to<br>=C2=A0 =C2=A0 =C2=A0 protect group communications, an=
d provides it to Clients<br>=C2=A0 =C2=A0 =C2=A0 authorized to join a given=
 group.=C2=A0 During the first part of the<br>=C2=A0 =C2=A0 =C2=A0 exchange=
 (Section 3), it takes the role of the RS in the ACE<br>=C2=A0 =C2=A0 =C2=
=A0 Framework.=C2=A0 During the second part (Section 4), which is not based=
<br>=C2=A0 =C2=A0 =C2=A0 on the ACE Framework, it distributes the keying ma=
terial.=C2=A0 In<br>=C2=A0 =C2=A0 =C2=A0 addition, it provides the latest k=
eying material to group members<br>=C2=A0 =C2=A0 =C2=A0 when requested or, =
if required by the application, when membership<br>=C2=A0 =C2=A0 =C2=A0 cha=
nges.<br><br>[CS: It is not clear to me whether the KDC is programmed to re=
key when membership<br>changes or that needs to be invoked as a request fro=
m one of the group communication <br>participants (which may have, say, a c=
oordinator role). (Again, this is clarified later,<br>but each time I saw i=
t, it triggered the same question.)]<br><br><br><br>Palombini &amp; Tiloca =
=C2=A0 =C2=A0 =C2=A0 Expires 13 January 2022 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0[Page 5]<br>=0C<br>Internet-Draft =C2=A0Key Prov=
isioning for Group Communication =C2=A0 =C2=A0 =C2=A0 July 2021<br><br><br>=
=C2=A0 =C2=A0* =C2=A0Dispatcher: entity through which the Clients communica=
te with the<br>=C2=A0 =C2=A0 =C2=A0 group and which distributes messages to=
 the group members.<br>=C2=A0 =C2=A0 =C2=A0 Examples of dispatchers are: th=
e Broker node in a pub-sub setting;<br>=C2=A0 =C2=A0 =C2=A0 a relayer node =
for group communication that delivers group<br>=C2=A0 =C2=A0 =C2=A0 message=
s as multiple unicast messages to all group members; an<br>=C2=A0 =C2=A0 =
=C2=A0 implicit entity as in a multicast communication setting, where<br>=
=C2=A0 =C2=A0 =C2=A0 messages are transmitted to a multicast IP address and=
 delivered<br>=C2=A0 =C2=A0 =C2=A0 on the transport channel.<br><br>[CS:Is =
a Dispatcher always needed? Clients initiating unicast messages to other <b=
r>group members directly p2p?]<br><br><br>=C2=A0 =C2=A0This document specif=
ies a mechanism for:<br><br>=C2=A0 =C2=A0* =C2=A0Authorizing a new node to =
join the group (Section 3), and<br>=C2=A0 =C2=A0 =C2=A0 providing it with t=
he group keying material to communicate with<br>=C2=A0 =C2=A0 =C2=A0 the ot=
her group members (Section 4).<br><br>=C2=A0 =C2=A0* =C2=A0Allowing a group=
 member to retrieve group keying material<br>=C2=A0 =C2=A0 =C2=A0 (Section =
4.4 and Section 4.5).<br><br>=C2=A0 =C2=A0* =C2=A0Allowing a group member t=
o retrieve public keys of other group<br>=C2=A0 =C2=A0 =C2=A0 members (Sect=
ion 4.6) and to provide an updated public key<br>=C2=A0 =C2=A0 =C2=A0 (Sect=
ion 4.7).<br><br>=C2=A0 =C2=A0* =C2=A0Allowing a group member to leave the =
group (Section 5).<br><br>=C2=A0 =C2=A0* =C2=A0Evicting a group member from=
 the group (Section 5).<br><br>=C2=A0 =C2=A0* =C2=A0Renewing and re-distrib=
uting the group keying material (rekeying)<br>=C2=A0 =C2=A0 =C2=A0 upon a m=
embership change in the group (Section 4.10 and<br>=C2=A0 =C2=A0 =C2=A0 Sec=
tion 5).<br><br>=C2=A0 =C2=A0Figure 2 provides a high level overview of the=
 message flow for a<br>=C2=A0 =C2=A0node joining a group communication sett=
ing, which can be expanded as<br>=C2=A0 =C2=A0follows.<br><br>=C2=A0 =C2=A0=
1.=C2=A0 The joining node requests an Access Token from the AS, in order<br=
>=C2=A0 =C2=A0 =C2=A0 =C2=A0to access a specific group-membership resource =
on the KDC and<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0hence join the associated grou=
p.=C2=A0 This exchange between Client<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0and AS =
MUST be secured, as specified by the transport profile of<br>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0ACE used between Client and KDC.=C2=A0 The joining node will s=
tart or<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0continue using a secure communication=
 association with the KDC,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0according to the r=
esponse from the AS.<br><br>=C2=A0 =C2=A02.=C2=A0 The joining node transfer=
s authentication and authorization<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0informatio=
n to the KDC, by posting the obtained Access Token to<br>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0the /authz-info endpoint at the KDC.=C2=A0 This exchange, and all=
<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0further communications between the Client an=
d the KDC, MUST occur<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0over the secure channel=
 established as a result of the transport<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0pro=
file of ACE used between Client and KDC.=C2=A0 After that, a<br><br><br><br=
>Palombini &amp; Tiloca =C2=A0 =C2=A0 =C2=A0 Expires 13 January 2022 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[Page 6]<br>=0C<br>Interne=
t-Draft =C2=A0Key Provisioning for Group Communication =C2=A0 =C2=A0 =C2=A0=
 July 2021<br><br><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0joining node MUST have a s=
ecure communication association<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0established w=
ith the KDC, before starting to join a group under<br>=C2=A0 =C2=A0 =C2=A0 =
=C2=A0that KDC.=C2=A0 Possible ways to provide a secure communication<br>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0association are described in the DTLS transport =
profile<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0[I-D.ietf-ace-dtls-authorize] and OSC=
ORE transport profile<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0[I-D.ietf-ace-oscore-pr=
ofile] of ACE.<br><br>=C2=A0 =C2=A03.=C2=A0 The joining node starts the joi=
ning process to become a member of<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0the group,=
 by accessing the related group-membership resource at<br>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0the KDC.=C2=A0 At the end of the joining process, the joining nod=
e has<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0received from the KDC the parameters an=
d keying material to<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0securely communicate wit=
h the other members of the group, and the<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0KDC=
 has stored the association between the authorization<br>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0information from the access token and the secure session with the=
<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0joining node.<br><br>[CS: Maybe also clarify=
 here that this potentially triggers re-keying as shown in the figure?]<br>=
<br>=C2=A0 =C2=A04.=C2=A0 The joining node and the KDC maintain the secure =
association, to<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0support possible future commu=
nications.=C2=A0 These especially include<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0key=
 management operations, such as retrieval of updated keying<br>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0material or participation to a group rekeying process.<br>=
<br>=C2=A0 =C2=A05.=C2=A0 The joining node can communicate securely with th=
e other group<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0members, using the keying mater=
ial provided in step 3.<br><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0C =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 AS =C2=A0KDC =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0Group<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Member<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0/ | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0| =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| | =C2=A0 Authorization Request =C2=A0 |=
 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 |<br>=C2=A0 =C2=A0 Defined =C2=A0| |--------------------------&g=
t;| =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 |<br>=C2=A0 =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A0 =C2=A0 =C2=A0 |<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|&lt;=3D=3D=3D=3D=3D Secure group =
communication =3D=3D=3D=3D=3D=3D=3D|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;|<=
br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0|<br><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0Figure 2: Message Flow Upon New Node&#39;s Joining<br><br><br>Pal=
ombini &amp; Tiloca =C2=A0 =C2=A0 =C2=A0 Expires 13 January 2022 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[Page 7]<br>=0C<br>Internet-Dr=
aft =C2=A0Key Provisioning for Group Communication =C2=A0 =C2=A0 =C2=A0 Jul=
y 2021<br><br><br>3.=C2=A0 Authorization to Join a Group<br><br>=C2=A0 [SNI=
P]<br><br>3.1.=C2=A0 Authorization Request<br><br>=C2=A0 =C2=A0The Authoriz=
ation Request sent from the Client to the AS is defined<br>=C2=A0 =C2=A0in =
Section 5.8.1 of [I-D.ietf-ace-oauth-authz] and MAY contain the<br>=C2=A0 =
=C2=A0following parameters, which, if included, MUST have the corresponding=
<br>=C2=A0 =C2=A0values:<br><br>=C2=A0 =C2=A0* =C2=A0&#39;scope&#39;, conta=
ining the identifier of the specific groups, or<br>=C2=A0 =C2=A0 =C2=A0 top=
ics in the case of pub-sub, that the Client wishes to access,<br>=C2=A0 =C2=
=A0 =C2=A0 and optionally the roles that the Client wishes to take.<br><br>=
[CS: I think we have to include that a pub-sub model may also group nodes <=
br>based on something other than topics, even though we&#39;ve written the =
pub-sub<br>profile based on topic(or topic filter)-based group identifiers.=
 Maybe this is<br>better given just as an example?]<br><br>=C2=A0 =C2=A0 =
=C2=A0 This value is a CBOR byte string, wrapping a CBOR array of one or<br=
>=C2=A0 =C2=A0 =C2=A0 more entries.<br><br><br><br>Palombini &amp; Tiloca =
=C2=A0 =C2=A0 =C2=A0 Expires 13 January 2022 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0[Page 8]<br>=0C<br>Internet-Draft =C2=A0Key Prov=
isioning for Group Communication =C2=A0 =C2=A0 =C2=A0 July 2021<br><br><br>=
=C2=A0 =C2=A0 =C2=A0 By default, each entry is encoded as specified by<br>=
=C2=A0 =C2=A0 =C2=A0 [I-D.ietf-ace-aif].=C2=A0 The object identifier Toid c=
orresponds to the<br>=C2=A0 =C2=A0 =C2=A0 group name and MUST be encoded as=
 a tstr.=C2=A0 The permission set<br>=C2=A0 =C2=A0 =C2=A0 Tperm indicates t=
he roles that the client wishes to take in the<br>=C2=A0 =C2=A0 =C2=A0 grou=
p.=C2=A0 It is up to the application profiles to define Tperm<br>=C2=A0 =C2=
=A0 =C2=A0 (REQ2) and register Toid and Tperm to fit the use case.=C2=A0 An=
<br>=C2=A0 =C2=A0 =C2=A0 example of scope using the AIF format is given in =
Figure 4.<br><br>=C2=A0 =C2=A0 =C2=A0 Otherwise, each scope entry can be de=
fined as a CBOR array, which<br>=C2=A0 =C2=A0 =C2=A0 contains:<br><br>[CS: =
Two options. One recommended? (Though I see that this is better clarified <=
br>below when explaining extended scope format and how KDC may support mult=
iple...<br>Maybe a forward reference?)]<br><br>=C2=A0 =C2=A0 =C2=A0 - =C2=
=A0As first element, the identifier of the specific group or<br>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0topic, encoded as a tstr.<br><br>=C2=A0 =C2=A0 =C2=
=A0 - =C2=A0Optionally, as second element, the role (or CBOR array of<br>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0roles) that the Client wishes to take in =
the group.=C2=A0 This<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0element is optio=
nal since roles may have been pre-assigned to<br>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0the Client, as associated to its verifiable identity<br>=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0credentials.=C2=A0 Alternatively, the applicatio=
n may have defined a<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0single, well-know=
n role for the target resource(s) and<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
audience(s).<br><br>[CS: What happens if a Client uses the option to select=
 a role but mismatches what<br>is pre-assigned. I expect it&#39;s overwritt=
en with what&#39;s pre-programmed at the AS?<br>Is there an error message f=
or the mismatch? e.g., &quot;Request inconsistent with the current roles&qu=
ot;] =C2=A0<br><br>=C2=A0 =C2=A0 =C2=A0 In each entry, the encoding of the =
role identifiers is application<br>=C2=A0 =C2=A0 =C2=A0 specific, and part =
of the requirements for the application profile<br>=C2=A0 =C2=A0 =C2=A0 (RE=
Q2).=C2=A0 In particular, the application profile may specify CBOR<br>=C2=
=A0 =C2=A0 =C2=A0 values to use for abbreviating role identifiers (OPT7).<b=
r><br>=C2=A0 =C2=A0 =C2=A0 An example of CDDL definition [RFC8610] of scope=
 using the format<br>=C2=A0 =C2=A0 =C2=A0 above, with group name and role i=
dentifiers encoded as text<br>=C2=A0 =C2=A0 =C2=A0 strings is given in Figu=
re 5.</div><div><br></div><div>[CS: is-&gt;are]<br><br>=C2=A0 =C2=A0* =C2=
=A0&#39;audience&#39;, with an identifier of a KDC.<br><br>=C2=A0 =C2=A0As =
defined in [I-D.ietf-ace-oauth-authz], other additional parameters<br>=C2=
=A0 =C2=A0can be included if necessary.<br><br>Palombini &amp; Tiloca =C2=
=A0 =C2=A0 =C2=A0 Expires 13 January 2022 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0[Page 9]<br>=0C<br>Internet-Draft =C2=A0Key Provisi=
oning for Group Communication =C2=A0 =C2=A0 =C2=A0 July 2021<br><br><br>=C2=
=A0 =C2=A0gname =3D tstr<br><br>=C2=A0 =C2=A0permissions =3D uint . bits ro=
les<br><br>=C2=A0 =C2=A0roles =3D &amp;(<br>=C2=A0 =C2=A0 =C2=A0 Requester:=
 1,<br>=C2=A0 =C2=A0 =C2=A0 Responder: 2,<br>=C2=A0 =C2=A0 =C2=A0 Monitor: =
3,<br>=C2=A0 =C2=A0 =C2=A0 Verifier: 4<br>=C2=A0 =C2=A0)<br><br>=C2=A0 =C2=
=A0scope_entry =3D AIF_Generic&lt;gname, permissions&gt;<br><br>=C2=A0 =C2=
=A0scope =3D &lt;&lt; [ + scope_entry ] &gt;&gt;<br><br>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0Figure 4: Example CDLL definition of scope, using the default<br>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 Authorization Information Format<br><br>=C2=A0 =C2=A0gname =3D tstr<br>=
<br>=C2=A0 =C2=A0role =3D tstr<br><br>=C2=A0 =C2=A0scope_entry =3D [ gname =
, ? ( role / [ 2*role ] ) ]<br><br>=C2=A0 =C2=A0scope =3D &lt;&lt; [ + scop=
e_entry ] &gt;&gt;<br><br>=C2=A0 =C2=A0 =C2=A0 Figure 5: CDLL definition of=
 scope, using as example group name<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 encoded as tstr and role as tstr<=
br><br>3.2.=C2=A0 Authorization Response<br><br>[SNIP]<br><br>=C2=A0 =C2=A0=
<br>3.3.=C2=A0 Token Post<br><br>=C2=A0 =C2=A0The Client sends a CoAP POST =
request including the access token to<br>=C2=A0 =C2=A0the KDC, as specified=
 in Section 5.8.1 of [I-D.ietf-ace-oauth-authz].<br><br>=C2=A0 =C2=A0This r=
equest differs from the one defined in<br>=C2=A0 =C2=A0[I-D.ietf-ace-oauth-=
authz], because it allows to transport additional<br>=C2=A0 =C2=A0encoding =
information about the public keys in the group, used for<br>=C2=A0 =C2=A0so=
urce authentication, as well as any other group parameters.<br><br>[CS: Tra=
nsport or request additional information?]<br><br>=C2=A0 =C2=A0The joining =
node MAY ask for this information from the KDC in the<br>=C2=A0 =C2=A0same =
message it uses to POST the token to the RS.=C2=A0 In such a case,<br>=C2=
=A0 =C2=A0the message MUST have Content-Format set to application/ace+cbor<=
br>=C2=A0 =C2=A0defined in Section 8.16 of [I-D.ietf-ace-oauth-authz].=C2=
=A0 The message<br>=C2=A0 =C2=A0payload MUST be formatted as a CBOR map, wh=
ich MUST include the<br>=C2=A0 =C2=A0access token.=C2=A0 The CBOR map MAY a=
dditionally include the following<br>=C2=A0 =C2=A0parameter, which, if incl=
uded, MUST have the corresponding values:<br><br>=C2=A0 =C2=A0* =C2=A0&#39;=
sign_info&#39; defined in Section 3.3.1, encoding the CBOR simple<br>=C2=A0=
 =C2=A0 =C2=A0 value Null to require information about the signature algori=
thm,<br>=C2=A0 =C2=A0 =C2=A0 signature algorithm parameters, signature key =
parameters and on<br>=C2=A0 =C2=A0 =C2=A0 the exact encoding of public keys=
 used in the group.<br><br>=C2=A0 =C2=A0Alternatively, the joining node may=
 retrieve this information by<br>=C2=A0 =C2=A0other means.<br>[CS: Referenc=
e to them?]<br><br>=C2=A0 =C2=A0After successful verification, the Client i=
s authorized to receive<br>=C2=A0 =C2=A0the group keying material from the =
KDC and join the group.<br><br>=C2=A0 =C2=A0The KDC replies to the Client w=
ith a 2.01 (Created) response, using<br>=C2=A0 =C2=A0Content-Format &quot;a=
pplication/ace+cbor&quot;.<br><br>=C2=A0 =C2=A0The payload of the 2.01 resp=
onse is a CBOR map.=C2=A0 If the access token<br>=C2=A0 =C2=A0contains a ro=
le that requires the Client to send its own public key<br>=C2=A0 =C2=A0to t=
he KDC when joining the group, the CBOR map MUST include the<br>=C2=A0 =C2=
=A0parameter &#39;kdcchallenge&#39; defined in Section 3.3.2, specifying a<=
br>=C2=A0 =C2=A0dedicated challenge N_S generated by the KDC.=C2=A0 The Cli=
ent uses this<br>=C2=A0 =C2=A0challenge to prove possession of its own priv=
ate key (see the<br>=C2=A0 =C2=A0&#39;client_cred_verify&#39; parameter in =
Section 4).=C2=A0 Note that the payload<br>=C2=A0 =C2=A0format of the respo=
nse deviates from the one defined in the ACE<br>=C2=A0 =C2=A0framework (see=
 Section 5.10.1 of [I-D.ietf-ace-oauth-authz]), which<br>=C2=A0 =C2=A0has n=
o payload.<br><br>=C2=A0 =C2=A0The KDC MUST store the &#39;kdcchallenge&#39=
; value associated to the Client<br>=C2=A0 =C2=A0at least until it receives=
 a join request from it (see Section 4.3),<br>=C2=A0 =C2=A0to be able to ve=
rify that the Client possesses its own private key.<br><br>[CS: OK, just to=
 clarify? the kdcchallenge is generated and returned in the Authorisation<b=
r>response, and the client uses it to prove ownership of public key on join=
 request.<br>It may be useful to specify more clearly when the challenge pa=
rameter is used.<br>(This is clarified much later; I feel explaining the po=
ssible flows using the resources<br>beforehand would be better, as I commen=
t later as well.]<br><br>=C2=A0 =C2=A0The same challenge MAY be reused seve=
ral times by the Client, to<br>=C2=A0 =C2=A0generate a new proof of possess=
ion, e.g., in case of update of the<br><br><br><br>Palombini &amp; Tiloca =
=C2=A0 =C2=A0 =C2=A0 Expires 13 January 2022 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 [Page 12]<br>=0C<br>Internet-Draft =C2=A0Key Provision=
ing for Group Communication =C2=A0 =C2=A0 =C2=A0 July 2021<br><br><br>=C2=
=A0 =C2=A0public key, or to join a different group with a different signing=
<br>=C2=A0 =C2=A0key, so it is RECOMMENDED that the KDC keeps storing the<b=
r>=C2=A0 =C2=A0&#39;kdcchallenge&#39; after the first join is processed as =
well.=C2=A0 If the KDC<br>=C2=A0 =C2=A0has already discarded the &#39;kdcch=
allenge&#39;, that will trigger an error<br>=C2=A0 =C2=A0response with a ne=
wly generated &#39;kdcchallenge&#39; that the Client can<br>=C2=A0 =C2=A0us=
e to restart the join process, as specified in Section 4.3.<br><br>=C2=A0 =
=C2=A0If &#39;sign_info&#39; is included in the request, the KDC MAY includ=
e the<br>=C2=A0 =C2=A0&#39;sign_info&#39; parameter defined in Section 3.3.=
1, with the same<br>=C2=A0 =C2=A0encoding.=C2=A0 Note that the field &#39;i=
d&#39; takes the value of the group name<br>=C2=A0 =C2=A0for which the &#39=
;sign_info_entry&#39; applies to.<br><br>[CS: This MAY mean that even if th=
e client has sign_info, the KDC <br>may not return this information? What&#=
39;s the reason for this?]<br><br>=C2=A0 =C2=A0Note that the CBOR map speci=
fied as payload of the 2.01 (Created)<br>=C2=A0 =C2=A0response may include =
further parameters, e.g. according to the<br>=C2=A0 =C2=A0signalled transpo=
rt profile of ACE.=C2=A0 Application profiles MAY define<br>=C2=A0 =C2=A0th=
e additional parameters to use within this exchange (OPT2).<br><br>=C2=A0 =
=C2=A0Application profiles of this specification MAY define alternative<br>=
=C2=A0 =C2=A0specific negotiations of parameter values for the signature al=
gorithm<br>=C2=A0 =C2=A0and signature keys, if &#39;sign_info&#39; is not u=
sed (OPT1).<br><br>3.3.1. =C2=A0&#39;sign_info&#39; Parameter<br><br>[CS: I=
t is confusing to read about sign_info in two places (in <br>the previous s=
ection and this section). Maybe defer<br>all sign_info -related information=
 to this section?] <br><br>[SNIP]<br><br><br>3.3.2. =C2=A0&#39;kdcchallenge=
&#39; Parameter<br>[CS: The same comment as above, either explained here or=
 above... Otherwise <br>repetitious]<br>[SNIP]<br><br>4.=C2=A0 Keying Mater=
ial Provisioning and Group Membership Management<br><br>[SNIP]<br><br><br>4=
.1.=C2=A0 Interface at the KDC<br><br>=C2=A0 =C2=A0The KDC is configured wi=
th the following resources.=C2=A0 Note that the<br>=C2=A0 =C2=A0root url-pa=
th &quot;ace-group&quot; given here are default names:<br>=C2=A0 =C2=A0impl=
ementations are not required to use these names, and can define<br>=C2=A0 =
=C2=A0their own instead.=C2=A0 Each application profile of this specificati=
on<br>=C2=A0 =C2=A0MUST register a Resource Type for the root url-path (REQ=
7), and that<br>=C2=A0 =C2=A0Resource Type can be used to discover the corr=
ect url to access at<br>=C2=A0 =C2=A0the KDC.=C2=A0 This Resource Type can =
also be used at the GROUPNAME sub-<br>=C2=A0 =C2=A0resource, to indicate di=
fferent application profiles for different<br>=C2=A0 =C2=A0groups.=C2=A0 Th=
e Interface Description (if=3D) Link Target Attribute value<br>=C2=A0 =C2=
=A0ace.group is registered (Section 10.10) and can be used to describe<br>=
=C2=A0 =C2=A0this interface.<br><br>=C2=A0 =C2=A0* =C2=A0/ace-group: this r=
esource is invariant once established and<br>=C2=A0 =C2=A0 =C2=A0 indicates=
 that this specification is used.=C2=A0 If other applications<br>=C2=A0 =C2=
=A0 =C2=A0 run on a KDC implementing this specification and use this same<b=
r>=C2=A0 =C2=A0 =C2=A0 resource, these applications will collide, and a mec=
hanism will be<br>=C2=A0 =C2=A0 =C2=A0 needed to differentiate the endpoint=
s.=C2=A0 This resource supports the<br>=C2=A0 =C2=A0 =C2=A0 FETCH method.<b=
r><br>=C2=A0 =C2=A0* =C2=A0/ace-group/GROUPNAME: one sub-resource to /ace-g=
roup is<br>=C2=A0 =C2=A0 =C2=A0 implemented for each group the KDC manages.=
<br><br>=C2=A0 =C2=A0 =C2=A0 If the value of the GROUPNAME URI path and the=
 group name in the<br>=C2=A0 =C2=A0 =C2=A0 access token scope (&#39;gname&#=
39; in Section 3.2) do not match, the KDC<br>=C2=A0 =C2=A0 =C2=A0 MUST impl=
ement a mechanism to map the GROUPNAME value in the URI<br>=C2=A0 =C2=A0 =
=C2=A0 to the group name, in order to retrieve the right group (REQ1).<br><=
br>[CS: While I understand the purpose of the statement above, it=C2=A0read=
s confusing.<br>What if the mismatch is an error? E.g., the wrong token is =
provided <br>for the call, and it should be not authorised, no?]<br><br>=C2=
=A0 =C2=A0 =C2=A0 Each resource contains the symmetric group keying materia=
l for<br>=C2=A0 =C2=A0 =C2=A0 that group.=C2=A0 These resources support the=
 GET and POST methods.<br><br>=C2=A0 =C2=A0* =C2=A0/ace-group/GROUPNAME/pub=
-key: this resource is invariant once<br>=C2=A0 =C2=A0 =C2=A0 established a=
nd contains the public keys of all group members.<br>=C2=A0 =C2=A0 =C2=A0 T=
his resource supports the GET and FETCH methods.<br><br>[CS: All group memb=
ers do not need to have public keys, e.g., For pub-sub, its only publishers=
]<br><br>=C2=A0 =C2=A0* =C2=A0/ace-group/GROUPNAME/policies: this resource =
is invariant once<br>=C2=A0 =C2=A0 =C2=A0 established and contains the grou=
p policies.=C2=A0 This resource<br>=C2=A0 =C2=A0 =C2=A0 supports the GET me=
thod.<br><br><br>Palombini &amp; Tiloca =C2=A0 =C2=A0 =C2=A0 Expires 13 Jan=
uary 2022 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [Page 17]<br>=0C=
<br>Internet-Draft =C2=A0Key Provisioning for Group Communication =C2=A0 =
=C2=A0 =C2=A0 July 2021<br><br><br>=C2=A0 =C2=A0* =C2=A0/ace-group/GROUPNAM=
E/num: this resource is invariant once<br>=C2=A0 =C2=A0 =C2=A0 established =
and contains the version number for the symmetric<br>=C2=A0 =C2=A0 =C2=A0 g=
roup keying material.=C2=A0 This sub-resource supports the GET method.<br><=
br>=C2=A0 =C2=A0* =C2=A0/ace-group/GROUPNAME/nodes/NODENAME: one sub-resour=
ce to /ace-<br>=C2=A0 =C2=A0 =C2=A0 group/GROUPNAME is implemented for each=
 node in the group the KDC<br>=C2=A0 =C2=A0 =C2=A0 manages.=C2=A0 These res=
ources are identified by the node name (in this<br>=C2=A0 =C2=A0 =C2=A0 exa=
mple, the node name has value NODENAME).=C2=A0 Each resource<br>=C2=A0 =C2=
=A0 =C2=A0 contains the group and individual keying material for that node.=
<br>=C2=A0 =C2=A0 =C2=A0 These resources support the GET, PUT and DELETE me=
thods.<br><br>=C2=A0 =C2=A0* =C2=A0/ace-group/GROUPNAME/nodes/NODENAME/pub-=
key: one sub-resource to<br>=C2=A0 =C2=A0 =C2=A0 /ace-group/GROUPNAME/nodes=
/NODENAME is implemented for each node<br>=C2=A0 =C2=A0 =C2=A0 in the group=
 the KDC manages.=C2=A0 These resources are identified by<br>=C2=A0 =C2=A0 =
=C2=A0 the node name (in this example, the node name has value NODENAME).<b=
r>=C2=A0 =C2=A0 =C2=A0 Each resource contains the individual public keying =
material for<br>=C2=A0 =C2=A0 =C2=A0 that node.=C2=A0 These resources suppo=
rt the POST method.<br>[CS: It also supports FETCH and GET, as detailed lat=
er?]<br><br>=C2=A0 =C2=A0It is REQUIRED of the application profiles of this=
 specification to<br>=C2=A0 =C2=A0define what operations (e.g., CoAP method=
s) are allowed on each<br>=C2=A0 =C2=A0resource, for each role defined in S=
ection 3.1 according to REQ2<br>=C2=A0 =C2=A0(REQ8).<br><br>[CS: Just to cl=
arify again, this spec supports the above detailed operations,<br>and it is=
 REQUIRED that the profile, which uses this profile, further constrains the=
 operations<br>and who is allowed to access. And the access may not be base=
d on only role, e.g.<br>NODENAME may be able to PUT under nodes/NODENAME?]<=
br><br>=C2=A0 =C2=A0The details for the handlers of each resource are given=
 in the<br>=C2=A0 =C2=A0following sections.=C2=A0 These endpoints are used =
to perform the<br>=C2=A0 =C2=A0operations introduced in Section 4.<br><br>4=
.1.1. =C2=A0ace-group<br><br>=C2=A0 =C2=A0This resource implements a FETCH =
handler.<br><br>4.1.1.1.=C2=A0 FETCH Handler<br><br>=C2=A0 =C2=A0[SNIP]<br>=
<br>4.1.2. =C2=A0ace-group/GROUPNAME<br><br>=C2=A0 =C2=A0This resource impl=
ements GET and POST handlers.<br><br>4.1.2.1.=C2=A0 POST Handler<br><br>=C2=
=A0 =C2=A0The POST handler adds the public key of the client to the list of=
 the<br>=C2=A0 =C2=A0group members&#39; public keys and returns the symmetr=
ic group keying<br>=C2=A0 =C2=A0material for the group identified by GROUPN=
AME.=C2=A0 Note that the group<br>=C2=A0 =C2=A0joining exchange is done by =
the client via this operation, as<br>=C2=A0 =C2=A0described in Section 4.3.=
<br><br>=C2=A0 =C2=A0The handler expects a request with payload formatted a=
s a CBOR map,<br>=C2=A0 =C2=A0which MAY contain the following fields, which=
, if included, MUST have<br>=C2=A0 =C2=A0the corresponding values:<br><br><=
br>Palombini &amp; Tiloca =C2=A0 =C2=A0 =C2=A0 Expires 13 January 2022 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [Page 19]<br>=0C<br>Internet-=
Draft =C2=A0Key Provisioning for Group Communication =C2=A0 =C2=A0 =C2=A0 J=
uly 2021<br><br><br>=C2=A0 =C2=A0* =C2=A0&#39;scope&#39;, with value the sp=
ecific resource at the KDC that the<br>=C2=A0 =C2=A0 =C2=A0 Client is autho=
rized to access, i.e., group or topic name, and<br>=C2=A0 =C2=A0 =C2=A0 rol=
e(s).=C2=A0 This value is a CBOR byte string wrapping one scope<br>=C2=A0 =
=C2=A0 =C2=A0 entry, as defined in Section 3.1.<br><br>=C2=A0 =C2=A0* =C2=
=A0&#39;get_pub_keys&#39;, if the Client wishes to receive the public keys =
of<br>=C2=A0 =C2=A0 =C2=A0 the other nodes in the group from the KDC.=C2=A0=
 This parameter may be<br>=C2=A0 =C2=A0 =C2=A0 present if the KDC stores th=
e public keys of the nodes in the<br>=C2=A0 =C2=A0 =C2=A0 group and distrib=
utes them to the Client; it is useless to have<br>=C2=A0 =C2=A0 =C2=A0 here=
 if the set of public keys of the members of the group is<br>=C2=A0 =C2=A0 =
=C2=A0 known in another way, e.g., it was provided by the AS.=C2=A0 Note th=
at<br>=C2=A0 =C2=A0 =C2=A0 including this parameter may result in a large m=
essage size for<br>=C2=A0 =C2=A0 =C2=A0 the following response, which can b=
e inconvenient for resource-<br>=C2=A0 =C2=A0 =C2=A0 constrained devices.<b=
r><br>=C2=A0 =C2=A0 =C2=A0 The parameter&#39;s value is either the CBOR sim=
ple value Null, or a<br>=C2=A0 =C2=A0 =C2=A0 non-empty CBOR array containin=
g the following three elements.<br><br>=C2=A0 =C2=A0 =C2=A0 - =C2=A0The fir=
st element, namely &#39;inclusion_flag&#39;, encodes the CBOR<br>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0simple value True.<br><br>[CS: Maybe explained what=
 this flag signifies, as I see it&#39;s true by <br>default for this handle=
r, and may not be for other handlers (It&#39;s explained<br>much later)]<br=
><br>=C2=A0 =C2=A0 =C2=A0 - =C2=A0The second element, namely &#39;role_filt=
er&#39;, is a non-empty CBOR<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0array.=C2=
=A0 Each element of the array contains one role or a<br>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0combination of roles for the group identified by GROUPNAME=
.<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0The Client indicates that it wishes =
to receive the public keys<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0of all grou=
p members having any of the single roles, or at<br>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0least all of the roles indicated in any combination of roles.<br>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0For example, the array [&quot;role1&quot;=
, &quot;role2+role3&quot;] indicates that<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0the Client wishes to receive the public keys of all group<br>=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0members that have at least &quot;role1&quot; or =
at least both &quot;role2&quot; and<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&q=
uot;role3&quot;.<br><br>=C2=A0 =C2=A0 =C2=A0 - =C2=A0The third element, nam=
ely &#39;id_filter&#39;, is an empty CBOR array.<br><br>=C2=A0 =C2=A0 =C2=
=A0 If the Client wishes to receive all public keys of all group<br>=C2=A0 =
=C2=A0 =C2=A0 members, it encodes the &#39;get_pub_key&#39; parameter as th=
e CBOR simple<br>=C2=A0 =C2=A0 =C2=A0 value Null.<br><br>=C2=A0 =C2=A0 =C2=
=A0 The CDDL definition [RFC8610] of &#39;get_pub_keys&#39; is given in<br>=
=C2=A0 =C2=A0 =C2=A0 Figure 6, using as example encoding: node identifier e=
ncoded as a<br>=C2=A0 =C2=A0 =C2=A0 CBOR byte string; role identifier encod=
ed as a CBOR text string,<br>=C2=A0 =C2=A0 =C2=A0 and combination of roles =
encoded as a CBOR array of roles.<br><br>=C2=A0 =C2=A0 =C2=A0 Note that the=
 array of roles &#39;role_filter&#39; is non-empty for this<br>=C2=A0 =C2=
=A0 =C2=A0 handler, but this is not necessarily the case for other handlers=
<br>=C2=A0 =C2=A0 =C2=A0 using this parameter: if this array is empty, it m=
eans that the<br>=C2=A0 =C2=A0 =C2=A0 client is not filtering public keys b=
ased on roles.<br><br><br>Palombini &amp; Tiloca =C2=A0 =C2=A0 =C2=A0 Expir=
es 13 January 2022 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [Page 2=
0]<br>=0C<br>Internet-Draft =C2=A0Key Provisioning for Group Communication =
=C2=A0 =C2=A0 =C2=A0 July 2021<br><br><br>=C2=A0 =C2=A0 =C2=A0 Also note th=
at the array of node identifiers &#39;id_filter&#39; is empty<br>=C2=A0 =C2=
=A0 =C2=A0 for this handler, because the joining node is not expected or<br=
>=C2=A0 =C2=A0 =C2=A0 capable to express a filter based on node identifiers=
 at this<br>=C2=A0 =C2=A0 =C2=A0 point in time.=C2=A0 Consistently, the &#3=
9;inclusion_flag&#39; element is set<br>=C2=A0 =C2=A0 =C2=A0 to the CBOR si=
mple value True.=C2=A0 However, the &#39;id_filter&#39; array is<br>=C2=A0 =
=C2=A0 =C2=A0 not necessarily empty for the value of &#39;get_pub_keys&#39;=
 received by<br>=C2=A0 =C2=A0 =C2=A0 the handler of FETCH to ace-group/GROU=
PNAME/pub-key (see<br>=C2=A0 =C2=A0 =C2=A0 Section 4.1.3.1).<br><br>=C2=A0 =
=C2=A0 =C2=A0 Finally, the &#39;get_pub_keys&#39; parameter MUST NOT have t=
he arrays<br>=C2=A0 =C2=A0 =C2=A0 &#39;role_filter&#39; and &#39;id_filter&=
#39; as both empty, i.e., in CBOR<br>=C2=A0 =C2=A0 =C2=A0 diagnostic notati=
on: [ bool, [ ], [ ] ].=C2=A0 Thus, if this parameter<br>=C2=A0 =C2=A0 =C2=
=A0 is received as formatted in that way, it has to be considered<br>=C2=A0=
 =C2=A0 =C2=A0 malformed.<br><br>[CS: I understand that other handlers may =
use this parameter, but maybe<br>it&#39;s better to focus its value for thi=
s handler; otherwise it becomes tedious<br>to parse the information].<br><b=
r>=C2=A0 =C2=A0[SNIP]<br>=C2=A0 <br>=C2=A0 =C2=A0 <br><br>=C2=A0 =C2=A0* =
=C2=A0&#39;control_uri&#39;, with value a full URI, encoded as a CBOR text<=
br>=C2=A0 =C2=A0 =C2=A0 string.=C2=A0 If &#39;control_uri&#39; is supported=
 by the Client, the Client<br>=C2=A0 =C2=A0 =C2=A0 acts as a CoAP server an=
d hosts a resource at this specific URI.<br>=C2=A0 =C2=A0 =C2=A0 The KDC MA=
Y use this URI to send CoAP requests to the Client<br>=C2=A0 =C2=A0 =C2=A0 =
(acting as CoAP server in this exchange), for example for<br>=C2=A0 =C2=A0 =
=C2=A0 individual provisioning of new keying material when performing a<br>=
=C2=A0 =C2=A0 =C2=A0 group rekeying (see Section 4.4), or to inform the Cli=
ent of its<br>=C2=A0 =C2=A0 =C2=A0 removal from the group Section 5.<br>=C2=
=A0 <br>[CS: So the above are KDC initiated? I think it needs to be clarifi=
ed what<br>mechanisms are expected to be initiated by KDC. If this uri is n=
ot present, <br>how does the KDC rekey?]<br><br>If the KDC does not impleme=
nt<br><br><br>Palombini &amp; Tiloca =C2=A0 =C2=A0 =C2=A0 Expires 13 Januar=
y 2022 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [Page 22]<br>=0C<br=
>Internet-Draft =C2=A0Key Provisioning for Group Communication =C2=A0 =C2=
=A0 =C2=A0 July 2021<br><br><br>=C2=A0 =C2=A0 =C2=A0 mechanisms using this =
resource, it can just ignore this parameter.<br>=C2=A0 =C2=A0 =C2=A0 Other =
additional functionalities of this resource MAY be defined<br>=C2=A0 =C2=A0=
 =C2=A0 in application profiles of this specifications (OPT9).=C2=A0 In<br>=
=C2=A0 =C2=A0 =C2=A0 particular, this resource is intended for communicatio=
ns<br>=C2=A0 =C2=A0 =C2=A0 concerning exclusively the group or topic specif=
ied in the &#39;scope&#39;<br>=C2=A0 =C2=A0 =C2=A0 parameter.<br><br>[SNIP]=
<br>=C2=A0 <br>=C2=A0 =C2=A0If no public key is included in the &#39;client=
_cred&#39; field, the handler<br>=C2=A0 =C2=A0checks if one public key is a=
lready associated to the received access<br>=C2=A0 =C2=A0token (see Section=
 4.3 for an example) and to the group identified by<br>=C2=A0 =C2=A0GROUPNA=
ME.<br><br>[CS: I assume the client can use different public keys for diffe=
rent groups, <br>and KDC supports this]<br><br>=C2=A0 =C2=A0If an eligible =
public key for the Client is neither present in the<br>=C2=A0 =C2=A0&#39;cl=
ient_cred&#39; field nor already stored, it is RECOMMENDED that the<br>=C2=
=A0 =C2=A0handler stops the processing and responds with a 4.00 (Bad Reques=
t)<br>=C2=A0 =C2=A0error message.=C2=A0 Applications profiles MAY define al=
ternatives (OPT6).<br><br>=C2=A0 =C2=A0If all the verifications above succe=
ed, the handler performs the<br>=C2=A0 =C2=A0following actions.<br><br>=C2=
=A0 =C2=A0* =C2=A0The handler adds the Client to the list of current member=
s of the<br>=C2=A0 =C2=A0 =C2=A0 group.<br><br>=C2=A0 =C2=A0* =C2=A0The han=
dler assigns a name identifier NODENAME to the Client, and<br>=C2=A0 =C2=A0=
 =C2=A0 creates a sub-resource to /ace-group/GROUPNAME/ at the KDC (e.g.,<b=
r>=C2=A0 =C2=A0 =C2=A0 &quot;/ace-group/GROUPNAME/nodes/NODENAME&quot;).<br=
><br>=C2=A0 =C2=A0* =C2=A0The handler associates the node identifier NODENA=
ME to the access<br>=C2=A0 =C2=A0 =C2=A0 token and the secure session for t=
he Client.<br><br>=C2=A0 =C2=A0* =C2=A0If the KDC manages the group members=
&#39; public keys:<br><br>=C2=A0 =C2=A0 =C2=A0 - =C2=A0The handler associat=
es the retrieved Client&#39;s public key to the<br>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0node identifier NODENAME and to the access token.<br><br>[CS: sho=
uldn&#39;t this be better =C2=A0- (nodename, groupname, accesstoken, public=
 key), <br>or my assumption is invalid, one public key per client, not per =
group?]<br><br>=C2=A0 =C2=A0 =C2=A0 - =C2=A0The handler adds the retrieved =
Client&#39;s public key to the<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0stored =
list of public keys stored for the group identified by<br>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0GROUPNAME.=C2=A0 If such list already includes a public ke=
y for the<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Client, but a different publ=
ic key is specified in the<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&#39;client=
_cred&#39; field, then the handler MUST replace the old<br>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0public key in the list with the one specified in the<br=
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&#39;client_cred&#39; field.<br><br>=C2=
=A0 =C2=A0* =C2=A0The handler returns a 2.01 (Created) response, containing=
 the<br>=C2=A0 =C2=A0 =C2=A0 symmetric group keying material, the group pol=
icies and the public<br>=C2=A0 =C2=A0 =C2=A0 keys of the current members of=
 the group, if the KDC manages those<br>=C2=A0 =C2=A0 =C2=A0 and the Client=
 requested them.<br><br>[SNIP]<br><br>=C2=A0 <br>=C2=A0 =C2=A0* =C2=A0&#39;=
group_policies&#39;, with value a CBOR map, whose entries specify how<br>=
=C2=A0 =C2=A0 =C2=A0 the group handles specific management aspects.=C2=A0 T=
hese include, for<br>=C2=A0 =C2=A0 =C2=A0 instance, approaches to achieve s=
ynchronization of sequence<br>=C2=A0 =C2=A0 =C2=A0 numbers among group memb=
ers.=C2=A0 The elements of this field are<br>=C2=A0 =C2=A0 =C2=A0 registere=
d in the &quot;ACE Groupcomm Policy&quot; Registry.=C2=A0 This<br>=C2=A0 =
=C2=A0 =C2=A0 specification defines the three elements &quot;Sequence Numbe=
r<br>=C2=A0 =C2=A0 =C2=A0 Synchronization Method&quot;, &quot;Key Update Ch=
eck Interval&quot; and<br>=C2=A0 =C2=A0 =C2=A0 &quot;Expiration Delta&quot;=
, which are summarized in Figure 9.=C2=A0 Application<br>=C2=A0 =C2=A0 =C2=
=A0 profiles that build on this document MUST specify the exact<br>=C2=A0 =
=C2=A0 =C2=A0 content format and default value of included map entries (REQ=
17).<br><br>[CS: So these MUST be specified, but I am still unclear whether=
 Key updates<br>are push/poll based, e.g., there are places where it reads =
like it is KDC initiated. <br>So, key update check interval is 0, for examp=
le, if it&#39;s always push-based?]<br><br><br>Palombini &amp; Tiloca =C2=
=A0 =C2=A0 =C2=A0 Expires 13 January 2022 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 [Page 27]<br>=0C<br>Internet-Draft =C2=A0Key Provisioning=
 for Group Communication =C2=A0 =C2=A0 =C2=A0 July 2021<br><br><br>=C2=A0 +=
--------------+-------+----------|---------------------|------------+<br>=
=C2=A0 | =C2=A0 =C2=A0 =C2=A0Name =C2=A0 =C2=A0| CBOR =C2=A0| =C2=A0 CBOR =
=C2=A0 | =C2=A0 =C2=A0Description =C2=A0 =C2=A0 =C2=A0| Reference =C2=A0|<b=
r>=C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| label | =C2=A0=
 type =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>=C2=A0 |--------=
------+-------+----------|---------------------|------------|<br>=C2=A0 | S=
equence =C2=A0 =C2=A0 | TBD1 =C2=A0| tstr/int | Method for a re- =C2=A0 =C2=
=A0| [[this =C2=A0 =C2=A0 |<br>=C2=A0 | Number =C2=A0 =C2=A0 =C2=A0 | =C2=
=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| cipient node to =C2=
=A0 =C2=A0 | document]] |<br>=C2=A0 | Synchroniza- | =C2=A0 =C2=A0 =C2=A0 |=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| synchronize with =C2=A0 =C2=A0| =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>=C2=A0 | tion Method =C2=A0| =C2=A0=
 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| sequence numbers =C2=
=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>=C2=A0 | =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0| of a sender node. =C2=A0 | =C2=A0 =C2=A0 =C2=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2=A0 =C2=A0 | =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0| Method registry =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>=C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>=C2=A0 | Key Update =C2=A0 | TBD=
2 =C2=A0| =C2=A0 int =C2=A0 =C2=A0| Polling interval =C2=A0 =C2=A0| [[this =
=C2=A0 =C2=A0 |<br>=C2=A0 | Check =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=
=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| in seconds, to =C2=A0 =C2=
=A0 =C2=A0| document]] |<br>=C2=A0 | Interval =C2=A0 =C2=A0 | =C2=A0 =C2=A0=
 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| check for new =C2=A0 =C2=A0 =
=C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>=C2=A0 | =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0| keying material at =C2=A0| =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0|<br>=C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0| =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| the KDC=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0|<br>=C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
| =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0|<br>=C2=A0 | Expiration =C2=A0 | TBD3 =C2=A0| =C2=
=A0 uint =C2=A0 | Number of seconds =C2=A0 | [[this =C2=A0 =C2=A0 |<br>=C2=
=A0 | Delta =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0| from &#39;exp&#39; until =C2=A0 =C2=A0| document]=
] |<br>=C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =
=C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| the specified UTC =C2=
=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>=C2=A0 | =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0| date/time after =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0|<br>=C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0| =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| which g=
roup members | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>=C2=A0 | =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 | =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| MUST stop using the | =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0|<br>=C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| keyi=
ng material to =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>=C2=A0=
 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 |=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| verify incoming =C2=A0 =C2=A0 | =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>=C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0| messages. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>=C2=A0 +--------------+-------+----------|-=
--------------------|------------+<br><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Figure 9: ACE Groupcomm Polici=
es<br><br>=C2=A0 =C2=A0* =C2=A0&#39;mgt_key_material&#39;, encoded as a CBO=
R byte string and containing<br>=C2=A0 =C2=A0 =C2=A0 the administrative key=
ing material to participate in the group<br>=C2=A0 =C2=A0 =C2=A0 rekeying p=
erformed by the KDC.=C2=A0 The application profile MUST<br>=C2=A0 =C2=A0 =
=C2=A0 define if this field is used, and if used then MUST specify the<br>=
=C2=A0 =C2=A0 =C2=A0 exact format and content which depend on the specific =
rekeying<br>=C2=A0 =C2=A0 =C2=A0 scheme used in the group.=C2=A0 If the usa=
ge of &#39;mgt_key_material&#39; is<br>=C2=A0 =C2=A0 =C2=A0 indicated and i=
ts format defined for a specific key management<br>=C2=A0 =C2=A0 =C2=A0 sch=
eme, that format must explicitly indicate the key management<br>=C2=A0 =C2=
=A0 =C2=A0 scheme itself.=C2=A0 If a new rekeying scheme is defined to be u=
sed for<br>=C2=A0 =C2=A0 =C2=A0 an existing &#39;mgt_key_material&#39; in a=
n existing profile, then that<br>=C2=A0 =C2=A0 =C2=A0 profile will have to =
be updated accordingly, especially with<br>=C2=A0 =C2=A0 =C2=A0 respect to =
the usage of &#39;mgt_key_material&#39; related format and<br>=C2=A0 =C2=A0=
 =C2=A0 content (REQ22).<br><br>[CS: so, there is an implicit admin group, =
which can receive this information.<br>I assume this is pre-assigned, or is=
 it in the token scope?]<br><br>[SNIP]<br><br>=C2=A0 =C2=A0<br>4.1.3. =C2=
=A0ace-group/GROUPNAME/pub-key<br><br>=C2=A0 =C2=A0[SNIP]<br><br><br>4.1.3.=
1.=C2=A0 FETCH Handler<br><br>=C2=A0 =C2=A0The FETCH handler receives ident=
ifiers of group members for the group<br>=C2=A0 =C2=A0identified by GROUPNA=
ME and returns the public keys of such group<br>=C2=A0 =C2=A0members.<br><b=
r>=C2=A0 =C2=A0The handler expects a request with payload formatted as a CB=
OR map,<br>=C2=A0 =C2=A0that MUST contain the following fields:<br><br>=C2=
=A0 =C2=A0* =C2=A0&#39;get_pub_keys&#39;, whose value is encoded as in Sect=
ion 4.1.2.1 with<br>=C2=A0 =C2=A0 =C2=A0 the following modification:<br><br=
>=C2=A0 =C2=A0 =C2=A0 - =C2=A0The element &#39;inclusion_flag&#39; encodes =
the CBOR simple value True<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if the thir=
d element &#39;id_filter&#39; specifies an empty CBOR array,<br>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0or if the Client wishes to receive the public keys =
of the nodes<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0having their node identif=
ier specified in &#39;id_filter&#39;.<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
Instead, this element encodes the CBOR simple value False if<br>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0the Client wishes to receive the public keys of the=
 nodes not<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0having the node identifiers=
 specified in the third element<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&#39;i=
d_filter&#39;.<br><br>[CS: so, to clarify, id_filter becomes an exclusion l=
ist if inclusion_flag is false?<br>if it is true, and id_filter is not empt=
y, it returns the pub_keys in the list, i.e., <br>inclusion list? (Reading =
further, this seems correct. It may be explained earlier when<br>inclusion_=
flag is first introduced]<br><br>=C2=A0 =C2=A0 =C2=A0 - =C2=A0The array &#3=
9;role_filter&#39; may be empty, if the Client does not<br>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0wish to filter the requested public keys based on the r=
oles of<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0the group members.<br><br>=C2=
=A0 =C2=A0 =C2=A0 - =C2=A0The array &#39;id_filter&#39; contains zero or mo=
re node identifiers of<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0group members, =
for the group identified by GROUPNAME.=C2=A0 The<br>=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0Client indicates that it wishes to receive the public keys of<=
br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0the nodes having or not having these n=
ode identifiers, in case<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0the &#39;incl=
usion_flag&#39; parameter encodes the CBOR simple value<br>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0True or False, respectively.=C2=A0 The array may be emp=
ty, if the<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Client does not wish to fil=
ter the requested public keys based<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0on=
 the node identifiers of the group members.<br><br>=C2=A0 =C2=A0Note that, =
in case both the &#39;role_filter&#39; array and the &#39;id_filter&#39;<br=
>=C2=A0 =C2=A0array are not empty:<br><br>=C2=A0 =C2=A0* =C2=A0If the &#39;=
inclusion_flag&#39; encodes the CBOR simple value True, the<br>=C2=A0 =C2=
=A0 =C2=A0 handler returns the public keys of group members whose roles mat=
ch<br>=C2=A0 =C2=A0 =C2=A0 with &#39;role_filter&#39; and/or having their n=
ode identifier specified<br>=C2=A0 =C2=A0 =C2=A0 in &#39;id_filter&#39;.<br=
><br>=C2=A0 =C2=A0* =C2=A0If the &#39;inclusion_flag&#39; encodes the CBOR =
simple value False, the<br>=C2=A0 =C2=A0 =C2=A0 handler returns the public =
keys of group members whose roles match<br>=C2=A0 =C2=A0 =C2=A0 with &#39;r=
ole_filter&#39; and, at the same time, not having their node<br>=C2=A0 =C2=
=A0 =C2=A0 identifier specified in &#39;id_filter&#39;.<br><br>Palombini &a=
mp; Tiloca =C2=A0 =C2=A0 =C2=A0 Expires 13 January 2022 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [Page 30]<br>=0C<br>Internet-Draft =C2=A0Ke=
y Provisioning for Group Communication =C2=A0 =C2=A0 =C2=A0 July 2021<br><b=
r><br>=C2=A0 =C2=A0Finally, as mentioned in Section 4.1.2.1, both arrays &#=
39;role_filter&#39;<br>=C2=A0 =C2=A0and &#39;id_filter&#39; MUST NOT be bot=
h empty.<br><br>[CS: Why? Can&#39;t I ask to get all the public keys of nod=
es in this group,<br>which has a public key? (I see that this is a GET requ=
est, on reading further, <br>a forward pointer here?)]<br><br>=C2=A0 [SNIP]=
<br><br>=C2=A0 =C2=A0The handler MAY enforce one of the following policies,=
 in order to<br>=C2=A0 =C2=A0handle possible node identifiers that are incl=
uded in the &#39;id_filter&#39;<br>=C2=A0 =C2=A0element of the &#39;get_pub=
_keys&#39; parameter of the request but are not<br>=C2=A0 =C2=A0associated =
to any current group member.=C2=A0 Such a policy MUST be<br>=C2=A0 =C2=A0sp=
ecified by the application profile (REQ16).<br><br>=C2=A0 =C2=A0* =C2=A0The=
 KDC silently ignores those node identifiers.<br><br>=C2=A0 =C2=A0* =C2=A0T=
he KDC retains public keys of group members for a given amount of<br>=C2=A0=
 =C2=A0 =C2=A0 time after their leaving, before discarding them.=C2=A0 As l=
ong as such<br>=C2=A0 =C2=A0 =C2=A0 public keys are retained, the KDC provi=
des them to a requesting<br>=C2=A0 =C2=A0 =C2=A0 Client.<br><br>[CS: I thin=
k this is a wider policy e.g., how long does the KDC retain <br>any informa=
tion about the historical group members?]<br><br>[SNIP]<br>=C2=A0 <br><br>4=
.1.4. =C2=A0ace-group/GROUPNAME/policies<br><br>[SNIP]<br><br><br>4.1.5. =
=C2=A0ace-group/GROUPNAME/num<br><br>=C2=A0 =C2=A0This resource implements =
a GET handler.<br><br>4.1.5.1.=C2=A0 GET Handler<br><br>=C2=A0 =C2=A0The ha=
ndler expects a GET request.<br><br>=C2=A0[SNIP]<br>[CS: In general, in the=
 SNIPPED text above, there is much repetition<br>across different sections,=
 in terms of format expected, group membership <br>access control etc. Coul=
d that be said only once to apply to all resources, or <br>all operations w=
ithin a resource?]<br><br>[SNIP]<br>=C2=A0 =C2=A0<br>4.1.6. =C2=A0ace-group=
/GROUPNAME/nodes/NODENAME<br><br>=C2=A0 =C2=A0This resource implements GET,=
 PUT and DELETE handlers.<br><br>4.1.6.1.=C2=A0 PUT Handler<br>The PUT hand=
ler is used to get the KDC to produce and return<br>=C2=A0 =C2=A0individual=
 keying material to protect outgoing messages for the node<br>=C2=A0 =C2=A0=
(identified by NODENAME) for the group identified by GROUPNAME.<br>=C2=A0 =
=C2=A0Application profiles MAY also use this handler to rekey the whole<br>=
=C2=A0 =C2=A0group.=C2=A0 It is up to the application profiles to specify i=
f this<br>=C2=A0 =C2=A0handler supports renewal of individual keying materi=
al, renewal of<br>=C2=A0 =C2=A0the group keying material or both (OPT8).<br=
><br>[CS: I am a bit puzzled that something that potentially is rekeying<br=
>the whole group is done under NODENAME resource.<br>On the other hand, POS=
Ting the GROUPNAME adds a node to the group rather than rekeying <br>the gr=
oup. I would expect POSTing to ace-group/GROUPNAME/nodes would add <br>a no=
de instead. <br>]<br><br>=C2=A0 =C2=A0[SNIP]<br><br><br><br>4.1.7. =C2=A0ac=
e-group/GROUPNAME/nodes/NODENAME/pub-key<br><br>=C2=A0 =C2=A0This resource =
implements a POST handler, if the KDC stores the public<br>=C2=A0 =C2=A0key=
 of group members.=C2=A0 If the KDC does not store the public keys of<br>=
=C2=A0 =C2=A0group members, the handler does not implement any method, and =
every<br>=C2=A0 =C2=A0request returns a 4.05 Method Not Allowed error.<br><=
br>4.1.7.1.=C2=A0 POST Handler<br><br>=C2=A0 =C2=A0The POST handler is used=
 to replace the stored public key of this<br>=C2=A0 =C2=A0client (identifie=
d by NODENAME) with the one specified in the request<br>=C2=A0 =C2=A0at the=
 KDC, for the group identified by GROUPNAME.<br><br>=C2=A0 =C2=A0[SNIP]<br>=
<br>4.2.=C2=A0 Retrieval of Group Names and URIs<br><br>=C2=A0 =C2=A0In cas=
e the joining node only knows the group identifier of the group<br>=C2=A0 =
=C2=A0it wishes to join or about which it wishes to get update information<=
br>=C2=A0 =C2=A0from the KDC, the node can contact the KDC to request the<b=
r>=C2=A0 =C2=A0corresponding group name and joining resource URI.=C2=A0 The=
 node can<br>=C2=A0 =C2=A0request several group identifiers at once.=C2=A0 =
It does so by sending a<br>=C2=A0 =C2=A0CoAP FETCH request to the /ace-grou=
p endpoint at the KDC formatted as<br>=C2=A0 =C2=A0defined in Section 4.1.1=
.1.<br><br>=C2=A0 =C2=A0[SNIP]<br><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<br=
><br>4.3.=C2=A0 Joining Exchange<br><br>[CS: I feel this needs to come earl=
ier in the draft]<br><br>=C2=A0 =C2=A0Figure 12 gives an overview of the Jo=
ining exchange between Client<br>=C2=A0 =C2=A0and KDC, when the Client firs=
t joins a group, while Figure 13 shows<br>=C2=A0 =C2=A0an example.<br><br>=
=C2=A0 =C2=A0 =C2=A0 Client =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 KDC<br>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0|<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|----- Joining Request: POST /=
ace-group/GROUPNAME ------&gt;|<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0|&lt;--------- Joining Response: 2.01 (Created) ----------- |<br>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| Location-Path =3D &quot;/ace-group/GROU=
PNAME/nodes/NODENAME&quot; =C2=A0|<br><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 Figur=
e 12: Message Flow of First Exchange for Group Joining<br><br>=C2=A0Request=
:<br><br>=C2=A0Header: POST (Code=3D0.02)<br>=C2=A0Uri-Host: &quot;<a href=
=3D"http://kdc.example.com">kdc.example.com</a>&quot;<br>=C2=A0Uri-Path: &q=
uot;ace-group&quot;<br>=C2=A0Uri-Path: &quot;g1&quot;<br>=C2=A0Content-Form=
at: &quot;application/ace-groupcomm+cbor&quot;<br>=C2=A0Payload (in CBOR di=
agnostic notation,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 with PUB_KEY and P=
OP_EVIDENCE being CBOR byte strings):<br>=C2=A0 =C2=A0{ &quot;scope&quot;: =
&lt;&lt; [ &quot;group1&quot;, [&quot;sender&quot;, &quot;receiver&quot;] ]=
 &gt;&gt; ,<br>=C2=A0 =C2=A0 =C2=A0&quot;get_pub_keys&quot;: [true, [&quot;=
sender&quot;], []], &quot;client_cred&quot;: PUB_KEY<br>=C2=A0 =C2=A0 =C2=
=A0&quot;cnonce&quot;: h&#39;6df49c495409a9b5&#39;, &quot;client_cred_verif=
y&quot;: POP_EVIDENCE }<br><br>=C2=A0Response:<br><br>=C2=A0Header: Created=
 (Code=3D2.01)<br>=C2=A0Content-Format: &quot;application/ace-groupcomm+cbo=
r&quot;<br>=C2=A0Location-Path: &quot;<a href=3D"http://kdc.example.com">kd=
c.example.com</a>&quot;<br>=C2=A0Location-Path: &quot;g1&quot;<br>=C2=A0Loc=
ation-Path: &quot;nodes&quot;<br>=C2=A0Location-Path: &quot;c101&quot;<br>=
=C2=A0Payload (in CBOR diagnostic notation,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 with KEY being a CBOR byte strings):<br>=C2=A0 =C2=A0{ &quot;gkty&qu=
ot;: 13, &quot;key&quot;: KEY, &quot;num&quot;: 12, &quot;exp&quot;: 160945=
9200,<br>=C2=A0 =C2=A0 =C2=A0&quot;pub_keys&quot;: [ PUB_KEY1, PUB_KEY2 ],<=
br>=C2=A0 =C2=A0 =C2=A0&quot;peer_roles&quot;: [&quot;sender&quot;, [&quot;=
sender&quot;, &quot;receiver&quot;]],<br>=C2=A0 =C2=A0 =C2=A0&quot;peer_ide=
ntifiers&quot;: [ ID1, ID2 ] }<br><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Fig=
ure 13: Example of First Exchange for Group Joining<br><br><br><br><br><br>=
Palombini &amp; Tiloca =C2=A0 =C2=A0 =C2=A0 Expires 13 January 2022 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [Page 40]<br>=0C<br>Internet-Draf=
t =C2=A0Key Provisioning for Group Communication =C2=A0 =C2=A0 =C2=A0 July =
2021<br><br><br>=C2=A0 =C2=A0[SNIP]<br><br>4.4.=C2=A0 Retrieval of Updated =
Keying Material<br><br>=C2=A0 =C2=A0When any of the following happens, a no=
de MUST stop using the owned<br>=C2=A0 =C2=A0group keying material to prote=
ct outgoing messages, and SHOULD stop<br>=C2=A0 =C2=A0using it to decrypt a=
nd verify incoming messages.<br><br>=C2=A0 =C2=A0* =C2=A0Upon expiration of=
 the keying material, according to what<br>=C2=A0 =C2=A0 =C2=A0 indicated b=
y the KDC with the &#39;exp&#39; parameter in a Joining<br>=C2=A0 =C2=A0 =
=C2=A0 Response, or to a pre-configured value.<br><br>=C2=A0 =C2=A0* =C2=A0=
Upon receiving a notification of revoked/renewed keying material<br>=C2=A0 =
=C2=A0 =C2=A0 from the KDC, possibly as part of an update of the keying mat=
erial<br>=C2=A0 =C2=A0 =C2=A0 (rekeying) triggered by the KDC.<br><br>=C2=
=A0 =C2=A0* =C2=A0Upon receiving messages from other group members without =
being<br>=C2=A0 =C2=A0 =C2=A0 able to retrieve the keying material to corre=
ctly decrypt them.<br>=C2=A0 =C2=A0 =C2=A0 This may be due to rekeying mess=
ages previously sent by the KDC,<br>=C2=A0 =C2=A0 =C2=A0 that the Client wa=
s not able to receive or decrypt.<br><br>=C2=A0 =C2=A0In either case, if it=
 wants to continue participating in the group<br>=C2=A0 =C2=A0communication=
, the node has to request the latest keying material<br>=C2=A0 =C2=A0from t=
he KDC.=C2=A0 To this end, the Client sends a CoAP GET request to<br>=C2=A0=
 =C2=A0the /ace-group/GROUPNAME/nodes/NODENAME endpoint at the KDC,<br>=C2=
=A0 =C2=A0formatted as specified in Section 4.1.6.2.<br><br>[CS: I feel the=
 information in this section need to come before after the <br>resources ar=
e introduced, but before<br>the operation and parameter details are present=
ed for each group.<br>The message examples would be better appreciated righ=
t after all <br>the parameters etc of the operation is introduced.]<br><br>=
=C2=A0 =C2=A0[SNIP]<br><br><br>=C2=A0 =C2=A0Alternatively, the re-distribut=
ion of keying material can be<br>=C2=A0 =C2=A0initiated by the KDC, which e=
.g.,:<br><br>=C2=A0 =C2=A0* =C2=A0Can make the ace-group/GROUPNAME resource=
 Observable [RFC7641],<br>=C2=A0 =C2=A0 =C2=A0 and send notifications to ob=
server Clients when the keying<br>=C2=A0 =C2=A0 =C2=A0 material is updated.=
<br><br>[CS: Some of my questions earlier is answered here. I feel this sho=
uld <br>be said earlier]<br><br>=C2=A0 =C2=A0 [SNIP]<br><br>=C2=A0 =C2=A0* =
=C2=A0Can act as a publisher in a pub-sub scenario, and update the<br>=C2=
=A0 =C2=A0 =C2=A0 keying material by publishing on a specific topic on a br=
oker,<br>=C2=A0 =C2=A0 =C2=A0 which all the members of the group are subscr=
ibed to.<br><br>[CS: This is not a good scenario for pub-sub, as the broker=
 should not know the<br>keys. The whole idea of the pub-sub profile is the =
protect the content <br>of the messages from the broker. That means these k=
eying materials should be<br>encrypted, and hence, then, the distribution o=
f that keying material ... <br>becomes a recursive problem.]<br><br>=C2=A0 =
=C2=A0Note that these methods of KDC-initiated key distribution have<br>=C2=
=A0 =C2=A0different security properties and require different security<br>=
=C2=A0 =C2=A0associations.<br><br>4.5.=C2=A0 Requesting a Change of Keying =
Material<br><br>=C2=A0 =C2=A0[SNIP]<br><br><br><br>5.=C2=A0 Removal of a No=
de from the Group<br><br>=C2=A0 =C2=A0[SNIP]<br>=C2=A0 =C2=A0<br><br>=C2=A0=
 =C2=A0Furthermore, in case of forced eviction, the KDC removes the public<=
br>=C2=A0 =C2=A0key of the evicted node if the KDC keep tracks of that, and=
 possibly<br>=C2=A0 =C2=A0removes the evicted node from the list of observe=
rs of the resource<br>=C2=A0 =C2=A0at ace-group/GROUPNAME (if observable).<=
br><br>[CS: Why only &quot;possibly&quot;?]<br><br>=C2=A0[SNIP]<br><br><br>=
6.=C2=A0 Extended Scope Format<br><br>=C2=A0 =C2=A0[SNIP]<br><br>=C2=A0 =C2=
=A0The value of the &#39;scope&#39; claim following the extended format is<=
br>=C2=A0 =C2=A0composed as follows.=C2=A0 Given the original scope using a=
 semantics SEM<br>=C2=A0 =C2=A0and encoded as a CBOR byte string, the corre=
sponding extended scope<br>=C2=A0 =C2=A0is encoded as a tagged CBOR byte st=
ring, wrapping a CBOR sequence<br>=C2=A0 =C2=A0[RFC8742] of two elements.=
=C2=A0 In particular:<br><br>=C2=A0 =C2=A0* =C2=A0The first element of the =
sequence is a CBOR integer, and<br>=C2=A0 =C2=A0 =C2=A0 identifies the sema=
ntics SEM used for this scope.=C2=A0 The value of<br>=C2=A0 =C2=A0 =C2=A0 t=
his element has to be taken from the &quot;Value&quot; column of the &quot;=
ACE<br>=C2=A0 =C2=A0 =C2=A0 Scope Semantics&quot; registry defined in Secti=
on 10.12 of this<br>=C2=A0 =C2=A0 =C2=A0 specification.<br><br><br><br>Palo=
mbini &amp; Tiloca =C2=A0 =C2=A0 =C2=A0 Expires 13 January 2022 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [Page 52]<br>=0C<br>Internet-Draft =
=C2=A0Key Provisioning for Group Communication =C2=A0 =C2=A0 =C2=A0 July 20=
21<br><br><br>=C2=A0 =C2=A0 =C2=A0 When defining a new semantics for a bina=
ry scope, it is up to the<br>=C2=A0 =C2=A0 =C2=A0 applications and applicat=
ion profiles to define and register the<br>=C2=A0 =C2=A0 =C2=A0 correspondi=
ng integer identifier (REQ24).<br><br>=C2=A0 =C2=A0* =C2=A0The second eleme=
nt of the sequence is the original scope using the<br>=C2=A0 =C2=A0 =C2=A0 =
semantics SEM, encoded as a CBOR byte string.<br><br>=C2=A0 =C2=A0Finally, =
the CBOR byte string wrapping the CBOR sequence is tagged,<br>=C2=A0 =C2=A0=
and identified by the CBOR tag TBD_TAG &quot;ACE Extended Scope Format&quot=
;,<br>=C2=A0 =C2=A0defined in Section 10.11 of this specification.<br><br>=
=C2=A0 =C2=A0The resulting tagged CBOR byte string is used as value of the =
&#39;scope&#39;<br>=C2=A0 =C2=A0claim of the access token.<br><br>=C2=A0 =
=C2=A0The usage of the extended scope format is not limited to application<=
br>=C2=A0 =C2=A0profiles of this specification or to applications based on =
group<br>=C2=A0 =C2=A0communication.=C2=A0 Rather, it is generally applicab=
le to any application<br>=C2=A0 =C2=A0and application profile where access =
control information in the<br>=C2=A0 =C2=A0access token is expressed as a b=
inary encoded scope.<br><br>[CS: Then should it be defined here in this pro=
file or somewhere else?]<br><br>=C2=A0 <br>=C2=A0 =C2=A0 [SNIP]<br><br><br>=
<br>7.=C2=A0 ACE Groupcomm Parameters<br><br>[CS: Handy table]<br><br>=C2=
=A0 =C2=A0This specification defines a number of fields used during the sec=
ond<br>=C2=A0 =C2=A0part of the message exchange, after the ACE Token POST =
exchange.=C2=A0 The<br>=C2=A0 =C2=A0table below summarizes them, and specif=
ies the CBOR key to use<br>=C2=A0 =C2=A0instead of the full descriptive nam=
e.<br><br>=C2=A0 =C2=A0Note that the media type application/ace-groupcomm+c=
bor MUST be used<br>=C2=A0 =C2=A0when these fields are transported.<br><br>=
=C2=A0 =C2=A0+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D+=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+<br>=C2=A0 =C2=
=A0| Name =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| C=
BOR | CBOR Type =C2=A0 =C2=A0 =C2=A0| Reference =C2=A0 =C2=A0 =C2=A0 =C2=A0=
|<br>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 | Key =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0|<br>=C2=A0 =C2=A0+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+<br>=
=C2=A0 =C2=A0| error =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 | TBD =C2=A0| int =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| Section 4 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>=C2=A0 =C2=A0+-----------------------+-----=
-+----------------+------------------+<br>=C2=A0 =C2=A0| error_description =
=C2=A0 =C2=A0 | TBD =C2=A0| text string =C2=A0 =C2=A0| Section 4 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0|<br>=C2=A0 =C2=A0+-----------------------+------+--------=
--------+------------------+<br>=C2=A0 =C2=A0| scope =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | TBD =C2=A0| byte string =C2=A0 =C2=A0|=
 Section 4.1.2.1 =C2=A0|<br>=C2=A0 =C2=A0+-----------------------+------+--=
--------------+------------------+<br>=C2=A0 =C2=A0| get_pub_keys =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0| TBD =C2=A0| array / simple | Section 4.1.2.1, =
|<br>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0| value null =C2=A0 =C2=A0 | Se=
ction 4.1.3.1 =C2=A0|<br>=C2=A0 =C2=A0+-----------------------+------+-----=
-----------+------------------+<br>=C2=A0 =C2=A0| client_cred =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 | TBD =C2=A0| byte string =C2=A0 =C2=A0| Section 4.1.=
2.1 =C2=A0|<br>=C2=A0 =C2=A0+-----------------------+------+---------------=
-+------------------+<br>=C2=A0 =C2=A0| cnonce =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0| TBD =C2=A0| byte string =C2=A0 =C2=A0| Section=
 4.1.2.1 =C2=A0|<br>=C2=A0 =C2=A0+-----------------------+------+----------=
------+------------------+<br>=C2=A0 =C2=A0| client_cred_verify =C2=A0 =C2=
=A0| TBD =C2=A0| byte string =C2=A0 =C2=A0| Section 4.1.2.1 =C2=A0|<br>=C2=
=A0 =C2=A0+-----------------------+------+----------------+----------------=
--+<br><br><br><br>Palombini &amp; Tiloca =C2=A0 =C2=A0 =C2=A0 Expires 13 J=
anuary 2022 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [Page 54]<br>=
=0C<br>Internet-Draft =C2=A0Key Provisioning for Group Communication =C2=A0=
 =C2=A0 =C2=A0 July 2021<br><br><br>=C2=A0 =C2=A0| pub_keys_repos =C2=A0 =
=C2=A0 =C2=A0 =C2=A0| TBD =C2=A0| text string =C2=A0 =C2=A0| Section 4.1.2.=
1 =C2=A0|<br>=C2=A0 =C2=A0+-----------------------+------+----------------+=
------------------+<br>=C2=A0 =C2=A0| control_uri =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 | TBD =C2=A0| text string =C2=A0 =C2=A0| Section 4.1.2.1 =C2=A0|=
<br>=C2=A0 =C2=A0+-----------------------+------+----------------+---------=
---------+<br>=C2=A0 =C2=A0| gkty =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0| TBD =C2=A0| integer / text | Section 4.1.2.1 =C2=A0|=
<br>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0| string =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<br=
>=C2=A0 =C2=A0+-----------------------+------+----------------+------------=
------+<br>=C2=A0 =C2=A0| key =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 | TBD =C2=A0| see &quot;ACE =C2=A0 =C2=A0 =C2=A0 | Sectio=
n 4.1.2.1 =C2=A0|<br>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0| Groupcomm Ke=
y&quot; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<b=
r>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0| Registry =C2=A0 =C2=A0 =C2=A0 =
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>=C2=A0=
 =C2=A0+-----------------------+------+----------------+------------------+=
<br>=C2=A0 =C2=A0| num =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 | TBD =C2=A0| int =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| Sec=
tion 4.1.2.1 =C2=A0|<br>=C2=A0 =C2=A0+-----------------------+------+------=
----------+------------------+<br>=C2=A0 =C2=A0| ace-groupcomm-profile | TB=
D =C2=A0| int =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| Section 4.1.2.1 =
=C2=A0|<br>=C2=A0 =C2=A0+-----------------------+------+----------------+--=
----------------+<br>=C2=A0 =C2=A0| exp =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 | TBD =C2=A0| int =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0| Section 4.1.2.1 =C2=A0|<br>=C2=A0 =C2=A0+-------------------=
----+------+----------------+------------------+<br>=C2=A0 =C2=A0| pub_keys=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| TBD =C2=A0| array =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0| Section 4.1.2.1 =C2=A0|<br>=C2=A0 =C2=A0+----=
-------------------+------+----------------+------------------+<br>=C2=A0 =
=C2=A0| peer_roles =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| TBD =C2=A0| a=
rray =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| Section 4.1.2.1 =C2=A0|<br>=C2=A0 =
=C2=A0+-----------------------+------+----------------+------------------+<=
br>=C2=A0 =C2=A0| peer_identifiers =C2=A0 =C2=A0 =C2=A0| TBD =C2=A0| array =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| Section 4.1.2.1 =C2=A0|<br>=C2=A0 =C2=
=A0+-----------------------+------+----------------+------------------+<br>=
=C2=A0 =C2=A0| group_policies =C2=A0 =C2=A0 =C2=A0 =C2=A0| TBD =C2=A0| map =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| Section 4.1.2.1 =C2=A0|<br>=C2=
=A0 =C2=A0+-----------------------+------+----------------+----------------=
--+<br>=C2=A0 =C2=A0| mgt_key_material =C2=A0 =C2=A0 =C2=A0| TBD =C2=A0| by=
te string =C2=A0 =C2=A0| Section 4.1.2.1 =C2=A0|<br>=C2=A0 =C2=A0+---------=
--------------+------+----------------+------------------+<br>=C2=A0 =C2=A0=
| sign_info =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | TBD =C2=A0| array =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| Section 4.1.2.1 =C2=A0|<br>=C2=A0 =C2=
=A0+-----------------------+------+----------------+------------------+<br>=
=C2=A0 =C2=A0| gid =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 | TBD =C2=A0| array =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| Section 4.1.=
1.1 =C2=A0|<br>=C2=A0 =C2=A0+-----------------------+------+---------------=
-+------------------+<br>=C2=A0 =C2=A0| gname =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 | TBD =C2=A0| array of text =C2=A0| Section 4.1=
.1.1 =C2=A0|<br>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0| strings =C2=A0 =
=C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0|<br>=C2=A0 =C2=A0+-----------------------+------+---------------=
-+------------------+<br>=C2=A0 =C2=A0| guri =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| TBD =C2=A0| array of text =C2=A0| Secti=
on 4.1.1.1 =C2=A0|<br>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0| strings =C2=
=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0|<br>=C2=A0 =C2=A0+-----------------------+------+------------=
----+------------------+<br>=C2=A0 =C2=A0| kdcchallenge =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0| TBD =C2=A0| byte string =C2=A0 =C2=A0| Section 4.1.7.1 =
=C2=A0|<br>=C2=A0 =C2=A0+-----------------------+------+----------------+--=
----------------+<br><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Table =
1<br><br>=C2=A0 =C2=A0[SNIP]<br><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<br><br>9=
.=C2=A0 Security Considerations<br><br>=C2=A0 [SNIP]<br><br>=C2=A0 =C2=A0Th=
at is, the KDC may not rekey the group at every membership change,<br>=C2=
=A0 =C2=A0for instance if members&#39; joining and leaving occur frequently=
 and<br>=C2=A0 =C2=A0performing a group rekeying takes too long.=C2=A0 The =
KDC may rekey the<br>=C2=A0 =C2=A0group after a minimum number of group mem=
bers have joined or left<br>=C2=A0 =C2=A0within a given time interval, or a=
fter maximum amount of time since<br>=C2=A0 =C2=A0the last rekeying was com=
pleted, or yet during predictable network<br>=C2=A0 =C2=A0inactivity period=
s.<br><br>=C2=A0 =C2=A0However, this would result in the KDC not constantly=
 preserving<br>=C2=A0 =C2=A0backward and forward security.=C2=A0 Newly join=
ing group members could be<br>=C2=A0 =C2=A0able to access the keying materi=
al used before their joining, and<br>=C2=A0 =C2=A0thus could access past gr=
oup communications.=C2=A0 Also, until the KDC<br>=C2=A0 =C2=A0performs a gr=
oup rekeying, the newly leaving nodes would still be<br>=C2=A0 =C2=A0able t=
o access upcoming group communications that are protected with<br>=C2=A0 =
=C2=A0the keying material that has not yet been updated.<br><br>[CS: I thin=
k the minimum number of group members should be just 1 if we <br>are talkin=
g about secure group communication]<br><br>=C2=A0 [SNIP]<br>9.1.=C2=A0 Upda=
te of Keying Material<br><br>=C2=A0 =C2=A0A group member can receive a mess=
age shortly after the group has been<br>=C2=A0 =C2=A0rekeyed, and new keyin=
g material has been distributed by the KDC.=C2=A0 In<br>=C2=A0 =C2=A0the fo=
llowing two cases, this may result in misaligned keying<br>=C2=A0 =C2=A0mat=
erial between the group members.<br><br>=C2=A0 =C2=A0In the first case, the=
 sender protects a message using the old keying<br>=C2=A0 =C2=A0material.=
=C2=A0 However, the recipient receives the message after having<br>=C2=A0 =
=C2=A0received the new keying material, hence not being able to correctly<b=
r>=C2=A0 =C2=A0process it.=C2=A0 A possible way to ameliorate this issue is=
 to preserve<br>=C2=A0 =C2=A0the old, recent, keying material for a maximum=
 amount of time defined<br>=C2=A0 =C2=A0by the application.=C2=A0 By doing =
so, the recipient can still try to<br>=C2=A0 =C2=A0process the received mes=
sage using the old retained keying material.<br>=C2=A0 =C2=A0Note that a fo=
rmer (compromised) group member can take advantage of<br><br><br><br>Palomb=
ini &amp; Tiloca =C2=A0 =C2=A0 =C2=A0 Expires 13 January 2022 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [Page 57]<br>=0C<br>Internet-Draft =C2=
=A0Key Provisioning for Group Communication =C2=A0 =C2=A0 =C2=A0 July 2021<=
br><br><br>=C2=A0 =C2=A0this by sending messages protected with the old ret=
ained keying<br>=C2=A0 =C2=A0material.=C2=A0 Therefore, a conservative appl=
ication policy should not<br>=C2=A0 =C2=A0admit the storage of old keying m=
aterial.<br><br>[CS: Could it be an option to resend the message with the n=
ew keying material? if the <br>rekeying happened within a window]<br><br>=
=C2=A0 =C2=A0<br>[SNIP]<br><br><br>10.=C2=A0 IANA Considerations<br><br>=C2=
=A0 =C2=A0This document has the following actions for IANA.<br><br>10.1.=C2=
=A0 Media Type Registrations<br><br>=C2=A0 =C2=A0[SNIP]<br><br><br><br><br>=
Appendix B.=C2=A0 Extensibility for Future COSE Algorithms<br><br>[CS: Why =
not just use this format instead of reformatting sign_info_entry<br>In sect=
ion 3.3.1]<br><br>=C2=A0 =C2=A0As defined in Section 8.1 of [I-D.ietf-cose-=
rfc8152bis-algs], future<br>=C2=A0 =C2=A0algorithms can be registered in th=
e &quot;COSE Algorithms&quot; Registry<br>=C2=A0 =C2=A0[COSE.Algorithms] as=
 specifying none or multiple COSE capabilities.<br><br>=C2=A0 =C2=A0To enab=
le the seamless use of such future registered algorithms, this<br>=C2=A0 =
=C2=A0section defines a general, agile format for each &#39;sign_info_entry=
&#39; of<br>=C2=A0 =C2=A0the &#39;sign_info&#39; parameter in the Token Pos=
t response, see<br>=C2=A0 =C2=A0Section 3.3.1.<br><br>=C2=A0 =C2=A0If any o=
f the currently registered COSE algorithms is considered,<br>=C2=A0 =C2=A0u=
sing this general format yields the same structure of<br>=C2=A0 =C2=A0&#39;=
sign_info_entry&#39; defined in this document, thus ensuring retro-<br>=C2=
=A0 =C2=A0compatibility.<br><br><br><br><br>Palombini &amp; Tiloca =C2=A0 =
=C2=A0 =C2=A0 Expires 13 January 2022 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 [Page 73]<br>=0C<br>Internet-Draft =C2=A0Key Provisioning for=
 Group Communication =C2=A0 =C2=A0 =C2=A0 July 2021<br><br><br>B.1.=C2=A0 F=
ormat of &#39;sign_info_entry&#39;<br><br>=C2=A0 =C2=A0The format of each &=
#39;sign_info_entry&#39; (see Section 3.3.1) is<br>=C2=A0 =C2=A0generalized=
 as follows.=C2=A0 Given N the number of elements of the<br>=C2=A0 =C2=A0&#=
39;sign_parameters&#39; array, i.e., the number of COSE capabilities of the=
<br>=C2=A0 =C2=A0signature algorithm, then:<br><br>=C2=A0 =C2=A0* =C2=A0&#3=
9;sign_key_parameters&#39; is replaced by N elements &#39;sign_capab_i&#39;=
,<br>=C2=A0 =C2=A0 =C2=A0 each of which is a CBOR array.<br><br>=C2=A0 =C2=
=A0* =C2=A0The i-th array following &#39;sign_parameters&#39;, i.e., &#39;s=
ign_capab_i&#39;<br>=C2=A0 =C2=A0 =C2=A0 (i =3D 0, ..., N-1), is the array =
of COSE capabilities for the<br>=C2=A0 =C2=A0 =C2=A0 algorithm capability s=
pecified in &#39;sign_parameters&#39;[i].<br><br>=C2=A0 =C2=A0 =C2=A0 sign_=
info_entry =3D<br>=C2=A0 =C2=A0 =C2=A0 [<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 id =
: gname / [ + gname ],<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 sign_alg : int / tstr=
,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 sign_parameters : [ alg_capab_1 : any,<br>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 alg_capab_2 : any,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ...,<=
br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 alg_capab_N : any],<br>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 sign_capab_1 : [ any ],<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 sign_capab_2 : [=
 any ],<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 ...,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
sign_capab_N : [ any ],<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 pub_key_enc =3D int =
/ nil<br>=C2=A0 =C2=A0 =C2=A0 ]<br><br>=C2=A0 =C2=A0 =C2=A0 gname =3D tstr<=
br><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Figure 30: &#39;sig=
n_info_entry&#39; with general format<br><br>[SNIP]<br></div></div></div></=
div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_at=
tr">On Tue, Aug 24, 2021 at 5:52 PM G=C3=B6ran Selander &lt;goran.selander=
=3D<a href=3D"mailto:40ericsson.com@dmarc.ietf.org">40ericsson.com@dmarc.ie=
tf.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"m=
argin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left=
:1ex">Hi,<br>
<br>
Here is a review of ace-key-groupcomm-13.<br>
<br>
<br>
General<br>
=3D=3D=3D<br>
<br>
This draft provides a link between the ACE-OAuth authorization framework (i=
ncluding its transport profiles) and specifications of communication securi=
ty in groups of constrained devices, e.g. the coap-groupcomm work currently=
 developed in CORE. The document is intended to support different group com=
munication schemes, but the details of those are defined in separate =E2=80=
=9Capplication profiles=E2=80=9D such as draft-ietf-ace-key-groupcomm-oscor=
e (for Group OSCORE) and draft-ietf-ace-pubsub-profile (for pub/sub). This =
draft instead defines a common interface to a KDC acting as RS in the ACE-O=
Auth architecture, how to use this interface to perform various key managem=
ent operations, and requirements for such application profiles.<br>
<br>
As such, this draft is thus an =E2=80=9Cintermediary=E2=80=9D specification=
, and its usefulness will be determined by the application profiles which I=
&#39;ve glanced at but are not part of this review. <br>
<br>
While this approach seems reasonable from a structure point of view, I have=
 a question about abstracting the underlying communication in comment 1 bel=
ow. <br>
<br>
The content of the draft is quite elaborate and with detailed examples whic=
h is good but also leads to my comment number 2.<br>
<br>
Now for the main comments:<br>
<br>
1. How does this scale to large groups? <br>
<br>
Depending on application it may not be necessary to update keys during join=
 of new members, and depending on the dynamics of the members rekeying may =
not be a major issue. But if it is a large group and all group members need=
 to be updated at joining or leaving then this may require a lot of communi=
cation for which the underlying group communication may be helpful. <br>
<br>
For example, in case of a new member joining then a new group key or the ne=
w node&#39;s public key may be distributed using broadcast/multicast and pr=
otected with some existing group key. <br>
<br>
In case of rekeying a group key after a node has been evicted, a similar me=
thod could be used if it was possible to apply some key hierarchy scheme li=
ke e.g. LKH, i.e. distributing new keys corresponding to a path from the ev=
icted node to the root in a key hierarchy.<br>
<br>
Two sub-questions: <br>
<br>
a. Is it possible to extend the interface to make use of the underlying gro=
up communication?<br>
<br>
b. Is it possible to apply this interface with a key hierarchy scheme? <br>
<br>
These features are not necessarily in scope of this draft, but it would be =
good to understand if a specification of these features would be able to us=
e the interface defined here, or if some generalization is required in whic=
h case that change may be considered already now.<br>
<br>
<br>
2. How would a &quot;minimal&quot; profile look like?<br>
<br>
The target setting for ACE in general and this draft in particular is const=
rained devices and networks. Some parts of the draft give example of thinki=
ng about lightweight aspects, but other parts are not at all minimalistic a=
nd includes a large number of features, however in many cases optional. <br=
>
<br>
It would be interesting to have a =E2=80=9Cminimal=E2=80=9D example, where =
care has been taken in trying to define a group setting such that the resul=
ting messages are as few and as small as possible (for a certain security l=
evel). The same comment applies to code size and state machine: There are a=
 number of options and =E2=80=9Cnice to have=E2=80=9D features, which if al=
l implemented could have a measurable impact on the footprint.=C2=A0 <br>
<br>
The use of the word &quot;minimal&quot; is not intended in an absolute sens=
e but to target as little as possible and still provide authorized group ke=
y functionality. Perhaps such an exercise makes more sense in an applicatio=
n profile, such as draft-ace-key-groupcomm-oscore. But this draft may be pr=
ovide a partial answer by indicating what handlers to include (sec. 4), wha=
t groupcomm parameters (sec. 7), what error ids (sec 8), etc.<br>
<br>
(This comment actually applies also to the transport profiles, which this d=
raft does not need to take responsibility for.)<br>
<br>
<br>
<br>
More detailed comments<br>
=3D=3D=3D<br>
<br>
<br>
I found the terminology =E2=80=9CPOST /token=E2=80=9D vs. =E2=80=9CToken Po=
st=E2=80=9D/=E2=80=9Ctoken POST=E2=80=9D/=E2=80=9CPOST Token=E2=80=9D for t=
he different message exchanges, respectively, quite confusing. For a long t=
ime I thought the latter referred to the former. It is true that the access=
 token is carried with the method POST in the second exchange, but I think =
that is irrelevant and would suggest to instead use some other consistent t=
erminology. For example, use=C2=A0 =E2=80=9CPOST /token=E2=80=9D and =E2=80=
=9CPOST /authz-info=E2=80=9D to refer to the exchanges, respectively. Alter=
natively, call the latter =E2=80=9CToken provisioning=E2=80=9D or something=
 similar without reference to the actual method by which the token is provi=
sioned.<br>
<br>
This applies in particular to:<br>
<br>
Figure 2 <br>
=E2=80=9CToken Post=E2=80=9D<br>
<br>
Figure 3 <br>
=E2=80=9CPOST Token=E2=80=9D<br>
<br>
=E2=80=9C3.3. Token Post=E2=80=9D<br>
<br>
3.3.1.<br>
=E2=80=9Can OPTIONAL parameter of the Token Post<br>
=C2=A0 =C2=A0response message =E2=80=9C<br>
<br>
3.3.2<br>
=E2=80=9CToken Post response=E2=80=9D<br>
<br>
etc.<br>
<br>
<br>
4.1<br>
<br>
Section 4.1 specifies the handlers, 20 pages. This is followed by how the h=
andlers are used 4.2 - 4.10, roughly one page per subsection. When reading =
I ended up having two copies of the draft side by side looking at the handl=
er and its corresponding use. I&#39;m not sure this is a problem, but readi=
ng the handlers is more motivating after having read about how they are use=
d. There is a summary in the bullet list in 4.0 but this is merely a forwar=
d reference and didn&#39;t make me do the mapping from handler to action in=
 my head. Maybe just move content such that 4.2-4.10 comes before 4.1 (and =
then you can remove the bullet list in 4.0).<br>
<br>
<br>
&quot;It is REQUIRED of the application profiles of this specification to<b=
r>
=C2=A0 =C2=A0define what operations (e.g., CoAP methods) are allowed on eac=
h<br>
=C2=A0 =C2=A0resource&quot;<br>
<br>
It speaks of operations on each resource, but it does not say which resourc=
es are mandatory to implement. Where is that written?<br>
<br>
<br>
<br>
9.<br>
<br>
The security consideration speaks about different key update strategies. I =
was looking for considerations when to not rekey in case of new member join=
ing a group. I would imagine in e.g. a building automation setting where a =
new actuator device is added into a group it may not always be necessary to=
 renew the group key of existing actuators. This is in particular assuming =
by the nature of security for actuations there are already means in place t=
o determine freshness etc. preventing misuse of an old group key.<br>
<br>
<br>
<br>
<br>
Nits<br>
=3D=3D=3D<br>
<br>
<br>
3.1<br>
<br>
s/Toid/=E2=80=9CToid=E2=80=9D<br>
s/Tperm/=E2=80=9CTperm=E2=80=9D<br>
<br>
<br>
3.2<br>
<br>
If this parameter is not present, the granted scope is equal to the one req=
uested in Section 3.1}.<br>
<br>
- remove the =E2=80=9C}=E2=80=9D<br>
<br>
<br>
<br>
3.3.=C2=A0 Token Post<br>
<br>
- - -<br>
<br>
=C2=A0 =C2=A0=E2=80=9CThe CBOR map MAY additionally include the following<b=
r>
=C2=A0 =C2=A0parameter, which, if included, MUST have the corresponding val=
ues:<br>
<br>
=C2=A0 =C2=A0*=C2=A0 &#39;sign_info&#39; defined in Section 3.3.1, encoding=
 the CBOR simple<br>
=C2=A0 =C2=A0 =C2=A0 value Null to require information about the signature =
algorithm,<br>
=C2=A0 =C2=A0 =C2=A0 signature algorithm parameters, signature key paramete=
rs and on<br>
=C2=A0 =C2=A0 =C2=A0 the exact encoding of public keys used in the group.=
=E2=80=9D<br>
<br>
<br>
This seems to unnecessary duplicate information coming just after:<br>
<br>
<br>
=E2=80=9C3.3.1.=C2=A0 &#39;sign_info&#39; Parameter<br>
<br>
=C2=A0 =C2=A0The &#39;sign_info&#39; parameter is an OPTIONAL parameter of =
the Token Post<br>
=C2=A0 =C2=A0response message defined in Section 5.10.1. of<br>
=C2=A0 =C2=A0[I-D.ietf-ace-oauth-authz].=C2=A0 This parameter contains info=
rmation and<br>
=C2=A0 =C2=A0parameters about the signature algorithm and the public keys t=
o be<br>
=C2=A0 =C2=A0used between the Client and the RS.=C2=A0 Its exact content is=
 application<br>
=C2=A0 =C2=A0specific.<br>
<br>
- - - <br>
<br>
=C2=A0 =C2=A0When used in the request, the &#39;sign_info&#39; encodes the =
CBOR simple<br>
=C2=A0 =C2=A0value Null, to require information and parameters on the signa=
ture<br>
=C2=A0 =C2=A0algorithm and on the public keys used.<br>
<br>
=C2=A0 =C2=A0The CDDL notation [RFC8610] of the &#39;sign_info&#39; paramet=
er formatted as<br>
=C2=A0 =C2=A0in the request is given below.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 sign_info_req =3D nil=E2=80=9D<br>
<br>
<br>
3.3.1<br>
<br>
I got the impression from the text above that =E2=80=98sign_info=E2=80=99 i=
s the name of the parameter, but it turns out that the actual parameter is =
either called =E2=80=9Csign_info_req=E2=80=9D or =E2=80=9Csign_info_res=E2=
=80=9D. So, when it is stated that =E2=80=98sign_info=E2=80=99 encoding the=
 CBOR simple value Null, which seems like a straightforward assignment, the=
re is actually no =E2=80=98sign_info=E2=80=99 parameter. This is a minor, s=
till slightly confusing.<br>
<br>
<br>
3.3.1<br>
<br>
&quot;This format is consistent with every signature algorithm currently<br=
>
=C2=A0 =C2=A0considered in [I-D.ietf-cose-rfc8152bis-algs], &quot;<br>
<br>
<br>
s/considered/defined<br>
<br>
<br>
<br>
3.3.2<br>
<br>
&quot;(see the &#39;client_cred_verify&#39; parameter in<br>
=C2=A0 =C2=A0Section 4)&quot;<br>
<br>
Refer instead to 4.1.2.1<br>
<br>
<br>
<br>
<br>
4.1.3.1<br>
<br>
=E2=80=9Cin case both the &#39;role_filter&#39; array and the &#39;id_filte=
r&#39;<br>
=C2=A0 =C2=A0array are not empty=E2=80=9D<br>
<br>
<br>
s/not empty/non-empty<br>
<br>
<br>
4.1.3.1<br>
<br>
=C2=A0&quot;Finally, as mentioned in Section 4.1.2.1, both arrays &#39;role=
_filter&#39;<br>
=C2=A0 =C2=A0and &#39;id_filter&#39; MUST NOT be both empty.&quot;<br>
<br>
replace with<br>
<br>
=C2=A0 =C2=A0&quot;Finally, as mentioned in Section 4.1.2.1, the arrays &#3=
9;role_filter&#39;<br>
=C2=A0 =C2=A0and &#39;id_filter&#39; MUST NOT both be empty.&quot;<br>
<br>
<br>
<br>
<br>
<br>
4.4<br>
A=C2=A0 missing comma at the end of the following line:=C2=A0 <br>
<br>
&quot;get_pub_keys&quot;: [true, [&quot;sender&quot;], []], &quot;client_cr=
ed&quot;: PUB_KEY<br>
<br>
<br>
<br>
G=C3=B6ran<br>
<br>
<br>
<br>
<br>
On 2021-07-12, 18:16, &quot;Ace on behalf of <a href=3D"mailto:internet-dra=
fts@ietf.org" target=3D"_blank">internet-drafts@ietf.org</a>&quot; &lt;<a h=
ref=3D"mailto:ace-bounces@ietf.org" target=3D"_blank">ace-bounces@ietf.org<=
/a> on behalf of <a href=3D"mailto:internet-drafts@ietf.org" target=3D"_bla=
nk">internet-drafts@ietf.org</a>&gt; wrote:<br>
<br>
<br>
=C2=A0 =C2=A0 A New Internet-Draft is available from the on-line Internet-D=
rafts directories.<br>
=C2=A0 =C2=A0 This draft is a work item of the Authentication and Authoriza=
tion for Constrained Environments WG of the IETF.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Title=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0: Key Provisioning for Group Communication using ACE<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Authors=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0: Francesca Palombini<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Marco Tiloca<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Filename=C2=A0 =C2=A0 =C2=A0 =C2=A0 : draft-iet=
f-ace-key-groupcomm-13.txt<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Pages=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:=
 78<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Date=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :=
 2021-07-12<br>
<br>
=C2=A0 =C2=A0 Abstract:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0This document defines message formats and proced=
ures for requesting<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0and distributing group keying material using the=
 ACE framework, to<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0protect communications between group members.<br=
>
<br>
=C2=A0 =C2=A0 Discussion Venues<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0This note is to be removed before publishing as =
an RFC.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0Source for this draft and an issue tracker can b=
e found at<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"https://protect2.fireeye.com/v1/url?k=
=3D08daa3fb-57419b19-08dae360-86073b36ea28-572fafc3ef6c5ed5&amp;q=3D1&amp;e=
=3Dfd87b927-3fdc-4d5a-ab71-6248ac68bf5d&amp;u=3Dhttps%3A%2F%2Fgithub.com%2F=
ace-wg%2Face-key-groupcomm" rel=3D"noreferrer" target=3D"_blank">https://pr=
otect2.fireeye.com/v1/url?k=3D08daa3fb-57419b19-08dae360-86073b36ea28-572fa=
fc3ef6c5ed5&amp;q=3D1&amp;e=3Dfd87b927-3fdc-4d5a-ab71-6248ac68bf5d&amp;u=3D=
https%3A%2F%2Fgithub.com%2Face-wg%2Face-key-groupcomm</a>.<br>
<br>
<br>
=C2=A0 =C2=A0 The IETF datatracker status page for this draft is:<br>
=C2=A0 =C2=A0 <a href=3D"https://datatracker.ietf.org/doc/draft-ietf-ace-ke=
y-groupcomm/" rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf=
.org/doc/draft-ietf-ace-key-groupcomm/</a><br>
<br>
=C2=A0 =C2=A0 There is also an htmlized version available at:<br>
=C2=A0 =C2=A0 <a href=3D"https://datatracker.ietf.org/doc/html/draft-ietf-a=
ce-key-groupcomm-13" rel=3D"noreferrer" target=3D"_blank">https://datatrack=
er.ietf.org/doc/html/draft-ietf-ace-key-groupcomm-13</a><br>
<br>
=C2=A0 =C2=A0 A diff from the previous version is available at:<br>
=C2=A0 =C2=A0 <a href=3D"https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-ace=
-key-groupcomm-13" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.or=
g/rfcdiff?url2=3Ddraft-ietf-ace-key-groupcomm-13</a><br>
<br>
<br>
=C2=A0 =C2=A0 Internet-Drafts are also available by anonymous FTP at:<br>
=C2=A0 =C2=A0 <a href=3D"ftp://ftp.ietf.org/internet-drafts/" rel=3D"norefe=
rrer" target=3D"_blank">ftp://ftp.ietf.org/internet-drafts/</a><br>
<br>
<br>
=C2=A0 =C2=A0 _______________________________________________<br>
=C2=A0 =C2=A0 Ace mailing list<br>
=C2=A0 =C2=A0 <a href=3D"mailto:Ace@ietf.org" target=3D"_blank">Ace@ietf.or=
g</a><br>
=C2=A0 =C2=A0 <a href=3D"https://www.ietf.org/mailman/listinfo/ace" rel=3D"=
noreferrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/ace</a>=
<br>
<br>
<br>
_______________________________________________<br>
Ace mailing list<br>
<a href=3D"mailto:Ace@ietf.org" target=3D"_blank">Ace@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/ace" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/ace</a><br>
</blockquote></div>

--0000000000001ea8ce05ca6946e4--


From nobody Thu Aug 26 03:13:12 2021
Return-Path: <goran.selander@ericsson.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 C47493A1BFC; Thu, 26 Aug 2021 03:12:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.552
X-Spam-Level: 
X-Spam-Status: No, score=-2.552 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.452, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 IPQbWlncv16Z; Thu, 26 Aug 2021 03:12:34 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70053.outbound.protection.outlook.com [40.107.7.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 175EB3A1BF7; Thu, 26 Aug 2021 03:12:33 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ag31JVD2X6mThXn5MCDreY2CHprqkxXC0J7tgCp8+eoABcr43dmvjjq+XAl8y9382x/R+1xRppUj3N0X24SosEraV61iFKcYEaEomc6Aof1CoEjIRPwgaUQ+oaDCWkh0XU6EMwJ6wTW9PR4R2byVlVAq3f9mPCIfgX42i0JakxyxDFd/nmC/ygUdhk4KllIOY2/kX6Yg1HdtX1l04Ma+HsPoWRtOyMYY9Pgtt+YNFPARqqNBWb9Kw6KE3y/EBnYfZVpab6zsNCvWMOD47w+ipkUCXdd3qmm4iaBsSVo9PeoR3hwe1fjpXC9FHZFeWj8hr1FC3PSJh3xw8uZi5ZTPjg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qC6GV/ZTbM+WaLQLegLDnEyxn/sPKh1n0+Y4Ee/NWQg=; b=O+bq7Gs+6f9hk3aDivLjmhLiziO46GtAqAMd6+u8JF38L2/fDxoKyhdCRgbSVjMyV7X6O1CGvHsiPY/X5nEGruR2o1uvY9p5Anr42gCIh6MXA+htQ8SPew7IVE0an9inglNJm9fUjSdl1Sykx3PVmRYH4QMO1fPvUDc4AGOz8AWTkBa9aWW9Nago2HTJZxhULUPifSl83BoPyfjh2uf9LjBpIavayfBdevsAJUKdp4Scbcx7t9a6vjirSQ0p+ozcLPRXuhxiR+sFqEit4xyrnMJe2Gm/VJIg0nFJEjBRrdVns5huG+mNM4nm6Jo6cnWv+0Y9oOKKN8ftu4SWtKuTPw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qC6GV/ZTbM+WaLQLegLDnEyxn/sPKh1n0+Y4Ee/NWQg=; b=GUoecy7IrAOED5/bp4FFmSkcDRtutrxmb4NCPT1Mroz9EqPaUYEZqjEIGVAbFWH3DbyDe2zxuG6IaqxNbfL/Nhz6DJG4nCbJFyh2BvTQC8xjMYyuFf2B+xwgwaxUUq97f1Cs9ffmICM9vTo9/fObd+mcoUGFoK8jb7vgzdMYnH8=
Received: from HE1PR07MB3500.eurprd07.prod.outlook.com (2603:10a6:7:31::20) by HE1PR0701MB2825.eurprd07.prod.outlook.com (2603:10a6:3:53::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.12; Thu, 26 Aug 2021 10:12:30 +0000
Received: from HE1PR07MB3500.eurprd07.prod.outlook.com ([fe80::a141:8e66:ce19:813d]) by HE1PR07MB3500.eurprd07.prod.outlook.com ([fe80::a141:8e66:ce19:813d%7]) with mapi id 15.20.4457.017; Thu, 26 Aug 2021 10:12:30 +0000
From: =?utf-8?B?R8O2cmFuIFNlbGFuZGVy?= <goran.selander@ericsson.com>
To: =?utf-8?B?Q2hyaXN0aWFuIEFtc8O8c3M=?= <christian@amsuess.com>, Dan Garcia Carrillo <garciadan@uniovi.es>
CC: EMU WG <emu@ietf.org>, "ace@ietf.org" <ace@ietf.org>
Thread-Topic: [Ace] About securing last exchange CoAP-EAP
Thread-Index: AQHXkq5dqXB/T9ltuEqcQ8klioMr+6uFweqA
Date: Thu, 26 Aug 2021 10:12:30 +0000
Message-ID: <BB962406-48C4-4BE8-B13F-8D55291964E6@ericsson.com>
References: <07cd0942-9ee0-b124-b3a7-649f262d7c9e@uniovi.es> <6d2a20fc-7b79-4555-840e-d57f686be42f@VE1EUR02FT003.eop-EUR02.prod.protection.outlook.com>
In-Reply-To: <6d2a20fc-7b79-4555-840e-d57f686be42f@VE1EUR02FT003.eop-EUR02.prod.protection.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/16.52.21080801
authentication-results: amsuess.com; dkim=none (message not signed) header.d=none;amsuess.com; dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 48b8d7a8-8e14-4596-530e-08d9687a036f
x-ms-traffictypediagnostic: HE1PR0701MB2825:
x-microsoft-antispam-prvs: <HE1PR0701MB2825EABF992A1CBDBA26D145F4C79@HE1PR0701MB2825.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: zZV+UnZ4Te64DjTe0aBvpgY/d2AbEjY/Te62NoFIu2mWTNPUiDqKs77MKEcv644n9HP+gvl70N7Pq1LYnT05cihL0KUCVeoen6dE5anVn3+vRMxAqsxo1Wi/MVyBVJ5TxNnW6e7rLpWeljb68qHuYcdJRiihQ4zSXvSJaOeFuUgAH18klDrfoo50dDXNsKhOoxMFo6OgIDkxq61CT1K5VAVfOCQrlh3HbEuuudXtZl3EYI1WdBHqRcld3WI2U57pj6AQb3OaY5AAJYKKihK7UE8MQHD2Smi7NwgTyZez+X4oujpgmPyDzestYD24+y/vm3qzLuaQlL8ewUPk5b+qAQJf2DQyxy02o12u2MXr8qSd9WxQZWDoaf+ZAyPK9eykpx1IW4p7wLLMXut3AgJKRyDD64QJwcfEY2jLHjMhdrcsjQsc2k6Z/efRsuP+lyZFrq8CHZT8oznMVgkRS3MxP6IHvjFQX0TMcPGpO9eqzAmgLvQa3BqkM47JB+XPYymrQnmlt9SNgHuIUfwL8pOm4i4gjK/Hj5J2L1tUeq+gRh0Z9hpPdY3Vu9TUqnDHCu4v130KwQVluHqTLrkzUKgYavYW08C3OcEE5DZT4hyzTQbx8A65/XB0pLTwHnekQK91EBKZ7595144cso/C46MAB7+2mis1xQDO6DUt69u1NNhmxMNGP1NYZTqQmw/C/F0qFLOEfhENZG/E8zKupGKblVyOTPXoP+r30vnohatSi/5FdPr9zlqvRkzXiFhrYxT9
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:HE1PR07MB3500.eurprd07.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(136003)(366004)(39860400002)(346002)(376002)(396003)(5660300002)(38070700005)(53546011)(6506007)(2906002)(6486002)(110136005)(6512007)(85202003)(478600001)(2616005)(316002)(86362001)(54906003)(85182001)(4326008)(66574015)(122000001)(38100700002)(8676002)(36756003)(83380400001)(76116006)(186003)(26005)(66946007)(66476007)(66556008)(64756008)(66446008)(8936002)(71200400001)(33656002)(45980500001); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?WUJsVnNCdTVEbUthaUJKZzQrWjBGRzg3bFhRTkROT21pcG1UdnJmaFZOMnpJ?= =?utf-8?B?M0FXb0YzWGliOWRFZ0Zxd0pDQTliaEplbTlXdUthb1YvVWFBSDBzV1VSQ0cy?= =?utf-8?B?Rmd6dzZVRDIvclpMNjd2YzNraGcyNHg0UkxsNlhoNjR0aVVrc1IzMGxJNm85?= =?utf-8?B?TmNsck9zWnp2VlVjbDR6bGZlWDljenlybndBM3FzenJhZGM5aVJpQUFETzNM?= =?utf-8?B?dXRiT0hBVVJBQXZ2MlVKbUwweFV4MjZ0eU1ScFh0QlRXK3krTHR0ZlJ5aTEv?= =?utf-8?B?UEFOcnM1VU9xSllrRkx1anFhMTg4QzBCWlIwdDFUa1hDb3RzTDBFNUJjL202?= =?utf-8?B?NEtScUJKdXZDZnVWRlZ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a1R1RnZyYUdBdkg0RnczelNiTkY5N0VKRk9PdVNwalY0UGFjeVRTL2VUY1B6?= =?utf-8?B?Mm5Kemo1VkF4bHlXS3dBRmMwWXJVbEQra1kwS3U5TFFrdlkvMUJMRzZiQS9w?= =?utf-8?B?a2tUa1pFV1lpTWVPWUxyd05qS1JRc2VJbk55RnUzSVEvL0NtV3FjOTNnSmNJ?= =?utf-8?B?Z1lNWnhpeldObDdlYkxINnl6NFRwREFDY1daY0N1aDZucWZHY3V3bWQ0LzU2?= =?utf-8?B?cHRhSlE5cVVod25QZ2hUUjd1bm5QQXFUb2VsYmNuNjQyLzBCTHJCczJsL3Nu?= =?utf-8?B?Q1pTZXMzemFxc1oyQ1lmTkNBN29WcEdEYThvalRiT1orYmVieVdsL05Wc3RK?= =?utf-8?B?Nkp4dW56SHczaGpxTkU5MkFXbng0NkxxZ2g1YjlYNDF6K0FsSFh2YXduenpB?= =?utf-8?B?eHQrNmRSdFZ6bzJxcy93SUdwaTNodG1kRjhyQjZYa2ZxcXJFWkN1WVB1VURz?= =?utf-8?B?dUU3eHJOWUZGWVNwU3czL011cW5pUmIzMGNXRFVqZFFGSXJnbjJUNXp5MU0w?= =?utf-8?B?dFB5b1R0aDZvK0gvSVZFQT09?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_BB96240648C44BE8B13F8D55291964E6ericssoncom_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR07MB3500.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 48b8d7a8-8e14-4596-530e-08d9687a036f
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Aug 2021 10:12:30.1312 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Om2fdKTXCJ8lekIJmWwDZ/kAvy9M/Q8zAev90T8PaPW+bm8YecHBAAT+ihnUyYhi6ckTu5v8aeU0o3YKMATxqzPigGxb1TZ38vbLL/vUv9Q=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2825
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/E5ujr7YNFVw1SRf2_0dygC3r5x0>
Subject: Re: [Ace] About securing last exchange CoAP-EAP
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, 26 Aug 2021 10:12:41 -0000

--_000_BB96240648C44BE8B13F8D55291964E6ericssoncom_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

SGksDQoNCg0KDQpIZXJlIGlzIGEgbGF0ZSByZXNwb25zZSB0byB0aGlzIHRocmVhZCAoc2VlIGZp
cnN0IG1haWwgYXQgdGhlIGVuZCkuDQoNCg0KDQrvu79PbiAyMDIxLTA4LTE2LCAxNjo1MiwgIkFj
ZSBvbiBiZWhhbGYgb2YgQ2hyaXN0aWFuIEFtc8O8c3MiIDxhY2UtYm91bmNlc0BpZXRmLm9yZyBv
biBiZWhhbGYgb2YgY2hyaXN0aWFuQGFtc3Vlc3MuY29tPiB3cm90ZToNCg0KDQoNCiAgICBIZWxs
bywNCg0KDQoNCiAgICBPbiBTYXQsIEF1ZyAxNCwgMjAyMSBhdCAwMTozNzowNlBNICswMjAwLCBE
YW4gR2FyY2lhI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gICAgICAgICAgICAgICAgfA0KDQogICAgICAgICAgICAgIHwgVG9rZW4gKDB4YWMpICAgICAg
ICAgICAgICAgICAgICAgICAgICAgIHwNCg0KICAgICAgICAgICAgICB8IDIuMDEgQ3JlYXRlZCBM
b2NhdGlvbi1QYXRoIFsvYS96XSAgICAgICB8IE1TSw0KDQogICAgICAgICAgICAgIHwgUGF5bG9h
ZCBFQVAtWC1SZXNwIChuKSAgICAgICAgICAgICAgICAgIHwgIHwNCg0KICAgICAgICAgICA2KSB8
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLT58ICB2DQoNCiAgICAgICAg
ICAgICAgfCAgICAgICAgICAgICAgICBDT04gWzB4NzgxMV0gUE9TVCAvYS96ICAgfE9TQ09SRQ0K
DQogICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICBUb2tlbiAoMHhhYyksIE9TQ09SRSAg
IHxDT05URVhUDQoNCiAgICBNU0sgICAgICAgfCBQYXlsb2FkIChFQVAgc3VjY2Vzc3x8U2Vzc2lv
bi1MaWZldGltZSkgfCgqKQ0KDQogICAgIHwgICAgIDcpIHw8LS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLXwNCg0KICAgICB2ICAgICAgICB8IEFDSyBbMHg3ODExXSAgICAg
ICAgICAgICAgICAgICAgICAgICAgICB8DQoNCiAgIE9TQ09SRSAgKCopfCBUb2tlbiAoMHhhYyks
IE9TQ09SRSAgICAgICAgICAgICAgICAgICAgfA0KDQogICBDT05URVhUIDgpIHwtLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tPnwNCg0KICAgICAgICAgICAgICAoKikgUHJv
dGVjdGVkIHdpdGggT1NDT1JFDQoNCg0KDQpBcyBzdWNoLCBDb0FQIHNlcnZlciAobGVmdCBzaWRl
KSBjb3VsZCBub3Qgc2VlIHRoZSBjb250ZW50IG9mIHRoZSBDb0FQIG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QuIEZyb20gdGhpcyBwb2ludCBDb0FQIG1lc3NhZ2Vz
IGJldHdlZW4gYm90aCBlbnRpdGllcyBjYW4gYmUgcHJvdGVjdGVkIHVzaW5nIE9TQ09SRSBjb250
ZXh0Lg0KDQoNCg0KICAgICAgICAgICAgIENvQVAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgQ29BUA0KDQogICAgICAgICAgICBTZXZlciAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgIENsaWVudA0KDQogICAgICAgICAgIDUpIHw8LS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLXwNCg0KICAgICAgICAgICAgICB8IEFDSyBbMHg5ODY5XSAg
ICAgICAgICAgICAgICAgICAgICAgICAgICB8DQoNCiAgICAgICAgICAgICAgfCBUb2tlbiAoMHhh
YykgICAgICAgICAgICAgICAgICAgICAgICAgICAgfA0KDQogICAgICAgICAgICAgIHwgMi4wMSBD
cmVhdGVkIExvY2F0aW9uLVBhdGggWy9hL3pdICAgICAgIHwNCg0KICAgICAgICAgICAgICB8IFBh
eWxvYWQgRUFQLVgtUmVzcCAobikgICAgICAgICAgICAgICAgICB8DQoNCiAgICAgICAgICAgNikg
fC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0+fA0KDQogICAgICAgICAg
ICAgIHwgICAgICAgICAgICAgICAgQ09OIFsweDc4MTFdIFBPU1QgL2EveiAgIHwNCg0KICAgICAg
ICAgICAgICB8ICAgICAgICAgICAgICAgICAgICAgICAgICBUb2tlbiAoMHhhYykgICB8ICAgICAg
TVNLDQoNCiAgICAgICAgICAgICAgfCBQYXlsb2FkIChFQVAgc3VjY2Vzc3x8U2Vzc2lvbi1MaWZl
dGltZSAgfCAgICAgfCAgfA0KDQogIE1TSyAgICAgICAgIHwgICAgICAgICAgIHx8IEF1dGhlbnRp
Y2F0aW9uVGFnKSAgICAgICAgIHwgICAgIHYgIHwNCg0KICB8IHwgICAgICA3KSB8PC0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS18QVVUSF9LRVl8DQoNCiAgfCB2ICAgICAg
ICAgfCBBQ0sgWzB4NzgxMV0gICAgICAgICAgICAgICAgICAgICAgICAgICAgfCAgICAgICAgfA0K
DQogIHxBVVRIX0tFWSAgIHwgMi4wMSBDcmVhdGVkIExvY2F0aW9uLVBhdGggWy9hL3oxXSAgICAg
IHwgICAgICAgIHwNCg0KICB2ICAgICAgICAgICB8IFRva2VuICgweGFjKSAgICAgICAgICAgICAg
ICAgICAgICAgICAgICB8ICAgICAgICB8DQoNCk9TQ09SRSBDb250ZXh0fCBQYXlsb2FkKEF1dGhl
bnRpY2F0aW9uVGFnKSAgICAgICAgICAgICAgfCAgICAgICAgVg0KDQogICAgICAgICAgIDgpIHwt
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tPnwgICAgICBPU0NPUkUNCg0K
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgQ29udGV4dA0KDQoNCg==

--_000_BB96240648C44BE8B13F8D55291964E6ericssoncom_
Content-Type: text/html; charset="utf-8"
Content-ID: <A8387550C3EEA64F89492BC3816A38B3@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6bz0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6b2ZmaWNlIiB4
bWxuczp3PSJ1cm46c2NoZW1hcy1taWNyb3NvZnQtY29tOm9mZmljZTp3b3JkIiB4bWxuczptPSJo
dHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL29mZmljZS8yMDA0LzEyL29tbWwiIHhtbG5zPSJo
dHRwOi8vd3d3LnczLm9yZy9UUi9SRUMtaHRtbDQwIj4NCjxoZWFkPg0KPG1ldGEgaHR0cC1lcXVp
dj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bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJz
cDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsm
bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJz
cDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsm
bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJz
cDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsm
bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsgQ29udGV4dDxvOnA+PC9v
OnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29QbGFpblRleHQiPjxzcGFuIHN0eWxlPSJmb250
LWZhbWlseTpDb3VyaWVyIj48bzpwPiZuYnNwOzwvbzpwPjwvc3Bhbj48L3A+DQo8L2Rpdj4NCjwv
Ym9keT4NCjwvaHRtbD4NCg==

--_000_BB96240648C44BE8B13F8D55291964E6ericssoncom_--


From nobody Thu Aug 26 03:42:39 2021
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 BF02F3A1CE8; Thu, 26 Aug 2021 03:42:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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, SPF_HELO_NONE=0.001, SPF_PASS=-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 SPhCxejaLiAR; Thu, 26 Aug 2021 03:42:33 -0700 (PDT)
Received: from mail-vk1-xa2c.google.com (mail-vk1-xa2c.google.com [IPv6:2607:f8b0:4864:20::a2c]) (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 AC5423A1CEC; Thu, 26 Aug 2021 03:42:32 -0700 (PDT)
Received: by mail-vk1-xa2c.google.com with SMTP id j12so706132vka.6; Thu, 26 Aug 2021 03:42:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ScH05sDkQntKkewmRvYyx1Wrd1IPUKt0bxdmNiURPtQ=; b=DY+7hAg9hlXSAyJa1Hn+UFaakydFi/bTGfdN4nKz6S3haGmGOKk/BsUFJkOYnPhvQk KDphZb9AIH3pKZPYilcVTCJ4LZ6TMR8cBgZK31lwgxAq/iYfqSgcvCDDKVq/lT2eW4TI jTD6VRNUfsT1EFoHSPbl6vTSpLq6t/SygSDoHI5OaipKCufPurniNJbD47uNJfPxUviJ 4R+xiiQhdeygq2qzLn9+JVG3t5J/jdGAtaXZwzQvxEGIRCAH6G5AnwoXulneT0Dw0PYi tvRdm0xqsghVPwEiqaPN7N7Ty7q7mzQZWIiF5blmJVBCMjtEg35+U4fxBS3BCsIybMAL wTpw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ScH05sDkQntKkewmRvYyx1Wrd1IPUKt0bxdmNiURPtQ=; b=kzu5AA+zc+0vQv4yrJRHOye6fZRcGMXptz2yHeCt2aqgQ6ETlfhcmosolaBDSu9aHr jbeMXWI45Im6vjvE937Kg4NuCN+8k+zSXO56DOEWa3Z9xT6eEPmtVLWc1wWAV1cYCaT/ SR+RZCAsR6Pms+7hbsw49qc6zwD3E7tOYEzilMPhFS1ne/Dmqri3o73eJz6pm6E7fwMv tXvhFVxWHZfwTnSao6H8nbMqM4vhHW2yuNDEw1djdmHynZlR4ejrvi9wOP38KEu3pM6o ItH4KHpLGCdWZSTl9lX1mAV93OdBfwvAZM8aVSRTzbsgUh08kngphw6TWoMSu07P/vgg ZBVQ==
X-Gm-Message-State: AOAM530/5v1xP3Ha7hvp9FPVaNEK1eavBNEZYLLh5uwI6wDwnklI6xhB BP2/xUmd2o7ADs6rA7bxa+0oi5w9CNswHKhzyZ8qKfCDVWs2jw==
X-Google-Smtp-Source: ABdhPJwXQ0ivXtDcNhFo9xRkscZMFoPOZ95wxoRDIUsn56V3+ur3bOL3711nqfo608fCPWDIjaeITzVkBeIcWEyCl8E=
X-Received: by 2002:a1f:9457:: with SMTP id w84mr1478501vkd.16.1629974550439;  Thu, 26 Aug 2021 03:42:30 -0700 (PDT)
MIME-Version: 1.0
References: <20210805223931.GI50759@kduck.mit.edu> <CAA7SwCM1Gjqb+ydTz2dmxA33FKYimwegWcpCckCZWiO3qeyH8w@mail.gmail.com> <20210814003710.GA50759@kduck.mit.edu>
In-Reply-To: <20210814003710.GA50759@kduck.mit.edu>
From: Cigdem Sengul <cigdem.sengul@gmail.com>
Date: Thu, 26 Aug 2021 11:42:25 +0100
Message-ID: <CAA7SwCP26zSiyoNBwO3n_OvSPs3S2ySbDJR96wTTx4ZMwRk74Q@mail.gmail.com>
To: Benjamin Kaduk <kaduk@mit.edu>
Cc: draft-ietf-ace-mqtt-tls-profile.all@ietf.org, Ace Wg <ace@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000126c5a05ca7406d9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/xf84reXKDzrUe0W6X47UP3EQjqs>
Subject: Re: [Ace] AD Evaluation of draft-ietf-ace-mqtt-tls-profile-12
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, 26 Aug 2021 10:42:37 -0000

--000000000000126c5a05ca7406d9
Content-Type: text/plain; charset="UTF-8"

Hello Ben,


> Hopefully you have not gotten too far along on the few items where I reply
> and say that your proposed change may not be needed; I had hoped to write
> this message several days ago.  (That said, there really are only a few
> such places; the bulk of your proposals look good.)
>

No worries at all. I have been swamped and this time it served a good
purpose that I could not start
immediately addressing the issues raised. :) Hope to do so soon.

I am glad we have cleared out some misunderstandings regarding
token lengths, and MQTT operation.  Majority of required changes are clear
now,
I will have a more detailed e-mail showing how your review comments were
addressed.
Below, there are a few where I ask for some further clarifications, or
express my agreement, if I haven't done so already.

>
>
> >   The Broker MUST support "TLS:Anon-MQTT:ace".  To support Clients with
> > >    different capabilities, the Broker MAY provide multiple client
> > >    authentication options, e.g. support "TLS:Known(RPK)-MQTT:none" and
> > >    "TLS:Anon-MQTT:None", to enable RPK-based client authentication, but
> > >    fall back to "TLS:Anon-MQTT:ace" if the Client does not send a
> client
> > >    certificate (i.e. it sends an empty Certificate message) during the
> > >    TLS handshake.
> > >
> > > [Just a potential nit about the wording: "fall back" implies some
> > > ordering requirements, but IIRC use of RPK requires sending the token
> to
> > > authz-info before starting the new TLS connection, which doesn't quite
> > > match the steps as ordered in this description.]
> > >
> >
> > [CS: True that is not well-written. That was added because to
> potentially handle the Brokers having optional
> > client authentication for TLS. So, client authentication in TLS doesn't
> work, the broker would expect a
> > token in CONNECT; But it doesn't look needed as we do have a MUST for a
> token to be provided
> > for TLS-level client authentication. ]
>
> I think that makes sense to not require the broker to support TLS-level
> client authentication, yes.
>

[CS: OK. So, this should be rewritten not to say fall back?
Such as:
The Broker MUST support TLS:Anon,MQTT:ace.  To support Clients with
 different capabilities, the Broker MAY provide multiple client
authentication options, e.g. support TLS:Known(RPK) MQTT:none and
TLS:Anon,MQTT:None, to enable RPK-based client authentication, but
 if the Client does not send a client certificate (i.e. it sends an empty
Certificate message) during the
TLS handshake, the Broker MAY look for a token in MQTT CONNECT, using the
TLS:Anon,MQTT:ace
combination.
]


>
> >    Note that, according to the MQTT standard, the Broker uses the Client
> > >    identifier to identify the session state.  In the case of a Client
> > >    identifier collision, a client may take over another client's
> > >    session.  [...]
> > >
> > > Just to confirm: the ACE token is not used to provide authorization to
> > > use a given client identifer; the client identifier is just used as an
> > > unauthenticated identifier?  We might consider calling that out
> > > explicitly.
> > >
> >
> > [OK. Yes, the MQTT client id is considered different than the Client
> > Identifier that may be in the token.]
>
> They are clearly different identifiers, yes.  I was trying to ask about
> something slightly different, though.  One might imagine treating MQTT
> Client Identifiers as resources in their own right, and having the AS grant
> authorization to use them.  In that case the Client Identifier could be
> encoded in the token and the broker could reject attempts to use a client
> identifier that were not accompanied by a token authorizing use of that
> identifier.  However, such an architecture seems to have some layering
> issues and could be messy to implement, so I was assuming that we were not
> proposing to do so.
>

[CS: No, indeed, we have not considered client-identifiers as a resource. I
think it is an interesting proposal,
but may have further issues with client id collisions, which MQTT handles
best-effort.
Collision-free IDs would be desired but hard to achieve, when tokens given
out by multiple ASes, I assume. ]


>
> >    a CONNACK with the appropriate response code.  The client cannot
> > >    reauthenticate using this method during the same session ( see
> > >    Section 4).
> > >
> > > Depending on what "session" means, this restriction may be too strict.
> > > We should probably be more clear about what "session" means...if it's
> > > the MQTT session, I think it's okay to use this method when
> > > re-connecting to take over the session.
> > >
> >
> > [CS: This is the MQTT session - I believe we discussed this before, and
> the
> > agreement was that this should not be allowed.
> > The reasoning was the client was not necessarily proving anything new
> with
> > the challenge from TLS-Exporter already used.]
>
> I agree that re-using the same challenge value from a TLS-Exporter is
> problematic for that reason.
>
> But consider the case where a client makes a new TCP+TLS connection and
> then sends MQTT CONNECT with Clean Start=0.  The new TLS connection, even
> if using TLS session resumption, will have [*] a different TLS exporter
> value than any other TLS connection, so it would be a safe way to
> authenticate, but this text seems to prohibit us from using it.
> (I guess I commented on basically the same thing later on, too...)
>
> [*] modulo things like the "triple-handshake attack" that motivated the
> extended master secret extension of RFC 7627.  See also my comment that we
> should incorporate current TLS best practices, which will include mandating
> the use of extended master secret.
>

[CS: True, if there is MQTT session continuation, this can be allowed. I
will revise.]


> >
> >    If the Broker accepts the connection, it MUST store the token until
> >    the end of the connection.  On Client or Broker disconnection, the
> >    Client is expected to transport a token again on the next connection
> >    attempt.
> >
> > This seems to deviate somewhat from the framework, that expects the RS
> > to be prepared to store at least one token for future use, and
> > recommends storing one token per PoP key.
> > [CS: OK I will need to update the draft if I cannot have a deviation.
> > Then,I  need to think about how to implement it - I assume PoP will be
> done
> > again
> > if the client connects without a token, but RS believes there is a token
> > associated with it?]
>
> It may be okay to have a deviation, but I don't want to just "silently"
> have a deviation -- it should be noted as such, which indicates that we've
> actually thought about it.
> (The framework text seems to be "MUST be prepared to store at least one
> access token", not "MUST store at least one access token"...)
>

[CS:
OK.
Let me consider what happens if the Broker stores a token for future use.
Then, different from the public clients, which connect TLS:none,MQTT:none,
the client still connects to TLS:none,MQTT:ace, i.e. it gives the
authentication method as ACE, but
doesn't provide a token. We previously used this to signal optional AS
discovery.
If there is no token, but the method is ace, the first thing the Broker can
do is to look for a token associated with the client.
Then it does the AUTH challenge to do PoP of the token for this client.
If this fails, or there is no token, then it sends a CONNACK not
authorised, and does optional AS discovery.

I think flow-wise this can work - it is not a security issue if the client
ids collide, and the broker considers a wrong token for the client because
of the PoP challenge.

If this is acceptable, I will revise.
]


> >
> > >                                                              The Broker
> > >    SHOULD also use a cache time out to introspect tokens regularly.
> > >
> > > We will surely be asked to provide guidance on what timescale
> > > "regularly" indicates, if we do not proactively provide some guidance.
> > >
> > > [CS: I would expect that is based on the dynamicity of the application
> and
> > risk associated, but I was considering
> > ranges like every 12 hours; every 24 hours]
>

[CS: Or should we shy away from being specific, and just say it's
application dependent, and
maybe give an example application?]


> >
> >  If the Will Flag is set, then the Broker MUST check that the token
> > >    allows the publication of the Will message (i.e. the Will Topic
> > >    filter is in the scope array).
> > >
> > > We might want to say a little more about when this check happens.  My
> > > intuition is that it occurs during the CONNECT processing where the
> > > actual Will message is provided, and that the connection would be
> > > rejected if the Will message is unauthorized.  But this section is
> > > titled "Authorizing PUBLISH and SUBSCRIBE Messages", so one might be
> > > forgiven for assuming that CONNECT is out of scope...
> > >
> >
> > [CS: I assumed the check will happen when the Will message needs to be
> > published (information about the Will topic is in the CONNECT).
> > And the Broker will refuse to publish if it is not covered in the token.
> > This can be changed to checking in CONNECT but then, we add "Will message
> > not authorised" as a reason to refuse Connection with the rationale that
> > even if it is not an actual publication, it may result in publishing a
> > message (the will) in future.
> > (I've written more on this in "Will do" section below, because it came up
> > in multiple places, and I did not want to repeat the same discussion)]
>
> (Definitely don't repeat the same discussion in the same email!)
>
> I think my assumption was that the client sets a Will message and assumes
> that it will always go out if the client goes away uncleanly, functioning
> as a sort of "dead-man's switch".  If the client disconnects and the broker
> prepares to send the Will message only to discover that it's unauthorized,
> there's no way to indicate the error to the client, and so the client's
> assumption that the message will go out is broken.  Maybe I'm wrong about
> what Will messages are used for, though, and this is not actually a problem
> in practice.  However, if there is a need to provide some "guarantee of
> future delivery" for the Will message, we need to check authorization while
> the client is still around, and at CONNECT time seems to be the natural (or
> even only?) option for when to do that.  If we do move the checking to
> CONNECT, I think we would also want to mention that "Will message not
> authorised" can happen at the periodic re-authorisation checks that we
> already talk about.
>

[CS: I agree. This check needs to happen during CONNECT, and fail the
connection with Not Authorised.
Brokers can use a reason string to give more diagnostic information.
Similarly, Server does include Will-Topic check to re-authorisation, and
triggers DISCONNECT if it cannot fulfill the Will.

I must have gotten myself confused as this should have been the intention
from the beginning as I have the following text in the draft:
"If the Will Flag is set, then the Broker MUST check that the token allows
the publication of the Will message (i.e. the Will Topic filter is in the
scope array)." - which is in the wrong place, and should be in CONNECT.
Still, it was under-specified, ie. if the check fails, it leads to Not
Authorised etc.
]


>
> > Section 6.2
> > >
> > >    o  RS-Client PUBLISH authorization failure: When RS is forwarding
> > >       PUBLISH messages to the subscribed Clients, it may discover that
> > >       some of the subscribers are no more authorized due to expired
> > >       tokens.  These token expirations SHOULD lead to disconnecting the
> > >       Client rather than silently dropping messages.
> > >
> > > (I'm not actually sure how much the MQTT spec says about this type of
> > > scenario, and thus whether the "SHOULD" is the right term to use.)
> > >
> >
> > [CS: MQTT v3.1 would not consider the clients losing authentication in
> the
> > middle of a session. I am not sure we can find guidance there on this.]
>
> It makes sense that we won't get much guidance, given that v3.1 was
> basically assuming password auth, which is "one and done" for the whole
> connection.  I should have been more clear, though -- I think this is a
> candidate for "MUST lead to disconnecting the client rather than silently
> dropping messages", and I wanted to know if you had a reason to make it
> optional.
>

[CS: Yes, MUST is better.I think SHOULD was for some reason if the broker
doesn't want to drop
connections abruptly, but silent errors are worse]


>
> >
> >
> > > This document seems to mostly use British English.  AFAIR, that's okay,
> > > but if it's inconsistent the RFC Editor will prefer American English.
> I
> > > didn't attempt to check for this (though there are tools like
> > > https://github.com/larseggert/ietf-reviewtool that will do so).
> > >
> >
> > [CS: Will check and Americanize. :) ]
>
> I *think* you don't have to Americanize :)
> It's just that if you have a mix, the RFC Editor will pick American every
> time.  If it's consistently British they will leave it alone, is my
> understanding.
>

[CS: Unfortunately, having studied in the US, and living in Britain, I mix
things all the time.
So, I will make it consistent, one way or the other :) ]

>
>
> > >
> > >                                       If the RS supports the public
> > >    "authz-info" topic, described in Section 2.2.2, then this may be
> > >    vulnerable to a DDoS attack, where many Clients use the "authz-info"
> > >    public topic to transport fictitious tokens, which RS may need to
> > >    store indefinitely.
> > >
> > > We do say that the RS only stores "valid" tokens, which includes being
> > > generated by a trusted AS and having RS as the audience.  So it's not
> > > clear that this statement is accurate if the attack is to involve
> > > "fictitious" tokens.  Similar attacks are possible, though.
> > >
> >
> > [CS: OK,  We accept it can still be DOS'ed? fictitious doesn't sound
> right.
> > my intention was to say tokens not meant to be used.]
>
> Yes, this is still vulnerable to DDoS, but the pool of potential attackers
> is somewhat restricted.  In particular, if the AS only issues a small
> number of tokens with the RS as the audience, that bounds the amount of
> state that the RS has to maintain (but it could still be subject to
> resource exhaustion of resources like CPU when processing a bunch of
> invalid tokens).  So "may need to store indefinitely" might be the main
> thing I was commenting about here.
>

[CS: OK, will word more clearly.]

 Thanks a lot for your responses.
Kind regards,
--Cigdem

--000000000000126c5a05ca7406d9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">Hello Ben,=C2=A0<div><br></div></div><div=
 class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><b=
r>
Hopefully you have not gotten too far along on the few items where I reply<=
br>
and say that your proposed change may not be needed; I had hoped to write<b=
r>
this message several days ago.=C2=A0 (That said, there really are only a fe=
w<br>
such places; the bulk of your proposals look good.)<br></blockquote><div><b=
r></div><div>No worries at all. I have been swamped and this time it served=
 a good purpose that I could not start</div><div>immediately addressing the=
 issues raised. :) Hope to do so soon.=C2=A0</div><div><br></div><div>I am =
glad we have cleared out some misunderstandings regarding=C2=A0</div><div>t=
oken lengths, and MQTT operation.=C2=A0 Majority of required changes are cl=
ear now,=C2=A0</div><div>I will have a more detailed=C2=A0e-mail showing ho=
w your=C2=A0review comments were addressed.=C2=A0</div><div>Below, there ar=
e a few where I ask for some further clarifications, or express my agreemen=
t, if I haven&#39;t done so already.=C2=A0</div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,=
204);padding-left:1ex"><br></blockquote><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex">
<br>
&gt;=C2=A0 =C2=A0The Broker MUST support &quot;TLS:Anon-MQTT:ace&quot;.=C2=
=A0 To support Clients with<br>
&gt; &gt;=C2=A0 =C2=A0 different capabilities, the Broker MAY provide multi=
ple client<br>
&gt; &gt;=C2=A0 =C2=A0 authentication options, e.g. support &quot;TLS:Known=
(RPK)-MQTT:none&quot; and<br>
&gt; &gt;=C2=A0 =C2=A0 &quot;TLS:Anon-MQTT:None&quot;, to enable RPK-based =
client authentication, but<br>
&gt; &gt;=C2=A0 =C2=A0 fall back to &quot;TLS:Anon-MQTT:ace&quot; if the Cl=
ient does not send a client<br>
&gt; &gt;=C2=A0 =C2=A0 certificate (i.e. it sends an empty Certificate mess=
age) during the<br>
&gt; &gt;=C2=A0 =C2=A0 TLS handshake.<br>
&gt; &gt;<br>
&gt; &gt; [Just a potential nit about the wording: &quot;fall back&quot; im=
plies some<br>
&gt; &gt; ordering requirements, but IIRC use of RPK requires sending the t=
oken to<br>
&gt; &gt; authz-info before starting the new TLS connection, which doesn&#3=
9;t quite<br>
&gt; &gt; match the steps as ordered in this description.]<br>
&gt; &gt;<br>
&gt; <br>
&gt; [CS: True that is not well-written. That was added because to potentia=
lly handle the Brokers having optional<br>
&gt; client authentication for TLS. So, client authentication in TLS doesn&=
#39;t work, the broker would expect a<br>
&gt; token in CONNECT; But it doesn&#39;t look needed as we do have a MUST =
for a token to be provided<br>
&gt; for TLS-level client authentication.=C2=A0]<br>
<br>
I think that makes sense to not require the broker to support TLS-level<br>
client authentication, yes.<br></blockquote><div><br></div><div>[CS: OK. So=
, this should be rewritten not to say fall back?</div><div>Such as:</div><d=
iv>The Broker MUST support TLS:Anon,MQTT:ace.=C2=A0 To support Clients with=
<br>=C2=A0different capabilities, the Broker MAY provide multiple client<br=
>authentication options, e.g. support TLS:Known(RPK) MQTT:none and<br>TLS:A=
non,MQTT:None, to enable RPK-based client authentication, but<br>=C2=A0if t=
he Client does not send a client certificate (i.e. it sends an empty Certif=
icate message) during the<br>TLS handshake, the Broker MAY look for a token=
 in MQTT CONNECT, using the=C2=A0 TLS:Anon,MQTT:ace<br></div><div>combinati=
on.=C2=A0</div><div>]</div><div>=C2=A0</div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)=
;padding-left:1ex">
<br>
&gt;=C2=A0 =C2=A0 Note that, according to the MQTT standard, the Broker use=
s the Client<br>
&gt; &gt;=C2=A0 =C2=A0 identifier to identify the session state.=C2=A0 In t=
he case of a Client<br>
&gt; &gt;=C2=A0 =C2=A0 identifier collision, a client may take over another=
 client&#39;s<br>
&gt; &gt;=C2=A0 =C2=A0 session.=C2=A0 [...]<br>
&gt; &gt;<br>
&gt; &gt; Just to confirm: the ACE token is not used to provide authorizati=
on to<br>
&gt; &gt; use a given client identifer; the client identifier is just used =
as an<br>
&gt; &gt; unauthenticated identifier?=C2=A0 We might consider calling that =
out<br>
&gt; &gt; explicitly.<br>
&gt; &gt;<br>
&gt; <br>
&gt; [OK. Yes, the MQTT client id is considered different than the Client<b=
r>
&gt; Identifier that may be in the token.]<br>
<br>
They are clearly different identifiers, yes.=C2=A0 I was trying to ask abou=
t<br>
something slightly different, though.=C2=A0 One might imagine treating MQTT=
<br>
Client Identifiers as resources in their own right, and having the AS grant=
<br>
authorization to use them.=C2=A0 In that case the Client Identifier could b=
e<br>
encoded in the token and the broker could reject attempts to use a client<b=
r>
identifier that were not accompanied by a token authorizing use of that<br>
identifier.=C2=A0 However, such an architecture seems to have some layering=
<br>
issues and could be messy to implement, so I was assuming that we were not<=
br>
proposing to do so.<br></blockquote><div><br></div><div>[CS: No, indeed, we=
 have not considered client-identifiers as a resource. I think it is an int=
eresting proposal,=C2=A0</div><div>but may have further issues with client =
id collisions, which MQTT handles best-effort.=C2=A0</div><div>Collision-fr=
ee IDs would be desired but hard to achieve, when tokens given out by multi=
ple ASes, I assume. ]<br></div><div>=C2=A0</div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,=
204);padding-left:1ex">
<br>
&gt;=C2=A0 =C2=A0 a CONNACK with the appropriate response code.=C2=A0 The c=
lient cannot<br>
&gt; &gt;=C2=A0 =C2=A0 reauthenticate using this method during the same ses=
sion ( see<br>
&gt; &gt;=C2=A0 =C2=A0 Section 4).<br>
&gt; &gt;<br>
&gt; &gt; Depending on what &quot;session&quot; means, this restriction may=
 be too strict.<br>
&gt; &gt; We should probably be more clear about what &quot;session&quot; m=
eans...if it&#39;s<br>
&gt; &gt; the MQTT session, I think it&#39;s okay to use this method when<b=
r>
&gt; &gt; re-connecting to take over the session.<br>
&gt; &gt;<br>
&gt; <br>
&gt; [CS: This is the MQTT session - I believe we discussed this before, an=
d the<br>
&gt; agreement was that this should not be allowed.<br>
&gt; The reasoning was the client was not necessarily proving anything new =
with<br>
&gt; the challenge from TLS-Exporter already used.]<br>
<br>
I agree that re-using the same challenge value from a TLS-Exporter is<br>
problematic for that reason.<br>
<br>
But consider the case where a client makes a new TCP+TLS connection and<br>
then sends MQTT CONNECT with Clean Start=3D0.=C2=A0 The new TLS connection,=
 even<br>
if using TLS session resumption, will have [*] a different TLS exporter<br>
value than any other TLS connection, so it would be a safe way to<br>
authenticate, but this text seems to prohibit us from using it.<br>
(I guess I commented on basically the same thing later on, too...)<br>
<br>
[*] modulo things like the &quot;triple-handshake attack&quot; that motivat=
ed the<br>
extended master secret extension of RFC 7627.=C2=A0 See also my comment tha=
t we<br>
should incorporate current TLS best practices, which will include mandating=
<br>
the use of extended master secret.<br></blockquote><div><br></div><div>[CS:=
 True, if there is MQTT session continuation, this can be allowed. I will r=
evise.]</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:=
1ex">
&gt; <br>
&gt;=C2=A0 =C2=A0 If the Broker accepts the connection, it MUST store the t=
oken until<br>
&gt;=C2=A0 =C2=A0 the end of the connection.=C2=A0 On Client or Broker disc=
onnection, the<br>
&gt;=C2=A0 =C2=A0 Client is expected to transport a token again on the next=
 connection<br>
&gt;=C2=A0 =C2=A0 attempt.<br>
&gt; <br>
&gt; This seems to deviate somewhat from the framework, that expects the RS=
<br>
&gt; to be prepared to store at least one token for future use, and<br>
&gt; recommends storing one token per PoP key.<br>
&gt; [CS: OK I will need to update the draft if I cannot have a deviation.<=
br>
&gt; Then,I=C2=A0 need to think about how to implement it - I assume PoP wi=
ll be done<br>
&gt; again<br>
&gt; if the client connects without a token, but RS believes there is a tok=
en<br>
&gt; associated with it?]<br>
<br>
It may be okay to have a deviation, but I don&#39;t want to just &quot;sile=
ntly&quot;<br>
have a deviation -- it should be noted as such, which indicates that we&#39=
;ve<br>
actually thought about it.<br>
(The framework text seems to be &quot;MUST be prepared to store at least on=
e<br>
access token&quot;, not &quot;MUST store at least one access token&quot;...=
)<br></blockquote><div><br></div><div>[CS:=C2=A0</div><div>OK.=C2=A0=C2=A0<=
/div><div>Let me consider what happens if the Broker stores a token for fut=
ure use.</div><div>Then, different from the public clients, which connect T=
LS:none,MQTT:none,=C2=A0</div><div>the client still connects to TLS:none,MQ=
TT:ace,=C2=A0i.e. it gives the authentication method as ACE, but</div><div>=
doesn&#39;t provide a token. We previously used this to signal optional AS =
discovery.=C2=A0</div><div>If there is no token, but the method is ace, the=
 first thing the Broker can do is to=C2=A0look=C2=A0for a token associated =
with the client.=C2=A0</div><div>Then it does the AUTH challenge to do PoP =
of the token for this client.</div><div>If this fails, or there is no token=
, then it sends a CONNACK not authorised, and does optional AS discovery.=
=C2=A0=C2=A0</div><div><br></div><div>I think flow-wise=C2=A0this can work =
- it is not a security issue if the client ids collide, and the broker cons=
iders a wrong token for the client because</div><div>of the PoP challenge.<=
/div><div><br></div><div>If this is acceptable, I will revise.</div><div>]<=
/div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
&gt; <br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 The Broker<br>
&gt; &gt;=C2=A0 =C2=A0 SHOULD also use a cache time out to introspect token=
s regularly.<br>
&gt; &gt;<br>
&gt; &gt; We will surely be asked to provide guidance on what timescale<br>
&gt; &gt; &quot;regularly&quot; indicates, if we do not proactively provide=
 some guidance.<br>
&gt; &gt;<br>
&gt; &gt; [CS: I would expect that is based on the dynamicity of the applic=
ation and<br>
&gt; risk associated, but I was considering<br>
&gt; ranges like every 12 hours; every 24 hours]<br></blockquote><div><br><=
/div><div>[CS: Or should we shy away from being specific, and just say it&#=
39;s application dependent, and</div><div>maybe give an example application=
?]</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
&gt; <br>
&gt;=C2=A0 If the Will Flag is set, then the Broker MUST check that the tok=
en<br>
&gt; &gt;=C2=A0 =C2=A0 allows the publication of the Will message (i.e. the=
 Will Topic<br>
&gt; &gt;=C2=A0 =C2=A0 filter is in the scope array).<br>
&gt; &gt;<br>
&gt; &gt; We might want to say a little more about when this check happens.=
=C2=A0 My<br>
&gt; &gt; intuition is that it occurs during the CONNECT processing where t=
he<br>
&gt; &gt; actual Will message is provided, and that the connection would be=
<br>
&gt; &gt; rejected if the Will message is unauthorized.=C2=A0 But this sect=
ion is<br>
&gt; &gt; titled &quot;Authorizing PUBLISH and SUBSCRIBE Messages&quot;, so=
 one might be<br>
&gt; &gt; forgiven for assuming that CONNECT is out of scope...<br>
&gt; &gt;<br>
&gt; <br>
&gt; [CS: I assumed the check will happen when the Will message needs to be=
<br>
&gt; published (information about the Will topic is in the CONNECT).<br>
&gt; And the Broker will refuse to publish if it is not covered in the toke=
n.<br>
&gt; This can be changed to checking in CONNECT but then, we add &quot;Will=
 message<br>
&gt; not authorised&quot; as a reason to refuse Connection with the rationa=
le that<br>
&gt; even if it is not an actual publication, it may result in publishing a=
<br>
&gt; message (the will) in future.<br>
&gt; (I&#39;ve written more on this in &quot;Will do&quot; section below, b=
ecause it came up<br>
&gt; in multiple places, and I did not want to repeat the same discussion)]=
<br>
<br>
(Definitely don&#39;t repeat the same discussion in the same email!)<br>
<br>
I think my assumption was that the client sets a Will message and assumes<b=
r>
that it will always go out if the client goes away uncleanly, functioning<b=
r>
as a sort of &quot;dead-man&#39;s switch&quot;.=C2=A0 If the client disconn=
ects and the broker<br>
prepares to send the Will message only to discover that it&#39;s unauthoriz=
ed,<br>
there&#39;s no way to indicate the error to the client, and so the client&#=
39;s<br>
assumption that the message will go out is broken.=C2=A0 Maybe I&#39;m wron=
g about<br>
what Will messages are used for, though, and this is not actually a problem=
<br>
in practice.=C2=A0 However, if there is a need to provide some &quot;guaran=
tee of<br>
future delivery&quot; for the Will message, we need to check authorization =
while<br>
the client is still around, and at CONNECT time seems to be the natural (or=
<br>
even only?) option for when to do that.=C2=A0 If we do move the checking to=
<br>
CONNECT, I think we would also want to mention that &quot;Will message not<=
br>
authorised&quot; can happen at the periodic re-authorisation checks that we=
<br>
already talk about.<br></blockquote><div><br></div><div>[CS: I agree. This =
check needs to happen during CONNECT, and fail the connection with Not Auth=
orised.</div><div>Brokers can use a reason string to give more diagnostic i=
nformation.=C2=A0</div><div>Similarly, Server does include Will-Topic check=
 to re-authorisation, and triggers DISCONNECT if it cannot fulfill the Will=
.=C2=A0</div><div><br></div><div>I must have gotten myself confused as this=
 should have been the intention from the beginning as I have the following =
text in the draft:</div><div>&quot;If the Will Flag is set, then the Broker=
 MUST check that the token=C2=A0allows the publication of the Will message =
(i.e. the Will Topic=C2=A0filter is in the scope array).&quot; - which is i=
n the wrong place, and should be in CONNECT.=C2=A0<br></div><div>Still, it =
was under-specified, ie. if the check fails, it leads to Not Authorised etc=
.</div><div>]=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_quote"=
 style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);p=
adding-left:1ex">
<br>
&gt; Section 6.2<br>
&gt; &gt;<br>
&gt; &gt;=C2=A0 =C2=A0 o=C2=A0 RS-Client PUBLISH authorization failure: Whe=
n RS is forwarding<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0PUBLISH messages to the subscribed Clie=
nts, it may discover that<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0some of the subscribers are no more aut=
horized due to expired<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0tokens.=C2=A0 These token expirations S=
HOULD lead to disconnecting the<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0Client rather than silently dropping me=
ssages.<br>
&gt; &gt;<br>
&gt; &gt; (I&#39;m not actually sure how much the MQTT spec says about this=
 type of<br>
&gt; &gt; scenario, and thus whether the &quot;SHOULD&quot; is the right te=
rm to use.)<br>
&gt; &gt;<br>
&gt; <br>
&gt; [CS: MQTT v3.1 would not consider the clients losing authentication in=
 the<br>
&gt; middle of a session. I am not sure we can find guidance there on this.=
]<br>
<br>
It makes sense that we won&#39;t get much guidance, given that v3.1 was<br>
basically assuming password auth, which is &quot;one and done&quot; for the=
 whole<br>
connection.=C2=A0 I should have been more clear, though -- I think this is =
a<br>
candidate for &quot;MUST lead to disconnecting the client rather than silen=
tly<br>
dropping messages&quot;, and I wanted to know if you had a reason to make i=
t<br>
optional.<br></blockquote><div><br></div><div>[CS: Yes, MUST is better.I th=
ink SHOULD was for some reason if the broker doesn&#39;t want to drop</div>=
<div>connections abruptly, but silent errors are worse]</div><div>=C2=A0</d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
&gt; <br>
&gt; <br>
&gt; &gt; This document seems to mostly use British English.=C2=A0 AFAIR, t=
hat&#39;s okay,<br>
&gt; &gt; but if it&#39;s inconsistent the RFC Editor will prefer American =
English.=C2=A0 I<br>
&gt; &gt; didn&#39;t attempt to check for this (though there are tools like=
<br>
&gt; &gt; <a href=3D"https://github.com/larseggert/ietf-reviewtool" rel=3D"=
noreferrer" target=3D"_blank">https://github.com/larseggert/ietf-reviewtool=
</a> that will do so).<br>
&gt; &gt;<br>
&gt; <br>
&gt; [CS: Will check and Americanize. :) ]<br>
<br>
I *think* you don&#39;t have to Americanize :)<br>
It&#39;s just that if you have a mix, the RFC Editor will pick American eve=
ry<br>
time.=C2=A0 If it&#39;s consistently British they will leave it alone, is m=
y<br>
understanding.<br></blockquote><div><br></div><div>[CS: Unfortunately, havi=
ng studied in the US, and living in Britain, I mix things all the time.=C2=
=A0</div><div>So, I will make it consistent, one way or the other :) ]</div=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left:1px solid rgb(204,204,204);padding-left:1ex"><br><br>
&gt; &gt;<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0If=
 the RS supports the public<br>
&gt; &gt;=C2=A0 =C2=A0 &quot;authz-info&quot; topic, described in Section 2=
.2.2, then this may be<br>
&gt; &gt;=C2=A0 =C2=A0 vulnerable to a DDoS attack, where many Clients use =
the &quot;authz-info&quot;<br>
&gt; &gt;=C2=A0 =C2=A0 public topic to transport fictitious tokens, which R=
S may need to<br>
&gt; &gt;=C2=A0 =C2=A0 store indefinitely.<br>
&gt; &gt;<br>
&gt; &gt; We do say that the RS only stores &quot;valid&quot; tokens, which=
 includes being<br>
&gt; &gt; generated by a trusted AS and having RS as the audience.=C2=A0 So=
 it&#39;s not<br>
&gt; &gt; clear that this statement is accurate if the attack is to involve=
<br>
&gt; &gt; &quot;fictitious&quot; tokens.=C2=A0 Similar attacks are possible=
, though.<br>
&gt; &gt;<br>
&gt; <br>
&gt; [CS: OK,=C2=A0 We accept it can still be DOS&#39;ed? fictitious doesn&=
#39;t sound right.<br>
&gt; my intention was to say tokens not meant to be used.]<br>
<br>
Yes, this is still vulnerable to DDoS, but the pool of potential attackers<=
br>
is somewhat restricted.=C2=A0 In particular, if the AS only issues a small<=
br>
number of tokens with the RS as the audience, that bounds the amount of<br>
state that the RS has to maintain (but it could still be subject to<br>
resource exhaustion of resources like CPU when processing a bunch of<br>
invalid tokens).=C2=A0 So &quot;may need to store indefinitely&quot; might =
be the main<br>
thing I was commenting about here.<br></blockquote><div><br></div><div>[CS:=
 OK, will word more clearly.]=C2=A0</div><div><br></div><div>=C2=A0Thanks a=
 lot for your responses.</div><div>Kind regards,=C2=A0</div><div>--Cigdem=
=C2=A0</div></div></div>

--000000000000126c5a05ca7406d9--


From nobody Sun Aug 29 18:52:24 2021
Return-Path: <mohit06jan@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 E2D413A1259 for <ace@ietfa.amsl.com>; Sun, 29 Aug 2021 18:52:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 Qp16IZR7K53J for <ace@ietfa.amsl.com>; Sun, 29 Aug 2021 18:52:16 -0700 (PDT)
Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) (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 5325E3A1256 for <ace@ietf.org>; Sun, 29 Aug 2021 18:52:16 -0700 (PDT)
Received: by mail-lf1-x134.google.com with SMTP id x27so28156897lfu.5 for <ace@ietf.org>; Sun, 29 Aug 2021 18:52:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=gCIkEdsZU1ZDgZ5ctakMdVMMhZNGcEP2jBIzfqMYAak=; b=FsUl5z36kXxw8RU8L6G6Vc5R8ov0RWdgm9VNu2iBlGWZDp52XyWvOIm/OBK2Wq8J6F GB5yIqHhmN/iGrRrrzU/pJ85Q0nY3cO2tmjOtCi2s02+ueF4Sb8sm7aUgCvd25CEq04U Jk4WywS0i8Ps/smQufrNtrZLdRIQ9tHH/5Y93Q0PC8SKkGfhPcZ7n7pjYjMW8NwHN2nn YMTSEPo/kwX3dSRvXM/gbnSaKN4wsKNq2lY/b8QPly0/j7Vg32f/ayLMJrHt6fQWp6zu jvVP80coH8sQqb6efahP8R6mf8ABEibjtL60cG/BDd36952y6I8m8hKMpILyrqG2cT4y TCqQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=gCIkEdsZU1ZDgZ5ctakMdVMMhZNGcEP2jBIzfqMYAak=; b=YZ5L3rEuPk8GVZjHuE2OjkEjdjKEmTU1yN2bkie4/9+BJ3xwNF45cocvSRcZblfHjW Cy5MWBrf9BS8WP4GTWtkbl9qX/MzKacWJFIyMEy5aGuEjCDoqqAETPWsoluIdruB2jrH VlLcCM+uIRccmQJCad6Hg4DukILb2EybvVQfvtWwfLQ4taWP52gjJ2lJdyrVhQN9Hv40 55BJjFmBmUCwKJ63WK0UpZuz3sCV0HZ5CPUMgM5t8qOOIg8KZlEpInZDzONuMKdGBfT4 Db8t0OlnnwvLUQwNZHzqhAN9whedbGXD7QjrQn160UKyw9YLZmPgNNIurLeg1Up7x0/E nekA==
X-Gm-Message-State: AOAM532PHEdey5lgSuXm3l7PlRX7bHKRiUGV9mIfneBSRyy72xfKhPLD WX6c5gyqN7hadtT7QHl+6YcI/9pBvGXRouxRnfo=
X-Google-Smtp-Source: ABdhPJxWa9XFDmHwpcE4gX1uQPGSFYS9xRTJAWVFm82aHioW5IBt3jAKs8At8n5KKNgBxNOzRWSDRQLKHsDS3fBnrOM=
X-Received: by 2002:ac2:5ec2:: with SMTP id d2mr16244371lfq.250.1630288333062;  Sun, 29 Aug 2021 18:52:13 -0700 (PDT)
MIME-Version: 1.0
References: <162195022206.30344.3798071050372276240@ietfa.amsl.com> <CAEpwuw20QKD3fEUdTUeFw9aMQ69WfjgZNF++j-6UFV_0YudhUg@mail.gmail.com> <CADZyTknWhA_TyJqUMgk57=f16dO5otAHzpJYJhWsAjE8fn445Q@mail.gmail.com>
In-Reply-To: <CADZyTknWhA_TyJqUMgk57=f16dO5otAHzpJYJhWsAjE8fn445Q@mail.gmail.com>
From: Mohit Sahni <mohit06jan@gmail.com>
Date: Sun, 29 Aug 2021 18:52:04 -0700
Message-ID: <CAEpwuw2jPrSGD4e+oacsR9_6F8uq8VKKFbZXCpvhDWKg6PcQEg@mail.gmail.com>
To: Daniel Migault <mglt.ietf@gmail.com>
Cc: Ace Wg <ace@ietf.org>, David von Oheimb <david.von.oheimb@siemens.com>,  Saurabh Tripathi <stripathi@paloaltonetworks.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/xZEr_iKRzMKOrv2VfshpDoiWVk4>
Subject: Re: [Ace] I-D Action: draft-ietf-ace-cmpv2-coap-transport-02.txt
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: Mon, 30 Aug 2021 01:52:22 -0000

Hi Daniel
Thanks for the comments and sorry for taking a long time to reply.
Please find my resolutions to your comments below:
mglt1: I made the change with suggested text

mglt2:  You are correct that the motivation behind the HTTP-to-CoAP
proxy section is to make new entities using CoAP transport work with
the existing PKI entities using HTTP transport for CMP for quick
adoption. I will change the text to the suggested one.

mglt3: Originally writing the draft I was thinking to only capture the
use case of communication between EEs and RAs or EEs and CAs. The RAs
and CAs are most likely not the constraints devices so a use case of
RAs and CAs to talk among themselves over CoAP transport does not
exist and HTTP may be a better option for that purpose. I guess I can
remove that constraint from the draft.

mglt 4:
in Cmp Over HTTP transport, given that CMP has its own integrity and
privacy mechanisms, HTTP  is the default transport instead of HTTPs. I
am following the same convention.
I will remove cmp from the Iana section, looks like another draft that
was in progress with this one has added it to IANA.
operationalLabel and profileLabel are just examples, The idea is to
host multiple cmp services on these paths based on the functionality
(operational label) of the EEs (e.g. either networking devices, or
cameras or cell phones) or based on the CMP profile (set of supported
message and functionalities of the CMP protocol). I will add more
clarifications in this section.

mglt6:
I will update the section with ct attribute.

mglt7:
I will update the section with mention of the Observe option and why
we don't prefer to use it.

mglt8:
I will update that.

mglt9:
I will add additional information in the IANA section for requesting
new content type "application/pkixcmp".

For now I will skip requesting the IANA registration for cmp as its
already approved temporarily for ID [draft-ietf-lamps-cmp-updates-10]

Please let me know if this resolves your comments, I will shortly
update the next version of the draft with these resolutions. I
apologize for the delay in response.

Thanks
Mohit

On Fri, Jun 4, 2021 at 9:17 AM Daniel Migault <mglt.ietf@gmail.com> wrote:
>
> Hi,
>
> I have read the document and please find some comments below. I do not se=
e any major issues, and the most crucial point seems to proceed to the appr=
opriate procedure to register the IANA code points.
>
> Yours,
> Daniel
>
> mglt 1
>
> Since the text specifies that the document applies to specifically CMPv2 =
and CMPv3. I am wondering if we should not mention that both of these versi=
ons are designated as CMP in this document. The change I am proposing is so=
mething around the lines below. I will let the co-author choose whether thi=
s is more appropriate.
>
> OLD:
> This document specifies the use of CoAP over UDP as a transport medium fo=
r the CMP version 2 [RFC4210], CMP version 3 [Certificate-Management-Protoc=
ol-Updates] and Lightweight CMP Profile [Lightweight-CMP-Profile].
>
> NEW:
> This document specifies the use of CoAP over UDP as a transport medium fo=
r the CMP version 2 [RFC4210], CMP version 3 [Certificate-Management-Protoc=
ol-Updates] - designated as CMP in this document - and Lightweight CMP Prof=
ile [Lightweight-CMP-Profile].
>
> mglt 2
>
> """
> This document also provides guidance on how to use a "CoAP-to-HTTP" proxy=
 for a better adaptation of CoAP transport without significant changes to t=
he existing PKI entities.
> """
>
> It is not clear to me what better adaptation means nor the potential chan=
ges associated to the existing PKI. Note that I am not native English speak=
er so the comment might only concern myself and you are free to ignore it. =
My understanding of the motivations to describe "CoAP-to-HTTP"  is to inter=
connect CMP over CoAP with existing CMP over HTTP infrastructure which woul=
d reduce the overhead of providing CMP over CoAP and as such favor its adop=
tion.
>
> If that is correct, I am wondering if something around the lines could be=
 clearer - of course, feel free to change it:
>
> This document also provides guidance on how to use a "CoAP-to-HTTP" proxy=
 to ease adoption of CoAP transport by enabling the interconnection with ex=
isting PKI entities already providing CMP over HTTP.
>
> mglt 3
>
>
> """
> Although CoAP transport can be used for communication between Registratio=
n Authority (RA) and Certification Authority (CA) or between CAs, the scope=
 of this document is for communication between End Entity (EE) and RA or EE=
 and CA.  This document is applicable only when the CoAP transport is used =
for the CMP transactions.
> """
>
> For my knowledge, I am curious why we are making a distinction between CM=
P being used by an EE versus another entity. It seems to me that if the doc=
ument specifies how CMP can be used over CoAP this could be used by any ent=
ity willing to use CoAP. Whether these entities are willing to use CoAP or =
not seems to me orthogonal to the document. The last sentence sounds strang=
e to me. Overall I am wondering if we should not remove these lines, unless=
 I am missing something.
>
> mglt 4
>
> """
>    coap://www.example.com/.well-known/cmp
>    coap://www.example.com/.well-known/cmp/operationalLabel
>    coap://www.example.com/.well-known/cmp/profileLabel
>    coap://www.example.com/.well-known/cmp/profileLabel/operationalLabel
> """
>
> I am wondering if coaps would not be more appropriated for the example. I=
n addition, I see the registered name 'cmp' in the IANA section, but I woul=
d like t
> o understand if the document intends to specify operationalLabel profileL=
abel or if these are just provided as examples. If that is the case, I woul=
d like for my own knowledge to understand why we do not specify these addit=
ional URL schemes. ?
>
> mglt 6
>
>   """
> 2.2.  Discovery of CMP RA/CA
> """
>
> I am wondering if any should be mentioned regarding the 'ct' attribute "a=
pplication/pkixcmp". My understanding is that from 7252, is that not includ=
ing the 'ct' attribute means that no specific format is expected which is n=
ot the situation we are in. As a result, I am expecting the 'ct' attribute =
to be mentioned. I am wondering if that is worth clarifying ?
>
> mglt 7
>
> """
> 2.5.  Announcement PKIMessage
> """
>
> I understand this section as not recommending the use of Observe Option. =
If that is the case, It might clearer to mention the option at least as an =
example.
>
> mglt 8
>
> """
> 3.  Using CoAP over DTLS
> """
> I think that the reference to DTLS should be updated with draft-ietf-tls-=
dtls13.
>
> mglt 9
>
> """
> IANA section
> """
> The registration of the content type "application/pkixcmp" is described i=
n 7252 section 12.3
> https://datatracker.ietf.org/doc/html/rfc7252#section-12.3
> And it seems to me the IANA section needs to provide additional informati=
on to select the appropriate number.
>
>
> The registration of the 'cmp' needs to follow a specific process define d=
in RFC8615 section 3.1.
> https://datatracker.ietf.org/doc/html/rfc8615#section-3.1
> I am not aware this process has been initiated yet. If that is correct, p=
lease initiate it asap. It mostly consists in sending the appropriate email=
 and tracking the response. I would recommend CCing the WG, though I am not=
 sure that is required.
>
> On Tue, May 25, 2021 at 9:48 AM Mohit Sahni <mohit06jan@gmail.com> wrote:
>>
>> Hello Ace WG, I have submitted the new version of the draft based on
>> the feedback that I received during the WGLC. Please let me know if
>> any of the comments are not resolved.
>>
>> Thanks
>> Mohit
>>
>> On Tue, May 25, 2021 at 6:44 AM <internet-drafts@ietf.org> wrote:
>> >
>> >
>> > A New Internet-Draft is available from the on-line Internet-Drafts dir=
ectories.
>> > This draft is a work item of the Authentication and Authorization for =
Constrained Environments WG of the IETF.
>> >
>> >         Title           : CoAP Transport for Certificate Management Pr=
otocol
>> >         Authors         : Mohit Sahni
>> >                           Saurabh Tripathi
>> >         Filename        : draft-ietf-ace-cmpv2-coap-transport-02.txt
>> >         Pages           : 8
>> >         Date            : 2021-05-25
>> >
>> > Abstract:
>> >    This document specifies the use of Constrained Application Protocol
>> >    (CoAP) as a transport medium for the Certificate Management Protoco=
l
>> >    (CMP) as mentioned in the Lightweight CMP Profile
>> >    [Lightweight-CMP-Profile].  CMP defines the interaction between
>> >    various PKI entities for the purpose of certificate creation and
>> >    management.  CoAP is an HTTP like client-server protocol used by
>> >    various constrained devices in the IoT space.
>> >
>> >
>> > The IETF datatracker status page for this draft is:
>> > https://datatracker.ietf.org/doc/draft-ietf-ace-cmpv2-coap-transport/
>> >
>> > There is also an htmlized version available at:
>> > https://datatracker.ietf.org/doc/html/draft-ietf-ace-cmpv2-coap-transp=
ort-02
>> >
>> > A diff from the previous version is available at:
>> > https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-ace-cmpv2-coap-transpor=
t-02
>> >
>> >
>> > Internet-Drafts are also available by anonymous FTP at:
>> > ftp://ftp.ietf.org/internet-drafts/
>> >
>> >
>> > _______________________________________________
>> > Ace mailing list
>> > Ace@ietf.org
>> > https://www.ietf.org/mailman/listinfo/ace
>
>
>
> --
> Daniel Migault
> Ericsson


From nobody Sun Aug 29 23:17:29 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: ace@ietf.org
Delivered-To: ace@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 369773A14E1; Sun, 29 Aug 2021 23:17:28 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: ace@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.36.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: ace@ietf.org
Message-ID: <163030424815.30202.17404919642021844341@ietfa.amsl.com>
Date: Sun, 29 Aug 2021 23:17:28 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/RRLtt16FcMlI_uH3BPBlpLoOOw4>
Subject: [Ace] I-D Action: draft-ietf-ace-oauth-authz-45.txt
X-BeenThere: ace@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 30 Aug 2021 06:17:29 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Authentication and Authorization for Constrained Environments WG of the IETF.

        Title           : Authentication and Authorization for Constrained Environments (ACE) using the OAuth 2.0 Framework (ACE-OAuth)
        Authors         : Ludwig Seitz
                          Goeran Selander
                          Erik Wahlstroem
                          Samuel Erdtman
                          Hannes Tschofenig
	Filename        : draft-ietf-ace-oauth-authz-45.txt
	Pages           : 83
	Date            : 2021-08-29

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 and the Constrained Application Protocol (CoAP), 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.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-ace-oauth-authz/

There is also an htmlized version available at:
https://datatracker.ietf.org/doc/html/draft-ietf-ace-oauth-authz-45

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-ace-oauth-authz-45


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Sun Aug 29 23:19:06 2021
Return-Path: <ludwig.seitz@combitech.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 D87763A14E3 for <ace@ietfa.amsl.com>; Sun, 29 Aug 2021 23:19:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level: 
X-Spam-Status: No, score=-2.101 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=combitech.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 Ny21m3cNSdjT for <ace@ietfa.amsl.com>; Sun, 29 Aug 2021 23:18:56 -0700 (PDT)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40046.outbound.protection.outlook.com [40.107.4.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D6DE93A14E1 for <ace@ietf.org>; Sun, 29 Aug 2021 23:18:55 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mzeJtX9BPTnXcPF3Jd7CFJMgr6CX0MJir1zK/c6HV/r1TrNdMV3gU1okXhI52OwGRTDRRkDb0adtq/rNBhJbeQ/jsSArSWYo7evNxDAeDynwgc62L8gZVJxnyznUUq0/36yGWDAG5J+2zEfSPCZaZah1d/1GMhv3qG3gVR8iNVL4vgw7SNK+nO4jIiGnfXVYc77jkyvCi6qDRDF3x8ml2NmWcGKCKBF9WxxTKJ2YkjXwoBYsuUHnjjlhAmHaw1TkvyavDC6KAeT9DAeLXcpQ5j0ID/FoLQqgK4EKT3e+V8YmackS0kB741ino87zL9jLdhm9ozAG8sYVwECfZVTE4A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hFnjGAB6rgBgut3FRqThu3dW6gXGnZq98I3WLNt0Qjo=; b=LH7svlnuHlTQrLxMbYGEPgcshKyNkGL/W1/BlavNnrGh7Lj7IdRdpcra/m2J32TRpLvLFOMtmczhCpTeCKZ8eb7anKw4/QRPT0mEN1uirjvf8MWPQY2f4d/7Pok4jNgNYF85jYp7d4a1pKzVLGW6S7m6ZN4e3fYqzbV1BNfinHA4ggTgvSr9G+NmZ8v6rlkxP+EqNXk1ttiEdUd5LK+EPjPYUs+cFPm5BHXhkF7X/9uIbcOwAFZMp77KCYKHmcUuVWjXFpAUwk6fsr5L8N8Glh5u+obcBm7GXaC6URka4bRWVyghlHF5E5tYIJKh9Qwc2Mk8kwzQ8vFpMjrrdmnEpw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=combitech.com; dmarc=pass action=none header.from=combitech.com; dkim=pass header.d=combitech.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=combitech.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hFnjGAB6rgBgut3FRqThu3dW6gXGnZq98I3WLNt0Qjo=; b=CD7GVcWEQR101vEqve3FfAfEQBia/DoCTLko7eTk3aECo8K5XkSFR02/r214J9RqO9+MRe0lCHiNC24sFC4V0b5RAirYzqPZj49YQBu9QxxNch0K40pq8SWGcb2Hhr6lrOS0s6ewGvbKMBK7x2rAy7UjNJJIMq8a7Sj0HWGB+hmaQEu4GmMcbDtnWSqWOgtx+FndY8H04uucUKhP/KII69ktJ6mjpLWJwJzvPoPqZ6pzHpd1h/m94be64+rQOLKbx2+/X6D8p4mutJtCKR2MMaE7NthI+7RNGwzq23LJoej6SyYH+ZyP+onHrDG6qphghtqCR8bysAOywN3zIa0sVA==
Received: from AM0PR0302MB3363.eurprd03.prod.outlook.com (2603:10a6:208:c::21) by AM0PR03MB4675.eurprd03.prod.outlook.com (2603:10a6:208:c0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.23; Mon, 30 Aug 2021 06:18:47 +0000
Received: from AM0PR0302MB3363.eurprd03.prod.outlook.com ([fe80::c4f8:8d18:eb58:c4f]) by AM0PR0302MB3363.eurprd03.prod.outlook.com ([fe80::c4f8:8d18:eb58:c4f%7]) with mapi id 15.20.4457.024; Mon, 30 Aug 2021 06:18:47 +0000
From: Ludwig Seitz <ludwig.seitz@combitech.com>
To: "ace@ietf.org" <ace@ietf.org>
Thread-Topic: New Version Notification for draft-ietf-ace-oauth-authz-45.txt
Thread-Index: AQHXnWa4IXM4jPZxWkS6jhWNOBpuvKuLkrGQ
Date: Mon, 30 Aug 2021 06:18:47 +0000
Message-ID: <AM0PR0302MB3363AD6F196C5E042301319A9ECB9@AM0PR0302MB3363.eurprd03.prod.outlook.com>
References: <163030424873.30202.978232502057666283@ietfa.amsl.com>
In-Reply-To: <163030424873.30202.978232502057666283@ietfa.amsl.com>
Accept-Language: en-US, sv-SE
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_Enabled=true; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_SetDate=2021-08-30T06:18:45Z;  MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_Method=Standard; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_Name=Company Confidential; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_SiteId=0d11ac4a-ef5e-423a-803b-e51aacfa43d6; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_ActionId=e70d8ca6-bbe2-4edf-a000-dff0869a513b; MSIP_Label_71cffee6-aa30-4f5a-bbc3-434e7067f7b3_ContentBits=0
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=combitech.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: f074a86d-0def-461d-d3ea-08d96b7e06a5
x-ms-traffictypediagnostic: AM0PR03MB4675:
x-microsoft-antispam-prvs: <AM0PR03MB4675592B3A4BF35E3F05128D9ECB9@AM0PR03MB4675.eurprd03.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: rQg0pt+wVDWDoiDBRbbT9Kw04893kRqo2eXuX7Qczr9XOFdptO0SxZv96/il9HKhQJri8U8zzvWVOcJfPMtLnzm89VqAww+7CO2NasfWq9DMrrX1UXYVCReMtMNDHUqe5W8K3c77vbVVInBzFSs8ZP+wA5ZtZ03j374IeIrR4UdE+DZL6lYH9KlgA3kIsHrLBRSfh/nSSJuIu70G5fWLc1WP++IXjqBYwbNUQy+EUT1K7H0JXO3ayMMR0kC9OWjcyJ5XBZSZS3kMsGeMUn7ftLAPThZR7Q/aRBMWv5UAexy3y24iiGHbD0yuDDSwYS0StmRExCaUTrqaXXTWnhlUnZtwTrteHzJlwSswQxpmdHleKnZoXDjNmz0n2nBKSzMbSvTNqdNkAu5wRwIVqF7n3Imp1aRuHJKlen/JABnsMEgh3b3PikOE7v2y0X6THVKo4dwGAG0BrhxoI10J8dnzJ5SD4Y8TT1Y2NSJEhdTWGr4QiH2aG04i9G7FEIi5luhDvdAahN9aTSsplpVYPOAeUPC2u1tGFlWZ0Maa3Jc/Xm8WkE/ePSTqHOXO1DOuy87xxxXPfCEDANzHQKriFJADN9R+8RV7yjRD2NjY3cm+l3rD8k5OBeTNZXs7hRmxiGXFQpngbjb9bpKPErzYYhSFGP2ZqCpm7Gg0zo440dj3bPcqt5y/snWZCduxTinDmtJecgNA3yGMNm4xVMrcUmtj8JrwuV+ZgiG/ZPBCz2xXujjM7HMvDkt+Vxzt3J+uu50nmCqp1pcTDOl7Lxs64fDEYFE3shvk6O0+9t653ntBVa8=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM0PR0302MB3363.eurprd03.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(366004)(122000001)(6506007)(53546011)(9686003)(55016002)(5660300002)(26005)(966005)(52536014)(508600001)(38070700005)(33656002)(186003)(7696005)(71200400001)(38100700002)(8936002)(66574015)(76116006)(66446008)(2906002)(15650500001)(44832011)(8676002)(6916009)(66556008)(66476007)(66946007)(86362001)(83380400001)(316002)(64756008); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?bVA1aUpUeWpuSURLQ1Ivd09ORWRaZmxsZ3A3andTMXRxTDlkRDZNTjZtTGVv?= =?utf-8?B?M1NEYTRUemVncXpTUEVHKzlPV3JyZVF3Ry9YOWJ1NzM4NjRBaHl0Z080L0xa?= =?utf-8?B?WVBwUjhYbjB2M2xiZU1LcFovcSswTDVXMFdUQ25FK1p1bzVsamNhS24zeTZT?= =?utf-8?B?VnlmQ0xMQW9GUHJNTkxuMFA0eVo5SEFQVGJ1T2hEUFFPNnhMZXdVanlWalZF?= =?utf-8?B?UzVxL3RadGlMRGFSVmFlakV0WW5QUnp4MXhYUGxxalNMNWJid3dvWGhWeEh4?= =?utf-8?B?MmtsN0ZoenA5MEoxV3N3elJFSExTV0kzbHowV2hwQWVMZkdOMUVIcm9DZ2lv?= =?utf-8?B?dTJnNkNMQkJCSitZdy93VmZBaGZkVnBvV3I0eWRzUmlUQk5OWHZ5SE04MVYw?= =?utf-8?B?c1BlU213c09GaUxzVzhObHVLVE9MZWdHQ2phcTR3RnZXSFFDS3hWSkgrVk1q?= =?utf-8?B?aVZqbERwYXQ2ZUFhRC9ZdGE0dGJmQWQyZWNyVWNSUXdXMWlFNXpjbFAxRFRw?= =?utf-8?B?Y2U1N2dTUkJOY0ZtcHc5Q1dqYkxhb1MvMThqZG0zTyt2SzhUc3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ZlVPRE0zckFOcTlCMm9jekJhbnFoMHNnVWN0?= =?utf-8?B?d2daZXlQQllZRms3SVJDM0RNdmJFUG5aMmZkWWR1VW5nU0dmYXBvY3dpdFYw?= =?utf-8?B?TS8xTHdJYS83SytDL0RhSTF3MFp5SVg2Wm1acFVNdnJDNEFpaXAyNm9nS2RB?= =?utf-8?B?bDZPZmZLamV5NkgweGtaSWlxMjcxQkJkR1Vnb1NIVFdUQzFMQzJxcUIrWXpL?= =?utf-8?B?TDJwSmF0Y0YvU29pSEZsL1JvN0cra3R5S1kvdmxhQTd1YTJJNE5yQ3NoUzZs?= =?utf-8?Q?fYM5inG+ZQt/42xi9g=3D?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: combitech.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR0302MB3363.eurprd03.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: f074a86d-0def-461d-d3ea-08d96b7e06a5
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2021 06:18:47.0438 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 0d11ac4a-ef5e-423a-803b-e51aacfa43d6
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: bXqu3T1cxpviwzsr5HOrT5SZs3EolL9NxJ5vgO+FfzIAJKYWw0UAr3SgTReY4WeV1siz8b36GpnQjlbZKNWRSWqhVP2ObRqkvkKcea6svGE=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR03MB4675
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/dmnGVciJ5uxidkiOrhEjsFW7-pk>
Subject: [Ace] FW: New Version Notification for draft-ietf-ace-oauth-authz-45.txt
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: Mon, 30 Aug 2021 06:19:04 -0000

SGVsbG8gQUNFLA0KDQpUaGlzIHZlcnNpb24gZml4ZXMgYSBtaW5vciBlcnJvciBpbiAtNDQgKCdj
dGknIGdvdCBhY2NpZGVudGFsbHkgcmVtb3ZlZCBhcyBJbnRyb3NwZWN0aW9uIHJlc3BvbnNlIHBh
cmFtZXRlcikuDQoNCi9MdWR3aWcNCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206
IGludGVybmV0LWRyYWZ0c0BpZXRmLm9yZyA8aW50ZXJuZXQtZHJhZnRzQGlldGYub3JnPiANClNl
bnQ6IGRlbiAzMCBhdWd1c3RpIDIwMjEgMDg6MTcNClRvOiBFcmlrIFdhaGxzdHJvZW0gPGVyaWtA
d2FobHN0cm9tc3Rla25pc2thLnNlPjsgR29lcmFuIFNlbGFuZGVyIDxnb3Jhbi5zZWxhbmRlckBl
cmljc3Nvbi5jb20+OyBIYW5uZXMgVHNjaG9mZW5pZyA8SGFubmVzLlRzY2hvZmVuaWdAYXJtLmNv
bT47IEhhbm5lcyBUc2Nob2ZlbmlnIDxoYW5uZXMudHNjaG9mZW5pZ0Bhcm0uY29tPjsgTHVkd2ln
IFNlaXR6IDxsdWR3aWcuc2VpdHpAY29tYml0ZWNoLmNvbT47IFNhbXVlbCBFcmR0bWFuIDxlcmR0
bWFuQHNwb3RpZnkuY29tPjsgYWNlLWNoYWlyc0BpZXRmLm9yZw0KU3ViamVjdDogTmV3IFZlcnNp
b24gTm90aW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5lcyBhIGZyYW1ld29y
ayBmb3IgYXV0aGVudGljYXRpb24gYW5kDQogICBhdXRob3JpemF0aW9uIGluIEludGVybmV0IG9m
IFRoaW5ncyAoSW9UKSBlbnZpcm9ubWVudHMgY2FsbGVkIEFDRS0NCiAgIE9BdXRoLiAgVGhlIGZy
YW1ld29yayBpcyBiYXNlZCBvbiBhIHNldCBvZiBidWlsZGluZyBibG9ja3MgaW5jbHVkaW5nDQog
ICBPQXV0aCAyLjAgYW5kIHRoZSBDb25zdHJhaW5lZCBBcHBsaWNhdGlvbiBQcm90b2NvbCAoQ29B
UCksIHRodXMNCiAgIHRyYW5zZm9ybWluZyBhIHdlbGwta25vd24gYW5kIHdpZGVseSB1c2VkIGF1
dGhvcml6YXRpb24gc29sdXRpb24gaW50bw0KICAgYSBmb3JtIHN1aXRhYmxlIGZvciBJb1QgZGV2
aWNlcy4gIEV4aXN0aW5nIHNwZWNpZmljYXRpb25zIGFyZSB1c2VkDQogICB3aGVyZSBwb3NzaWJs
ZSwgYnV0IGV4dGVuc2lvbnMgYXJlIGFkZGVkIGFuZCBwcm9maWxlcyBhcmUgZGVmaW5lZCB0bw0K
ICAgYmV0dGVyIHNlcnZlIHRoZSBJb1QgdXNlIGNhc2VzLg0KDQogICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgDQoNCg0KVGhlIElFVEYgU2VjcmV0YXJpYXQNCg0KDQo=


From nobody Mon Aug 30 06:04:07 2021
Return-Path: <mglt.ietf@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 B3E913A09F0 for <ace@ietfa.amsl.com>; Mon, 30 Aug 2021 06:04:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 IU3VfIxAeAGH for <ace@ietfa.amsl.com>; Mon, 30 Aug 2021 06:04:01 -0700 (PDT)
Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) (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 1257C3A1076 for <ace@ietf.org>; Mon, 30 Aug 2021 06:04:01 -0700 (PDT)
Received: by mail-qv1-xf33.google.com with SMTP id g11so8216362qvd.2 for <ace@ietf.org>; Mon, 30 Aug 2021 06:04:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dn2Eb0MxqPTxwYsd4nQSlDF2cCkTltPwl3E9LwohRaI=; b=AzBYGc/4xJVH/Eg0CgLBGce7Tut/knkcEg6+j/Q+A6eFIx5W+DfZHjRCLFfhYrS8my aUbB8Gn5zNwqmx+VmopMNp3w6v6F1+ezWjXShLjXibdGuGhJrq6FZue7fOZkYC3+4DUv fRCPjDUAGM0/DrJCtuHewKsR+yMj5H4YaD/5uBeE8+Af3KpGDGrOZGaEzr5Hpmimd77i ekc3R4GkgbO1nWlnTo/3h3iSZSiqLnlrggEZPm6dH07yAdBMXcjr32uvdDa4yVT2SHUP XEXMFqRTV7HCxMxecQ9Ruv4Qhx88aXQCE73h9bcELadkqjJtZKHBwjfCMcl9z/vJbFIy 2EJQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dn2Eb0MxqPTxwYsd4nQSlDF2cCkTltPwl3E9LwohRaI=; b=YMtyPQcF91a9hq28vwTosINoL3m/8xGEy9b3pZnFtziDu+lyOoWE8JFd1KNZV8UHLh YaInOoncdvqWAq3uZNPpNnmxsbM+LkpBbyYXWuDNfZGcXCfTU/SQrcjqn9PrsZLIalp+ afr+kqsKejD9cDEWVMendNF6PyLhibOz6HP6akXwX9iPqTPtQTZBVokKrJtIXIK2kQij d/7EDJ9xnnrJ/ryxrK2GvoIU4sCB7KLPkAId4Bkz5VNt7/ihu6LG3yiUPq6B2HqUxw7A 39CsJo/RQSc3Y3k7QWxelWbBcOgTnGT2h8kpnKp5MqjlD8P4vWQdLMEOXSwr3ZDl6laj A4KA==
X-Gm-Message-State: AOAM53198kGdp3BKPfGEWyYcldHHbjfbysEN6R9KXlbr4EnkI44GtUVK hLoIWTi4hbyia0SeISrJYspIYr/3W5cKRvOZpcg=
X-Google-Smtp-Source: ABdhPJyOq/3GEgi5ZAJFENm/NM/sjYKWJ4NjDo9M0FVQumSVCFTTlzmLGqgUxfP56O7hHszYJ2rmdKBbdM/dJommrLU=
X-Received: by 2002:ad4:5247:: with SMTP id s7mr22946478qvq.58.1630328638830;  Mon, 30 Aug 2021 06:03:58 -0700 (PDT)
MIME-Version: 1.0
References: <162195022206.30344.3798071050372276240@ietfa.amsl.com> <CAEpwuw20QKD3fEUdTUeFw9aMQ69WfjgZNF++j-6UFV_0YudhUg@mail.gmail.com> <CADZyTknWhA_TyJqUMgk57=f16dO5otAHzpJYJhWsAjE8fn445Q@mail.gmail.com> <CAEpwuw2jPrSGD4e+oacsR9_6F8uq8VKKFbZXCpvhDWKg6PcQEg@mail.gmail.com>
In-Reply-To: <CAEpwuw2jPrSGD4e+oacsR9_6F8uq8VKKFbZXCpvhDWKg6PcQEg@mail.gmail.com>
From: Daniel Migault <mglt.ietf@gmail.com>
Date: Mon, 30 Aug 2021 09:03:47 -0400
Message-ID: <CADZyTkmN+tQhNpp-SzZ4PtwCrLfdZBDA4mz2XbBvSbE6azHJhw@mail.gmail.com>
To: Mohit Sahni <mohit06jan@gmail.com>
Cc: Ace Wg <ace@ietf.org>, David von Oheimb <david.von.oheimb@siemens.com>,  Saurabh Tripathi <stripathi@paloaltonetworks.com>
Content-Type: multipart/alternative; boundary="000000000000627d3005cac6773a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/-E1irp9cH99Ywvc6FBNn8KjFC8U>
Subject: Re: [Ace] I-D Action: draft-ietf-ace-cmpv2-coap-transport-02.txt
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: Mon, 30 Aug 2021 13:04:06 -0000

--000000000000627d3005cac6773a
Content-Type: text/plain; charset="UTF-8"

It seems fine to me. For the IANA section I would add a note to notify the
RFC editor that either we ar waiting for cmp-update to be published or that
the document publishes instead the URI suffix - of course we will have to
coordinate with the cmp-update co-authors.  The real situation we want to
avoid is that we describe something that is not registered.

Yours,
Daniel

On Sun, Aug 29, 2021 at 9:52 PM Mohit Sahni <mohit06jan@gmail.com> wrote:

> Hi Daniel
> Thanks for the comments and sorry for taking a long time to reply.
> Please find my resolutions to your comments below:
> mglt1: I made the change with suggested text
>
> mglt2:  You are correct that the motivation behind the HTTP-to-CoAP
> proxy section is to make new entities using CoAP transport work with
> the existing PKI entities using HTTP transport for CMP for quick
> adoption. I will change the text to the suggested one.
>
> mglt3: Originally writing the draft I was thinking to only capture the
> use case of communication between EEs and RAs or EEs and CAs. The RAs
> and CAs are most likely not the constraints devices so a use case of
> RAs and CAs to talk among themselves over CoAP transport does not
> exist and HTTP may be a better option for that purpose. I guess I can
> remove that constraint from the draft.
>
> mglt 4:
> in Cmp Over HTTP transport, given that CMP has its own integrity and
> privacy mechanisms, HTTP  is the default transport instead of HTTPs. I
> am following the same convention.
> I will remove cmp from the Iana section, looks like another draft that
> was in progress with this one has added it to IANA.
> operationalLabel and profileLabel are just examples, The idea is to
> host multiple cmp services on these paths based on the functionality
> (operational label) of the EEs (e.g. either networking devices, or
> cameras or cell phones) or based on the CMP profile (set of supported
> message and functionalities of the CMP protocol). I will add more
> clarifications in this section.
>
> mglt6:
> I will update the section with ct attribute.
>
> mglt7:
> I will update the section with mention of the Observe option and why
> we don't prefer to use it.
>
> mglt8:
> I will update that.
>
> mglt9:
> I will add additional information in the IANA section for requesting
> new content type "application/pkixcmp".
>
> For now I will skip requesting the IANA registration for cmp as its
> already approved temporarily for ID [draft-ietf-lamps-cmp-updates-10]
>
> Please let me know if this resolves your comments, I will shortly
> update the next version of the draft with these resolutions. I
> apologize for the delay in response.
>
> Thanks
> Mohit
>
> On Fri, Jun 4, 2021 at 9:17 AM Daniel Migault <mglt.ietf@gmail.com> wrote:
> >
> > Hi,
> >
> > I have read the document and please find some comments below. I do not
> see any major issues, and the most crucial point seems to proceed to the
> appropriate procedure to register the IANA code points.
> >
> > Yours,
> > Daniel
> >
> > mglt 1
> >
> > Since the text specifies that the document applies to specifically CMPv2
> and CMPv3. I am wondering if we should not mention that both of these
> versions are designated as CMP in this document. The change I am proposing
> is something around the lines below. I will let the co-author choose
> whether this is more appropriate.
> >
> > OLD:
> > This document specifies the use of CoAP over UDP as a transport medium
> for the CMP version 2 [RFC4210], CMP version 3
> [Certificate-Management-Protocol-Updates] and Lightweight CMP Profile
> [Lightweight-CMP-Profile].
> >
> > NEW:
> > This document specifies the use of CoAP over UDP as a transport medium
> for the CMP version 2 [RFC4210], CMP version 3
> [Certificate-Management-Protocol-Updates] - designated as CMP in this
> document - and Lightweight CMP Profile [Lightweight-CMP-Profile].
> >
> > mglt 2
> >
> > """
> > This document also provides guidance on how to use a "CoAP-to-HTTP"
> proxy for a better adaptation of CoAP transport without significant changes
> to the existing PKI entities.
> > """
> >
> > It is not clear to me what better adaptation means nor the potential
> changes associated to the existing PKI. Note that I am not native English
> speaker so the comment might only concern myself and you are free to ignore
> it. My understanding of the motivations to describe "CoAP-to-HTTP"  is to
> interconnect CMP over CoAP with existing CMP over HTTP infrastructure which
> would reduce the overhead of providing CMP over CoAP and as such favor its
> adoption.
> >
> > If that is correct, I am wondering if something around the lines could
> be clearer - of course, feel free to change it:
> >
> > This document also provides guidance on how to use a "CoAP-to-HTTP"
> proxy to ease adoption of CoAP transport by enabling the interconnection
> with existing PKI entities already providing CMP over HTTP.
> >
> > mglt 3
> >
> >
> > """
> > Although CoAP transport can be used for communication between
> Registration Authority (RA) and Certification Authority (CA) or between
> CAs, the scope of this document is for communication between End Entity
> (EE) and RA or EE and CA.  This document is applicable only when the CoAP
> transport is used for the CMP transactions.
> > """
> >
> > For my knowledge, I am curious why we are making a distinction between
> CMP being used by an EE versus another entity. It seems to me that if the
> document specifies how CMP can be used over CoAP this could be used by any
> entity willing to use CoAP. Whether these entities are willing to use CoAP
> or not seems to me orthogonal to the document. The last sentence sounds
> strange to me. Overall I am wondering if we should not remove these lines,
> unless I am missing something.
> >
> > mglt 4
> >
> > """
> >    coap://www.example.com/.well-known/cmp
> >    coap://www.example.com/.well-known/cmp/operationalLabel
> >    coap://www.example.com/.well-known/cmp/profileLabel
> >    coap://www.example.com/.well-known/cmp/profileLabel/operationalLabel
> > """
> >
> > I am wondering if coaps would not be more appropriated for the example.
> In addition, I see the registered name 'cmp' in the IANA section, but I
> would like t
> > o understand if the document intends to specify operationalLabel
> profileLabel or if these are just provided as examples. If that is the
> case, I would like for my own knowledge to understand why we do not specify
> these additional URL schemes. ?
> >
> > mglt 6
> >
> >   """
> > 2.2.  Discovery of CMP RA/CA
> > """
> >
> > I am wondering if any should be mentioned regarding the 'ct' attribute
> "application/pkixcmp". My understanding is that from 7252, is that not
> including the 'ct' attribute means that no specific format is expected
> which is not the situation we are in. As a result, I am expecting the 'ct'
> attribute to be mentioned. I am wondering if that is worth clarifying ?
> >
> > mglt 7
> >
> > """
> > 2.5.  Announcement PKIMessage
> > """
> >
> > I understand this section as not recommending the use of Observe Option.
> If that is the case, It might clearer to mention the option at least as an
> example.
> >
> > mglt 8
> >
> > """
> > 3.  Using CoAP over DTLS
> > """
> > I think that the reference to DTLS should be updated with
> draft-ietf-tls-dtls13.
> >
> > mglt 9
> >
> > """
> > IANA section
> > """
> > The registration of the content type "application/pkixcmp" is described
> in 7252 section 12.3
> > https://datatracker.ietf.org/doc/html/rfc7252#section-12.3
> > And it seems to me the IANA section needs to provide additional
> information to select the appropriate number.
> >
> >
> > The registration of the 'cmp' needs to follow a specific process define
> din RFC8615 section 3.1.
> > https://datatracker.ietf.org/doc/html/rfc8615#section-3.1
> > I am not aware this process has been initiated yet. If that is correct,
> please initiate it asap. It mostly consists in sending the appropriate
> email and tracking the response. I would recommend CCing the WG, though I
> am not sure that is required.
> >
> > On Tue, May 25, 2021 at 9:48 AM Mohit Sahni <mohit06jan@gmail.com>
> wrote:
> >>
> >> Hello Ace WG, I have submitted the new version of the draft based on
> >> the feedback that I received during the WGLC. Please let me know if
> >> any of the comments are not resolved.
> >>
> >> Thanks
> >> Mohit
> >>
> >> On Tue, May 25, 2021 at 6:44 AM <internet-drafts@ietf.org> wrote:
> >> >
> >> >
> >> > A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
> >> > This draft is a work item of the Authentication and Authorization for
> Constrained Environments WG of the IETF.
> >> >
> >> >         Title           : CoAP Transport for Certificate Management
> Protocol
> >> >         Authors         : Mohit Sahni
> >> >                           Saurabh Tripathi
> >> >         Filename        : draft-ietf-ace-cmpv2-coap-transport-02.txt
> >> >         Pages           : 8
> >> >         Date            : 2021-05-25
> >> >
> >> > Abstract:
> >> >    This document specifies the use of Constrained Application Protocol
> >> >    (CoAP) as a transport medium for the Certificate Management
> Protocol
> >> >    (CMP) as mentioned in the Lightweight CMP Profile
> >> >    [Lightweight-CMP-Profile].  CMP defines the interaction between
> >> >    various PKI entities for the purpose of certificate creation and
> >> >    management.  CoAP is an HTTP like client-server protocol used by
> >> >    various constrained devices in the IoT space.
> >> >
> >> >
> >> > The IETF datatracker status page for this draft is:
> >> > https://datatracker.ietf.org/doc/draft-ietf-ace-cmpv2-coap-transport/
> >> >
> >> > There is also an htmlized version available at:
> >> >
> https://datatracker.ietf.org/doc/html/draft-ietf-ace-cmpv2-coap-transport-02
> >> >
> >> > A diff from the previous version is available at:
> >> >
> https://www.ietf.org/rfcdiff?url2=draft-ietf-ace-cmpv2-coap-transport-02
> >> >
> >> >
> >> > Internet-Drafts are also available by anonymous FTP at:
> >> > ftp://ftp.ietf.org/internet-drafts/
> >> >
> >> >
> >> > _______________________________________________
> >> > Ace mailing list
> >> > Ace@ietf.org
> >> > https://www.ietf.org/mailman/listinfo/ace
> >
> >
> >
> > --
> > Daniel Migault
> > Ericsson
>


-- 
Daniel Migault
Ericsson

--000000000000627d3005cac6773a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>It seems fine to me. For the IANA section I would=C2=
=A0add a note to notify the RFC editor=C2=A0that either we ar waiting=C2=A0=
for cmp-update=C2=A0to be published or that the document publishes instead =
the URI suffix - of course=C2=A0we will have to coordinate with the cmp-upd=
ate co-authors.=C2=A0 The real situation we want to avoid is that we descri=
be something that is not registered.</div><div><br></div><div>Yours,=C2=A0<=
br>Daniel</div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gma=
il_attr">On Sun, Aug 29, 2021 at 9:52 PM Mohit Sahni &lt;<a href=3D"mailto:=
mohit06jan@gmail.com">mohit06jan@gmail.com</a>&gt; wrote:<br></div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px=
 solid rgb(204,204,204);padding-left:1ex">Hi Daniel<br>
Thanks for the comments and sorry for taking a long time to reply.<br>
Please find my resolutions to your comments below:<br>
mglt1: I made the change with suggested text<br>
<br>
mglt2:=C2=A0 You are correct that the motivation behind the HTTP-to-CoAP<br=
>
proxy section is to make new entities using CoAP transport work with<br>
the existing PKI entities using HTTP transport for CMP for quick<br>
adoption. I will change the text to the suggested one.<br>
<br>
mglt3: Originally writing the draft I was thinking to only capture the<br>
use case of communication between EEs and RAs or EEs and CAs. The RAs<br>
and CAs are most likely not the constraints devices so a use case of<br>
RAs and CAs to talk among themselves over CoAP transport does not<br>
exist and HTTP may be a better option for that purpose. I guess I can<br>
remove that constraint from the draft.<br>
<br>
mglt 4:<br>
in Cmp Over HTTP transport, given that CMP has its own integrity and<br>
privacy mechanisms, HTTP=C2=A0 is the default transport instead of HTTPs. I=
<br>
am following the same convention.<br>
I will remove cmp from the Iana section, looks like another draft that<br>
was in progress with this one has added it to IANA.<br>
operationalLabel and profileLabel are just examples, The idea is to<br>
host multiple cmp services on these paths based on the functionality<br>
(operational label) of the EEs (e.g. either networking devices, or<br>
cameras or cell phones) or based on the CMP profile (set of supported<br>
message and functionalities of the CMP protocol). I will add more<br>
clarifications in this section.<br>
<br>
mglt6:<br>
I will update the section with ct attribute.<br>
<br>
mglt7:<br>
I will update the section with mention of the Observe option and why<br>
we don&#39;t prefer to use it.<br>
<br>
mglt8:<br>
I will update that.<br>
<br>
mglt9:<br>
I will add additional information in the IANA section for requesting<br>
new content type &quot;application/pkixcmp&quot;.<br>
<br>
For now I will skip requesting the IANA registration for cmp as its<br>
already approved temporarily for ID [draft-ietf-lamps-cmp-updates-10]<br>
<br>
Please let me know if this resolves your comments, I will shortly<br>
update the next version of the draft with these resolutions. I<br>
apologize for the delay in response.<br>
<br>
Thanks<br>
Mohit<br>
<br>
On Fri, Jun 4, 2021 at 9:17 AM Daniel Migault &lt;<a href=3D"mailto:mglt.ie=
tf@gmail.com" target=3D"_blank">mglt.ietf@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I have read the document and please find some comments below. I do not=
 see any major issues, and the most crucial point seems to proceed to the a=
ppropriate procedure to register the IANA code points.<br>
&gt;<br>
&gt; Yours,<br>
&gt; Daniel<br>
&gt;<br>
&gt; mglt 1<br>
&gt;<br>
&gt; Since the text specifies that the document applies to specifically CMP=
v2 and CMPv3. I am wondering if we should not mention that both of these ve=
rsions are designated as CMP in this document. The change I am proposing is=
 something around the lines below. I will let the co-author choose whether =
this is more appropriate.<br>
&gt;<br>
&gt; OLD:<br>
&gt; This document specifies the use of CoAP over UDP as a transport medium=
 for the CMP version 2 [RFC4210], CMP version 3 [Certificate-Management-Pro=
tocol-Updates] and Lightweight CMP Profile [Lightweight-CMP-Profile].<br>
&gt;<br>
&gt; NEW:<br>
&gt; This document specifies the use of CoAP over UDP as a transport medium=
 for the CMP version 2 [RFC4210], CMP version 3 [Certificate-Management-Pro=
tocol-Updates] - designated as CMP in this document - and Lightweight CMP P=
rofile [Lightweight-CMP-Profile].<br>
&gt;<br>
&gt; mglt 2<br>
&gt;<br>
&gt; &quot;&quot;&quot;<br>
&gt; This document also provides guidance on how to use a &quot;CoAP-to-HTT=
P&quot; proxy for a better adaptation of CoAP transport without significant=
 changes to the existing PKI entities.<br>
&gt; &quot;&quot;&quot;<br>
&gt;<br>
&gt; It is not clear to me what better adaptation means nor the potential c=
hanges associated to the existing PKI. Note that I am not native English sp=
eaker so the comment might only concern myself and you are free to ignore i=
t. My understanding of the motivations to describe &quot;CoAP-to-HTTP&quot;=
=C2=A0 is to interconnect CMP over CoAP with existing CMP over HTTP infrast=
ructure which would reduce the overhead of providing CMP over CoAP and as s=
uch favor its adoption.<br>
&gt;<br>
&gt; If that is correct, I am wondering if something around the lines could=
 be clearer - of course, feel free to change it:<br>
&gt;<br>
&gt; This document also provides guidance on how to use a &quot;CoAP-to-HTT=
P&quot; proxy to ease adoption of CoAP transport by enabling the interconne=
ction with existing PKI entities already providing CMP over HTTP.<br>
&gt;<br>
&gt; mglt 3<br>
&gt;<br>
&gt;<br>
&gt; &quot;&quot;&quot;<br>
&gt; Although CoAP transport can be used for communication between Registra=
tion Authority (RA) and Certification Authority (CA) or between CAs, the sc=
ope of this document is for communication between End Entity (EE) and RA or=
 EE and CA.=C2=A0 This document is applicable only when the CoAP transport =
is used for the CMP transactions.<br>
&gt; &quot;&quot;&quot;<br>
&gt;<br>
&gt; For my knowledge, I am curious why we are making a distinction between=
 CMP being used by an EE versus another entity. It seems to me that if the =
document specifies how CMP can be used over CoAP this could be used by any =
entity willing to use CoAP. Whether these entities are willing to use CoAP =
or not seems to me orthogonal to the document. The last sentence sounds str=
ange to me. Overall I am wondering if we should not remove these lines, unl=
ess I am missing something.<br>
&gt;<br>
&gt; mglt 4<br>
&gt;<br>
&gt; &quot;&quot;&quot;<br>
&gt;=C2=A0 =C2=A0 coap://<a href=3D"http://www.example.com/.well-known/cmp"=
 rel=3D"noreferrer" target=3D"_blank">www.example.com/.well-known/cmp</a><b=
r>
&gt;=C2=A0 =C2=A0 coap://<a href=3D"http://www.example.com/.well-known/cmp/=
operationalLabel" rel=3D"noreferrer" target=3D"_blank">www.example.com/.wel=
l-known/cmp/operationalLabel</a><br>
&gt;=C2=A0 =C2=A0 coap://<a href=3D"http://www.example.com/.well-known/cmp/=
profileLabel" rel=3D"noreferrer" target=3D"_blank">www.example.com/.well-kn=
own/cmp/profileLabel</a><br>
&gt;=C2=A0 =C2=A0 coap://<a href=3D"http://www.example.com/.well-known/cmp/=
profileLabel/operationalLabel" rel=3D"noreferrer" target=3D"_blank">www.exa=
mple.com/.well-known/cmp/profileLabel/operationalLabel</a><br>
&gt; &quot;&quot;&quot;<br>
&gt;<br>
&gt; I am wondering if coaps would not be more appropriated for the example=
. In addition, I see the registered name &#39;cmp&#39; in the IANA section,=
 but I would like t<br>
&gt; o understand if the document intends to specify operationalLabel profi=
leLabel or if these are just provided as examples. If that is the case, I w=
ould like for my own knowledge to understand why we do not specify these ad=
ditional URL schemes. ?<br>
&gt;<br>
&gt; mglt 6<br>
&gt;<br>
&gt;=C2=A0 =C2=A0&quot;&quot;&quot;<br>
&gt; 2.2.=C2=A0 Discovery of CMP RA/CA<br>
&gt; &quot;&quot;&quot;<br>
&gt;<br>
&gt; I am wondering if any should be mentioned regarding the &#39;ct&#39; a=
ttribute &quot;application/pkixcmp&quot;. My understanding is that from 725=
2, is that not including the &#39;ct&#39; attribute means that no specific =
format is expected which is not the situation we are in. As a result, I am =
expecting the &#39;ct&#39; attribute to be mentioned. I am wondering if tha=
t is worth clarifying ?<br>
&gt;<br>
&gt; mglt 7<br>
&gt;<br>
&gt; &quot;&quot;&quot;<br>
&gt; 2.5.=C2=A0 Announcement PKIMessage<br>
&gt; &quot;&quot;&quot;<br>
&gt;<br>
&gt; I understand this section as not recommending the use of Observe Optio=
n. If that is the case, It might clearer to mention the option at least as =
an example.<br>
&gt;<br>
&gt; mglt 8<br>
&gt;<br>
&gt; &quot;&quot;&quot;<br>
&gt; 3.=C2=A0 Using CoAP over DTLS<br>
&gt; &quot;&quot;&quot;<br>
&gt; I think that the reference to DTLS should be updated with draft-ietf-t=
ls-dtls13.<br>
&gt;<br>
&gt; mglt 9<br>
&gt;<br>
&gt; &quot;&quot;&quot;<br>
&gt; IANA section<br>
&gt; &quot;&quot;&quot;<br>
&gt; The registration of the content type &quot;application/pkixcmp&quot; i=
s described in 7252 section 12.3<br>
&gt; <a href=3D"https://datatracker.ietf.org/doc/html/rfc7252#section-12.3"=
 rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org/doc/html=
/rfc7252#section-12.3</a><br>
&gt; And it seems to me the IANA section needs to provide additional inform=
ation to select the appropriate number.<br>
&gt;<br>
&gt;<br>
&gt; The registration of the &#39;cmp&#39; needs to follow a specific proce=
ss define din RFC8615 section 3.1.<br>
&gt; <a href=3D"https://datatracker.ietf.org/doc/html/rfc8615#section-3.1" =
rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org/doc/html/=
rfc8615#section-3.1</a><br>
&gt; I am not aware this process has been initiated yet. If that is correct=
, please initiate it asap. It mostly consists in sending the appropriate em=
ail and tracking the response. I would recommend CCing the WG, though I am =
not sure that is required.<br>
&gt;<br>
&gt; On Tue, May 25, 2021 at 9:48 AM Mohit Sahni &lt;<a href=3D"mailto:mohi=
t06jan@gmail.com" target=3D"_blank">mohit06jan@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hello Ace WG, I have submitted the new version of the draft based =
on<br>
&gt;&gt; the feedback that I received during the WGLC. Please let me know i=
f<br>
&gt;&gt; any of the comments are not resolved.<br>
&gt;&gt;<br>
&gt;&gt; Thanks<br>
&gt;&gt; Mohit<br>
&gt;&gt;<br>
&gt;&gt; On Tue, May 25, 2021 at 6:44 AM &lt;<a href=3D"mailto:internet-dra=
fts@ietf.org" target=3D"_blank">internet-drafts@ietf.org</a>&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; A New Internet-Draft is available from the on-line Internet-D=
rafts directories.<br>
&gt;&gt; &gt; This draft is a work item of the Authentication and Authoriza=
tion for Constrained Environments WG of the IETF.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Title=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0: CoAP Transport for Certificate Management Protocol<br=
>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Authors=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0: Mohit Sahni<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Saurabh Tripathi<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Filename=C2=A0 =C2=A0 =C2=A0=
 =C2=A0 : draft-ietf-ace-cmpv2-coap-transport-02.txt<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Pages=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0: 8<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Date=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 : 2021-05-25<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Abstract:<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 This document specifies the use of Constrained A=
pplication Protocol<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 (CoAP) as a transport medium for the Certificate=
 Management Protocol<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 (CMP) as mentioned in the Lightweight CMP Profil=
e<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 [Lightweight-CMP-Profile].=C2=A0 CMP defines the=
 interaction between<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 various PKI entities for the purpose of certific=
ate creation and<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 management.=C2=A0 CoAP is an HTTP like client-se=
rver protocol used by<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 various constrained devices in the IoT space.<br=
>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; The IETF datatracker status page for this draft is:<br>
&gt;&gt; &gt; <a href=3D"https://datatracker.ietf.org/doc/draft-ietf-ace-cm=
pv2-coap-transport/" rel=3D"noreferrer" target=3D"_blank">https://datatrack=
er.ietf.org/doc/draft-ietf-ace-cmpv2-coap-transport/</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; There is also an htmlized version available at:<br>
&gt;&gt; &gt; <a href=3D"https://datatracker.ietf.org/doc/html/draft-ietf-a=
ce-cmpv2-coap-transport-02" rel=3D"noreferrer" target=3D"_blank">https://da=
tatracker.ietf.org/doc/html/draft-ietf-ace-cmpv2-coap-transport-02</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; A diff from the previous version is available at:<br>
&gt;&gt; &gt; <a href=3D"https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-ace=
-cmpv2-coap-transport-02" rel=3D"noreferrer" target=3D"_blank">https://www.=
ietf.org/rfcdiff?url2=3Ddraft-ietf-ace-cmpv2-coap-transport-02</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Internet-Drafts are also available by anonymous FTP at:<br>
&gt;&gt; &gt; <a href=3D"ftp://ftp.ietf.org/internet-drafts/" rel=3D"norefe=
rrer" target=3D"_blank">ftp://ftp.ietf.org/internet-drafts/</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Ace mailing list<br>
&gt;&gt; &gt; <a href=3D"mailto:Ace@ietf.org" target=3D"_blank">Ace@ietf.or=
g</a><br>
&gt;&gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/ace" rel=3D"=
noreferrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/ace</a>=
<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Daniel Migault<br>
&gt; Ericsson<br>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
 class=3D"gmail_signature"><div dir=3D"ltr"><div>Daniel Migault<br></div><d=
iv>Ericsson</div></div></div></div>

--000000000000627d3005cac6773a--


From nobody Mon Aug 30 06:22:14 2021
Return-Path: <mglt.ietf@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 A708D3A116A for <ace@ietfa.amsl.com>; Mon, 30 Aug 2021 06:22:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 ZD_62La69ua7 for <ace@ietfa.amsl.com>; Mon, 30 Aug 2021 06:22:07 -0700 (PDT)
Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) (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 588D73A1161 for <ace@ietf.org>; Mon, 30 Aug 2021 06:22:07 -0700 (PDT)
Received: by mail-qv1-xf31.google.com with SMTP id z2so8197588qvl.10 for <ace@ietf.org>; Mon, 30 Aug 2021 06:22:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to; bh=JPfvVyhdsaZ8u+/5P04myWbmuIRi1nY/iNc1ERFQWeo=; b=HCVXeamDuUTwmWT+na54Z7UMwdcvdyQtpeZlMRkq49R+9JLBFzE5D2V9GrqldR45jt WDmf6dKe5sN8KfGqiM2iujtByp81+4GsHM/L/vw922FHsd++gBEHbpg3aHghGRpEeHch t9HZIPK2Q/fv035yrqBbThWxmSaUwnaEZ0DkJjnktsLCBLseyxshzVeHPro+LCbWXEwJ cqHmyo9A1U0LlfuT56xu49mXO+O5bkH1j+ip8zeUyTWU9hcLYKwTWAu5o8IsoemJzW27 xQUpZojT6T5KCW6b0Kq+OWJQJWwGxhfIxVh3ruIHxPCSwWrcsML5hgDmjhp3594duuzC N8fQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JPfvVyhdsaZ8u+/5P04myWbmuIRi1nY/iNc1ERFQWeo=; b=fs9Y4D+dmFHWo6hBmmiKFpNvmvo5lNhiSnJ2pEQ+FE5oB+i/VT/3r2rCvawBxl/hN2 uX5dH6xCFkwcGjRiyeCqdIuWhdbBW82BjQuyMSxvAESCri+2iyYkEX/X1CWztpX+pvaw tfaxDQ3hIye7td5YMwoKX2oMVoHFkLeI9CAdaENF19QfE26uzoHoLuMx6LNQitkHxC9y 7VOFBIC/2o14uX2e6wMq2lgUepfGQet416e/3GYuQ5graPnZmcSIeVGg1fC3sSfmIRZ0 25VR3W29aRT8J/98g4Q7FK0mdEDUXe9rCAriV/pL8ex1/c7braYq9T1Rq09g+3ecMsF/ uuxg==
X-Gm-Message-State: AOAM530MLfskIkq1gzrJ/W/BdYj6gjxVT+79XkJ0xjJ7YylPUkk5NeHE I/2f+4lHCwGCkNObGR8aQeOKI8mA6zZA3fxd8l7GMFr4U+Y=
X-Google-Smtp-Source: ABdhPJzZBlK4X1wwQiAknZfI3jFAtpu4bPQjObnwh/1is2xj/54h9UhiVQeZatj7p/Uy/BVARdt780uxTWLONuF02IU=
X-Received: by 2002:ad4:5247:: with SMTP id s7mr23043161qvq.58.1630329725619;  Mon, 30 Aug 2021 06:22:05 -0700 (PDT)
MIME-Version: 1.0
From: Daniel Migault <mglt.ietf@gmail.com>
Date: Mon, 30 Aug 2021 09:21:54 -0400
Message-ID: <CADZyTknOa+ZJgEPu48h5x3s4WuKt9-n=MCsGgkWtgRx2d_1kCQ@mail.gmail.com>
To: Ace Wg <ace@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000029904d05cac6b85b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/_l0SaRWLqHvkLFgrJ0O5IxCGRYA>
Subject: [Ace] WGLC for draft-ietf-ace-key-groupcomm
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: Mon, 30 Aug 2021 13:22:13 -0000

--00000000000029904d05cac6b85b
Content-Type: text/plain; charset="UTF-8"

Hi,

As mentioned during the IETF meeting this email starts a WGLC
 for draft-ietf-ace-key-groupcomm [1]. Please take the time to review
the document and provide your comments/feed backs by Sept 13.

Yours,
Logan and Daniel


[1] https://datatracker.ietf.org/doc/draft-ietf-ace-key-groupcomm/


-- 
Daniel Migault
Ericsson

--00000000000029904d05cac6b85b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,=C2=A0<div><br></div><div>As mentioned during the IETF =
meeting this email starts a=C2=A0<span class=3D"gmail-il">WGLC</span>=C2=A0=
for=C2=A0draft-ietf-<span class=3D"gmail-il">ace</span>-key-groupcomm [1]. =
Please take the time to review the=C2=A0document and provide=C2=A0your comm=
ents/feed backs by Sept 13.</div><div><br></div><div>Yours,=C2=A0<br>Logan =
and Daniel</div><div><br></div><div>=C2=A0<br clear=3D"all"><div>[1]=C2=A0<=
a href=3D"https://datatracker.ietf.org/doc/draft-ietf-ace-key-groupcomm/" t=
arget=3D"_blank">https://datatracker.ietf.org/doc/draft-ietf-<span class=3D=
"gmail-il">ace</span>-key-groupcomm/</a><font color=3D"#888888"><br></font>=
</div><font color=3D"#888888"><div><br></div></font></div><div><br></div>--=
 <br><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_sig=
nature"><div dir=3D"ltr"><div>Daniel Migault<br></div><div>Ericsson</div></=
div></div></div>

--00000000000029904d05cac6b85b--


From nobody Mon Aug 30 06:39:32 2021
Return-Path: <mglt.ietf@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 C89883A123E for <ace@ietfa.amsl.com>; Mon, 30 Aug 2021 06:39:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 lsqsqTiSU3wf for <ace@ietfa.amsl.com>; Mon, 30 Aug 2021 06:39:25 -0700 (PDT)
Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (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 AFFAA3A1219 for <ace@ietf.org>; Mon, 30 Aug 2021 06:39:25 -0700 (PDT)
Received: by mail-qt1-x836.google.com with SMTP id x5so11631684qtq.13 for <ace@ietf.org>; Mon, 30 Aug 2021 06:39:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to; bh=e5OG3REISxRbGgI0Ad/j0+KcGURCBYxDey5mUm/LxNw=; b=vGzO8bbA6BYQpgGMqawbtFykTcMXfpeVWY/oDIugH9et8SDMs68p3odLyyJHpHMLGQ ZVFGqehUX6GRlCPDOZHVSTXECsc/BleWGQx7ICgWvO9yw0F0DZTdsxMcO+jOzlrll26g ogCGglZXIGdlg5pPERY80RIuyJaFugu21b4d/9zSi7r1kBtW/EU7MZd7UohAnCZrhbYO ZNdL4fSkCNa2JB/iIR1jtBHLNamxTRulH6c7kS9OmV37fnWEHsJb2qGVz7i5t15iqD7+ upap0h706ytpiLHQiO0k3LgD71T1UJqVxcOYpyM/9CnGhz+BRVNfffBIVyAYic37LSN0 nIjA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=e5OG3REISxRbGgI0Ad/j0+KcGURCBYxDey5mUm/LxNw=; b=cbpTXi5p9Ah46q6jCdxJaJTSEHK6Ux22iHbK4yXASH8Rp876ABzinxmWdbYQMvaqnT HoW+qaZcZuLoCPNUrk4Wn4iQIpDmObAiRovrl76gF+k7ylgEBFXOMxM1K4fWaJURGcbE qSgUY5+tn7RpaINbwhMgFyIJNo8Na4DS4cYlKR4Wgaw2uIqlksfRN/eE2gVjVGQA99z9 elIUHCuQLumbWQYSwGhQqbWKk3dZnyY7t6zbjuct8kwfihvCqYAH3LopQTdJGHuTHiHp 5JcsQUhxYiaHAQo6gFbI6/pe5sgqnJszQeSwUQEBrCMz9yVz0oXqycrGR8w7YRGGsVww C0sg==
X-Gm-Message-State: AOAM531luFWazqUs5SDvquMgH9Er5qGqOEANsdgKiSR0tpHWeNBa7DX2 6ls12jsh1/bVDSt0sfr3rNI9XL4/Gzp4tpWdkPePQxNaVlY=
X-Google-Smtp-Source: ABdhPJyWDGG/beZbvGrY3FUrgFRFtiNEeQthNN8F7jG9lQwthZuGI1JjMaHdo5hQ8EcM5rQSVD8mSWAAovEEKWgEcc0=
X-Received: by 2002:ac8:4d99:: with SMTP id a25mr20858151qtw.36.1630330763203;  Mon, 30 Aug 2021 06:39:23 -0700 (PDT)
MIME-Version: 1.0
From: Daniel Migault <mglt.ietf@gmail.com>
Date: Mon, 30 Aug 2021 09:39:12 -0400
Message-ID: <CADZyTkmU=hR1JrV=VoSXefoE8YHgx+24dAZS__=J=cu35yARgw@mail.gmail.com>
To: Ace Wg <ace@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000001d8c805cac6f6a4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/M_4v3lqvOiOJdRdcaYEOjY9wn8Q>
Subject: [Ace] Tuesday 2021-09-14 14:00 UTC
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: Mon, 30 Aug 2021 13:39:31 -0000

--00000000000001d8c805cac6f6a4
Content-Type: text/plain; charset="UTF-8"

Hi,

Please note that we do have an interim meeting on September 14. A potential
agenda could be:

## Agenda
* Note Well,  agenda bashing
  * minute taker, blue sheet
* Agenda Bashing
* WGLC
  * key-groupcomm
  * cmpv2-coap-transport
  * wg-coap-eap
* Ongoing Work
  * pubsub-profile
  * gm-admin
  * groupcomm-oscore

Feel free to propose any additional topic here:
https://notes.ietf.org/notes-ietf-interim-2021-ace-12-ace
and upload you material here:
https://datatracker.ietf.org/meeting/interim-2021-ace-12/session/ace

Yours,
Logan and Daniel

-- 
Daniel Migault
Ericsson

--00000000000001d8c805cac6f6a4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>Please note that we do have an inte=
rim meeting on September 14. A potential agenda could be:</div><div><br></d=
iv><div>## Agenda<br>* Note Well, =C2=A0agenda bashing<br>=C2=A0 * minute t=
aker, blue sheet <br>* Agenda Bashing<br>* WGLC<br>=C2=A0 * key-groupcomm<b=
r>=C2=A0 * cmpv2-coap-transport<br>=C2=A0 * wg-coap-eap<br>* Ongoing Work<b=
r>=C2=A0 * pubsub-profile<br>=C2=A0 * gm-admin<br>=C2=A0 * groupcomm-oscore=
<br></div><div><br></div><div>Feel free to propose any additional=C2=A0topi=
c here:</div><div><a href=3D"https://notes.ietf.org/notes-ietf-interim-2021=
-ace-12-ace">https://notes.ietf.org/notes-ietf-interim-2021-ace-12-ace</a><=
br></div><div>and upload you material here:</div><div><div><a href=3D"https=
://datatracker.ietf.org/meeting/interim-2021-ace-12/session/ace" target=3D"=
_blank">https://datatracker.ietf.org/meeting/interim-2021-ace-12/session/ac=
e</a><br></div><div><br></div><div>Yours,=C2=A0</div><div>Logan and Daniel<=
/div><div><br></div>-- <br><div dir=3D"ltr" data-smartmail=3D"gmail_signatu=
re"><div dir=3D"ltr"><div>Daniel Migault<br></div><div>Ericsson</div></div>=
</div></div></div>

--00000000000001d8c805cac6f6a4--


From nobody Mon Aug 30 11:14:53 2021
Return-Path: <marco.tiloca@ri.se>
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 0F6363A1CA4; Mon, 30 Aug 2021 11:14:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ri.se
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 aj4Ddj8QCX1f; Mon, 30 Aug 2021 11:14:45 -0700 (PDT)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40048.outbound.protection.outlook.com [40.107.4.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AA49A3A1C9F; Mon, 30 Aug 2021 11:14:41 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=clnD9Kq2h9IYimhlrijo8tVX3LYUrzSutk/dHbB/hJVjImVkc4WHF+J1qtNItl6VbdfOswiYovkmmyUrNbef/I5L2l5we2jKJTNg9mePN3puQsj+ioOogkZrjtLBXjfKS4YkCqDMDtKoHA+Yb56l0HObbfFSYh4x7wl88p+xxGFVKmsTNmDYoh/JEqBLDxhR111ymZxGPGVWkznXPaZhtgz1FGZIVg9irdfeXk7y7ZsZ04liK3uEvByqU1lTkTQEXIdP4qpJYtvNsGesrlgx74vdnNllmELYqjuqw6u+H15HICBFZt3P8bOwFfSOoxStHzWNkIZrbhLN70ItJD9Y8Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DQ657+xmpv+9dasni/BfXO+3USZAC2Q9IKvRyMDOk6M=; b=gPQt24ZwNr0wOIpxCJ6y159R2ejIL8uvId+dTtX0ndrjzhb6efH1hLb8ILdbeEuLglrpldr3ziaeuBMIjJfU9/ALHH++h568MosniArABTzT26qRrqtfM59wfdCQoFaOqK9+rnnzgR5Z9O8coEIusCLDOyRg9LWWZ8xdAmAIw15rK1Ba/9L1ESSpe8BTdwTQZP+1Gn3DZF1MUyrFKIVzGtSqOXTDzNe1uPI2DU1EB69tiAoJju9XENmDV5IznQUyioIrnYMBkmRIfMqOqTdg5+uL+GhgjHyQZgI1iEo9G8VXWXcB4DqEswJ1/Modg0S9NwCXXSVqkPaoK4PGWSwtXw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ri.se; dmarc=pass action=none header.from=ri.se; dkim=pass header.d=ri.se; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ri.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DQ657+xmpv+9dasni/BfXO+3USZAC2Q9IKvRyMDOk6M=; b=HOV/RGpqUp5HNNYGxa9g68jwKjllXIspyDknj8+C4fgkVWBYYqKSZHzuT3t34L63brUtiRrXMghz0A+XZNWsY1H7ZwAYjhRAjF6U0d5OkVtCX8I6nmbMa5F3VJOm6O3v4d6WXHQsi6LXmXSZ90EK6QiDMKPWkEsXTO8P0COq5uE=
Authentication-Results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=ri.se;
Received: from DB8P189MB1032.EURP189.PROD.OUTLOOK.COM (2603:10a6:10:16e::14) by DB8P189MB0620.EURP189.PROD.OUTLOOK.COM (2603:10a6:10:128::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.20; Mon, 30 Aug 2021 18:14:38 +0000
Received: from DB8P189MB1032.EURP189.PROD.OUTLOOK.COM ([fe80::a9af:c9af:e0cc:4e53]) by DB8P189MB1032.EURP189.PROD.OUTLOOK.COM ([fe80::a9af:c9af:e0cc:4e53%3]) with mapi id 15.20.4457.024; Mon, 30 Aug 2021 18:14:38 +0000
To: draft-ietf-ace-pubsub-profile@ietf.org
Cc: ace@ietf.org
From: Marco Tiloca <marco.tiloca@ri.se>
Message-ID: <7312f414-23c6-fefa-7528-ab4ffb3575e6@ri.se>
Date: Mon, 30 Aug 2021 20:14:35 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="cF77ydkLPx7IuavdLNO2exyANM214tzE6"
X-ClientProxiedBy: HE1P191CA0001.EURP191.PROD.OUTLOOK.COM (2603:10a6:3:cf::11) To DB8P189MB1032.EURP189.PROD.OUTLOOK.COM (2603:10a6:10:16e::14)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from [10.8.1.4] (185.219.140.117) by HE1P191CA0001.EURP191.PROD.OUTLOOK.COM (2603:10a6:3:cf::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.20 via Frontend Transport; Mon, 30 Aug 2021 18:14:37 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 39f0435e-9de9-4c3f-4910-08d96be20724
X-MS-TrafficTypeDiagnostic: DB8P189MB0620:
X-Microsoft-Antispam-PRVS: <DB8P189MB0620FD79DD2D90B050E5792199CB9@DB8P189MB0620.EURP189.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:6108;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: JhvpHOSgbmRlrhxy7oaNNumQO8TZVXVXTzGWlPPncY1WpKtSI5KqTSGKKFJiJRouy+RIHGC3iA/p5J2iM0hB/wFapCDgiiKERG+tZktJCj4bAI6qbQ8oqSZyhXHb3mfbxuZ9/hkTE9KHwpM0BaIINNqtNXEob9yOX6/3/v2e4h+3ELllbe6OSMZywuk4T3oYCQyP/SK0BfxPvuuon4CaYrcwY4FjYtTWSs30HW5NnbxGXiov80Y2xiQuA8HWExzNryqn4oVrA/yg++TZRlcZeKyWRPQh7s6HbmNrBOhWcuH4eQpnVETz//frhp2rsyWBztfgycMlusBktNE89JWs3A4JbLX02otcLR0Lp1skYnaQiFTK2Z879WoAshvpyafNKLH3POEUYpYlf+XwOgP/k717Wxs6FDtXH4eQZhlUoTuQT1v/OPqb9DscNJ84/ZgoUhv8c2jl/kO+r/ViaRo0DinlOwziCWNhenII9mLRU1+k3iq/IcGG8emIdX9pWNTAV1PPv7t/sHBGWL6MAQgm2TuO6C9RIC3yofIO6rflWhD9gZNXGfbhtWIx9hBW7CYkgB9nuJv7nPronia+7lWtJIck0rR4VnOY1l5nRxs0jGKcNi6cbqH6L9zGUdhnP8M6ovoY+FLprqhtWKis02r3Y1rEU65fHVwsB6hlAe8BV3DMCWQcu3GEYn8j54rkP16RGw58ALo7a3zzXEKltD8NNECIcNBcgzbO4m92a7OV1E5IW5SE9LXt4EZGgv7ue8VOr1UCx928pcKK2pW/qWE9ITRAwIJDxfqCZZcJv1u8ZuJlUHlsUv2T2mGwxVUTjwS/
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:DB8P189MB1032.EURP189.PROD.OUTLOOK.COM; PTR:; CAT:NONE;  SFS:(4636009)(396003)(136003)(366004)(346002)(39860400002)(376002)(8676002)(6486002)(38100700002)(6916009)(2906002)(21480400003)(66476007)(235185007)(956004)(66556008)(36756003)(86362001)(5660300002)(16576012)(44832011)(316002)(31696002)(2616005)(66946007)(8936002)(33964004)(4326008)(19627235002)(26005)(31686004)(450100002)(478600001)(66574015)(83380400001)(30864003)(966005)(186003)(43740500002)(45980500001); DIR:OUT; SFP:1101; 
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TGpSS0g1YzJXeGVjQ01WdmlZVldERVEyRTdzTWU4NnZQUmdFQUhKTmpiTEEx?= =?utf-8?B?cUtPektSeHFzaDNqNFRzQTQ4dVhQbmZsNlZlUitiNVFqNHZ6QTczUVBHZWlT?= =?utf-8?B?SWIraWZYdFZwaTVaZzlLSHUxU0lNZ0pDNWt1L1VZd0p6bjArR05LSUpCNTZE?= =?utf-8?B?di9vV0xLU1ZlREJXc0IrYlBEaS9vdkluYTFUSHIvVjN0MnpyZ09pOHQvQ2Ra?= =?utf-8?B?aHA3bDVWSGphSnZDZ3BObjRjK3FTTkNjOTRUa3JWMGQ1V1hjRWY2dGozZ09Z?= =?utf-8?B?T29MQ0NrelE4T0lCYWZtUGJISkpyVkhnRVdaeXhZSUlvdkRNYVZVbXcvc0JI?= =?utf-8?B?SU81SUJlekVuZzRmTzNMZnYzMFdocjdiRGplTzdFb0F1clZNaEdOeGI4TkNu?= =?utf-8?B?d2o1ZE4wUWxHRVFXTzNDV0JvM05WOWZtbmtjdFh6ck15Y3JxcURYaW8ydTRM?= =?utf-8?B?TzA5SDBhc3ZhcTZZb2lNVk1OUjRLeXlkNm5ZaklyL3c1RlFWS3ZNNy9iQzdB?= =?utf-8?B?b1VFNTkyQ2ZWQWl3Wk1RUUNYcWVPK003NVJqUVM5a3MvVHRvSUJEZXdScVJy?= =?utf-8?B?NWFIYnVEbjRSOCsxaUJxaHErR2JKZG1ZY2lYeTJKdFlhbFJ1aXhaVmkrdEta?= =?utf-8?B?TGlIL0hIcU1SS1FLM3pkRzVvRU8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utf-8?B?dTBnbXJ1TGFLQWlOUkhrUkl2K1NqTWt0ZVR0OHdMRTRiOG5qdVRkb3A2TFd4?= =?utf-8?B?SHJtSXpsZ0tocFcxSzA4U3VpRTArajJ3NVc3L2h3VXJXV0pFRDFBRzJ0TlQ1?= =?utf-8?B?ZjBWekVGSFVoZFdseHNNTzlyc2FYRzAydWhWRmZvZC8yeTM4WEhMUjdEQnVG?= =?utf-8?Q?CwnmApM9LR0aGaKcPOCazcqAzT7yUch+9annhWS?=
X-OriginatorOrg: ri.se
X-MS-Exchange-CrossTenant-Network-Message-Id: 39f0435e-9de9-4c3f-4910-08d96be20724
X-MS-Exchange-CrossTenant-AuthSource: DB8P189MB1032.EURP189.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Aug 2021 18:14:37.8724 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5a9809cf-0bcb-413a-838a-09ecc40cc9e8
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: uWJZvq3B8kYvoqi//H6dVyG8rZZSCIOHeCz5DdvKM/WuQXJ+BGik+j87mpE/vSZWyvTB4PzbNjrBVqne9rJTew==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8P189MB0620
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/Ge3UJxSoQjoo6IAenGBBBjtkUqo>
Subject: [Ace] Review of draft-ietf-ace-pubsub-profile-03
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: Mon, 30 Aug 2021 18:14:52 -0000

--cF77ydkLPx7IuavdLNO2exyANM214tzE6
Content-Type: multipart/mixed; boundary="PLla7NKvpCMysFUaadpOn7Jf45T9gM8Cf";
 protected-headers="v1"
From: Marco Tiloca <marco.tiloca@ri.se>
To: draft-ietf-ace-pubsub-profile@ietf.org
Cc: ace@ietf.org
Message-ID: <7312f414-23c6-fefa-7528-ab4ffb3575e6@ri.se>
Subject: Review of draft-ietf-ace-pubsub-profile-03

--PLla7NKvpCMysFUaadpOn7Jf45T9gM8Cf
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US

Hi all,

Please, see below my review of version -03.

Overall, I think this is on the right track and I do appreciate having=20
converged to a single AS :-)

I hope the comments can help improving and progressing the document!

Best,
/Marco




This review uses "KG" to refer to draft-ietf-ace-key-groupcomm-13 [KG],=20
and "KGO" to refer to draft-ietf-ace-key-groupcomm-oscore-11 [KGO].

[KG] https://datatracker.ietf.org/doc/html/draft-ietf-ace-key-groupcomm-1=
3

[KGO]=20
https://datatracker.ietf.org/doc/html/draft-ietf-ace-key-groupcomm-oscore=
-11


[General]

* Please, replace references to RFC 8152 with references to=20
draft-ietf-cose-rfc8152bis-algs and I-draft-ietf-cose-rfc8152bis-struct.


* This draft is basically using only the ace-group/GROUPNAME resource at =

the KDC defined in KG, and only its POST handler for joining a group.=20
Will this draft describe/mention also how the rest of the KDC interface=20
is used by the pub-sub clients?


[Abstract]

* "This profile relies on transport layer or application layer security=20
to authorize the pub-sub clients to the broker".

 =C2=A0=C2=A0 This is aligned with the currently existing transport profi=
les of=20
ACE (based on DTLS and OSCORE). However, do you actually want to limit=20
that security enforcement to those two layers?

 =C2=A0=C2=A0 More in general, I think this application profile can build=
 on any=20
transport profile of ACE that the broker and the KDC are fine to use=20
with the pub-sub clients. This seems in fact the intention later in=20
Section 2 and Section 4.2, where some transport profiles are mentioned=20
as a non final set to choose from.


* Proposed expansion of the last sentence:

 =C2=A0=C2=A0 "... it describes the use of application layer security to =
protect=20
the content that pub-sub clients exchange by communicating through the=20
broker."


* While it is mentioned later in Section 1, I think that the abstract=20
should already mention that this profile covers both CoAP and MQTT.


[Section 1]

* "This document defines a way to authorize pub-sub clients using the=20
ACE framework ...".

 =C2=A0=C2=A0=C2=A0 Please, clarify what they are authorized to do. Conce=
ptually, it=20
should be about joining a security group that uses certain key material=20
and is associated to one or more topics (application groups).=20
Practically, this should mean being authorized to getting access to the=20
broker and to obtaining the key material for protecting the topic=20
content exchanged through the broker.


* "... for protecting the communication between them".

 =C2=A0=C2=A0 I would emphasize that it is about protecting the content, =
exhanged=20
by communicating through the broker (see also the related comment above=20
for the Abstract).


* After "(CoAP)", please add a reference to RFC 7252.


[Section 2]

* "Note that both publishers and subscribers use the same profiles."

 =C2=A0=C2=A0 I suggest to expand as follows: "Note that both publishers =
and=20
subscribers use the same pub-sub communication protocol and the same=20
transport profile of ACE in their interaction with the broker. The same=20
profile of ACE is also used in the interaction with the KDC."


* Caption of Figure 1: s/Authorization Servers/Authorization Server


* "... so that RS can authorize the Clients ..."

 =C2=A0=C2=A0 Well, the AS is the one authorizing the Clients. I think yo=
u mean=20
"... so that RS can assert the Clients to be authorized ..."


* I suggest to move the following points out of the last paragraph, and=20
instead have them after "... to as Client in short."

 =C2=A0=C2=A0 - The broker acts as ACE RS.
 =C2=A0=C2=A0 - The broker corresponds to the Dispatcher in KG.


* The last sentences can be expanded for clarity, e.g.: "... the Broker=20
MAY accept subscriptions from unauthorised Subscribers. In this case, a=20
Subscriber client can skip setting up Security Association 1 with the=20
Broker, before subscribing to topics of interest at the Broker."


[Section 3.2]

* Consistently with the first paragraph, the section title can be=20
"Authorising to the KDC and the Broker".


* About 'scope', s/the topic identifier/the topic identifiers


* About 'audience', it cannot be an array, but only a single text=20
string, see [1]. If you want to keep a single Token intended to both KDC =

and broker, then you neeed to rely on a single audience value that both=20
the KDC and the broker recognize as valid. A possible way can rely on=20
the KDC identifier and the broker identifier separated by a well-known=20
and unambiguous separator.

[1]=20
https://datatracker.ietf.org/doc/html/draft-ietf-ace-oauth-authz-45#secti=
on-5.8.5


* More generally about using a single Token intended to both KDC and=20
broker, that requires additional security when protecting the Token, as=20
per [2].

 =C2=A0=C2=A0 First, you would need the AS to also protect the Token with=
 an=20
asymmetric signature, that both the KDC and the broker have to verify=20
using the AS' public key. See the second paragraph of [2].

 =C2=A0=C2=A0 Second, since the same Token is targeting multiple Resource=
 Servers=20
as part of a broader audience, you cannot have a same single secret used =

as symmetric PoP key, see the third paragraph of [2]. This seems to=20
limit the use of the DTLS profile to its aymmetric mode only, and to=20
rule out the use of the OSCORE profile.

 =C2=A0=C2=A0 I don't see an obvious way out, other than reverting to two=
 separate=20
Tokens, i.e. one to post to the KDC and one to post to the broker.

 =C2=A0=C2=A0 [2]=20
https://datatracker.ietf.org/doc/html/draft-ietf-ace-oauth-authz-45#secti=
on-6.1



* If a single Token is used for both the KDC and the broker, one=20
additional clarification is probably required.

 =C2=A0=C2=A0 Since the 'scope' claim in Token indicates names of applica=
tion=20
groups, posting the the Token to the broker indicates which topics the=20
client is authorized to publish/subscribe to.

 =C2=A0=C2=A0 However, what does it mean when posted to the KDC? I suppos=
e it=20
authorizes the pub-sub client to obtain from the KDC the key material=20
for any security group associated to any of the application groups=20
mentioned in the Token.

 =C2=A0=C2=A0 Note that the 'scope' parameter of the Joining Request to t=
he KDC=20
specifies the name of the security group for which the key material is=20
requested. So, the KDC will need a kind of internal mapping from names=20
of application groups (in the Token) to names of security groups (in the =

'scope' of the Joining Request). Even in the simple (and most common)=20
case where only one security group is associated to an application=20
group, the two names might differ and it's up to the client to know both =

of them in advance --- through pre-configuration, discovery, etc.


* s/'profile' is set/the 'ace_profile' claim is set=C2=A0 (two occurrence=
s)


[Section 4.1]

* By using 'sign_info' during the Token post, the client cannot ask for=20
the public keys already, but only for the format of public keys used in=20
the group.


* "The KDC verifies that the Client is authorized to access the topic=20
with the requested role."

 =C2=A0=C2=A0 Well, the KDC is in a trust relation with the AS issuing th=
e posted=20
Token (and only following a successful check of a Token request against=20
stored access policies). So, at this stage on the KDC, isn't this just=20
about verifying that the Token is valid?


[Section 4.2]

* Considering its content and the examples, the section can be renamed=20
as "Join Request and Join Response".


* The content-format of the Joining Request is=20
"application/ace-groupcomm+cbor". That's the "namespace" where these new =

ACE Groupcomm parameters have been registered, see Section 7 of KG.


* As to 'scope', here it is not "as defined earlier". In comparison with =

the format defined earlier, it specifies only one scope entry, i.e. the=20
one indicating the exact topic for which the client wants to obtain the=20
key material with this Joining Request. This is also defined in Section=20
4.1.2.1 of KG.


* "... Client's public key formatted as a COSE_Key"

 =C2=A0=C2=A0 In KG, there has been a change about the format of public k=
eys used=20
in a group.

 =C2=A0=C2=A0 Pure COSE Keys are not admitted anymore, due to their limit=
ations to=20
represent identities or other metadata. This is aligned with=20
corresponding changes done for the same reasons in draft-ietf-lake-edhoc =

and draft-ietf-core-oscore-groupcomm .

 =C2=A0=C2=A0 The format of public keys used in the group and indicated i=
n the=20
parameter 'pub_key_enc' now takes value from the "COSE Header=20
Parameters" registry, for which some entries are under pending registrati=
on.

 =C2=A0=C2=A0 The easiest way to "somehow still use COSE Keys" is to use =
the=20
public key format Unprotected CWT Claim Set (UCCS) [3], including a COSE =

Key as value of its 'cnf' claim. Please, see an example below. You can=20
find some more detail on this point in Sections 6.1 and 6.4 of KGO.

{=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0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2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 /kty/
 =C2=A0=C2=A0=C2=A0=C2=A0 -1 : 6,=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 /crv/
 =C2=A0=C2=A0=C2=A0=C2=A0 -2 : h'C6EC665E817BD064340E7C24BB93A11E=C2=A0=C2=
=A0 /x/
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 8EC07=
35CE48790F9C458F7FA340B8CA3'
 =C2=A0=C2=A0=C2=A0 }
 =C2=A0 }
}

 =C2=A0=C2=A0 [3] https://datatracker.ietf.org/doc/draft-ietf-rats-uccs/


* On expectable actions around "TODO: Check 'cnonce'", you may also want =

to look at Sections 6.2.1 and 6.3 of KGO.


* "The Subscriber MUST have access to the public keys of all the=20
Publishers; this MAY be achieved ... using "pub" as the 'role_filter' ...=
"

 =C2=A0=C2=A0 Why do you need the filtering feature here? It would still =
work, but=20
based on the previous sentence in the same paragraph, the KDC has=20
available to provide only public keys of publishers anyway. So, asking=20
for all the public keys in the group with 'get_pub_keys' encoding the=20
CBOR simple value Null will return only the public keys of publishers by =

construction.


* "Note that the alg parameter in the 'client_cred' COSE_Key ..."

 =C2=A0=C2=A0 See the comment above about the format of public keys not u=
sing pure=20
COSE Keys anymore.


* s/The KDC response to Joining Response/The KDC replies with a Joining=20
Response


* The fields of the joining response are defined in Section 4.1.2.1 of=20
KG (not in its Section 4.2).


* The content-format of the Joining Response is=20
"application/ace-groupcomm+cbor".


* When describing 'key', "defined by the AS2" is mentioned for both=20
'alg' and 'Base IV'. I guess this is a remnant from previous versions of =

the draft having both AS1 and AS2.


* Before defining the format of the Joining Response, it's good to=20
introduce the symmetric key as generated by the KDC, later provided to=20
all the clients joining the group, and what it is used for.


* "... public keys of all authorized signing members ...", which means=20
just the publishers, right?


* "... formatted as COSE_Keys ..."

 =C2=A0=C2=A0=C2=A0 See the comment above about the format of public keys=
 not using=20
pure COSE Keys anymore.


* "... For Subscriber Clients, the Joining Response MUST contain the=20
'pub_keys' parameter."

 =C2=A0=C2=A0=C2=A0 Why? Even if the client did not ask for them in the J=
oining=20
Request? The sub-resource at ace-group/GROUPNAME/pub-key allows for a=20
later retrieval, possibly spreading the provisioning of public keys in=20
different exchanges through filtering.

 =C2=A0=C2=A0=C2=A0 If you really want what you're saying here, it might =
be just easier=20
to say upfront for the Joining Request that Subscriber Clients MUST=20
include 'get_pub_keys' --- While that uses a MAY at the moment.


* Figure 6 and Figure 9 will need to be revised based on the comment=20
above about the format of public keys not using pure COSE Keys anymore.


* The public key of Figure 6 (in 'client_cred') and of Figure 9 (in=20
'pub_keys') includes also the 'kid' header parameter. This is not=20
mentioned earlier in the text describing the Joining Request and Joining =

Response.

 =C2=A0=C2=A0 In particular for 'client_cred' in the Joining Request, thi=
s gives=20
the impression that it is up to the client to self-assign a 'kid' value=20
to its own public key. This can later result in collisions, i.e. two=20
publishers may have a public key with the same 'kid' value. Later on,=20
this in turn puts a subscriber at least in a situation where it might=20
have to try verifying a message signature using different public keys,=20
until the right one is used.

 =C2=A0=C2=A0 I think it's better that the KDC exclusively determines the=
se=20
identifiers, as uniquely associated not only to the public key for its=20
retrieval but also to the corresponding publisher client. As to the=20
actual provisioning of these identifiers, there are two ways:

 =C2=A0=C2=A0 a) The one currently used in the Joining Response, where th=
at=20
identifier is the value of the 'kid' header parameter; or, as I believe=20
a better option,

 =C2=A0=C2=A0 b) The separate 'peer_identifiers' parameter defined in Sec=
tion=20
4.1.2.1 of KG.

 =C2=A0=C2=A0 In either case, I think it's fine later on in Section 5.1 t=
o have a=20
published message specifying in the 'kid' COSE parameter the identifier=20
to use for retrieving the right public key.


* Based on a comment above on which public keys the KDC actually stores, =

Figure 8 may have 'get_pub_keys' simply encoding the CBOR simple value Nu=
ll.


[Section 5]

* s/is protected with COSE/is protected with COSE by the publisher (two=20
occurrences)


* Figure 11 and the following paragraph should show/mention that, when=20
using CoAP, Observe (RFC 7641) is used together with GET in order to=20
effectively subscribe. See also [4].

[4]=20
https://datatracker.ietf.org/doc/html/draft-ietf-core-coap-pubsub-09#sect=
ion-4.4


* I think it can be better to swap this current Section 5 with the=20
current Section 6. Even though separately for the CoAP and MQTT case,=20
Section 6 covers the Token posting at the broker, which happens before=20
the actual pub-sub communication described in Section 5.


[Section 5.1]

* s/COSE_Encrypt0/COSE_Encrypt0 object


* I suppose the empty string for the 'external_aad' applies to both the=20
encryption and the signing process. Correct?


* In order to encrypt the message, how do you build the AEAD nonce?

 =C2=A0=C2=A0 All the group members have the same Base IV received in the=
 Joining=20
Response, and clearly they are not expected to synchronize with one=20
another about their individual message counter used as Partial IV.=20
Hence, the basic Message IV construction constisting in xoring the Base=20
IV with the zero-padded Partial IV yields the risk of reusing the same=20
(nonce, key) pair.

 =C2=A0=C2=A0 If the KDC exclusively assigns the identifiers for public k=
eys and=20
group members (see comment above), it should work to build the AEAD=20
nonce in a similar way like OSCORE does, see [5].

 =C2=A0=C2=A0 That would also mean having a quite smaller Partial IV in t=
he=20
unprotected header of the COSE_Encrypt0 object, while now in Figure 12=20
it consistently has a size of 7 bytes as expected for the AEAD nonce by=20
AES-CCM-64-64-128.

 =C2=A0=C2=A0 [5] https://datatracker.ietf.org/doc/html/rfc8613#section-5=
=2E2


* Please, add a reference to draft-ietf-cose-countersign , and specify=20
that you are using the structure COSE_Countesignature.

 =C2=A0=C2=A0 As a related point, the value 7 used for 'countersign' in F=
igure 12=20
is going to be deprecated [6], so it'll need to be updated later on.

 =C2=A0=C2=A0 [6]=20
https://datatracker.ietf.org/doc/html/draft-ietf-cose-countersign-05#sect=
ion-5.2


* "The protected Headers ... MAY contain the kid parameter, ..."

 =C2=A0=C2=A0 It is optional for the KDC to provide one in the Joining Re=
sponse,=20
but I guess that if one is provided, then it MUST be included in the=20
protected header.


[Section 6.1]

* "For implementation simplicity, it is RECOMMENDED that the ACE=20
transport profile used and this specification use the same format of=20
"scope".

 =C2=A0=C2=A0 Is this actually meaningful and enforceable?

 =C2=A0=C2=A0 The format of scope is related to the application that the =
Client=20
and the RS want to run. In fact, these _application_ profiles for group=20
communication are defining formats to use for scope, in Tokens used to=20
access resources related to such applications.

 =C2=A0=C2=A0 In other words, I think the format of scope is orthogonal t=
o the=20
used transport profile, that basically does not care (and should not). I =

also can't find anything suggesting otherwise in the ACE framework [7]=20
or in the DTLS and OSCORE profiles.

 =C2=A0=C2=A0 Unless I'm missing something, it's probably just fine to re=
move the=20
sentence.

 =C2=A0=C2=A0 [7]=20
https://datatracker.ietf.org/doc/html/draft-ietf-ace-oauth-authz-45#appen=
dix-C


[Section 6.2]

* "An application group has relevance at the application level - for=20
example, in MQTT an application group could denote all topics stored=20
under ""home/lights/"."

 =C2=A0=C2=A0 For what is worth, I thought of one exact topic to be one=20
application group. So, in the example above, "home/lights/" can be seen=20
a reasoned collection of related application groups, but not as an=20
application group itself.


* "... the client needs to discover the (application group, security=20
group) association. In MQTT, $SYS/ ... can be used by the broker for=20
this purpose."

 =C2=A0=C2=A0 The security group here is related to the key material used=
 to=20
protect the content with COSE, which is competence of the KDC. That key=20
material is intended for the security group members, which do not=20
include the broker.

 =C2=A0=C2=A0 Hence, unless the KDC and the broker are components of a sa=
me system=20
under the same authority, I would have expected the broker to have no=20
idea of how the application groups it manages are related to the=20
security groups that the KDC manages.

 =C2=A0=C2=A0 I would rather expect the KDC to be aware of such associati=
ons, e.g.=20
by learning about them when the security groups are actually created on=20
it. The KDC can later on advertise these associations. For the Group=20
OSCORE case targeted in KGO, this can happen through a Resource=20
Directory, as discussed in [8] and using the approach defined in [9].

 =C2=A0=C2=A0 [8] https://datatracker.ietf.org/doc/draft-ietf-ace-oscore-=
gm-admin/

 =C2=A0=C2=A0 [9] https://datatracker.ietf.org/doc/draft-tiloca-core-osco=
re-discovery/


* "Client computes the corresponding security groups ..."

 =C2=A0=C2=A0 Do you mean "Client considers ..." ?


* "RS validates the PUBLISH message by checking the topic's security=20
group association and the stored token."

 =C2=A0=C2=A0 Even having the broker aware of the association (applicatio=
n group,=20
security group) as defined in the draft, how does this validation work?

 =C2=A0=C2=A0 - The protected message targets a resource at the broker as=
sociated=20
to the application group.
 =C2=A0=C2=A0 - By assumption, the broker knows the security group(s) ass=
ociated=20
to the application group.
 =C2=A0=C2=A0 - From the broker's point of view, the Token specifies the =

application group.

 =C2=A0=C2=A0 I understand checking whether the request to the broker tar=
gets a=20
topic resource (an application group) where the client is authorized to=20
publish as per the Token. But how does the mentioned validation involve=20
checking that the request is also related to the security group?

 =C2=A0=C2=A0 Also, is that actually important for the broker, which by t=
he way=20
does not have the key material of the security group?


[Section 7]

* "... by the same entity having control of the topic, i.e. KDC."

 =C2=A0=C2=A0 Perhaps here you mean "... by the same entity having contro=
l of the=20
key material for that topic, i.e. KDC."


* The second paragraph seems to mix together authorization to publish=20
and source-authentication of messages.

 =C2=A0=C2=A0 If it is not critical that only authorized publishers can p=
ublish,=20
then the broker might not necessarily enforce access control on=20
publishers. That is, a publication request would be accepted and=20
processed even if there was no posted Token supporting this operation.

 =C2=A0=C2=A0 Instead, not using an additional signature and relying only=
 on=20
integrity-protected encryption based on group key material, is about: i) =

accepting that subscribers cannot be able to precisely identify the=20
actual publisher that has sent a message to the group; and ii) accepting =

that any group member (subscribers included) can modify content=20
published by the actual publisher, in case communications between the=20
broker and the subscribers are not protected.


* "Subscribers can be excluded from future publications through=20
re-keying for a certain topic. ... How this could be done is out of=20
scope for this work."

 =C2=A0=C2=A0=C2=A0 Doesn't the same hold for publishers too?

 =C2=A0=C2=A0=C2=A0 Is there any plan about defining a rekeying approach =
in this=20
document? I think that a basic point-to-point approach can be pretty=20
much like the one defined in Section 20 of KGO, although filling the=20
'key' parameter as defined in this document. It might actually be even=20
simpler as to the provided content, since you may not need to provide=20
additional information to support a recovery for group members that have =

missed a rekeying instance, like KGO has to do.


[Section 8.2]

* Shouldn't the field "Profile" indicate both coap_pubsub_app and=20
mqtt_pubsub_app ?


[Appendix A]

* The list of requirements has been greatly revised and extended in=20
Appendix A of KG, with new mandatory and optional requirements. So this=20
list will need to be re-aligned with the list in KG, and parts of this=20
document will need to be revised/extended to say how the updated set of=20
requirements is fulfilled.



=3D=3D Nits =3D=3D

[Section 3.2]

s/data model is described/data model described


[Section 4.2]

s/singature/signature


[Section 6.2]
s/To be able join/To be able to join


[Appendix A]

s/Specity/Specify

s/tranport/transport

--=20
Marco Tiloca
Ph.D., Senior Researcher

Division: Digital System
Department: Computer Science
Unit: Cybersecurity

RISE Research Institutes of Sweden
https://www.ri.se

Phone: +46 (0)70 60 46 501
Isafjordsgatan 22 / Kistag=C3=A5ngen 16
SE-164 40 Kista (Sweden)



--PLla7NKvpCMysFUaadpOn7Jf45T9gM8Cf--

--cF77ydkLPx7IuavdLNO2exyANM214tzE6
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsB5BAABCAAjFiEEOEo4cV326Z7GypVg7iZktA5Y2kMFAmEtIAsFAwAAAAAACgkQ7iZktA5Y2kNI
PAgAqpvAGwR5ama/xeCYkshmPug1G+2e9PNY66/8yXdATPII3r2qdZS6lni6rxNQnA4gSDHK4V57
cb16s041mOrEnduGVEkOg7wRGQTDcCo+GNrYOphtx7RdvmNStS/ojKnODxeAlTht6Lc6qsT4YdvR
gSCck9DDHjugZVv7LpU9YbTL9wdUQvb03RlpRjWk0p8teJEGoeMCv8JgJVewLBJyH+mfj6NaFZyz
Y+VSQxRhvy5ND2fb4ZzoZR+gBSWtD60ZNF+dzaCOJytMpn71JcAGxjbgQ+MQk2n0z4SVNISUesY2
jUqiCuIGGOr0U8OeVPZoS080xFVQWLj2cIZ/6yIlPA==
=IpYZ
-----END PGP SIGNATURE-----

--cF77ydkLPx7IuavdLNO2exyANM214tzE6--


From nobody Tue Aug 31 05:38:29 2021
Return-Path: <daniel.migault@ericsson.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 22AA53A12AD; Tue, 31 Aug 2021 05:38:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.552
X-Spam-Level: 
X-Spam-Status: No, score=-2.552 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.452, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 YiEZFEoiRWM4; Tue, 31 Aug 2021 05:38:19 -0700 (PDT)
Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2048.outbound.protection.outlook.com [40.107.94.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A4B473A12A9; Tue, 31 Aug 2021 05:38:18 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GKJaeWjiQ01aVFB1IVjmWR5+QibXtBsoOsck+d5HMJplVk+kweLmPkiDa3MnQzA8h2tSd7vigOiNg5hR+99fp3Ia+s4mKwcmUXIwPtS87f63EkPSlsKP1Kzk9H9pOrenXCuiMgYN6Dhsln2eY2HhlCN+eiMTPDd4HjZ+Do1lf+rPXjTKkuldWYoRSVMcFUaZB8Di4XNmZmyEcmOq5rbPnRS/OBkN48F1MziXFglA/hsqw4XMquoLr6OTLxbQIeGRl8ORJFZlEo8p1xHEWkNRW0WBR08XBnfIkXeaQMpfxb1RMxVmKDy7Hpv47140/l99fFbdMh2Iao/v2CJJoRAesw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;  bh=A7NFRshbPu3fMivKacNe/nHiiV4dCJBbWbIsEvXEWVU=; b=SUBkqRgocD9eiet5FEcOMWag7SamE/9HBuFzFd137UebuaAnGlD0ZWAjJI08fNuyBbPvRKIpvRgj1REvSJkQb4EeItzCRzy10zlrStyZXuM103h+RPm406lA/Nj0S0I5ELrtqDCZYb7+rIotURllAdjOGRQD3lBUgKfUXxWkKOn5yOegJaqBucOpH3khSGPl4GdSExhpvnbJsOjRLdvo+BrO9mswa+acxQuzC1LM4Ju+9E3T1+GXm2CEuZc9GTbk178P+f3ufZB/VXbuK8xGGXM2SrdPfEncgTVzdw8GfqQbkcZwGOMjGZx4vy/bQUbaS6MBS3R/QFA/bHR8egVK1w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=A7NFRshbPu3fMivKacNe/nHiiV4dCJBbWbIsEvXEWVU=; b=YgZ6BA8hzMCLck2KgUtinV+mylF536xP9vBSrduL2HMoP2MStFZPw5CPKYbVI1OWQeUp7P1wdW7cj3fKz7c/7aNnvgdC4DM0Qn3Z7QCXvuBoSHds/RIZ0xWdt9wjPTTwTK7625buNGwLiD2sIfALTxpxrjMiFGZSVGTr49D0wqQ=
Received: from DM6PR15MB2379.namprd15.prod.outlook.com (2603:10b6:5:8a::16) by DM6PR15MB2841.namprd15.prod.outlook.com (2603:10b6:5:146::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.17; Tue, 31 Aug 2021 12:38:12 +0000
Received: from DM6PR15MB2379.namprd15.prod.outlook.com ([fe80::f5e3:881d:c5b2:1c0b]) by DM6PR15MB2379.namprd15.prod.outlook.com ([fe80::f5e3:881d:c5b2:1c0b%4]) with mapi id 15.20.4457.024; Tue, 31 Aug 2021 12:38:12 +0000
From: Daniel Migault <daniel.migault@ericsson.com>
To: Marco Tiloca <marco.tiloca=40ri.se@dmarc.ietf.org>, "draft-ietf-ace-pubsub-profile@ietf.org" <draft-ietf-ace-pubsub-profile@ietf.org>
CC: "ace@ietf.org" <ace@ietf.org>
Thread-Topic: [Ace] Review of draft-ietf-ace-pubsub-profile-03
Thread-Index: AQHXncr6zrtDL3YzY0ie6wiixMR+KKuNjmsL
Date: Tue, 31 Aug 2021 12:38:12 +0000
Message-ID: <DM6PR15MB23791213FA793E925ADFAB1AE3CC9@DM6PR15MB2379.namprd15.prod.outlook.com>
References: <7312f414-23c6-fefa-7528-ab4ffb3575e6@ri.se>
In-Reply-To: <7312f414-23c6-fefa-7528-ab4ffb3575e6@ri.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: dmarc.ietf.org; dkim=none (message not signed) header.d=none;dmarc.ietf.org; dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 046baa34-9873-499c-0fd6-08d96c7c3276
x-ms-traffictypediagnostic: DM6PR15MB2841:
x-microsoft-antispam-prvs: <DM6PR15MB284152128C81C23ECDD7A771E3CC9@DM6PR15MB2841.namprd15.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:4941;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 0GfVXTOvmLl/WbCiWYGzR+FyBzAlbwtb085AJpwmMLuEl1nHBcWMBo0xK2VfUNfCZlJC58J9JodcTUfX3JEpeCm2+2d/1O1UtwvSGYaILwcsEVL1hYnUDcg65RuUB8y2ewlc1FMxdNCt+GrUznJy0KONLovTYenAS3J5AZB/Pl5vSkzu2+KQU2RzgeXF1A5uaM52nKKoLxpod3oJUlCcFs5OEwPd+2fre6W/hrolmVoB6XWU9ZdYZpTtuKT1WTt3L4Tycgywmb74Zw2E8x8ik7juiucK04Gc0e8ET18RSXBpFE63YjJZi8EsAHxYYGOoYAhdpry4/cWp3YZx4emV62lrushX2adsr5DgENVAV67IV5mk1KE+vv9PzS3OmYdMnNmLDCAk+RSRNJeLA2+s+cQ1gQl+nVgC3jDwfxWye24QiYfm2CB8JX0+zSDHj79QEAVCDOxuDkq2ihJz0b+oL+MDljbDn9BobUDtkldtOg5BRn+/6ZxwBLLbm+JAYnh4WDvroUxxgB0oY1dePtPE5kdIH5llaV3UW08tgs2k9L9Khy8+1hV7YPl3M0Fo2Mv9js5pbrrYLtOkjNA6fFgC8imhftXMKdFMlYSMc7pkgTe1JbLdwojjVC4tt6QczRXSRRjQRMAnXdpvzWE7YWNjCZ8LXQfFI8/CUypsVlodJ+pDI6klazAdIQ0p9F55DvmHzxq4dJAtDUANUiO2gT/VjviVNRKc7Bv9iCKz1KI5BORtgcTctunYDkbXhS6I5rphwNCYsbabI17kMe9oRs0ltNszTrAqXJzVw4Uoa5tmk9FVhmWl3sN8GF58d5h+tJazhpmZJfcywITMQQdVXd8AYQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:DM6PR15MB2379.namprd15.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(346002)(39860400002)(396003)(376002)(366004)(136003)(91956017)(19627235002)(86362001)(66556008)(66946007)(66476007)(76116006)(19627405001)(38070700005)(26005)(30864003)(122000001)(38100700002)(4326008)(8936002)(8676002)(6506007)(53546011)(83380400001)(166002)(316002)(52536014)(2906002)(66574015)(186003)(110136005)(66446008)(64756008)(44832011)(966005)(478600001)(9686003)(55016002)(5660300002)(7696005)(71200400001)(33656002); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?WhTFdwIWXKX4ll0eYYCv5qu/89WmRF5AgRVjFGI3XEyTk4s/mW7utaslC/?= =?iso-8859-1?Q?mrgwaLX43+vbqAs0tXulqMSzXtraHTiVpQnhzUcareCFhtmDTk3861uPJe?= =?iso-8859-1?Q?1nhBZQl+m04/tOacPKMo5Fo9sGsrhxWBQjRjOOK2ljXvTrgUnB893MAGJj?= =?iso-8859-1?Q?4mnbEnz1ZmgRg3dJ8mYQ3pOSeci/V6Ce07UtnKUlL6OIeZxyQ/Zb69D3ey?= =?iso-8859-1?Q?5zmcGrwv1r0S3WeXFTF9WNV54zXC0D6Bv+Xp/8xdfL2i10BVv9viMPCAZO?= =?iso-8859-1?Q?oJ0m0citEO/bjLVgZR67Z0bEyQCTVYVOlFCuvZLLJlvNYvJzcSrQsacZQU?= =?iso-8859-1?Q?U3KLjWs/Mm+Re8N0oK6dtn8xVJYyRij0qCQobVMXMT4hv3Xc4zCAg24R+X?= =?iso-8859-1?Q?lSkHrtL0B2CRyMri/Igs9VSK/7VjDvkaM88S2SGH01LphXIIFQyINXjfnn?= =?iso-8859-1?Q?O10vH4gWOhAe2zLykpSY46KGLR8eIKrOLYbkd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-Type: multipart/alternative; boundary="_000_DM6PR15MB23791213FA793E925ADFAB1AE3CC9DM6PR15MB2379namp_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM6PR15MB2379.namprd15.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 046baa34-9873-499c-0fd6-08d96c7c3276
X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Aug 2021 12:38:12.7128 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: fcWUUnEXrsvKXnJL7MDC0ytupnpVnJI4l3hnsCarFbc9Y0m6f2BcOQhti9YmXEhWiTrGNL5UQoEyA08ZWHgKWBL6GD/oGnQ1ce1oARpY0Qc=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR15MB2841
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/LdLsBUXVGm9daq3ogQgdKhJmlQ8>
Subject: Re: [Ace] Review of draft-ietf-ace-pubsub-profile-03
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: Tue, 31 Aug 2021 12:38:26 -0000

--_000_DM6PR15MB23791213FA793E925ADFAB1AE3CC9DM6PR15MB2379namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks for the review Marco!
Yours,
Daniel

________________________________
From: Ace <ace-bounces@ietf.org> on behalf of Marco Tiloca <marco.tiloca=3D=
40ri.se@dmarc.ietf.org>
Sent: Monday, August 30, 2021 2:14 PM
To: draft-ietf-ace-pubsub-profile@ietf.org <draft-ietf-ace-pubsub-profile@i=
etf.org>
Cc: ace@ietf.org <ace@ietf.org>
Subject: [Ace] Review of draft-ietf-ace-pubsub-profile-03

Hi all,

Please, see below my review of version -03.

Overall, I think this is on the right track and I do appreciate having
converged to a single AS :-)

I hope the comments can help improving and progressing the document!

Best,
/Marco




This review uses "KG" to refer to draft-ietf-ace-key-groupcomm-13 [KG],
and "KGO" to refer to draft-ietf-ace-key-groupcomm-oscore-11 [KGO].

[KG] https://datatracker.ietf.org/doc/html/draft-ietf-ace-key-groupcomm-13

[KGO]
https://datatracker.ietf.org/doc/html/draft-ietf-ace-key-groupcomm-oscore-1=
1


[General]

* Please, replace references to RFC 8152 with references to
draft-ietf-cose-rfc8152bis-algs and I-draft-ietf-cose-rfc8152bis-struct.


* This draft is basically using only the ace-group/GROUPNAME resource at
the KDC defined in KG, and only its POST handler for joining a group.
Will this draft describe/mention also how the rest of the KDC interface
is used by the pub-sub clients?


[Abstract]

* "This profile relies on transport layer or application layer security
to authorize the pub-sub clients to the broker".

    This is aligned with the currently existing transport profiles of
ACE (based on DTLS and OSCORE). However, do you actually want to limit
that security enforcement to those two layers?

    More in general, I think this application profile can build on any
transport profile of ACE that the broker and the KDC are fine to use
with the pub-sub clients. This seems in fact the intention later in
Section 2 and Section 4.2, where some transport profiles are mentioned
as a non final set to choose from.


* Proposed expansion of the last sentence:

    "... it describes the use of application layer security to protect
the content that pub-sub clients exchange by communicating through the
broker."


* While it is mentioned later in Section 1, I think that the abstract
should already mention that this profile covers both CoAP and MQTT.


[Section 1]

* "This document defines a way to authorize pub-sub clients using the
ACE framework ...".

     Please, clarify what they are authorized to do. Conceptually, it
should be about joining a security group that uses certain key material
and is associated to one or more topics (application groups).
Practically, this should mean being authorized to getting access to the
broker and to obtaining the key material for protecting the topic
content exchanged through the broker.


* "... for protecting the communication between them".

    I would emphasize that it is about protecting the content, exhanged
by communicating through the broker (see also the related comment above
for the Abstract).


* After "(CoAP)", please add a reference to RFC 7252.


[Section 2]

* "Note that both publishers and subscribers use the same profiles."

    I suggest to expand as follows: "Note that both publishers and
subscribers use the same pub-sub communication protocol and the same
transport profile of ACE in their interaction with the broker. The same
profile of ACE is also used in the interaction with the KDC."


* Caption of Figure 1: s/Authorization Servers/Authorization Server


* "... so that RS can authorize the Clients ..."

    Well, the AS is the one authorizing the Clients. I think you mean
"... so that RS can assert the Clients to be authorized ..."


* I suggest to move the following points out of the last paragraph, and
instead have them after "... to as Client in short."

    - The broker acts as ACE RS.
    - The broker corresponds to the Dispatcher in KG.


* The last sentences can be expanded for clarity, e.g.: "... the Broker
MAY accept subscriptions from unauthorised Subscribers. In this case, a
Subscriber client can skip setting up Security Association 1 with the
Broker, before subscribing to topics of interest at the Broker."


[Section 3.2]

* Consistently with the first paragraph, the section title can be
"Authorising to the KDC and the Broker".


* About 'scope', s/the topic identifier/the topic identifiers


* About 'audience', it cannot be an array, but only a single text
string, see [1]. If you want to keep a single Token intended to both KDC
and broker, then you neeed to rely on a single audience value that both
the KDC and the broker recognize as valid. A possible way can rely on
the KDC identifier and the broker identifier separated by a well-known
and unambiguous separator.

[1]
https://datatracker.ietf.org/doc/html/draft-ietf-ace-oauth-authz-45#section=
-5.8.5


* More generally about using a single Token intended to both KDC and
broker, that requires additional security when protecting the Token, as
per [2].

    First, you would need the AS to also protect the Token with an
asymmetric signature, that both the KDC and the broker have to verify
using the AS' public key. See the second paragraph of [2].

    Second, since the same Token is targeting multiple Resource Servers
as part of a broader audience, you cannot have a same single secret used
as symmetric PoP key, see the third paragraph of [2]. This seems to
limit the use of the DTLS profile to its aymmetric mode only, and to
rule out the use of the OSCORE profile.

    I don't see an obvious way out, other than reverting to two separate
Tokens, i.e. one to post to the KDC and one to post to the broker.

    [2]
https://datatracker.ietf.org/doc/html/draft-ietf-ace-oauth-authz-45#section=
-6.1



* If a single Token is used for both the KDC and the broker, one
additional clarification is probably required.

    Since the 'scope' claim in Token indicates names of application
groups, posting the the Token to the broker indicates which topics the
client is authorized to publish/subscribe to.

    However, what does it mean when posted to the KDC? I suppose it
authorizes the pub-sub client to obtain from the KDC the key material
for any security group associated to any of the application groups
mentioned in the Token.

    Note that the 'scope' parameter of the Joining Request to the KDC
specifies the name of the security group for which the key material is
requested. So, the KDC will need a kind of internal mapping from names
of application groups (in the Token) to names of security groups (in the
'scope' of the Joining Request). Even in the simple (and most common)
case where only one security group is associated to an application
group, the two names might differ and it's up to the client to know both
of them in advance --- through pre-configuration, discovery, etc.


* s/'profile' is set/the 'ace_profile' claim is set  (two occurrences)


[Section 4.1]

* By using 'sign_info' during the Token post, the client cannot ask for
the public keys already, but only for the format of public keys used in
the group.


* "The KDC verifies that the Client is authorized to access the topic
with the requested role."

    Well, the KDC is in a trust relation with the AS issuing the posted
Token (and only following a successful check of a Token request against
stored access policies). So, at this stage on the KDC, isn't this just
about verifying that the Token is valid?


[Section 4.2]

* Considering its content and the examples, the section can be renamed
as "Join Request and Join Response".


* The content-format of the Joining Request is
"application/ace-groupcomm+cbor". That's the "namespace" where these new
ACE Groupcomm parameters have been registered, see Section 7 of KG.


* As to 'scope', here it is not "as defined earlier". In comparison with
the format defined earlier, it specifies only one scope entry, i.e. the
one indicating the exact topic for which the client wants to obtain the
key material with this Joining Request. This is also defined in Section
4.1.2.1 of KG.


* "... Client's public key formatted as a COSE_Key"

    In KG, there has been a change about the format of public keys used
in a group.

    Pure COSE Keys are not admitted anymore, due to their limitations to
represent identities or other metadata. This is aligned with
corresponding changes done for the same reasons in draft-ietf-lake-edhoc
and draft-ietf-core-oscore-groupcomm .

    The format of public keys used in the group and indicated in the
parameter 'pub_key_enc' now takes value from the "COSE Header
Parameters" registry, for which some entries are under pending registration=
.

    The easiest way to "somehow still use COSE Keys" is to use the
public key format Unprotected CWT Claim Set (UCCS) [3], including a COSE
Key as value of its 'cnf' claim. Please, see an example below. You can
find some more detail on this point in Sections 6.1 and 6.4 of KGO.

{                                              /UCCS/
   2 : "42-50-31-FF-EF-37-32-39",               /sub/
   8 : {                                        /cnf/
     1 : {                                      /COSE_Key/
       1 : 1,                                   /alg/
       3: -8,                                   /kty/
      -1 : 6,                                   /crv/
      -2 : h'C6EC665E817BD064340E7C24BB93A11E   /x/
             8EC0735CE48790F9C458F7FA340B8CA3'
     }
   }
}

    [3] https://datatracker.ietf.org/doc/draft-ietf-rats-uccs/


* On expectable actions around "TODO: Check 'cnonce'", you may also want
to look at Sections 6.2.1 and 6.3 of KGO.


* "The Subscriber MUST have access to the public keys of all the
Publishers; this MAY be achieved ... using "pub" as the 'role_filter' ..."

    Why do you need the filtering feature here? It would still work, but
based on the previous sentence in the same paragraph, the KDC has
available to provide only public keys of publishers anyway. So, asking
for all the public keys in the group with 'get_pub_keys' encoding the
CBOR simple value Null will return only the public keys of publishers by
construction.


* "Note that the alg parameter in the 'client_cred' COSE_Key ..."

    See the comment above about the format of public keys not using pure
COSE Keys anymore.


* s/The KDC response to Joining Response/The KDC replies with a Joining
Response


* The fields of the joining response are defined in Section 4.1.2.1 of
KG (not in its Section 4.2).


* The content-format of the Joining Response is
"application/ace-groupcomm+cbor".


* When describing 'key', "defined by the AS2" is mentioned for both
'alg' and 'Base IV'. I guess this is a remnant from previous versions of
the draft having both AS1 and AS2.


* Before defining the format of the Joining Response, it's good to
introduce the symmetric key as generated by the KDC, later provided to
all the clients joining the group, and what it is used for.


* "... public keys of all authorized signing members ...", which means
just the publishers, right?


* "... formatted as COSE_Keys ..."

     See the comment above about the format of public keys not using
pure COSE Keys anymore.


* "... For Subscriber Clients, the Joining Response MUST contain the
'pub_keys' parameter."

     Why? Even if the client did not ask for them in the Joining
Request? The sub-resource at ace-group/GROUPNAME/pub-key allows for a
later retrieval, possibly spreading the provisioning of public keys in
different exchanges through filtering.

     If you really want what you're saying here, it might be just easier
to say upfront for the Joining Request that Subscriber Clients MUST
include 'get_pub_keys' --- While that uses a MAY at the moment.


* Figure 6 and Figure 9 will need to be revised based on the comment
above about the format of public keys not using pure COSE Keys anymore.


* The public key of Figure 6 (in 'client_cred') and of Figure 9 (in
'pub_keys') includes also the 'kid' header parameter. This is not
mentioned earlier in the text describing the Joining Request and Joining
Response.

    In particular for 'client_cred' in the Joining Request, this gives
the impression that it is up to the client to self-assign a 'kid' value
to its own public key. This can later result in collisions, i.e. two
publishers may have a public key with the same 'kid' value. Later on,
this in turn puts a subscriber at least in a situation where it might
have to try verifying a message signature using different public keys,
until the right one is used.

    I think it's better that the KDC exclusively determines these
identifiers, as uniquely associated not only to the public key for its
retrieval but also to the corresponding publisher client. As to the
actual provisioning of these identifiers, there are two ways:

    a) The one currently used in the Joining Response, where that
identifier is the value of the 'kid' header parameter; or, as I believe
a better option,

    b) The separate 'peer_identifiers' parameter defined in Section
4.1.2.1 of KG.

    In either case, I think it's fine later on in Section 5.1 to have a
published message specifying in the 'kid' COSE parameter the identifier
to use for retrieving the right public key.


* Based on a comment above on which public keys the KDC actually stores,
Figure 8 may have 'get_pub_keys' simply encoding the CBOR simple value Null=
.


[Section 5]

* s/is protected with COSE/is protected with COSE by the publisher (two
occurrences)


* Figure 11 and the following paragraph should show/mention that, when
using CoAP, Observe (RFC 7641) is used together with GET in order to
effectively subscribe. See also [4].

[4]
https://datatracker.ietf.org/doc/html/draft-ietf-core-coap-pubsub-09#sectio=
n-4.4


* I think it can be better to swap this current Section 5 with the
current Section 6. Even though separately for the CoAP and MQTT case,
Section 6 covers the Token posting at the broker, which happens before
the actual pub-sub communication described in Section 5.


[Section 5.1]

* s/COSE_Encrypt0/COSE_Encrypt0 object


* I suppose the empty string for the 'external_aad' applies to both the
encryption and the signing process. Correct?


* In order to encrypt the message, how do you build the AEAD nonce?

    All the group members have the same Base IV received in the Joining
Response, and clearly they are not expected to synchronize with one
another about their individual message counter used as Partial IV.
Hence, the basic Message IV construction constisting in xoring the Base
IV with the zero-padded Partial IV yields the risk of reusing the same
(nonce, key) pair.

    If the KDC exclusively assigns the identifiers for public keys and
group members (see comment above), it should work to build the AEAD
nonce in a similar way like OSCORE does, see [5].

    That would also mean having a quite smaller Partial IV in the
unprotected header of the COSE_Encrypt0 object, while now in Figure 12
it consistently has a size of 7 bytes as expected for the AEAD nonce by
AES-CCM-64-64-128.

    [5] https://datatracker.ietf.org/doc/html/rfc8613#section-5.2


* Please, add a reference to draft-ietf-cose-countersign , and specify
that you are using the structure COSE_Countesignature.

    As a related point, the value 7 used for 'countersign' in Figure 12
is going to be deprecated [6], so it'll need to be updated later on.

    [6]
https://datatracker.ietf.org/doc/html/draft-ietf-cose-countersign-05#sectio=
n-5.2


* "The protected Headers ... MAY contain the kid parameter, ..."

    It is optional for the KDC to provide one in the Joining Response,
but I guess that if one is provided, then it MUST be included in the
protected header.


[Section 6.1]

* "For implementation simplicity, it is RECOMMENDED that the ACE
transport profile used and this specification use the same format of
"scope".

    Is this actually meaningful and enforceable?

    The format of scope is related to the application that the Client
and the RS want to run. In fact, these _application_ profiles for group
communication are defining formats to use for scope, in Tokens used to
access resources related to such applications.

    In other words, I think the format of scope is orthogonal to the
used transport profile, that basically does not care (and should not). I
also can't find anything suggesting otherwise in the ACE framework [7]
or in the DTLS and OSCORE profiles.

    Unless I'm missing something, it's probably just fine to remove the
sentence.

    [7]
https://datatracker.ietf.org/doc/html/draft-ietf-ace-oauth-authz-45#appendi=
x-C


[Section 6.2]

* "An application group has relevance at the application level - for
example, in MQTT an application group could denote all topics stored
under ""home/lights/"."

    For what is worth, I thought of one exact topic to be one
application group. So, in the example above, "home/lights/" can be seen
a reasoned collection of related application groups, but not as an
application group itself.


* "... the client needs to discover the (application group, security
group) association. In MQTT, $SYS/ ... can be used by the broker for
this purpose."

    The security group here is related to the key material used to
protect the content with COSE, which is competence of the KDC. That key
material is intended for the security group members, which do not
include the broker.

    Hence, unless the KDC and the broker are components of a same system
under the same authority, I would have expected the broker to have no
idea of how the application groups it manages are related to the
security groups that the KDC manages.

    I would rather expect the KDC to be aware of such associations, e.g.
by learning about them when the security groups are actually created on
it. The KDC can later on advertise these associations. For the Group
OSCORE case targeted in KGO, this can happen through a Resource
Directory, as discussed in [8] and using the approach defined in [9].

    [8] https://datatracker.ietf.org/doc/draft-ietf-ace-oscore-gm-admin/

    [9] https://datatracker.ietf.org/doc/draft-tiloca-core-oscore-discovery=
/


* "Client computes the corresponding security groups ..."

    Do you mean "Client considers ..." ?


* "RS validates the PUBLISH message by checking the topic's security
group association and the stored token."

    Even having the broker aware of the association (application group,
security group) as defined in the draft, how does this validation work?

    - The protected message targets a resource at the broker associated
to the application group.
    - By assumption, the broker knows the security group(s) associated
to the application group.
    - From the broker's point of view, the Token specifies the
application group.

    I understand checking whether the request to the broker targets a
topic resource (an application group) where the client is authorized to
publish as per the Token. But how does the mentioned validation involve
checking that the request is also related to the security group?

    Also, is that actually important for the broker, which by the way
does not have the key material of the security group?


[Section 7]

* "... by the same entity having control of the topic, i.e. KDC."

    Perhaps here you mean "... by the same entity having control of the
key material for that topic, i.e. KDC."


* The second paragraph seems to mix together authorization to publish
and source-authentication of messages.

    If it is not critical that only authorized publishers can publish,
then the broker might not necessarily enforce access control on
publishers. That is, a publication request would be accepted and
processed even if there was no posted Token supporting this operation.

    Instead, not using an additional signature and relying only on
integrity-protected encryption based on group key material, is about: i)
accepting that subscribers cannot be able to precisely identify the
actual publisher that has sent a message to the group; and ii) accepting
that any group member (subscribers included) can modify content
published by the actual publisher, in case communications between the
broker and the subscribers are not protected.


* "Subscribers can be excluded from future publications through
re-keying for a certain topic. ... How this could be done is out of
scope for this work."

     Doesn't the same hold for publishers too?

     Is there any plan about defining a rekeying approach in this
document? I think that a basic point-to-point approach can be pretty
much like the one defined in Section 20 of KGO, although filling the
'key' parameter as defined in this document. It might actually be even
simpler as to the provided content, since you may not need to provide
additional information to support a recovery for group members that have
missed a rekeying instance, like KGO has to do.


[Section 8.2]

* Shouldn't the field "Profile" indicate both coap_pubsub_app and
mqtt_pubsub_app ?


[Appendix A]

* The list of requirements has been greatly revised and extended in
Appendix A of KG, with new mandatory and optional requirements. So this
list will need to be re-aligned with the list in KG, and parts of this
document will need to be revised/extended to say how the updated set of
requirements is fulfilled.



=3D=3D Nits =3D=3D

[Section 3.2]

s/data model is described/data model described


[Section 4.2]

s/singature/signature


[Section 6.2]
s/To be able join/To be able to join


[Appendix A]

s/Specity/Specify

s/tranport/transport

--
Marco Tiloca
Ph.D., Senior Researcher

Division: Digital System
Department: Computer Science
Unit: Cybersecurity

RISE Research Institutes of Sweden
https://protect2.fireeye.com/v1/url?k=3Dec17f36e-b38cca23-ec17b3f5-86b56829=
3eb5-2d2a194b37bce25f&q=3D1&e=3D73b79cc2-c7c4-4148-9f72-e6a78aa3d0ba&u=3Dht=
tps%3A%2F%2Fwww.ri.se%2F

Phone: +46 (0)70 60 46 501
Isafjordsgatan 22 / Kistag=E5ngen 16
SE-164 40 Kista (Sweden)



--_000_DM6PR15MB23791213FA793E925ADFAB1AE3CC9DM6PR15MB2379namp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
Thanks for the review Marco!</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
Yours,&nbsp;<br>
Daniel</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id=3D"appendonsend"></div>
<hr style=3D"display:inline-block;width:98%" tabindex=3D"-1">
<div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st=
yle=3D"font-size:11pt" color=3D"#000000"><b>From:</b> Ace &lt;ace-bounces@i=
etf.org&gt; on behalf of Marco Tiloca &lt;marco.tiloca=3D40ri.se@dmarc.ietf=
.org&gt;<br>
<b>Sent:</b> Monday, August 30, 2021 2:14 PM<br>
<b>To:</b> draft-ietf-ace-pubsub-profile@ietf.org &lt;draft-ietf-ace-pubsub=
-profile@ietf.org&gt;<br>
<b>Cc:</b> ace@ietf.org &lt;ace@ietf.org&gt;<br>
<b>Subject:</b> [Ace] Review of draft-ietf-ace-pubsub-profile-03</font>
<div>&nbsp;</div>
</div>
<div class=3D"BodyFragment"><font size=3D"2"><span style=3D"font-size:11pt;=
">
<div class=3D"PlainText">Hi all,<br>
<br>
Please, see below my review of version -03.<br>
<br>
Overall, I think this is on the right track and I do appreciate having <br>
converged to a single AS :-)<br>
<br>
I hope the comments can help improving and progressing the document!<br>
<br>
Best,<br>
/Marco<br>
<br>
<br>
<br>
<br>
This review uses &quot;KG&quot; to refer to draft-ietf-ace-key-groupcomm-13=
 [KG], <br>
and &quot;KGO&quot; to refer to draft-ietf-ace-key-groupcomm-oscore-11 [KGO=
].<br>
<br>
[KG] <a href=3D"https://datatracker.ietf.org/doc/html/draft-ietf-ace-key-gr=
oupcomm-13">
https://datatracker.ietf.org/doc/html/draft-ietf-ace-key-groupcomm-13</a><b=
r>
<br>
[KGO] <br>
<a href=3D"https://datatracker.ietf.org/doc/html/draft-ietf-ace-key-groupco=
mm-oscore-11">https://datatracker.ietf.org/doc/html/draft-ietf-ace-key-grou=
pcomm-oscore-11</a><br>
<br>
<br>
[General]<br>
<br>
* Please, replace references to RFC 8152 with references to <br>
draft-ietf-cose-rfc8152bis-algs and I-draft-ietf-cose-rfc8152bis-struct.<br=
>
<br>
<br>
* This draft is basically using only the ace-group/GROUPNAME resource at <b=
r>
the KDC defined in KG, and only its POST handler for joining a group. <br>
Will this draft describe/mention also how the rest of the KDC interface <br=
>
is used by the pub-sub clients?<br>
<br>
<br>
[Abstract]<br>
<br>
* &quot;This profile relies on transport layer or application layer securit=
y <br>
to authorize the pub-sub clients to the broker&quot;.<br>
<br>
&nbsp;&nbsp;&nbsp; This is aligned with the currently existing transport pr=
ofiles of <br>
ACE (based on DTLS and OSCORE). However, do you actually want to limit <br>
that security enforcement to those two layers?<br>
<br>
&nbsp;&nbsp;&nbsp; More in general, I think this application profile can bu=
ild on any <br>
transport profile of ACE that the broker and the KDC are fine to use <br>
with the pub-sub clients. This seems in fact the intention later in <br>
Section 2 and Section 4.2, where some transport profiles are mentioned <br>
as a non final set to choose from.<br>
<br>
<br>
* Proposed expansion of the last sentence:<br>
<br>
&nbsp;&nbsp;&nbsp; &quot;... it describes the use of application layer secu=
rity to protect <br>
the content that pub-sub clients exchange by communicating through the <br>
broker.&quot;<br>
<br>
<br>
* While it is mentioned later in Section 1, I think that the abstract <br>
should already mention that this profile covers both CoAP and MQTT.<br>
<br>
<br>
[Section 1]<br>
<br>
* &quot;This document defines a way to authorize pub-sub clients using the =
<br>
ACE framework ...&quot;.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp; Please, clarify what they are authorized to do. Co=
nceptually, it <br>
should be about joining a security group that uses certain key material <br=
>
and is associated to one or more topics (application groups). <br>
Practically, this should mean being authorized to getting access to the <br=
>
broker and to obtaining the key material for protecting the topic <br>
content exchanged through the broker.<br>
<br>
<br>
* &quot;... for protecting the communication between them&quot;.<br>
<br>
&nbsp;&nbsp;&nbsp; I would emphasize that it is about protecting the conten=
t, exhanged <br>
by communicating through the broker (see also the related comment above <br=
>
for the Abstract).<br>
<br>
<br>
* After &quot;(CoAP)&quot;, please add a reference to RFC 7252.<br>
<br>
<br>
[Section 2]<br>
<br>
* &quot;Note that both publishers and subscribers use the same profiles.&qu=
ot;<br>
<br>
&nbsp;&nbsp;&nbsp; I suggest to expand as follows: &quot;Note that both pub=
lishers and <br>
subscribers use the same pub-sub communication protocol and the same <br>
transport profile of ACE in their interaction with the broker. The same <br=
>
profile of ACE is also used in the interaction with the KDC.&quot;<br>
<br>
<br>
* Caption of Figure 1: s/Authorization Servers/Authorization Server<br>
<br>
<br>
* &quot;... so that RS can authorize the Clients ...&quot;<br>
<br>
&nbsp;&nbsp;&nbsp; Well, the AS is the one authorizing the Clients. I think=
 you mean <br>
&quot;... so that RS can assert the Clients to be authorized ...&quot;<br>
<br>
<br>
* I suggest to move the following points out of the last paragraph, and <br=
>
instead have them after &quot;... to as Client in short.&quot;<br>
<br>
&nbsp;&nbsp;&nbsp; - The broker acts as ACE RS.<br>
&nbsp;&nbsp;&nbsp; - The broker corresponds to the Dispatcher in KG.<br>
<br>
<br>
* The last sentences can be expanded for clarity, e.g.: &quot;... the Broke=
r <br>
MAY accept subscriptions from unauthorised Subscribers. In this case, a <br=
>
Subscriber client can skip setting up Security Association 1 with the <br>
Broker, before subscribing to topics of interest at the Broker.&quot;<br>
<br>
<br>
[Section 3.2]<br>
<br>
* Consistently with the first paragraph, the section title can be <br>
&quot;Authorising to the KDC and the Broker&quot;.<br>
<br>
<br>
* About 'scope', s/the topic identifier/the topic identifiers<br>
<br>
<br>
* About 'audience', it cannot be an array, but only a single text <br>
string, see [1]. If you want to keep a single Token intended to both KDC <b=
r>
and broker, then you neeed to rely on a single audience value that both <br=
>
the KDC and the broker recognize as valid. A possible way can rely on <br>
the KDC identifier and the broker identifier separated by a well-known <br>
and unambiguous separator.<br>
<br>
[1] <br>
<a href=3D"https://datatracker.ietf.org/doc/html/draft-ietf-ace-oauth-authz=
-45#section-5.8.5">https://datatracker.ietf.org/doc/html/draft-ietf-ace-oau=
th-authz-45#section-5.8.5</a><br>
<br>
<br>
* More generally about using a single Token intended to both KDC and <br>
broker, that requires additional security when protecting the Token, as <br=
>
per [2].<br>
<br>
&nbsp;&nbsp;&nbsp; First, you would need the AS to also protect the Token w=
ith an <br>
asymmetric signature, that both the KDC and the broker have to verify <br>
using the AS' public key. See the second paragraph of [2].<br>
<br>
&nbsp;&nbsp;&nbsp; Second, since the same Token is targeting multiple Resou=
rce Servers <br>
as part of a broader audience, you cannot have a same single secret used <b=
r>
as symmetric PoP key, see the third paragraph of [2]. This seems to <br>
limit the use of the DTLS profile to its aymmetric mode only, and to <br>
rule out the use of the OSCORE profile.<br>
<br>
&nbsp;&nbsp;&nbsp; I don't see an obvious way out, other than reverting to =
two separate <br>
Tokens, i.e. one to post to the KDC and one to post to the broker.<br>
<br>
&nbsp;&nbsp;&nbsp; [2] <br>
<a href=3D"https://datatracker.ietf.org/doc/html/draft-ietf-ace-oauth-authz=
-45#section-6.1">https://datatracker.ietf.org/doc/html/draft-ietf-ace-oauth=
-authz-45#section-6.1</a><br>
<br>
<br>
<br>
* If a single Token is used for both the KDC and the broker, one <br>
additional clarification is probably required.<br>
<br>
&nbsp;&nbsp;&nbsp; Since the 'scope' claim in Token indicates names of appl=
ication <br>
groups, posting the the Token to the broker indicates which topics the <br>
client is authorized to publish/subscribe to.<br>
<br>
&nbsp;&nbsp;&nbsp; However, what does it mean when posted to the KDC? I sup=
pose it <br>
authorizes the pub-sub client to obtain from the KDC the key material <br>
for any security group associated to any of the application groups <br>
mentioned in the Token.<br>
<br>
&nbsp;&nbsp;&nbsp; Note that the 'scope' parameter of the Joining Request t=
o the KDC <br>
specifies the name of the security group for which the key material is <br>
requested. So, the KDC will need a kind of internal mapping from names <br>
of application groups (in the Token) to names of security groups (in the <b=
r>
'scope' of the Joining Request). Even in the simple (and most common) <br>
case where only one security group is associated to an application <br>
group, the two names might differ and it's up to the client to know both <b=
r>
of them in advance --- through pre-configuration, discovery, etc.<br>
<br>
<br>
* s/'profile' is set/the 'ace_profile' claim is set&nbsp; (two occurrences)=
<br>
<br>
<br>
[Section 4.1]<br>
<br>
* By using 'sign_info' during the Token post, the client cannot ask for <br=
>
the public keys already, but only for the format of public keys used in <br=
>
the group.<br>
<br>
<br>
* &quot;The KDC verifies that the Client is authorized to access the topic =
<br>
with the requested role.&quot;<br>
<br>
&nbsp;&nbsp;&nbsp; Well, the KDC is in a trust relation with the AS issuing=
 the posted <br>
Token (and only following a successful check of a Token request against <br=
>
stored access policies). So, at this stage on the KDC, isn't this just <br>
about verifying that the Token is valid?<br>
<br>
<br>
[Section 4.2]<br>
<br>
* Considering its content and the examples, the section can be renamed <br>
as &quot;Join Request and Join Response&quot;.<br>
<br>
<br>
* The content-format of the Joining Request is <br>
&quot;application/ace-groupcomm+cbor&quot;. That's the &quot;namespace&quot=
; where these new <br>
ACE Groupcomm parameters have been registered, see Section 7 of KG.<br>
<br>
<br>
* As to 'scope', here it is not &quot;as defined earlier&quot;. In comparis=
on with <br>
the format defined earlier, it specifies only one scope entry, i.e. the <br=
>
one indicating the exact topic for which the client wants to obtain the <br=
>
key material with this Joining Request. This is also defined in Section <br=
>
4.1.2.1 of KG.<br>
<br>
<br>
* &quot;... Client's public key formatted as a COSE_Key&quot;<br>
<br>
&nbsp;&nbsp;&nbsp; In KG, there has been a change about the format of publi=
c keys used <br>
in a group.<br>
<br>
&nbsp;&nbsp;&nbsp; Pure COSE Keys are not admitted anymore, due to their li=
mitations to <br>
represent identities or other metadata. This is aligned with <br>
corresponding changes done for the same reasons in draft-ietf-lake-edhoc <b=
r>
and draft-ietf-core-oscore-groupcomm .<br>
<br>
&nbsp;&nbsp;&nbsp; The format of public keys used in the group and indicate=
d in the <br>
parameter 'pub_key_enc' now takes value from the &quot;COSE Header <br>
Parameters&quot; registry, for which some entries are under pending registr=
ation.<br>
<br>
&nbsp;&nbsp;&nbsp; The easiest way to &quot;somehow still use COSE Keys&quo=
t; is to use the <br>
public key format Unprotected CWT Claim Set (UCCS) [3], including a COSE <b=
r>
Key as value of its 'cnf' claim. Please, see an example below. You can <br>
find some more detail on this point in Sections 6.1 and 6.4 of KGO.<br>
<br>
{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; /alg/<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3: -8,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; /kty/<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -1 : 6,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; /crv/<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -2 : h'C6EC665E817BD064340E7C24BB93A11E&nbsp=
;&nbsp; /x/<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8E=
C0735CE48790F9C458F7FA340B8CA3'<br>
&nbsp;&nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp; }<br>
}<br>
<br>
&nbsp;&nbsp;&nbsp; [3] <a href=3D"https://datatracker.ietf.org/doc/draft-ie=
tf-rats-uccs/">https://datatracker.ietf.org/doc/draft-ietf-rats-uccs/</a><b=
r>
<br>
<br>
* On expectable actions around &quot;TODO: Check 'cnonce'&quot;, you may al=
so want <br>
to look at Sections 6.2.1 and 6.3 of KGO.<br>
<br>
<br>
* &quot;The Subscriber MUST have access to the public keys of all the <br>
Publishers; this MAY be achieved ... using &quot;pub&quot; as the 'role_fil=
ter' ...&quot;<br>
<br>
&nbsp;&nbsp;&nbsp; Why do you need the filtering feature here? It would sti=
ll work, but <br>
based on the previous sentence in the same paragraph, the KDC has <br>
available to provide only public keys of publishers anyway. So, asking <br>
for all the public keys in the group with 'get_pub_keys' encoding the <br>
CBOR simple value Null will return only the public keys of publishers by <b=
r>
construction.<br>
<br>
<br>
* &quot;Note that the alg parameter in the 'client_cred' COSE_Key ...&quot;=
<br>
<br>
&nbsp;&nbsp;&nbsp; See the comment above about the format of public keys no=
t using pure <br>
COSE Keys anymore.<br>
<br>
<br>
* s/The KDC response to Joining Response/The KDC replies with a Joining <br=
>
Response<br>
<br>
<br>
* The fields of the joining response are defined in Section 4.1.2.1 of <br>
KG (not in its Section 4.2).<br>
<br>
<br>
* The content-format of the Joining Response is <br>
&quot;application/ace-groupcomm+cbor&quot;.<br>
<br>
<br>
* When describing 'key', &quot;defined by the AS2&quot; is mentioned for bo=
th <br>
'alg' and 'Base IV'. I guess this is a remnant from previous versions of <b=
r>
the draft having both AS1 and AS2.<br>
<br>
<br>
* Before defining the format of the Joining Response, it's good to <br>
introduce the symmetric key as generated by the KDC, later provided to <br>
all the clients joining the group, and what it is used for.<br>
<br>
<br>
* &quot;... public keys of all authorized signing members ...&quot;, which =
means <br>
just the publishers, right?<br>
<br>
<br>
* &quot;... formatted as COSE_Keys ...&quot;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp; See the comment above about the format of public k=
eys not using <br>
pure COSE Keys anymore.<br>
<br>
<br>
* &quot;... For Subscriber Clients, the Joining Response MUST contain the <=
br>
'pub_keys' parameter.&quot;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp; Why? Even if the client did not ask for them in th=
e Joining <br>
Request? The sub-resource at ace-group/GROUPNAME/pub-key allows for a <br>
later retrieval, possibly spreading the provisioning of public keys in <br>
different exchanges through filtering.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp; If you really want what you're saying here, it mig=
ht be just easier <br>
to say upfront for the Joining Request that Subscriber Clients MUST <br>
include 'get_pub_keys' --- While that uses a MAY at the moment.<br>
<br>
<br>
* Figure 6 and Figure 9 will need to be revised based on the comment <br>
above about the format of public keys not using pure COSE Keys anymore.<br>
<br>
<br>
* The public key of Figure 6 (in 'client_cred') and of Figure 9 (in <br>
'pub_keys') includes also the 'kid' header parameter. This is not <br>
mentioned earlier in the text describing the Joining Request and Joining <b=
r>
Response.<br>
<br>
&nbsp;&nbsp;&nbsp; In particular for 'client_cred' in the Joining Request, =
this gives <br>
the impression that it is up to the client to self-assign a 'kid' value <br=
>
to its own public key. This can later result in collisions, i.e. two <br>
publishers may have a public key with the same 'kid' value. Later on, <br>
this in turn puts a subscriber at least in a situation where it might <br>
have to try verifying a message signature using different public keys, <br>
until the right one is used.<br>
<br>
&nbsp;&nbsp;&nbsp; I think it's better that the KDC exclusively determines =
these <br>
identifiers, as uniquely associated not only to the public key for its <br>
retrieval but also to the corresponding publisher client. As to the <br>
actual provisioning of these identifiers, there are two ways:<br>
<br>
&nbsp;&nbsp;&nbsp; a) The one currently used in the Joining Response, where=
 that <br>
identifier is the value of the 'kid' header parameter; or, as I believe <br=
>
a better option,<br>
<br>
&nbsp;&nbsp;&nbsp; b) The separate 'peer_identifiers' parameter defined in =
Section <br>
4.1.2.1 of KG.<br>
<br>
&nbsp;&nbsp;&nbsp; In either case, I think it's fine later on in Section 5.=
1 to have a <br>
published message specifying in the 'kid' COSE parameter the identifier <br=
>
to use for retrieving the right public key.<br>
<br>
<br>
* Based on a comment above on which public keys the KDC actually stores, <b=
r>
Figure 8 may have 'get_pub_keys' simply encoding the CBOR simple value Null=
.<br>
<br>
<br>
[Section 5]<br>
<br>
* s/is protected with COSE/is protected with COSE by the publisher (two <br=
>
occurrences)<br>
<br>
<br>
* Figure 11 and the following paragraph should show/mention that, when <br>
using CoAP, Observe (RFC 7641) is used together with GET in order to <br>
effectively subscribe. See also [4].<br>
<br>
[4] <br>
<a href=3D"https://datatracker.ietf.org/doc/html/draft-ietf-core-coap-pubsu=
b-09#section-4.4">https://datatracker.ietf.org/doc/html/draft-ietf-core-coa=
p-pubsub-09#section-4.4</a><br>
<br>
<br>
* I think it can be better to swap this current Section 5 with the <br>
current Section 6. Even though separately for the CoAP and MQTT case, <br>
Section 6 covers the Token posting at the broker, which happens before <br>
the actual pub-sub communication described in Section 5.<br>
<br>
<br>
[Section 5.1]<br>
<br>
* s/COSE_Encrypt0/COSE_Encrypt0 object<br>
<br>
<br>
* I suppose the empty string for the 'external_aad' applies to both the <br=
>
encryption and the signing process. Correct?<br>
<br>
<br>
* In order to encrypt the message, how do you build the AEAD nonce?<br>
<br>
&nbsp;&nbsp;&nbsp; All the group members have the same Base IV received in =
the Joining <br>
Response, and clearly they are not expected to synchronize with one <br>
another about their individual message counter used as Partial IV. <br>
Hence, the basic Message IV construction constisting in xoring the Base <br=
>
IV with the zero-padded Partial IV yields the risk of reusing the same <br>
(nonce, key) pair.<br>
<br>
&nbsp;&nbsp;&nbsp; If the KDC exclusively assigns the identifiers for publi=
c keys and <br>
group members (see comment above), it should work to build the AEAD <br>
nonce in a similar way like OSCORE does, see [5].<br>
<br>
&nbsp;&nbsp;&nbsp; That would also mean having a quite smaller Partial IV i=
n the <br>
unprotected header of the COSE_Encrypt0 object, while now in Figure 12 <br>
it consistently has a size of 7 bytes as expected for the AEAD nonce by <br=
>
AES-CCM-64-64-128.<br>
<br>
&nbsp;&nbsp;&nbsp; [5] <a href=3D"https://datatracker.ietf.org/doc/html/rfc=
8613#section-5.2">https://datatracker.ietf.org/doc/html/rfc8613#section-5.2=
</a><br>
<br>
<br>
* Please, add a reference to draft-ietf-cose-countersign , and specify <br>
that you are using the structure COSE_Countesignature.<br>
<br>
&nbsp;&nbsp;&nbsp; As a related point, the value 7 used for 'countersign' i=
n Figure 12 <br>
is going to be deprecated [6], so it'll need to be updated later on.<br>
<br>
&nbsp;&nbsp;&nbsp; [6] <br>
<a href=3D"https://datatracker.ietf.org/doc/html/draft-ietf-cose-countersig=
n-05#section-5.2">https://datatracker.ietf.org/doc/html/draft-ietf-cose-cou=
ntersign-05#section-5.2</a><br>
<br>
<br>
* &quot;The protected Headers ... MAY contain the kid parameter, ...&quot;<=
br>
<br>
&nbsp;&nbsp;&nbsp; It is optional for the KDC to provide one in the Joining=
 Response, <br>
but I guess that if one is provided, then it MUST be included in the <br>
protected header.<br>
<br>
<br>
[Section 6.1]<br>
<br>
* &quot;For implementation simplicity, it is RECOMMENDED that the ACE <br>
transport profile used and this specification use the same format of <br>
&quot;scope&quot;.<br>
<br>
&nbsp;&nbsp;&nbsp; Is this actually meaningful and enforceable?<br>
<br>
&nbsp;&nbsp;&nbsp; The format of scope is related to the application that t=
he Client <br>
and the RS want to run. In fact, these _application_ profiles for group <br=
>
communication are defining formats to use for scope, in Tokens used to <br>
access resources related to such applications.<br>
<br>
&nbsp;&nbsp;&nbsp; In other words, I think the format of scope is orthogona=
l to the <br>
used transport profile, that basically does not care (and should not). I <b=
r>
also can't find anything suggesting otherwise in the ACE framework [7] <br>
or in the DTLS and OSCORE profiles.<br>
<br>
&nbsp;&nbsp;&nbsp; Unless I'm missing something, it's probably just fine to=
 remove the <br>
sentence.<br>
<br>
&nbsp;&nbsp;&nbsp; [7] <br>
<a href=3D"https://datatracker.ietf.org/doc/html/draft-ietf-ace-oauth-authz=
-45#appendix-C">https://datatracker.ietf.org/doc/html/draft-ietf-ace-oauth-=
authz-45#appendix-C</a><br>
<br>
<br>
[Section 6.2]<br>
<br>
* &quot;An application group has relevance at the application level - for <=
br>
example, in MQTT an application group could denote all topics stored <br>
under &quot;&quot;home/lights/&quot;.&quot;<br>
<br>
&nbsp;&nbsp;&nbsp; For what is worth, I thought of one exact topic to be on=
e <br>
application group. So, in the example above, &quot;home/lights/&quot; can b=
e seen <br>
a reasoned collection of related application groups, but not as an <br>
application group itself.<br>
<br>
<br>
* &quot;... the client needs to discover the (application group, security <=
br>
group) association. In MQTT, $SYS/ ... can be used by the broker for <br>
this purpose.&quot;<br>
<br>
&nbsp;&nbsp;&nbsp; The security group here is related to the key material u=
sed to <br>
protect the content with COSE, which is competence of the KDC. That key <br=
>
material is intended for the security group members, which do not <br>
include the broker.<br>
<br>
&nbsp;&nbsp;&nbsp; Hence, unless the KDC and the broker are components of a=
 same system <br>
under the same authority, I would have expected the broker to have no <br>
idea of how the application groups it manages are related to the <br>
security groups that the KDC manages.<br>
<br>
&nbsp;&nbsp;&nbsp; I would rather expect the KDC to be aware of such associ=
ations, e.g. <br>
by learning about them when the security groups are actually created on <br=
>
it. The KDC can later on advertise these associations. For the Group <br>
OSCORE case targeted in KGO, this can happen through a Resource <br>
Directory, as discussed in [8] and using the approach defined in [9].<br>
<br>
&nbsp;&nbsp;&nbsp; [8] <a href=3D"https://datatracker.ietf.org/doc/draft-ie=
tf-ace-oscore-gm-admin/">
https://datatracker.ietf.org/doc/draft-ietf-ace-oscore-gm-admin/</a><br>
<br>
&nbsp;&nbsp;&nbsp; [9] <a href=3D"https://datatracker.ietf.org/doc/draft-ti=
loca-core-oscore-discovery/">
https://datatracker.ietf.org/doc/draft-tiloca-core-oscore-discovery/</a><br=
>
<br>
<br>
* &quot;Client computes the corresponding security groups ...&quot;<br>
<br>
&nbsp;&nbsp;&nbsp; Do you mean &quot;Client considers ...&quot; ?<br>
<br>
<br>
* &quot;RS validates the PUBLISH message by checking the topic's security <=
br>
group association and the stored token.&quot;<br>
<br>
&nbsp;&nbsp;&nbsp; Even having the broker aware of the association (applica=
tion group, <br>
security group) as defined in the draft, how does this validation work?<br>
<br>
&nbsp;&nbsp;&nbsp; - The protected message targets a resource at the broker=
 associated <br>
to the application group.<br>
&nbsp;&nbsp;&nbsp; - By assumption, the broker knows the security group(s) =
associated <br>
to the application group.<br>
&nbsp;&nbsp;&nbsp; - From the broker's point of view, the Token specifies t=
he <br>
application group.<br>
<br>
&nbsp;&nbsp;&nbsp; I understand checking whether the request to the broker =
targets a <br>
topic resource (an application group) where the client is authorized to <br=
>
publish as per the Token. But how does the mentioned validation involve <br=
>
checking that the request is also related to the security group?<br>
<br>
&nbsp;&nbsp;&nbsp; Also, is that actually important for the broker, which b=
y the way <br>
does not have the key material of the security group?<br>
<br>
<br>
[Section 7]<br>
<br>
* &quot;... by the same entity having control of the topic, i.e. KDC.&quot;=
<br>
<br>
&nbsp;&nbsp;&nbsp; Perhaps here you mean &quot;... by the same entity havin=
g control of the <br>
key material for that topic, i.e. KDC.&quot;<br>
<br>
<br>
* The second paragraph seems to mix together authorization to publish <br>
and source-authentication of messages.<br>
<br>
&nbsp;&nbsp;&nbsp; If it is not critical that only authorized publishers ca=
n publish, <br>
then the broker might not necessarily enforce access control on <br>
publishers. That is, a publication request would be accepted and <br>
processed even if there was no posted Token supporting this operation.<br>
<br>
&nbsp;&nbsp;&nbsp; Instead, not using an additional signature and relying o=
nly on <br>
integrity-protected encryption based on group key material, is about: i) <b=
r>
accepting that subscribers cannot be able to precisely identify the <br>
actual publisher that has sent a message to the group; and ii) accepting <b=
r>
that any group member (subscribers included) can modify content <br>
published by the actual publisher, in case communications between the <br>
broker and the subscribers are not protected.<br>
<br>
<br>
* &quot;Subscribers can be excluded from future publications through <br>
re-keying for a certain topic. ... How this could be done is out of <br>
scope for this work.&quot;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp; Doesn't the same hold for publishers too?<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp; Is there any plan about defining a rekeying approa=
ch in this <br>
document? I think that a basic point-to-point approach can be pretty <br>
much like the one defined in Section 20 of KGO, although filling the <br>
'key' parameter as defined in this document. It might actually be even <br>
simpler as to the provided content, since you may not need to provide <br>
additional information to support a recovery for group members that have <b=
r>
missed a rekeying instance, like KGO has to do.<br>
<br>
<br>
[Section 8.2]<br>
<br>
* Shouldn't the field &quot;Profile&quot; indicate both coap_pubsub_app and=
 <br>
mqtt_pubsub_app ?<br>
<br>
<br>
[Appendix A]<br>
<br>
* The list of requirements has been greatly revised and extended in <br>
Appendix A of KG, with new mandatory and optional requirements. So this <br=
>
list will need to be re-aligned with the list in KG, and parts of this <br>
document will need to be revised/extended to say how the updated set of <br=
>
requirements is fulfilled.<br>
<br>
<br>
<br>
=3D=3D Nits =3D=3D<br>
<br>
[Section 3.2]<br>
<br>
s/data model is described/data model described<br>
<br>
<br>
[Section 4.2]<br>
<br>
s/singature/signature<br>
<br>
<br>
[Section 6.2]<br>
s/To be able join/To be able to join<br>
<br>
<br>
[Appendix A]<br>
<br>
s/Specity/Specify<br>
<br>
s/tranport/transport<br>
<br>
-- <br>
Marco Tiloca<br>
Ph.D., Senior Researcher<br>
<br>
Division: Digital System<br>
Department: Computer Science<br>
Unit: Cybersecurity<br>
<br>
RISE Research Institutes of Sweden<br>
<a href=3D"https://protect2.fireeye.com/v1/url?k=3Dec17f36e-b38cca23-ec17b3=
f5-86b568293eb5-2d2a194b37bce25f&amp;q=3D1&amp;e=3D73b79cc2-c7c4-4148-9f72-=
e6a78aa3d0ba&amp;u=3Dhttps%3A%2F%2Fwww.ri.se%2F">https://protect2.fireeye.c=
om/v1/url?k=3Dec17f36e-b38cca23-ec17b3f5-86b568293eb5-2d2a194b37bce25f&amp;=
q=3D1&amp;e=3D73b79cc2-c7c4-4148-9f72-e6a78aa3d0ba&amp;u=3Dhttps%3A%2F%2Fww=
w.ri.se%2F</a><br>
<br>
Phone: +46 (0)70 60 46 501<br>
Isafjordsgatan 22 / Kistag=E5ngen 16<br>
SE-164 40 Kista (Sweden)<br>
<br>
<br>
</div>
</span></font></div>
</body>
</html>

--_000_DM6PR15MB23791213FA793E925ADFAB1AE3CC9DM6PR15MB2379namp_--


From nobody Tue Aug 31 09:09:57 2021
Return-Path: <marco.tiloca@ri.se>
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 0D9C63A1A98 for <ace@ietfa.amsl.com>; Tue, 31 Aug 2021 09:09:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level: 
X-Spam-Status: No, score=-2.101 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, MSGID_FROM_MTA_HEADER=0.001, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ri.se
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 vlei5Qali44l for <ace@ietfa.amsl.com>; Tue, 31 Aug 2021 09:09:45 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2084.outbound.protection.outlook.com [40.107.22.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 642D33A1A92 for <ace@ietf.org>; Tue, 31 Aug 2021 09:09:44 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lBV3cn9juNr6422LL1045g9igTAKD90KRv85MnAiYC6VvrXJlBsQScnwWbQ6shGjU1agZUwMtOd9Pfg/CzFoYVCpxRDYTrzA/fZSalOLt2S7d/jV3NexWmUtJgXFZdkvFJNUxulg0JJmZZ8MNVUjEKteOI5TjVyCY462PozIRXzTTeI8hF15PfpykVonP5tb8laPKKLF91j4hh8ytflL/q1+shaBz2q5Ai4pDg0ODXZV6acXd6TLTqpud6cTCyT7P1n7eDesxu+UwFvgeENuNXNYVscO911Bg/xOx/gKlieyVmQP8GR9Q67f00lFvvDx3rB5D2F1BA0p76SUaaasJQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SxiQVPz6xqKxQHPekmyPEXVIi60h1I6pKKGZCCx2CwQ=; b=K0hC9eEfsc2cnGPfywGDg2U3xS1DWuIgYg0G03FOosIF29ZerkJusAf+4owl+ZWDCJDZGwHb4chdcslXkQAJvv0pCHGgS72xWdD506oMCgGbPKTKjVQ+US1yWr2zrXq6QU6EDUrq8uptKaaygBtkSe9a5iKtOsMo+67ytEvRfw+z0xDIwUWDnRc8f82P+2ZlswmOJOjLXUZbU1gs0dDGukK3LQnObxOa+XFbzOrz4gowz33ENhgJi6fORkHGaFggGlqx3RrKaiFPiPuFdA/RtYBQlwLSh5kcZ4fZPBUU40ch33OoM77tkUIgEmvWUO/wWD6SLPLsGhcgAScxeIH1CQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ri.se; dmarc=pass action=none header.from=ri.se; dkim=pass header.d=ri.se; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ri.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SxiQVPz6xqKxQHPekmyPEXVIi60h1I6pKKGZCCx2CwQ=; b=A8aU6GAsqF2ggRNFBpqJqXEtcE0bq7i4kLaNGUyxxDEiOEzecZYoopwgiIfPT2p3z3LzGxVZFvCERf+OnVgzvGdZ6/gTHSVAM6ECfgWiAQsaELHTRxHOr0BLsS5R6VIhwSh+03QoUmFrfXQfK8h3BrJAxfVHH/SHMT0iwXTtg0s=
Authentication-Results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=ri.se;
Received: from DB8P189MB1032.EURP189.PROD.OUTLOOK.COM (2603:10a6:10:16e::14) by DB8P189MB0934.EURP189.PROD.OUTLOOK.COM (2603:10a6:10:160::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.20; Tue, 31 Aug 2021 16:09:41 +0000
Received: from DB8P189MB1032.EURP189.PROD.OUTLOOK.COM ([fe80::a9af:c9af:e0cc:4e53]) by DB8P189MB1032.EURP189.PROD.OUTLOOK.COM ([fe80::a9af:c9af:e0cc:4e53%3]) with mapi id 15.20.4457.024; Tue, 31 Aug 2021 16:09:41 +0000
To: =?UTF-8?Q?G=c3=b6ran_Selander?= <goran.selander=40ericsson.com@dmarc.ietf.org>, "ace@ietf.org" <ace@ietf.org>
References: <E59F2C52-F777-4704-90D2-1D04C700A60E@ericsson.com>
From: Marco Tiloca <marco.tiloca@ri.se>
Message-ID: <e0d5028c-67c6-fcfd-a5db-de7c46bb4371@ri.se>
Date: Tue, 31 Aug 2021 18:09:38 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0
In-Reply-To: <E59F2C52-F777-4704-90D2-1D04C700A60E@ericsson.com>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="26qDZ9Ow5qWuCzy9PGkWJnVRuhZ7HXRju"
X-ClientProxiedBy: HE1PR0902CA0018.eurprd09.prod.outlook.com (2603:10a6:3:e5::28) To DB8P189MB1032.EURP189.PROD.OUTLOOK.COM (2603:10a6:10:16e::14)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from [10.8.2.3] (185.219.140.236) by HE1PR0902CA0018.eurprd09.prod.outlook.com (2603:10a6:3:e5::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.18 via Frontend Transport; Tue, 31 Aug 2021 16:09:40 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: d004c1e9-9b55-4930-eba3-08d96c99bd26
X-MS-TrafficTypeDiagnostic: DB8P189MB0934:
X-Microsoft-Antispam-PRVS: <DB8P189MB09345C6F55CB384C9441E40299CC9@DB8P189MB0934.EURP189.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:8273;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: pdlINYISxVWaSxe9Qi7dKIpshPk66fZniW2XALLwR0QbPniVtr054V9fPcxeoW2uIWR7D81xZOQ7AauBlNtpC9vh8hojeRSIaQHI/h7nB68Du12Ar4dWq8D1FZBfGO2Pg0uWg5zaiTCQsBd04GZv4sLb0kyzeFIySRRRxYgOjO9USOMODiQHiFTgdIq+fD5tAXn9iUsuJ/9EYqNEIkuVpqEUo1BDy9NxztI91E+wVMLnj6sjO1kX4wTZH+ZpWceB/vgOpu4Na+pc6LWiy2jEYSM/vrYOejjxZ1oZgh7grM1CFpdDUgpoDSiyPJkZW1yIquFfbp/CXgAzTRcHptVCwxhVnLKFd0/jGSi8SRixE+rJXLS+h3+SPuGyA9bB3fRS0KjFurAQ5pERIOBmcteMelmPrfM0cVO7lGn7Tl5xS2hS06qUAfaftVdaKBSfsiIlOGcPIt/tTEBCW53Y/z2E/OuvZmZDKytVnUCJWH8JkqgqgFmxoVRx8HJnm7phkZdBE2bFdYygXB9ohibh+bhGxGeBsRZOzd9luMGfdfR6dAWn97FZcMynhkzNP4nRoHToSMyAQQ+mduGETWfP7vDbSc4oTTGzN8yULQojs7B9j+kw96PGUH4SFOKG55YI+oM1jXnTaAoZt9LIACsw9x8c+n6RgjgZJ2xJzNOBu9D6M1iK8obE04vjIPQuVSLvVd7Sd8Uijl2YX+Blmwfjv/cAVSugOjFMs+EWtqzeSVSueknDAQuTG+20U25W6fx6L4leTAyq3DBdYO/wu1jhbae9fUS34Vd7xGwna8yOaE8r409WtX99vFzi2kknqq05YjU4
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:DB8P189MB1032.EURP189.PROD.OUTLOOK.COM; PTR:; CAT:NONE;  SFS:(4636009)(39860400002)(346002)(366004)(136003)(396003)(376002)(38100700002)(86362001)(31696002)(31686004)(36756003)(6486002)(66574015)(83380400001)(45080400002)(5660300002)(66556008)(186003)(33964004)(478600001)(66946007)(316002)(966005)(110136005)(53546011)(66476007)(26005)(2616005)(8936002)(16576012)(8676002)(21480400003)(44832011)(235185007)(2906002)(30864003)(956004)(43740500002)(45980500001); DIR:OUT; SFP:1101; 
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aU5kaWpROVV5T3RrZlZCcmFpb0QveGhmazFSR0ZoWVM1UXkrWWN3cnBHRW84?= =?utf-8?B?OTdtNWNuMjNES3BJMUN5VEprdW1TMnpuNUVtMjc1Y0IzUFR3a21mOE9YWW5q?= =?utf-8?B?UGJvSWd0Z3owa0c4WUo5OXhFN3VRczVGNmE2WDUvcy90Z1d6YndzVC9uZ0ZV?= =?utf-8?B?cVRQL2xIeTVnQVI2L2praFoyejFHcGJidjNBU1J0WStQSkNLMWppMUZMMmZR?= =?utf-8?B?dFlLRUtPdmZ3SnFWSkttWGxjMTdML3JzZW85Q2VLUXMwZjFhZUp3TjBXYVpm?= =?utf-8?B?SWtBUDNxejBrYnY5LzlnMHRqWUhiSlhGa0pxNFBHd3VKajkzUGROVGJWREZT?= =?utf-8?B?TURQTHVFbWlhbVZodDJWaWo4VVhlZEcrWmxsMG5JQy9PdWt0N25vb0pGY1JJ?= =?utf-8?B?M3V3L0pLYnRpSzV1RXYyTEdUNTJLV1NDeWhFaG1uT2dNR1h0SFpiY21rWm1Y?= =?utf-8?B?SmhiVEdDa1pOQVNmVlNQcGY0K2pZSmJzWDdQbU95OEdYZ2ltb0dMNG9MMTIy?= =?utf-8?B?WS9VcnczMm5QczBNbDVod0Z5WTQvVEdqZnZSRnhGSDFSby9MRVhQQk9nVEtt?= =?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ERreFQwWnZk?= =?utf-8?B?dk9TZmZPTXJKdTdlNGVZK004NnkvRlNDVDc4VnpVTnl6TklYNC9FREk1elc4?= =?utf-8?B?WEovUkNxVWVrWTN4TU1TQmNBSWVqVWpiVy9nOFlRUVI3MVhvSFdJQ1VVSmhp?= =?utf-8?B?S2U1b0lRRTdtcFpVVzFrTmZ6S1dsdDdFY25MRGx6bWxwVlphRWVxZEZXcVVG?= =?utf-8?B?eFNVWkt3bllNcndmc1NjNlV2eEhtdGYyQjZVdmwxQ0swTjMrTk5LRFI0Y3ZW?= =?utf-8?Q?aJZgoCwSNuchuYF9+UJ0rx9ELabiaZfLj4vuBFi?=
X-OriginatorOrg: ri.se
X-MS-Exchange-CrossTenant-Network-Message-Id: d004c1e9-9b55-4930-eba3-08d96c99bd26
X-MS-Exchange-CrossTenant-AuthSource: DB8P189MB1032.EURP189.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2021 16:09:41.2500 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5a9809cf-0bcb-413a-838a-09ecc40cc9e8
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: znA22LtZDOZ40nmTjD3kiWKkYEOXHmkWphX2/Ld+dT38DXLaB3ZrrsDild6vNvsVV70GLZF+g1PQw/9wRZPcAg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8P189MB0934
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/dEU04pB3u-iYNBwSlfjJaqkEvgo>
Subject: Re: [Ace] draft-ietf-ace-key-groupcomm-13
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: Tue, 31 Aug 2021 16:09:55 -0000

--26qDZ9Ow5qWuCzy9PGkWJnVRuhZ7HXRju
Content-Type: multipart/mixed; boundary="grsqkls9HQnhEqX4GL6l1PFWZ7hpJ0oKr";
 protected-headers="v1"
From: Marco Tiloca <marco.tiloca@ri.se>
To: =?UTF-8?Q?G=c3=b6ran_Selander?=
 <goran.selander=40ericsson.com@dmarc.ietf.org>, "ace@ietf.org" <ace@ietf.org>
Message-ID: <e0d5028c-67c6-fcfd-a5db-de7c46bb4371@ri.se>
Subject: Re: [Ace] draft-ietf-ace-key-groupcomm-13
References: <E59F2C52-F777-4704-90D2-1D04C700A60E@ericsson.com>
In-Reply-To: <E59F2C52-F777-4704-90D2-1D04C700A60E@ericsson.com>

--grsqkls9HQnhEqX4GL6l1PFWZ7hpJ0oKr
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US

Hi G=C3=B6ran,

Thanks a lot for your review! Please, see my comments inline marked as=20
"=3D=3D>MT".

Best,
/Marco

On 2021-08-24 18:52, G=C3=B6ran Selander wrote:
> Hi,
>
> Here is a review of ace-key-groupcomm-13.
>
>
> General
> =3D=3D=3D
>
> This draft provides a link between the ACE-OAuth authorization framewor=
k (including its transport profiles) and specifications of communication =
security in groups of constrained devices, e.g. the coap-groupcomm work c=
urrently developed in CORE. The document is intended to support different=
 group communication schemes, but the details of those are defined in sep=
arate =E2=80=9Capplication profiles=E2=80=9D such as draft-ietf-ace-key-g=
roupcomm-oscore (for Group OSCORE) and draft-ietf-ace-pubsub-profile (for=
 pub/sub). This draft instead defines a common interface to a KDC acting =
as RS in the ACE-OAuth architecture, how to use this interface to perform=
 various key management operations, and requirements for such application=
 profiles.
>
> As such, this draft is thus an =E2=80=9Cintermediary=E2=80=9D specifica=
tion, and its usefulness will be determined by the application profiles w=
hich I've glanced at but are not part of this review.
>
> While this approach seems reasonable from a structure point of view, I =
have a question about abstracting the underlying communication in comment=
 1 below.
>
> The content of the draft is quite elaborate and with detailed examples =
which is good but also leads to my comment number 2.
>
> Now for the main comments:
>
> 1. How does this scale to large groups?
>
> Depending on application it may not be necessary to update keys during =
join of new members, and depending on the dynamics of the members rekeyin=
g may not be a major issue. But if it is a large group and all group memb=
ers need to be updated at joining or leaving then this may require a lot =
of communication for which the underlying group communication may be help=
ful.
>
> For example, in case of a new member joining then a new group key or th=
e new node's public key may be distributed using broadcast/multicast and =
protected with some existing group key.

=3D=3D>MT
Definitely the new group key material to use before completing the=20
joining of the new member.

As to the public key of the new group member (if there is one at all,=20
depending on the member's roles), it's actually good to admit its=20
provisioning _together_ with the group key material. It would spare=20
other group members to perform dedicated retrieval traffic with the KDC=20
just for that later on. This can be added to the last paragraph of=20
Section 4.3.

As to using "some existing group key", yes, this requires a separate set =

of administrative key material, possibly organized into a hierarchy=20
whose root is the administrative group key (see also later comments).=20
That's the key material used to protect rekeying messages at the=20
application layer, and in principle unrelated to the secure=20
communication protocol used in the group.
<=3D=3D

>
> In case of rekeying a group key after a node has been evicted, a simila=
r method could be used if it was possible to apply some key hierarchy sch=
eme like e.g. LKH, i.e. distributing new keys corresponding to a path fro=
m the evicted node to the root in a key hierarchy.

=3D=3D>MT
Yes. This is explicitly mentioned in Section 4.4, in the second bullet=20
point after Figure 15.

As above, this requires a separate set of administrative key material,=20
possibly organized into a hierarchy whose root is the administrative=20
group key (see also later comments). Also as above, that's the key=20
material used to protect rekeying messages at the application layer, and =

in principle unrelated to the secure communication protocol used in the=20
group.
<=3D=3D

>
> Two sub-questions:
>
> a. Is it possible to extend the interface to make use of the underlying=
 group communication?

=3D=3D>MT
It should already be able to accommodate it. In particular:

* In Section 4.4, the second bullet point after Figure 15 already=20
mentions this possibility. An application profile or a separate=20
specification that builds on and extends it would have to define the=20
exact rekeying scheme to use and its message formats.

* At the end of Section 4.1.2.1, it is defined that the Joining Response =

can include an optional parameter 'mgt_key_material'. In case of=20
rekeying schemes more advanced than a basic point-to-point approach=20
using pairwise security associations, this parameter provides a group=20
member with the administrative key material _it_ needs to have to=20
participate in a group rekeying.

 =C2=A0=C2=A0 For example, if a hierarchy-based scheme is used, the param=
eter=20
specifies the administrative keys in the key tree from the leaf node=20
associated to the group member all the way up along the path from that=20
leaf node to the root (which is the administrative group key shared by=20
all the group members).

* In Section 4.4, the third bullet point after Figure 15 refers to a=20
local "control" resource at a group member, where the KDC can send=20
requests such as rekeying messages. The group member can provide the KDC =

with the URI of such a local resource when joining the group, in the=20
'control_uri' parameter of the Joining Request.

 =C2=A0=C2=A0 This is more generally intended as a resource where the KDC=
 can=20
reach the group member with a request, and is potentially usable for=20
several administrative operations, including a group rekeying. In the=20
previous, second bullet point, it can be explicitly mentioned that this=20
resource can also be the target of a group rekeying request sent over=20
multicast.

 =C2=A0=C2=A0 Note that 'control_uri' may indicate an administrative "roo=
t path",=20
that the group member determines as relevant for that security group. I=20
would imagine requests for different administrative tasks to target=20
different sub-resources identified by well-known path segments under=20
that path.


There are still two missing things, though.

* A group member would need to know the multicast address where the KDC=20
sends group rekeying messages. This might also be provided as an=20
additional parameter in the Joining Response.

 =C2=A0=C2=A0 Several versions ago, we proposed to include this in draft,=
 but the=20
idea was dismissed to keep things simple. Should we revisit this and add =

an optional parameter of this kind in the Joining Response?

 =C2=A0=C2=A0 Note that this goes hand-in-hand with _requiring_ a joining=
 node to=20
provide also the URI of a local control resource, in the 'control_uri'=20
parameter of the Joining Request. Hence, it becomes (even more)=20
important for the joining node to know as much as possible about how the =

group works (e.g. by means of early discovery), before attempting to=20
join it by sending the Joining Request.

* When joining the group, a node also needs to know the exactly used=20
group rekeying scheme. The easiest way I see to signal it is defining=20
one more integer-valued ACE Groupcomm Policy (see Figure 9 in Section=20
4.1.2.1) to be specified in the optional 'group_policies' parameter of=20
the Joining Response.

 =C2=A0=C2=A0 Its value would indicate the exact rekeying scheme (and we =
would=20
need a new IANA registry). If the KDC does not say anything about that,=20
the joining node assumes that a group rekeying is performed=20
point-to-point, thus relying on the pairwise communication channel it=20
has with the KDC.
<=3D=3D

>
> b. Is it possible to apply this interface with a key hierarchy scheme?

=3D=3D>MT
Yes, it is totally up to the application profile and what it defines.=20
The answer above should already give more practical details on what we=20
have and what seems to be still missing.
<=3D=3D

>
> These features are not necessarily in scope of this draft, but it would=
 be good to understand if a specification of these features would be able=
 to use the interface defined here, or if some generalization is required=
 in which case that change may be considered already now.

=3D=3D>MT
Agree. The draft key-groupcomm-oscore is defining in detail a simple,=20
point-to-point approach. Based on a comment above, it can be extended so =

that, in case of rekeying upon joining of a new member, the rekeying=20
messages include also the public key and Sender ID of the new node (if=20
this is not a Monitor).

More generally, a multicast-based approach (e.g. relying on key=20
hierarchy) should be totally possible to separately define and use, once =

some general aspects mentioned in the comments above are finalized here=20
in key-groupcomm to be inheritable in an application profile.
<=3D=3D

>
>
> 2. How would a "minimal" profile look like?
>
> The target setting for ACE in general and this draft in particular is c=
onstrained devices and networks. Some parts of the draft give example of =
thinking about lightweight aspects, but other parts are not at all minima=
listic and includes a large number of features, however in many cases opt=
ional.
>
> It would be interesting to have a =E2=80=9Cminimal=E2=80=9D example, wh=
ere care has been taken in trying to define a group setting such that the=
 resulting messages are as few and as small as possible (for a certain se=
curity level). The same comment applies to code size and state machine: T=
here are a number of options and =E2=80=9Cnice to have=E2=80=9D features,=
 which if all implemented could have a measurable impact on the footprint=
=2E
>
> The use of the word "minimal" is not intended in an absolute sense but =
to target as little as possible and still provide authorized group key fu=
nctionality. Perhaps such an exercise makes more sense in an application =
profile, such as draft-ace-key-groupcomm-oscore. But this draft may be pr=
ovide a partial answer by indicating what handlers to include (sec. 4), w=
hat groupcomm parameters (sec. 7), what error ids (sec 8), etc.

=3D=3D>MT
I try to reply separately on each of the affected aspects mentioned above=
=2E

* The handlers as such (Section 4) run at the KDC, which is not intended =

to be constrained. So, we defined the KDC as expected to offer the full=20
interface specified in Section 4.1. I can imagine an application profile =

that really does not need a particular subset of handlers to declare=20
them as not to be implemented, possibly under certain conditions.

Thinking of a group member, I can imagine as important to have minimally =

implemented the logic for:

FETCH on ace-group/
- To retrieve the group name and joining URI from the specified group=20
identifier.

POST/GET on ace-group/GROUPNAME/
- To join the group (POST) and retrieve the current group key material=20
as group member (GET).

GET/FETCH on ace-group/GROUPNAME/pub-key
- To retrieve the public keys of all the other group members (GET) or=20
only of some by filtering (FETCH). Admittedly, the latter might be=20
sacrificed, but it allows to reduce the number of transferred public=20
keys a lot.

GET on ace-group/GROUPNAME/num
- To retrieve only the current version of the group key material.

DELETE on ace-group/GROUPNAME/nodes/NODENAME
- To leave the group.


Instead, the following logic might be omitted in the implementation of a =

minimal group member:

GET on ace-group/GROUPNAME/active
- To check the status of the group

GET on ace-group/GROUPNAME/policies
- To retrieve the group policies. Thus, they would be obtainable only=20
when joining the group with a POST on ace-group/GROUPNAME/ (see above).

GET/PUT on ace-group/GROUPNAME/nodes/NODENAME
- GET is for obtaining the current group key material plus the=20
"individual node key material" (e.g., the Sender ID in the Group OSCORE=20
case). The former can be obtained with a GET on ace-group/GROUPNAME/=20
(see above). The latter would not be possible to re-obtain as group=20
member, thus expecting the group member to just remember that=20
information, whose possible change happens in a synchronized way with=20
the KDC anyway (see right below).
- PUT is requesting new "individual node key material" (which can result =

in the KDC providing new one, or rekeying the group, or both things=20
together). This can also be sacrificed, so that a group member needing a =

new individual node key material would re-join the group with a POST on=20
ace-group/GROUPNAME/ (see above).

POST on ace-group/GROUPNAME/nodes/NODENAME/pub-key
- To upload a new public key of its own. This can be sacrificed,=20
assuming that a group member does not change its public key during its=20
membership.


* About the Error IDs (Section 8), error responses will be sent anyway=20
in case of errors at the KDC.

 =C2=A0=C2=A0 The group members can of course not understand those error =
IDs.=20
Also, based on the third from last paragraph in Section 4.0, the=20
accompanying textual 'error_description' is already optional.

 =C2=A0=C2=A0 Maybe it can help to:

 =C2=A0=C2=A0 - Remove the parameter 'error_description' altogether; or, =
even more=20
aggressively,

 =C2=A0=C2=A0 - Make it just optional for the KDC to use these extended e=
rror=20
responses with content format application/ace-groupcomm+cbor and payload =

the CBOR map with 'error' and 'error_description'.

 =C2=A0=C2=A0 Thoughts?


* About the ACE Groupcomm Parameters summarized in Section 7), most of=20
them are required or practically required. Some of them can be=20
conditionally not supported, e.g. by particular group members. Trying to =

have a first classification below:

Must be supported:
- 'scope', 'gkty', 'key', 'num' and 'exp', as related to the group in=20
question and the retrieval of its key material.
- 'gid', 'gname' and 'guri', as required for FETCH to /ace-group .
- 'pub_keys' and 'peer_identifiers', since public keys are sooner or=20
later going to be retrieved, accompanied by the node identifiers of the=20
corresponding nodes.

Practically must be supported:
- 'get_pub'keys' is practically necessary, except for the inconvenient=20
and undesirable behavior where: i) a group member does not ask for the=20
other group members' public keys upon joining; and ii) later on, the=20
group member only retrieves the public keys of all group members with a=20
GET to ace-group/GROUPNAME/pub-key=C2=A0 (i.e., never by using FETCH).

Conditionally not supported
- 'client_cred', 'cnonce' and 'client_cred_verify' are not needed to be=20
supported by a node if this does not have a public key of its own that=20
it uses in the group.
- 'kdcchallenge' is not needed to be supported by a node if this does=20
not have a public key of its own that it uses in the group, or if it=20
does not post the Token to /authz-info at the KDC. The PoP input share=20
N_S of the KDC has thus to be determined differently and it's up to the=20
profiles to define how (see REQ21).
- 'pub_keys_repos' is not needed to be supported by a node if this does=20
not have a public key of its own that it uses in the group, or if it=20
does not store the public key in a repo to point to with this parameter.
- 'group_policies' might be sent by the KDC anyway. It may not be=20
supported by a node if it is already aware of all group policies. These=20
may include a particular group rekeying scheme (see comment above). In=20
other words, it may not be supported by a node that never joins a group=20
without knowing its group policies in advance.
- 'peer_roles' goes hand-in-hand with 'pub_keys' and 'peer_identifiers'. =

Generally, it should be fine that it is not needed to be supported by a=20
node if this does not have to care of the exact role of the node=20
associated to a retrieved public key.
- 'control_uri', is already optional to include in the Joining Request.=20
However, its support is preferable to enable even point-to-point group=20
rekeying initiated by the KDC. On the other other hand, it would rather=20
become necessary to support, if the group uses an advanced key=20
management scheme. In such a case, a node willing to join such a group=20
has to support this parameter, in order to indicate the URI of a local=20
resource to the KDC.
- 'mgt_key_material' would be sent by the KDC anyway, if the group uses=20
an advanced key management schemes. In such a case, a node willing to=20
join such a group has to support this parameter. In other words, it may=20
not be supported by a node that never joins a group which uses an=20
advanced group key management scheme.

May generally be not supported:
- 'error' and 'error_description', see comment above.
- 'ace_groupcomm_profile', as already defined optional in Section 4.1.2.1=
=2E


Would this kind of reasoned classification help?

<=3D=3D

>
> (This comment actually applies also to the transport profiles, which th=
is draft does not need to take responsibility for.)

=3D=3D>MT
Right, to be kept in mind for the profiles too, considering the=20
additional profile-specific parameter that they can add.
<=3D=3D

>
>
>  =20
> More detailed comments
> =3D=3D=3D
>
>
> I found the terminology =E2=80=9CPOST /token=E2=80=9D vs. =E2=80=9CToke=
n Post=E2=80=9D/=E2=80=9Ctoken POST=E2=80=9D/=E2=80=9CPOST Token=E2=80=9D=
 for the different message exchanges, respectively, quite confusing. For =
a long time I thought the latter referred to the former. It is true that =
the access token is carried with the method POST in the second exchange, =
but I think that is irrelevant and would suggest to instead use some othe=
r consistent terminology. For example, use  =E2=80=9CPOST /token=E2=80=9D=
 and =E2=80=9CPOST /authz-info=E2=80=9D to refer to the exchanges, respec=
tively. Alternatively, call the latter =E2=80=9CToken provisioning=E2=80=9D=
 or something similar without reference to the actual method by which the=
 token is provisioned.
>
> This applies in particular to:
>
> Figure 2
> =E2=80=9CToken Post=E2=80=9D
>
> Figure 3
> =E2=80=9CPOST Token=E2=80=9D
>
> =E2=80=9C3.3. Token Post=E2=80=9D
>
> 3.3.1.
> =E2=80=9Can OPTIONAL parameter of the Token Post
>     response message =E2=80=9C
>
> 3.3.2
> =E2=80=9CToken Post response=E2=80=9D
>
> etc.

=3D=3D>MT
Right, I can replace this occurrences of "Token Post" with "Token=20
Uploading".

The use of "POST /token" and "POST /authz-info" is limited to Figures 2=20
and 3, where it should be appropriate.
<=3D=3D

>
>
> 4.1
>
> Section 4.1 specifies the handlers, 20 pages. This is followed by how t=
he handlers are used 4.2 - 4.10, roughly one page per subsection. When re=
ading I ended up having two copies of the draft side by side looking at t=
he handler and its corresponding use. I'm not sure this is a problem, but=
 reading the handlers is more motivating after having read about how they=
 are used. There is a summary in the bullet list in 4.0 but this is merel=
y a forward reference and didn't make me do the mapping from handler to a=
ction in my head. Maybe just move content such that 4.2-4.10 comes before=
 4.1 (and then you can remove the bullet list in 4.0).

=3D=3D>MT
The issue is that each example in Sections 4.2-4.10 also refers to the=20
corresponding handler description, which defines also the payload format =

for that operation. In particular, all the ACE Groupcomm parameters are=20
introduced in Section 4.1. An example shown before that risks to not say =

that much.

I think that a middle ground can be the following, and it should also be =

aligned with and address similar comments that Cigdem gave in her review =

[1].

1) Merging the points from the bullet list of Section 4.0 into the=20
corresponding resource description of Section 4.1, while still=20
preserving the forward pointers. This can make it easier to map between=20
actions from a client point of view with resources at the KDC, even=20
though no details have been introduced yet.

2) Separately moving each current Section 4.2-4.10 right after the=20
corresponding handler section, now numbered 4.1.x.y. After that, a=20
better structuring can also be achieved, so that:

- Section 4.1 is renamed "Overview of the Interface at the KDC".
- The following sections lose one numbering level, e.g. current 4.1.1=20
"ace-group" becomes 4.2 "ace-group".
- Each Section 4.x can be about a KDC resource. This in turn includes=20
4.x.y with a handler description for resource x, followed by 4.x.y.z=20
with the example for handler y or resource x (taken from current=20
Sections 4.2-4.10).

That is:

4. Keying Material Provisioning and Group Membership Management

4.1 Overview of the Interface at the KDC

4.2 ace-group
4.2.1 FETCH handler
4.2.1.1 Example <Content from current Section 4.2>

4.3 ace-group/GROUPNAME
4.3.1 POST handler
4.3.1.1 Example <Content from current Section 4.3>
4.3.2 GET handler
4.3.1.1 Example <currently missing>

=2E..


How does it sound?

[1] https://mailarchive.ietf.org/arch/msg/ace/gv_uRo2Y45jqOLJghVSbAARWky0=
/

<=3D=3D

>
>
> "It is REQUIRED of the application profiles of this specification to
>     define what operations (e.g., CoAP methods) are allowed on each
>     resource"
>
> It speaks of operations on each resource, but it does not say which res=
ources are mandatory to implement. Where is that written?

=3D=3D>MT
Building on a comment above, the KDC is supposed to implement all these=20
resources (and possibly add more if needed and defined by a specific=20
application profile).

As discussed above, a minimal group member may however not need to=20
implement the logic to use some of those resources.

This requirement was more intended to require application profiles to=20
produce something like Figure 2 of ace-key-groupcomm-oscore , see its=20
Section 5.5 "Admitted Methods".
<=3D=3D

>
>
>
> 9.
>
> The security consideration speaks about different key update strategies=
=2E I was looking for considerations when to not rekey in case of new mem=
ber joining a group. I would imagine in e.g. a building automation settin=
g where a new actuator device is added into a group it may not always be =
necessary to renew the group key of existing actuators. This is in partic=
ular assuming by the nature of security for actuations there are already =
means in place to determine freshness etc. preventing misuse of an old gr=
oup key.

=3D=3D>MT
We can add something along these lines, especially on when it might be=20
acceptable to not ensure backward security (or anyway not rigorously=20
upon every single new joining). Ultimately, it is up to the specific=20
application to decide and define policies for the KDC to enforce.

Besides the freshness aspects you mention, this is more about accepting=20
that the newly joined node would have access to communications in the=20
group prior its joining, if it has recorded such exchanged messages.
<=3D=3D

>
>
>
>
> Nits
> =3D=3D=3D
>
>
> 3.1
>
> s/Toid/=E2=80=9CToid=E2=80=9D
> s/Tperm/=E2=80=9CTperm=E2=80=9D

=3D=3D>MT
OK
<=3D=3D

>
>
> 3.2
>
> If this parameter is not present, the granted scope is equal to the one=
 requested in Section 3.1}.
>
> - remove the =E2=80=9C}=E2=80=9D

=3D=3D>MT
OK
<=3D=3D

>
>
>
> 3.3.  Token Post
>
> - - -
>
>     =E2=80=9CThe CBOR map MAY additionally include the following
>     parameter, which, if included, MUST have the corresponding values:
>
>     *  'sign_info' defined in Section 3.3.1, encoding the CBOR simple
>        value Null to require information about the signature algorithm,=

>        signature algorithm parameters, signature key parameters and on
>        the exact encoding of public keys used in the group.=E2=80=9D
>
>
> This seems to unnecessary duplicate information coming just after:
>
>
> =E2=80=9C3.3.1.  'sign_info' Parameter
>
>     The 'sign_info' parameter is an OPTIONAL parameter of the Token Pos=
t
>     response message defined in Section 5.10.1. of
>     [I-D.ietf-ace-oauth-authz].  This parameter contains information an=
d
>     parameters about the signature algorithm and the public keys to be
>     used between the Client and the RS.  Its exact content is applicati=
on
>     specific.
>
> - - -
>
>     When used in the request, the 'sign_info' encodes the CBOR simple
>     value Null, to require information and parameters on the signature
>     algorithm and on the public keys used.
>
>     The CDDL notation [RFC8610] of the 'sign_info' parameter formatted =
as
>     in the request is given below.
>
>        sign_info_req =3D nil=E2=80=9D

=3D=3D>MT
Ok, we can remove the redundancy and also be more explicit, pointing to=20
the exact format 'sign_info_req' or 'sign_info_resp' used in the message =

in question.
<=3D=3D

>
>
> 3.3.1
>
> I got the impression from the text above that =E2=80=98sign_info=E2=80=99=
 is the name of the parameter, but it turns out that the actual parameter=
 is either called =E2=80=9Csign_info_req=E2=80=9D or =E2=80=9Csign_info_r=
es=E2=80=9D. So, when it is stated that =E2=80=98sign_info=E2=80=99 encod=
ing the CBOR simple value Null, which seems like a straightforward assign=
ment, there is actually no =E2=80=98sign_info=E2=80=99 parameter. This is=
 a minor, still slightly confusing.

=3D=3D>MT
Yes, there is only one actual parameter, 'sign_info', and we want a=20
single CBOR abbreviation registered for it to use in the payload map.

Using the different _req and _resp versions in Section 3.3.1 is just a=20
way to make a hard distinction between the request and response case. It =

might help to improve the CDDL definition, i.e.:

sign_info =3D sign_info_req / sign_info_resp

sign_info_req=C2=A0 =3D nil=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ; used=
 in a request
sign_info_resp =3D [ + sign_info_entry ]=C2=A0 ; used in a response

=2E..
<=3D=3D

>
>
> 3.3.1
>
> "This format is consistent with every signature algorithm currently
>     considered in [I-D.ietf-cose-rfc8152bis-algs], "
>
>
> s/considered/defined

=3D=3D>MT
Ok
<=3D=3D

>
>
>
> 3.3.2
>
> "(see the 'client_cred_verify' parameter in
>     Section 4)"
>
> Refer instead to 4.1.2.1

=3D=3D>MT
Ok
<=3D=3D

>
>
>
>
> 4.1.3.1
>
> =E2=80=9Cin case both the 'role_filter' array and the 'id_filter'
>     array are not empty=E2=80=9D
>
>
> s/not empty/non-empty

=3D=3D>MT
Ok
<=3D=3D

>
>
> 4.1.3.1
>
>   "Finally, as mentioned in Section 4.1.2.1, both arrays 'role_filter'
>     and 'id_filter' MUST NOT be both empty."
>
> replace with
>
>     "Finally, as mentioned in Section 4.1.2.1, the arrays 'role_filter'=

>     and 'id_filter' MUST NOT both be empty."
>

=3D=3D>MT
Ok
<=3D=3D

>
>
>
> 4.4
> A  missing comma at the end of the following line:
>
> "get_pub_keys": [true, ["sender"], []], "client_cred": PUB_KEY

=3D=3D>MT
Ok
<=3D=3D

>
>
>
> G=C3=B6ran
>
>
>
>
> On 2021-07-12, 18:16, "Ace on behalf of internet-drafts@ietf.org" <ace-=
bounces@ietf.org on behalf of internet-drafts@ietf.org> wrote:
>
>
>      A New Internet-Draft is available from the on-line Internet-Drafts=
 directories.
>      This draft is a work item of the Authentication and Authorization =
for Constrained Environments WG of the IETF.
>
>              Title           : Key Provisioning for Group Communication=
 using ACE
>              Authors         : Francesca Palombini
>                                Marco Tiloca
>      	Filename        : draft-ietf-ace-key-groupcomm-13.txt
>      	Pages           : 78
>      	Date            : 2021-07-12
>
>      Abstract:
>         This document defines message formats and procedures for reques=
ting
>         and distributing group keying material using the ACE framework,=
 to
>         protect communications between group members.
>
>      Discussion Venues
>
>         This note is to be removed before publishing as an RFC.
>
>         Source for this draft and an issue tracker can be found at
>         https://eur02.safelinks.protection.outlook.com/?url=3Dhttps%3A%=
2F%2Fprotect2.fireeye.com%2Fv1%2Furl%3Fk%3D08daa3fb-57419b19-08dae360-860=
73b36ea28-572fafc3ef6c5ed5%26q%3D1%26e%3Dfd87b927-3fdc-4d5a-ab71-6248ac68=
bf5d%26u%3Dhttps%253A%252F%252Fgithub.com%252Face-wg%252Face-key-groupcom=
m&amp;data=3D04%7C01%7Cmarco.tiloca%40ri.se%7C7cabd8ed745844c4d98f08d9671=
f9b5c%7C5a9809cf0bcb413a838a09ecc40cc9e8%7C0%7C0%7C637654207716474531%7CU=
nknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi=
LCJXVCI6Mn0%3D%7C1000&amp;sdata=3DjG%2Fl8n4csOXfzoKTQSg9ajkCz21q7wjqAjt2G=
SFECyY%3D&amp;reserved=3D0.
>
>
>      The IETF datatracker status page for this draft is:
>      https://eur02.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%=
2Fdatatracker.ietf.org%2Fdoc%2Fdraft-ietf-ace-key-groupcomm%2F&amp;data=3D=
04%7C01%7Cmarco.tiloca%40ri.se%7C7cabd8ed745844c4d98f08d9671f9b5c%7C5a980=
9cf0bcb413a838a09ecc40cc9e8%7C0%7C0%7C637654207716474531%7CUnknown%7CTWFp=
bGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3=
D%7C1000&amp;sdata=3DlDO4CzJ0LM%2F7hB3C8giMlJdNAUGkrJjqygkUCsZZUVM%3D&amp=
;reserved=3D0
>
>      There is also an htmlized version available at:
>      https://eur02.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%=
2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ietf-ace-key-groupcomm-13&amp=
;data=3D04%7C01%7Cmarco.tiloca%40ri.se%7C7cabd8ed745844c4d98f08d9671f9b5c=
%7C5a9809cf0bcb413a838a09ecc40cc9e8%7C0%7C0%7C637654207716474531%7CUnknow=
n%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXV=
CI6Mn0%3D%7C1000&amp;sdata=3DX%2FkLzQBW4i9tol6MvK304fGENoTlZgRT7skgeg4KH%=
2FM%3D&amp;reserved=3D0
>
>      A diff from the previous version is available at:
>      https://eur02.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%=
2Fwww.ietf.org%2Frfcdiff%3Furl2%3Ddraft-ietf-ace-key-groupcomm-13&amp;dat=
a=3D04%7C01%7Cmarco.tiloca%40ri.se%7C7cabd8ed745844c4d98f08d9671f9b5c%7C5=
a9809cf0bcb413a838a09ecc40cc9e8%7C0%7C0%7C637654207716474531%7CUnknown%7C=
TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6M=
n0%3D%7C1000&amp;sdata=3DSzj2SV16cyAp2YJYN149C22YRR1oaSBb%2Bvk1NYFidRU%3D=
&amp;reserved=3D0
>
>
>      Internet-Drafts are also available by anonymous FTP at:
>      https://eur02.safelinks.protection.outlook.com/?url=3Dftp%3A%2F%2F=
ftp.ietf.org%2Finternet-drafts%2F&amp;data=3D04%7C01%7Cmarco.tiloca%40ri.=
se%7C7cabd8ed745844c4d98f08d9671f9b5c%7C5a9809cf0bcb413a838a09ecc40cc9e8%=
7C0%7C0%7C637654207716474531%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAi=
LCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=3DCg%2FMH=
mh0M9fwDouhpjAM%2FjKyXdk4nshAazRn5llh84M%3D&amp;reserved=3D0
>
>
>      _______________________________________________
>      Ace mailing list
>      Ace@ietf.org
>      https://eur02.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%=
2Fwww.ietf.org%2Fmailman%2Flistinfo%2Face&amp;data=3D04%7C01%7Cmarco.tilo=
ca%40ri.se%7C7cabd8ed745844c4d98f08d9671f9b5c%7C5a9809cf0bcb413a838a09ecc=
40cc9e8%7C0%7C0%7C637654207716474531%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4w=
LjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=3D=
9G1CcMTA4z1i9WfLsgmfbz4fuqeu0J958I9QwrCZj6k%3D&amp;reserved=3D0
>
>
> _______________________________________________
> Ace mailing list
> Ace@ietf.org
> https://eur02.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww=
=2Eietf.org%2Fmailman%2Flistinfo%2Face&amp;data=3D04%7C01%7Cmarco.tiloca%=
40ri.se%7C7cabd8ed745844c4d98f08d9671f9b5c%7C5a9809cf0bcb413a838a09ecc40c=
c9e8%7C0%7C0%7C637654207716474531%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjA=
wMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=3D9G=
1CcMTA4z1i9WfLsgmfbz4fuqeu0J958I9QwrCZj6k%3D&amp;reserved=3D0

--=20
Marco Tiloca
Ph.D., Senior Researcher

Division: Digital System
Department: Computer Science
Unit: Cybersecurity

RISE Research Institutes of Sweden
https://www.ri.se

Phone: +46 (0)70 60 46 501
Isafjordsgatan 22 / Kistag=C3=A5ngen 16
SE-164 40 Kista (Sweden)



--grsqkls9HQnhEqX4GL6l1PFWZ7hpJ0oKr--

--26qDZ9Ow5qWuCzy9PGkWJnVRuhZ7HXRju
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsB5BAABCAAjFiEEOEo4cV326Z7GypVg7iZktA5Y2kMFAmEuVEIFAwAAAAAACgkQ7iZktA5Y2kNY
zwf+PnDyGPL/+wTyqhRVrvA8ZbHrFGp8Yd+89BR9ZNtosEPOdxAjTgLY8c1yi2cHAIasJXTVTcYZ
3WeNaQhIWRCAam+kpX+wa3LbImflW0tpaS04SfGwrN01lPJ6/Ozy09UfTwZFRobFYX1GcbBE2rZ5
+GCD9j62jYtTfVkEtYFbI/t1aMhSFuwM5JyVyU9PwtxvF4RGcX3mUQa3gcmYw05qORVeKX6UHtID
4j0wB1Xy+Z05YuIe6g7/0naiqN6CvxwovDr2aPkehsfrX49PkmVhkmmdT14CwtLDt+KS21QTNul/
1Of+sFfYiRBR122UufL10A6witxG1bji1qVtZo/30A==
=A1CF
-----END PGP SIGNATURE-----

--26qDZ9Ow5qWuCzy9PGkWJnVRuhZ7HXRju--

