Re: [Ace] WGLC review of draft-ietf-ace-mqtt-tls-profile-07

Olaf Bergmann <bergmann@tzi.org> Tue, 29 September 2020 20:29 UTC

Return-Path: <bergmann@tzi.org>
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 547D83A1143 for <ace@ietfa.amsl.com>; Tue, 29 Sep 2020 13:29:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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 vGEgsbeSjfqM for <ace@ietfa.amsl.com>; Tue, 29 Sep 2020 13:29:19 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8A38A3A114E for <ace@ietf.org>; Tue, 29 Sep 2020 13:29:18 -0700 (PDT)
Received: from wangari.tzi.org (p508a4e5d.dip0.t-ipconnect.de [80.138.78.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4C19wF0FkSzyYv; Tue, 29 Sep 2020 22:29:16 +0200 (CEST)
From: Olaf Bergmann <bergmann@tzi.org>
To: Seitz Ludwig <ludwig.seitz@combitech.se>
Cc: Ace Wg <ace@ietf.org>
References: <D68C212C-FD3A-4900-86DE-B138DD0CFCD0@ericsson.com> <CAA7SwCPQjY7fwJrJyfK=kmcmPP3i-6mevwP+64yjc4S_8ezoww@mail.gmail.com> <06BB230C-FEDF-46F2-8B54-525BD9675A27@ericsson.com> <a5a83e6943cb4f2f8ee8dde4cd987b7e@combitech.se>
Date: Tue, 29 Sep 2020 22:29:16 +0200
In-Reply-To: <a5a83e6943cb4f2f8ee8dde4cd987b7e@combitech.se> (Seitz Ludwig's message of "Thu, 24 Sep 2020 13:37:20 +0000")
Message-ID: <87mu18ba3n.fsf@wangari>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/UfPXwEQq6S1iwHoSimkVjU10dks>
Subject: Re: [Ace] WGLC review of draft-ietf-ace-mqtt-tls-profile-07
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, 29 Sep 2020 20:29:22 -0000

Hi Ludwig,

Seitz Ludwig <ludwig.seitz@combitech.se> writes:

> “ace_profile” parameter in the access token request. 
>
>  the only option for the client is [...] to send an empty
> “ace_profile” parameter in the access token request in order to query
> the selected profile

I just stumbled over Section 5.6.3, Error Response [1], which describes
the error code incompatible_ace_profiles as follows:

     "If the client and the RS it has requested an access token for do
     not share a common profile, the AS MUST reject that request with a
     response code equivalent to the CoAP code 4.00 (Bad Request)
     including the error code "incompatible_ace_profiles" defined in
     Figure 10."

I wonder how the AS is supposed to know which ace profiles the client
implements?

[1] https://tools.ietf.org/rfcmarkup?doc=draft-ietf-ace-oauth-aut#section-5.6.3

Grüße
Olaf