Re: [Ace] [EXTERNAL] Francesca Palombini's Discuss on draft-ietf-ace-oauth-authz-38: (with DISCUSS and COMMENT)

Hannes Tschofenig <Hannes.Tschofenig@arm.com> Thu, 25 March 2021 15:36 UTC

Return-Path: <Hannes.Tschofenig@arm.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 54D673A25A3; Thu, 25 Mar 2021 08:36:38 -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, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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=armh.onmicrosoft.com header.b=vtmxDBFJ; dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.b=vtmxDBFJ
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 SVgrBAkKhqFC; Thu, 25 Mar 2021 08:36:33 -0700 (PDT)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2077.outbound.protection.outlook.com [40.107.20.77]) (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 78E1A3A259D; Thu, 25 Mar 2021 08:36:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=92cfnl5WETcETNFH97dBDuWgTzrphZ0c5aQYJwLR0ZA=; b=vtmxDBFJyEDnzzwhrSg8uubeR7YCs/a9auu1fk67T2tJroTqGYhyGNvVZ3sZcjd0X/68MeLtKrsKIlYmFVYKquC2LyrV87JO+N4bNX+kjF2ab45J6VwO28NynBFLqxVOxDd+TY95kN2ez94qVPR1Y6dLs0hczIfdqZQ2Y6wV6Ss=
Received: from AM6PR10CA0065.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:80::42) by DB8PR08MB3963.eurprd08.prod.outlook.com (2603:10a6:10:a8::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.25; Thu, 25 Mar 2021 15:36:29 +0000
Received: from AM5EUR03FT043.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:80:cafe::c2) by AM6PR10CA0065.outlook.office365.com (2603:10a6:209:80::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.24 via Frontend Transport; Thu, 25 Mar 2021 15:36:29 +0000
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; ietf.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;ietf.org; dmarc=pass action=none header.from=arm.com;
Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com;
Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT043.mail.protection.outlook.com (10.152.17.43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.25 via Frontend Transport; Thu, 25 Mar 2021 15:36:28 +0000
Received: ("Tessian outbound 24fdfdedd45c:v89"); Thu, 25 Mar 2021 15:36:28 +0000
X-CR-MTA-TID: 64aa7808
Received: from b5ea8b9a514f.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 21E69919-5FD4-4C4D-9F19-61F27D55B46E.1; Thu, 25 Mar 2021 15:36:22 +0000
Received: from EUR03-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b5ea8b9a514f.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 25 Mar 2021 15:36:22 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M5nijK9IP3ax3AYs+kofUkbdtSkmpW2bQKJJ4LVqkMVwUjVwPKk1NOBBymMhra+M7H9+HmFwqlT0V5ofuKC0Y4KRb0ghn+z6FvXlyOJ+40t/qBKWUhMTTJrlO5o1BzihMc9NODNDARJaPP69HmErsd3Tu99ahtVupqW/afi8sZRde4RhuKzTPeOUG2mSTQ4aCwEhbYRHd/4vLzgibVOJB6vxYuWbN+efhEtuTR2g8rZBzv8d3mPzElzxwX2QFr4lmVV5qGW2vt2ZvJwUT5GZQNDYO6zNLGM8ECJYF5bhlNLr/sD+IXQyXBnRGp5AXv7JM6YpfWEESns+sUkVUpDPJg==
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=92cfnl5WETcETNFH97dBDuWgTzrphZ0c5aQYJwLR0ZA=; b=L83WVCcU7WxaZMfxugSTBxowfUTbQByFA+WkwZoJyyGfyF3bEd1CnHNi9/TTAM93Wby6BHiW4GLN97Ar9GTk3JrqtQSY8A9j79YfyR+KbECBzH6bF5uUC44G3PUckN2AQdHpBBG/RSQX+ABwfnJb3yidwThC9Sft6qW0gTHvxICyiJY3jm2Q8CraocvTU5HGMoCJx0ZaN9Uq+DUzjA/YKIz+OE4dLAA/JxJTw4hL/d/rfbL4la1s2xCHBrTaK7hHXxTLz5sbDux3HQkR0SRmu9/Nu3yLZha41brT6y+siVuBGvTJlseQZM0ybAKFEugQaS6tmSRw/kNTbM/tbi8q2A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=92cfnl5WETcETNFH97dBDuWgTzrphZ0c5aQYJwLR0ZA=; b=vtmxDBFJyEDnzzwhrSg8uubeR7YCs/a9auu1fk67T2tJroTqGYhyGNvVZ3sZcjd0X/68MeLtKrsKIlYmFVYKquC2LyrV87JO+N4bNX+kjF2ab45J6VwO28NynBFLqxVOxDd+TY95kN2ez94qVPR1Y6dLs0hczIfdqZQ2Y6wV6Ss=
Received: from VI1PR08MB2639.eurprd08.prod.outlook.com (2603:10a6:802:25::13) by VI1PR08MB5470.eurprd08.prod.outlook.com (2603:10a6:803:136::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.18; Thu, 25 Mar 2021 15:36:20 +0000
Received: from VI1PR08MB2639.eurprd08.prod.outlook.com ([fe80::99ef:85aa:3465:475e]) by VI1PR08MB2639.eurprd08.prod.outlook.com ([fe80::99ef:85aa:3465:475e%7]) with mapi id 15.20.3977.025; Thu, 25 Mar 2021 15:36:20 +0000
From: Hannes Tschofenig <Hannes.Tschofenig@arm.com>
To: Francesca Palombini <francesca.palombini@ericsson.com>, Cigdem Sengul <cigdem.sengul@gmail.com>, Francesca Palombini <francesca.palombini=40ericsson.com@dmarc.ietf.org>
CC: Seitz Ludwig <ludwig.seitz@combitech.se>, The IESG <iesg@ietf.org>, "ace-chairs@ietf.org" <ace-chairs@ietf.org>, "draft-ietf-ace-oauth-authz@ietf.org" <draft-ietf-ace-oauth-authz@ietf.org>, "ace@ietf.org" <ace@ietf.org>, "sec-ads@ietf.org" <sec-ads@ietf.org>
Thread-Topic: [Ace] [EXTERNAL] Francesca Palombini's Discuss on draft-ietf-ace-oauth-authz-38: (with DISCUSS and COMMENT)
Thread-Index: AQHXILzzcyF6YeG7q0+zjz8FZ7Zpo6qUVU4AgABlk4CAAASzAIAADdSAgAAIzNA=
Date: Thu, 25 Mar 2021 15:36:20 +0000
Message-ID: <VI1PR08MB26390548407CC099E6AB1E84FA629@VI1PR08MB2639.eurprd08.prod.outlook.com>
References: <161659738410.3239.3955409176349739508@ietfa.amsl.com> <fd47667ea52e432e947a35a886157865@combitech.se> <C4B30675-2945-4295-A24A-803219F04C08@ericsson.com> <CAA7SwCMYiSDc5nyG_7en7VqQtZq+0T4bobbbh8MwOVodMMr5qw@mail.gmail.com> <CA4FB312-70EC-43D0-8201-EFB48138560C@ericsson.com>
In-Reply-To: <CA4FB312-70EC-43D0-8201-EFB48138560C@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ts-tracking-id: 0F6C4A055D450041884ABCDEDD2E13C7.0
x-checkrecipientchecked: true
Authentication-Results-Original: ericsson.com; dkim=none (message not signed) header.d=none; ericsson.com; dmarc=none action=none header.from=arm.com;
x-originating-ip: [217.140.99.251]
x-ms-publictraffictype: Email
X-MS-Office365-Filtering-HT: Tenant
X-MS-Office365-Filtering-Correlation-Id: f28782dc-4fa4-49ca-2fad-08d8efa3c20e
x-ms-traffictypediagnostic: VI1PR08MB5470:|DB8PR08MB3963:
X-Microsoft-Antispam-PRVS: <DB8PR08MB3963835D4D43065B7A273BA4FA629@DB8PR08MB3963.eurprd08.prod.outlook.com>
x-checkrecipientrouted: true
nodisclaimer: true
x-ms-oob-tlc-oobclassifiers: OLM:10000;OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam-Untrusted: BCL:0;
X-Microsoft-Antispam-Message-Info-Original: 4O562mgf0bTxdklNFv4/1njVfb+LuabqNu2IH4P24QuAqskPjj8mqQfiUAMGdBguroNeQVyokw6mh3FHKu1T8TZWZCP+QCxn6rN7c8eldQAUEK7ii1jmLcIUkHW6hDxntNpgbJM2Qd7KQG1V3QUpn8CvcgUuAoplxeIrImNEOazLh0MlqTO2WYLXkQRmb0Dkydt6jh2yj40nPNCSH3/9kRVjJBsxW5RGjU42BzthPH0pD0U0QRgN2bYnf7lv9YghAQA/2kI6soxXdwgK6r8bqaa1AaOz8FF8SK+axA5+jISqDSuwl39tSCxOmJ63dgtsyaqo0B68NxEVFo0o/pcEa0U4I5DtAEzINnCVCeqXQ7IjD8yAnvJzf62Hf//BcNukbIYhuejGJrjX1vh+s1AyWVh4zZdIZJJ3gVjggjkBb1J+6mckkPWZHkbQvXcPau3irH2hDchAteNc92k2b3nM4yeLhdVcl1cQ/DMsS1JCXo6htg36ciQEvMuLlPfUeaG+v5TWNZLMqbHLlh1UDX3a16hBMUtEI/FNvcP0nqg/H6mwfTqtJH/4YWKZWilzKvIHRPh5PNL2JN/vqWxJ8w4KDJj+fzqgxFbMx9RwZWid+5dtVO+ddx4zsxy/e/361KyKvAR2jWTRVKb2ICv4VDu+0mji1sekTQfGXjJ3qSWOrUMZl0s196v0Kx8/Cujw4spz/y1wRcojaDh+8Xiohcm6Iq1gz1ciglHUC9yY+Vg6SY0=
X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB2639.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(136003)(376002)(396003)(366004)(39860400002)(66946007)(8936002)(76116006)(64756008)(8676002)(66446008)(33656002)(52536014)(5660300002)(30864003)(66476007)(66556008)(86362001)(53546011)(6506007)(7696005)(4326008)(966005)(83380400001)(478600001)(110136005)(186003)(55016002)(54906003)(9686003)(26005)(71200400001)(2906002)(38100700001)(316002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: WJZitVIjY9LCabbO3+wJjeqTSpVpOszxtedGdngrVG5GJ569fx+xDCs7YpOC0tUL4Xtsgad9SeDNhq2NlbnPY2ttkbo22Iv4ZgwPZpciV5lhKSfU56GDWt1MDB7AJnjEtfG6uztMwPFhicQzCjkyVivWokTiNJQwcEy+pqOOK0UOjhoIL6+zdfgI3AaAAkzA5khrvd00XcM22NDiy1wnk8eJh+ej3uTNOyR72c7/LqvqY7Dj8NeLC+fdN8YaO4ClLDCE0TMmiWiWCd98sZFZ6v1dLF2g2TxIaXdk/bnZmZ7+x5OLzIJJpxnranBe7rz0eB2Z22YQWZHr1ZKpPe6cHBe5fzAxWttgvCVansFOwe7sJwvLEnnnjdb2+IksHB8LgmOyrLtqfX9wVv0/5Agg8Y1Z3pvGpQCeR3NhREN1aLKtkwMxHI/D3OXI2aLOei2Egtmhq1uyy2eUuGHWMW9PbqRp1idfljME2zVdBNYMl73WZ72GvfMVNcIO9Bw1gcWxPOGEvgkMF+G8covGPuNHT0dkwlV+suEeYv8XpthztVk+rUD1ULgfJze9uiFSnpVff91R9dpuWD6AJCheOVjHBkaTWCEF8raOIf5N7iLqpijkV8rJO+uO1oAL6zLmpd+8DPIJE9Hn5FXsDJ1aFDWpYU721tWKhtzXVxZuQWXitxrJM8jxxvTkmREw23Wwdu8cz5jZnOHCIG8HuDD4QpQ+dGPL5mAxJAItZr7RrpWO9zVR7+Qlc6AYFyWhSAEqvE/zENQygitrYRuTtUb9kU2DDu6iKdgTsODIB/DeVj6R4xQCuqfRCIK65tZcxdSBZV4rbic9HRtF8QP/lGeLsc2r8J/JJewu9RmZ5rxq0OZHsJFg3BTZx2UWtXVdErte9qhAFZODFWWWmOoA3bMzTc9zUz0Q+78p5BL5c4gKRzOatJdR6T/9J5y0heVKwomx4PEtYexENAuoMLSCXmkz7fvl3Z3AD1RsLmqEVK04mz75wvdl3pEyGvcQ0AL4Bs58sFLrTeWSwU74peUeYWxXsNNFEWsqMnmFVzegqzyHeSmol1nqBSI7G6BeiajOqvXD8Qhe2GuHWp9sweNk1zp2PIRWoSd/vqRA3/D0IOloDoLczcLwVnfOC/4o7EPHHoo8GNsrY9Qu9VlPc73yAENqnh2NmTkn1owojz1L3E4Bluc/MnsiE41HSX95bm9H1f3s/d/nnpyYctP4nWxiY34io1ivhNrejK6ADS9uYaxbgFS/LAZET1w4vvextF6TSHp7V/hHEjJnDTLTu56GuYO3+rSXriUrQUjblgJeqEf8v+xbBP7HreKmYaGN8ldCAFOIQF1H
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB5470
Original-Authentication-Results: ericsson.com; dkim=none (message not signed) header.d=none; ericsson.com; dmarc=none action=none header.from=arm.com;
X-EOPAttributedMessage: 0
X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT043.eop-EUR03.prod.protection.outlook.com
X-MS-Office365-Filtering-Correlation-Id-Prvs: 4a84fc71-ff6c-45b8-012c-08d8efa3bd24
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: QFQKUkaW5YbM7LtzPKt6YSsJEqcKiTHBRnC41wneQ8yhYXSOr0j357wWtTAsdbius+k13JIjnv/YPWP+5dADJPP4kQnZdyuJ0hSVN1xIQ+2BKVpb8+vIs8QmZRkvlDU7i1smFZhcAy1CfxTEWMSn8bifuIE47p4txBCiaTn377ZovMay0sReUxeA6Lgfec0pLzwNfFmiBGhuH/9la/9YJPr9yephuT/kqbvYMiFKb+RMj3qYiKE3/Lq830zdPC0pRD2cIthv44nFEasFxFUlE0mZb3LcWMx00qT8l6twvSy5rQb38c6eBpqzJiAV7JLxRNA/X1PNE/6Wjee/O2aHWBkNEIilapvJ3CeBDE8AAJet97h34f871Hlv9Q88d1A5kfOWhi61gaTkmLTHKNIAUcY8u0xDYga2gHR1a4Od1Mafuws5YAXQzVIEWSzzUKRNhgKCEdsSl/29cfhjQC1qvENDTahkkZ1OXy98rQipOTIL8DUDDu4+4VrC2/LoUH/F6fC7eawKcZ0ZqEhSicwxbJmO9XRerNgqdx+lrzAxkvSoHDCcDlrlOnVUXJd3419dOTegBtoKLLWIai/dwIUbzieY5M7YqCEnuIBplpmjs6GYjXqA86D+xKNOVqH8ymPPYo15P5yruN/x9WWFU+HKU2vivD9YostZ1Gi0P/kTBYDA7Gc0UYhJ1qwQQileI0zLCI78i6AqlczEaj1o2+5/FX2nVp/s9uMwftwJ02yheJo=
X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(346002)(39860400002)(376002)(396003)(136003)(36840700001)(46966006)(4326008)(86362001)(5660300002)(54906003)(53546011)(186003)(30864003)(8676002)(6506007)(83380400001)(110136005)(26005)(478600001)(316002)(33656002)(8936002)(82740400003)(9686003)(2906002)(55016002)(52536014)(81166007)(70206006)(82310400003)(47076005)(70586007)(7696005)(966005)(336012)(356005)(36860700001)(450100002); DIR:OUT; SFP:1101;
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Mar 2021 15:36:28.5773 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: f28782dc-4fa4-49ca-2fad-08d8efa3c20e
X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com]
X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT043.eop-EUR03.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB3963
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/xHAHAtZDkGbocLFs0dB5sTYew28>
Subject: Re: [Ace] [EXTERNAL] Francesca Palombini's Discuss on draft-ietf-ace-oauth-authz-38: (with DISCUSS and COMMENT)
X-BeenThere: ace@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Authentication and Authorization for Constrained Environments \(ace\)" <ace.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ace>, <mailto:ace-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ace/>
List-Post: <mailto:ace@ietf.org>
List-Help: <mailto:ace-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ace>, <mailto:ace-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2021 15:36:38 -0000

Hi Francesca,

CBOR is used in different places throughout the document. There are several different interfaces (C<->AS, C<->RS, RS<->AS and also the token encoding itself).

For which part does the document give you the impression that CBOR is mandatory?

Ciao
Hannes

PS: I will dig out discussion with the OAuth group on the issue of PoP tokens and how to request a PoP token with HTTP over the client-to-AS interface to then present it via a different transport to the RS.

-----Original Message-----
From: Francesca Palombini <francesca.palombini@ericsson.com>
Sent: Thursday, March 25, 2021 3:59 PM
To: Cigdem Sengul <cigdem.sengul@gmail.com>; Francesca Palombini <francesca.palombini=40ericsson.com@dmarc.ietf.org>; Hannes Tschofenig <Hannes.Tschofenig@arm.com>
Cc: Seitz Ludwig <ludwig.seitz@combitech.se>; The IESG <iesg@ietf.org>; ace-chairs@ietf.org; draft-ietf-ace-oauth-authz@ietf.org; ace@ietf.org; sec-ads@ietf.org
Subject: Re: [Ace] [EXTERNAL] Francesca Palombini's Discuss on draft-ietf-ace-oauth-authz-38: (with DISCUSS and COMMENT)

Hi Cigdem,

I just quickly scanned the MQTT profile, and noticed that for example the C-AS interaction defined in the MQTT-TLS profile (using a new media type "application/ace+json") do not map with what is currently defined in the ACE framework (which maps more closely to what OAuth 2.0 does, using "application/x-www-form-urlencoded" format with a character encoding of UTF-8 in the HTTP request entity-body for example for the C-AS request).

My comment on point 13. is that: right now I read the framework as "it requires CBOR" for this exchange, and I agree with you this didn't seem to go with the rest of the specification - I was not requesting CBOR to be made mandatory, on the contrary I was pointing out an inconsistency within the document.

To re-iterate: I am ok with keeping a different encoding than CBOR in, but I do believe it needs clarification in the document. Also I did not suggest to remove HTTP from the specification.

Hannes - could you please remind me the substance of the discussion and the motivations for having this flexibility on encoding? Ludwig mentions "to allow legacy OAuth 2.0 equipment (i.e. not supporting ACE) to be used in ACE interactions on those legs of the communication where no constrained devices are involved." I feel like it would not be hard for OAuth2.0 ASes to support CBOR, they would need to support more processing defined by the Ace framework anyway.. Again, as I said several times, I am ok with stepping back, I just wanted to make sure I understood the motivation for a discussion which I haven't followed closely.

Francesca

On 25/03/2021, 15:10, "Cigdem Sengul" <cigdem.sengul@gmail.com> wrote:

    Hello,
    I would like to add my two cents to this as the MQTT-TLS profile does use
    HTTP/JSON for client-AS and rs-AS communication as similar already was
    supported in MQTT implementations between an MQTT broker and external
    servers (e.g., via auth plug-ins).

    For points like 13: Making CBOR mandatory would break how it is implemented
    for MQTT-TLS, which implements the AS creation hints as a User Property
    inside an MQTT message.
    "The User Property is a UTF-8 string pair, composed of a name and a value.
    The name of the User Property MUST be set to
       "ace_as_hint".  The value of the user property is a UTF-8 encoded
       JSON string containing the mandatory "AS" parameter, and the optional
       parameters "audience", "kid", "cnonce", and "scope" as defined in
       Section 5.1.2 of the ACE framework"

    Kind regards,
    --Cigdem



    On Thu, Mar 25, 2021 at 1:53 PM Francesca Palombini <francesca.palombini=
    40ericsson.com@dmarc.ietf.org> wrote:

    > Ludwig,
    >
    > Thank you for the quick reply, and for the useful background information.
    >
    > As I said, I think this document is important and should move forward
    > asap, and it can do so without changing the main assumptions, with some
    > additional clarifications in the text about CBOR vs "other" when HTTP is
    > used (which in my opinions are necessary - see points 1, 8, 10, 11, 13, 15,
    > 17, 22, 23, 26, 28).
    >
    > What I wanted to highlight is that it would simplify the document a lot to
    > just remove this flexibility, for which I don't understand the motivation,
    > and say "CBOR is mandatory" even when HTTP is used. The flexibility could
    > be added in a future document if needed. However, I understand that there
    > is history in the working group, and I will step back and remove my DISCUSS
    > if I am in the rough. Note however that in terms of work on the document I
    > suspect that keeping this flexibility will require more work, not less.
    >
    > Looking forward to discussing this with Ben during the telechat.
    > Francesca
    >
    > On 25/03/2021, 08:50, "iesg on behalf of Seitz Ludwig" <
    > iesg-bounces@ietf.org on behalf of ludwig.seitz@combitech.se> wrote:
    >
    >     Hello Francesca,
    >
    >     Thank you for your review. I will address your detailed comments
    > separately, with regards to your DISCUSS:
    >
    >     The option to allow both HTTP and JSON for any leg of the
    > communication (client-AS, rs-AS, client-rs) was the result of long
    > discussions in the WG. If I recall correctly the intent was to allow legacy
    > OAuth 2.0 equipment (i.e. not supporting ACE) to be used in ACE
    > interactions on those legs of the communication where no constrained
    > devices are involved.
    >     I am reluctant to reopen these discussions at this point in time, and
    > I suspect doing the necessary analysis to provide in-depth considerations
    > on the choices between HTTP/CoAP and JSON/CBOR will significantly delay the
    > progress of this document.
    >
    >     @ace-chairs: What is your suggestion on how to best handle this?
    >     (Please note that I am unable to commit significant amounts of time to
    > this work in the foreseeable future)
    >
    >     Regards,
    >
    >     Ludwig
    >
    >
    >     > -----Original Message-----
    >     > From: Ace <ace-bounces@ietf.org> On Behalf Of Francesca Palombini
    > via
    >     > Datatracker
    >     > Sent: den 24 mars 2021 15:50
    >     > To: The IESG <iesg@ietf.org>
    >     > Cc: art-ads@ietf.org; ace-chairs@ietf.org; draft-ietf-ace-oauth-
    >     > authz@ietf.org; ace@ietf.org
    >     > Subject: [EXTERNAL] [Ace] Francesca Palombini's Discuss on
    > draft-ietf-ace-
    >     > oauth-authz-38: (with DISCUSS and COMMENT)
    >     >
    >     > Francesca Palombini has entered the following ballot position for
    >     > draft-ietf-ace-oauth-authz-38: Discuss
    >     >
    >     > When responding, please keep the subject line intact and reply to
    > all email
    >     > addresses included in the To and CC lines. (Feel free to cut this
    > introductory
    >     > paragraph, however.)
    >     >
    >     >
    >     > Please refer to
    > https://www.ietf.org/iesg/statement/discuss-criteria.html
    >     > for more information about IESG DISCUSS and COMMENT positions.
    >     >
    >     >
    >     > The document, along with other ballot positions, can be found here:
    >     > https://datatracker.ietf.org/doc/draft-ietf-ace-oauth-authz/
    >     >
    >     >
    >     >
    >     >
    > ----------------------------------------------------------------------
    >     > DISCUSS:
    >     >
    > ----------------------------------------------------------------------
    >     >
    >     > Thank you for this document. I think this is an important document
    > which
    >     > should move forward, but I would like to discuss some points before
    > it does
    >     > so. These might result in simple clarifications, or might require
    > more
    >     > discussion, but I do hope they help improve the document.
    >     >
    >     > General comments:
    >     >
    >     > I found confusing to understand how optional or mandatory is the use
    > of
    >     > CBOR for profiles of this specification compared to the transport
    > used. I
    >     > understand the need for flexibility, but maybe it should be
    > clarified the
    >     > implication of using CoAP (is CBOR mandatory then?) vs HTTP (is CBOR
    > always
    >     > permitted? How is the encoding in that case? Is the same media type
    >     > application/ace+cbor used in that case?). Note also that while
    > requests
    >     > include the content type to use, both in case HTTP or CoAP+CBOR are
    > used,
    >     > the response don't seem to include this information.
    >     >
    >     > I would like it to be clarified what requirements (or even just
    >     > recommendations) are there to use CoAP vs HTTP for different legs of
    > the
    >     > exchange - not necessarily remove the flexibility but to clarify for
    >     > implementers what can be done and what would be the reasoning to do
    >     > that: for example if both endpoints support HTTP with the AS, most
    > likely you
    >     > can have HTTP between C and RS, so does it really make sense to run
    > this
    >     > instead of OAuth 2.0? Right now all is permitted, but does it all
    > make sense? I
    >     > feel like this type of considerations are missing. As a note - I am
    > not sure
    >     > what allowing a different encoding than CBOR for any leg of the
    > exchange
    >     > adds to the specification - it makes things more confusing, and if
    > needed it
    >     > could be specified in another document.
    >     >
    >     > While going through and thinking about encodings (assuming we keep
    > the
    >     > doc as is with regards to allowing more than just CBOR), I wondered
    > if it
    >     > would be better to define a new media type to use when the ACE
    >     > framework is used with HTTP, to differentiate from OAuth 2.0, since
    > some of
    >     > the endpoints used are the same (/token and /introspect at the AS).
    > I am
    >     > interested to hear more from my co-AD as well if this would be an OK
    > use of
    >     > a new media type - I am thinking of the case where AS is supporting
    > both
    >     > OAuth 2.0 and the Ace framework - or if it is unnecessary, since the
    >     > encodings are the same, and the parameters are registered in OAuth
    > 2.0
    >     > registry.
    >     >
    >     > More detailed comments below.
    >     > Francesca
    >     >
    >     >
    >     >
    > ----------------------------------------------------------------------
    >     > COMMENT:
    >     >
    > ----------------------------------------------------------------------
    >     >
    >     > Detailed comments:
    >     >
    >     > 1. -----
    >     >
    >     >    sufficiently compact.  CBOR is a binary encoding designed for
    > small
    >     >    code and message size, which may be used for encoding of self
    >     >    contained tokens, and also for encoding payloads transferred in
    >     >    protocol messages.
    >     >
    >     > FP: "may be used" make it seem as if CBOR is always optional (even
    > when
    >     > CoAP is used). See points 11. and 13. for examples of text that seem
    > to imply
    >     > that CBOR is mandatory in some cases.
    >     >
    >     > 2. -----
    >     >
    >     >       Refresh tokens are issued to the client by the authorization
    >     >       server and are used to obtain a new access token when the
    > current
    >     >       access token becomes invalid or expires, or to obtain
    > additional
    >     >
    >     > FP: token validity - it is not clear what it means for a token to
    > become invalid
    >     > (vs expiring). As this is the first time it is mentioned, it should
    > be explained
    >     > here or referenced.
    >     >
    >     > 3. -----
    >     >
    >     >          An asymmetric key pair is generated on the token's recipient
    >     >          and the public key is sent to the AS (if it does not already
    >     >
    >     >           inside the token and sent back to the requesting party.
    > The
    >     >          consumer of the token can identify the public key from the
    >     >
    >     >  FP: "token's recipient" and "consumer of the token" - why not talk
    > about
    >     > client and resource server here? It would fit better with the
    > terminology
    >     > used  in the rest of the document.
    >     >
    >     >  4. -----
    >     >
    >     >     This framework RECOMMENDS the use of CoAP as replacement for HTTP
    >     > for
    >     >    use in constrained environments.  For communication security this
    >     >
    >     > FP: This was already stated in the introduction in the following
    > sentence:
    >     >
    >     >    of processing capabilities, available memory, etc.  For web
    >     >    applications on constrained nodes, this specification RECOMMENDS
    > the
    >     >    use of the Constrained Application Protocol (CoAP) [RFC7252] as
    >     >    replacement for HTTP.
    >     >
    >     > Not sure repeating is useful.
    >     >
    >     > 5. -----
    >     >
    >     >    OAuth 2.0 (such as [RFC7521] and [RFC8628]).  What grant types
    > works
    >     >    best depends on the usage scenario and [RFC7744] describes many
    >     >    different IoT use cases but there are two preferred grant types,
    >     >    namely the Authorization Code Grant (described in Section 4.1 of
    >     >
    >     > FP: nit: s/works/work . I think "preferred" is probably not the
    > right term
    >     > here, and should be rephrased or clarified - preferred respect to?
    >     >
    >     > 6. -----
    >     >
    >     >       In addition to the response parameters defined by OAuth 2.0 and
    >     >       the PoP access token extension, this framework defines
    > parameters
    >     >       that can be used to inform the client about capabilities of the
    >     >       RS, e.g. the profiles the RS supports.  More information about
    >     >
    >     > FP: I believe this is a leftover from a previous version of the
    > document, but
    >     > should be "profile" and not "profiles" as the AS is only allowed to
    >     > communicate one profile to the client and RS - see for example the
    > following
    >     > sentences:
    >     >
    >     >       The Client and the RS mutually authenticate using the security
    >     >       protocol specified in the profile (see step B) and the keys
    >     >
    >     >       The AS informs the client of the selected profile using the
    >     >       "ace_profile" parameter in the token response.
    >     >
    >     > 7. -----
    >     >
    >     >          (1) the client sends the access token containing, or
    >     >          referencing, the authorization information to the RS, that
    > may
    >     >          be used for subsequent resource requests by the client, and
    >     >
    >     > FP: s/may/will
    >     >
    >     > 8. -----
    >     >
    >     >       While the structure and encoding of the access token varies
    >     >       throughout deployments, a standardized format has been defined
    >     >       with the JSON Web Token (JWT) [RFC7519] where claims are
    > encoded
    >     >       as a JSON object.  In [RFC8392], an equivalent format using
    > CBOR
    >     >       encoding (CWT) has been defined.
    >     >
    >     > FP: Would it make sense to RECOMMEND the use of JWT when HTTP is
    > used?
    >     > Or is CWT always RECOMMENDED?
    >     >
    >     > 9. -----
    >     >
    >     >    parameters.  When profiles of this framework use CoAP instead, it
    > is
    >     >    REQUIRED to use of the following alternative instead of Uri-query
    >     >    parameters: The sender (client or RS) encodes the parameters of
    > its
    >     >    request as a CBOR map and submits that map as the payload of the
    > POST
    >     >    request.
    >     >
    >     > FP: I think it should be better defined (or at least hinted in this
    > paragraph)
    >     > the mapping between the CBOR encoded parameters and the Uri-query
    >     > parameters:
    >     > are they all encoded as CBOR text strings?
    >     >
    >     > 10. -----
    >     >
    >     >    Applications that use this media type: The type is used by
    >     >    authorization servers, clients and resource servers that support
    > the
    >     >    ACE framework as specified in [this document].
    >     >
    >     > FP: I suggest adding "that support the ACE framework with CBOR
    > encoding,
    >     > as specified ..."
    >     >
    >     > 11. -----
    >     >
    >     >    The OAuth 2.0 AS uses a JSON structure in the payload of its
    >     >    responses both to client and RS.  If CoAP is used, it is REQUIRED
    > to
    >     >    use CBOR [RFC8949] instead of JSON.  Depending on the profile, the
    >     >    CBOR payload MAY be enclosed in a non-CBOR cryptographic wrapper

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.