Re: [Ace] draft-ietf-ace-mqtt-tls-profile-03

Cigdem Sengul <cigdem.sengul@gmail.com> Mon, 09 March 2020 23:29 UTC

Return-Path: <cigdem.sengul@gmail.com>
X-Original-To: ace@ietfa.amsl.com
Delivered-To: ace@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1AFEF3A093F for <ace@ietfa.amsl.com>; Mon, 9 Mar 2020 16:29:07 -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 5e6v-E3x1pGZ for <ace@ietfa.amsl.com>; Mon, 9 Mar 2020 16:29:05 -0700 (PDT)
Received: from mail-vs1-xe2d.google.com (mail-vs1-xe2d.google.com [IPv6:2607:f8b0:4864:20::e2d]) (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 DE6903A093C for <ace@ietf.org>; Mon, 9 Mar 2020 16:29:04 -0700 (PDT)
Received: by mail-vs1-xe2d.google.com with SMTP id k26so7260691vso.5 for <ace@ietf.org>; Mon, 09 Mar 2020 16:29:04 -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=gDWQLMVRmrwlMsC9pJBLGTaMaZFoOk7c6PX2EXoJ+ZQ=; b=JFABYz9LGO0ayIo7mTw/o6b00K5d4bPlkY1qAL2gfvhP9qZ5NfHpbSWvqIKQJW8pEi cnDhygDxh7p2B6MhCTnpJ8kYTPvWAhSCfVfXfgCDec8MQ4VmU7vGbbt1kNj8ABfaOKuh PEMn1DQQy2+XCMUjc1XniIR77US/zHbqilfnjIQWq9qCbzocC/4N0KSYsrdeZkXj4yJ5 wYYuurwX0lE6txiYK4zfJqAUxgvgf9kyjGSaoA6o8kw6VmWNNjsQabxBUIFMaB/L4uZY mqU0LECKxoGFfghEWxZrHS9ClJ08mIHgMcawDusUAU7sZFdp/m7U33MgHbA5xI+cyWNq 1y4w==
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=gDWQLMVRmrwlMsC9pJBLGTaMaZFoOk7c6PX2EXoJ+ZQ=; b=rrbrM2h/KTF/HhTKtuvMW9uBkbeHWvhezYSET1VlkEkxtv3Zq38wK+3UYUQXPJad6d tZRkqfsUgYwFVLj3NG0FnGIMwOqRccbZofWnChX1X+aTDogGbCQ4B2++W3QqceMbgkL9 x61g0Hr9pT7/+/LSWkkXkcKvmGqXEJ6g6hGTl4gTEuJwWl6CFRz+MfoTXHHFq1Odz822 kvDlJFjs1mTcCQmQOu6Sv3aa5LRaHj6MKY2nlOQ9NtnNC3r6F/mRBG1vLKjLR6Fr/5AU TWC048E2SngAom5FMGKQbjAZ7RHLBgQA+lkQVCXyQ0ihP/sC66+RVHTuf+j3k8Q61Try lLgQ==
X-Gm-Message-State: ANhLgQ2GP7yb52IeyVvzYMRi6hA5aOqmqeLP4j4neu3fTuSpA8aSbNJk hDextgE/A8LnCNHkPMiGpkiimJZfnYn7GAKxUZYerEd6i/4=
X-Google-Smtp-Source: ADFU+vvmYjH/3VjVNQ9iYkWbNN0TSAsTJ1JG1ufU3+Za5mVj/aqE2kY0bEUfG7F4P6g2tyE8fGTTRGO9FYJ4oYkP3AE=
X-Received: by 2002:a67:8003:: with SMTP id b3mr10967013vsd.148.1583796543613; Mon, 09 Mar 2020 16:29:03 -0700 (PDT)
MIME-Version: 1.0
References: <AM0PR08MB371601D0F66969D7ECB504AAFAED0@AM0PR08MB3716.eurprd08.prod.outlook.com><CAA7SwCOnY1K=b=fYYMHH57ho0rFZRmN+EuT1K7qt7qxtN3fghw@mail.gmail.com> <AM0PR08MB37165CE98F43A5AEBDA3F411FAE80@AM0PR08MB3716.eurprd08.prod.outlook.com><CAA7SwCMVnO2-SUNyH7bDQ1jEwdbxVsL5bySG72b8GD=HH16=3g@mail.gmail.com> <AM0PR08MB37160FD0F8B34F8C1470EE82FAE80@AM0PR08MB3716.eurprd08.prod.outlook.com> <AM0PR08MB3716154E3259FD76101148C5FAFE0@AM0PR08MB3716.eurprd08.prod.outlook.com>
In-Reply-To: <AM0PR08MB3716154E3259FD76101148C5FAFE0@AM0PR08MB3716.eurprd08.prod.outlook.com>
From: Cigdem Sengul <cigdem.sengul@gmail.com>
Date: Mon, 09 Mar 2020 23:28:53 +0000
Message-ID: <CAA7SwCO=dLhYDTgETj7Aa86aQ9QS7thKsdrkdshLyOU4bYcfNg@mail.gmail.com>
To: Hannes Tschofenig <Hannes.Tschofenig@arm.com>
Cc: "ace@ietf.org" <ace@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000060edb105a0745e5b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/GmOAhrEf6irEij1Y69lVFuZbf3M>
Subject: Re: [Ace] draft-ietf-ace-mqtt-tls-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, 09 Mar 2020 23:29:07 -0000

Hello Hannes,

I will summarise below what I understood and clarify where I got confused
(which I tried to in the interim meeting)
 and then would need the group feedback for the next steps.

I became aware that the key distribution may be an issue after the
e-mail thread: "Transporting different types of cnf objects - CBOR vs JSON"
that spanned June-Oct, 2019, in the ace mailing list, where you wrote:
"We have standardized the transport of this additional information in ACE for
use with CoAP but for HTTP we decided to do the work on OAuth, where it got
stuck because the IoT-interested people are not there and the Web folks
want something else."

Then, I was under the impression that I would need to wait for the
draft-ietf-oauth-pop-key-distribution
<https://tools.ietf.org/html/draft-ietf-oauth-pop-key-distribution-07>.
(Even though the prototype implementation I used worked with HTTP/JSON
equivalent for COAP/CBOR in draft-ietf-ace-oauth-authz )

That's why is responded to this email thread saying I am aware of the
issue.
After Jim's email, I understood that the issue may be resolved.

For the MQTT-TLS profile, the following is needed:
1) To be able to use HTTP to talk to AS for /token and /introspect
interfaces. I was aware that this was supported now
in draft-ietf-ace-oauth-authz:
    "If the RS is online, validation can be handed over to the AS using
token introspection (see messages D and E) over HTTP or CoAP".
    In 5.6 Token endpoint: "The endpoint may, however, be exposed over
HTTPS as in classical OAuth or even other transports."

2) mqtt_tls draft introduces the ace+json media type, as  Jim wrote: "I
would argue that the first draft using such a media type would be the
right place
to specify it. " in the thread "Transporting different types of cnf objects
- CBOR vs JSON".

3)  What I wasn't aware, and realised after Jim's email was that
draft-ietf-ace-oauth-params, which defines the cnf and rs_cnf
parameters say, supports JSON:
"Note that although all examples are shown in CBOR [RFC7049],
JSON [RFC8259] MAY be used as an alternative for HTTP-based
   communications, as specified in [I-D.ietf-ace-oauth-authz]."

I may be missing something but what is left for MQTT-TLS profile to define
when  draft-ietf-ace-oauth-authz  +   draft-ietf-ace-oauth-params put
together?


Kind regards,
--Cigdem








On Mon, Mar 9, 2020 at 8:01 PM Hannes Tschofenig <Hannes.Tschofenig@arm.com>
wrote:

> Hi Cigdem,
>
>
>
> Following the OAuth virtual interim meeting call today I wonder whether it
> makes sense to describe how the key transport with the PoP token using the
> communication between the client and the authorization server over the HTTP
> interface works.
>
>
>
> Ciao
>
> Hannes
>
>
>
>
>
> *From:* Hannes Tschofenig
> *Sent:* Friday, February 28, 2020 11:08 AM
> *To:* Cigdem Sengul <cigdem.sengul@gmail.com>
> *Cc:* ace@ietf.org
> *Subject:* RE: [Ace] draft-ietf-ace-mqtt-tls-profile-03
>
>
>
>    - I plan to join. I  have been aware of the issue, but could not
>    follow how it was planned to be resolved.
>    - I was looking at this: draft-ietf-oauth-pop-key-distribution
>
>
>
> Yes, that’s what the group wanted to do. Now, new ideas showed up on the
> radar that are incompatible with that approach that offer a much tighter
> integration with HTTP signing.
>
>
>
> Ciao
> Hannes
>
>
> IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
>