Re: [Ace] AIF as discussed today (Re: I-D Action: draft-bormann-core-ace-aif-08.txt)
Jim Schaad <ietf@augustcellars.com> Tue, 23 June 2020 15:47 UTC
Return-Path: <ietf@augustcellars.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 E4B0D3A0F6E for <ace@ietfa.amsl.com>; Tue, 23 Jun 2020 08:47:02 -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 6SUujNw3hAUt for <ace@ietfa.amsl.com>; Tue, 23 Jun 2020 08:47:01 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AA5933A1027 for <ace@ietf.org>; Tue, 23 Jun 2020 08:47:00 -0700 (PDT)
Received: from Jude (73.180.8.170) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 23 Jun 2020 08:46:54 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Francesca Palombini' <francesca.palombini=40ericsson.com@dmarc.ietf.org>, 'Carsten Bormann' <cabo@tzi.org>, 'Ace Wg' <ace@ietf.org>
CC: 'Marco Tiloca' <marco.tiloca@ri.se>
References: <159286394732.28803.9776136105746750769@ietfa.amsl.com> <1A09E8B0-7330-4208-885A-D66C2FD0513B@tzi.org> <D5756A3C-10E0-4F69-A907-C5373FC3C474@ericsson.com>
In-Reply-To: <D5756A3C-10E0-4F69-A907-C5373FC3C474@ericsson.com>
Date: Tue, 23 Jun 2020 08:46:53 -0700
Message-ID: <00ea01d64975$860fc4f0$922f4ed0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Content-Language: en-us
thread-index: AQJ8tg4m1AxG4a73qr+EP0ScytilYQGGbjn7AfzzVkunfWFLIA==
X-Originating-IP: [73.180.8.170]
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/4K06JO7ebHiOxvz-8h_LaaMYJnE>
Subject: Re: [Ace] AIF as discussed today (Re: I-D Action: draft-bormann-core-ace-aif-08.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: Tue, 23 Jun 2020 15:47:14 -0000
> -----Original Message----- > From: Ace <ace-bounces@ietf.org> On Behalf Of Francesca Palombini > Sent: Tuesday, June 23, 2020 6:45 AM > To: Carsten Bormann <cabo@tzi.org>; Ace Wg <ace@ietf.org> > Cc: Marco Tiloca <marco.tiloca@ri.se> > Subject: Re: [Ace] AIF as discussed today (Re: I-D Action: draft-bormann-core- > ace-aif-08.txt) > > Hi Carsten, > > Thanks for this quick update! Just some short high level comments, to make > sure we can use this for ace-key-groupcomm-oscore. > > In ace-key-groupcomm-oscore, we would say that Toid is the identifier of the > OSCORE group, so the OSCORE "group name", which is encoded as a bstr. For > Tperm, it's a bit further away from what the aif document specifies (which is > why I want to check with you), but we would go for array of tstr, since we can't > really encode the permission to be a "monitor" node (for example) by > indicating a REST method. This is a bit stretched from the document right now, > but it should work. > > We would have to register a media type (and content format) for this, so what > would this be? You use aif+cbor for the default, so maybe something like "aif- > ace-group+cbor". For section 5.3, we would have to register Toid and Tperm > with something like: > > Toid registry: > * name: gname > * description: group name of the OSCORE group as specified in ace-key- > groupcomm-oscore > > Tperm registry: > * name: roles > * description: role of the group member as specified in ace-key-groupcomm- > oscore > > I think we are missing some form of "encoding" column in the registries above. > In that case it would be "bstr" for Toid gname and "CBOR array of tstr" for > Tperm role. It would also be "tstr" for local-part Toid and "int" for Tperm REST- > method-set. (also, minor, but you sometimes use "local-part" and sometimes > "local-uri", see section 4). Even better, the description or the encoding in the > registry could point to "path" and "permissions" cddl, for the default values in > the aif doc. > > Using "array of tstr" for roles allows us to express what we need for "set of > roles". I don't see this being in contrast with the aif document right now. This follows what I would expect, for MQTT I would see AIF-MQTT = AIF_Generic<filter, permissions> filter = tstr permissions = [ +permission ] permission = "publish" / "subscribe" For the group comm draft, I think that AIF-GROUP-COM = AIF_Generic<path, permisions> path = tstr ; group name permissions = uint . bits methods methods = &( requester = 1, responder = 2, monitor = 3, verifier = 4 ) This does require a registry if we ever expect this to grow. > So all in all, I think this can work for ace-key-groupcomm-oscore. Please let me > know if you see anything that bothers you in my summary. > > Thanks, > Francesca > > On 23/06/2020, 00:17, "Ace on behalf of Carsten Bormann" <ace- > bounces@ietf.org on behalf of cabo@tzi.org> wrote: > > I went ahead and quickly implemented what we had discussed today. > > https://www.ietf.org/id/draft-bormann-core-ace-aif-08.html > > Lots more editing to do, but the gist of what I was trying to say should be > there. > Comments welcome! > > Grüße, Carsten > > > > On 2020-06-23, at 00:12, 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 : An Authorization Information Format (AIF) for ACE > > Author : Carsten Bormann > > Filename : draft-bormann-core-ace-aif-08.txt > > Pages : 9 > > Date : 2020-06-22 > > > > Abstract: > > Constrained Devices as they are used in the "Internet of Things" need > > security. One important element of this security is that devices in > > the Internet of Things need to be able to decide which operations > > requested of them should be considered authorized, need to ascertain > > that the authorization to request the operation does apply to the > > actual requester, and need to ascertain that other devices they place > > requests on are the ones they intended. > > > > To transfer detailed authorization information from an authorization > > manager (such as an ACE-OAuth Authorization Server) to a device, a > > representation format is needed. This document provides a suggestion > > for such a format, the Authorization Information Format (AIF). AIF > > is defined both as a general structure that can be used for many > > different applications and as a specific refinement that describes > > REST resources and the permissions on them. > > > > > > The IETF datatracker status page for this draft is: > > https://datatracker.ietf.org/doc/draft-bormann-core-ace-aif/ > > > > There are also htmlized versions available at: > > https://tools.ietf.org/html/draft-bormann-core-ace-aif-08 > > https://datatracker.ietf.org/doc/html/draft-bormann-core-ace-aif-08 > > > > A diff from the previous version is available at: > > https://www.ietf.org/rfcdiff?url2=draft-bormann-core-ace-aif-08 > > > > > > Please note that it may take a couple of minutes from the time of > submission > > until the htmlized version and diff are available at tools.ietf.org. > > > > Internet-Drafts are also available by anonymous FTP at: > > ftp://ftp.ietf.org/internet-drafts/ > > > > > > _______________________________________________ > > I-D-Announce mailing list > > I-D-Announce@ietf.org > > https://www.ietf.org/mailman/listinfo/i-d-announce > > Internet-Draft directories: http://www.ietf.org/shadow.html > > or ftp://ftp.ietf.org/ietf/1shadow-sites.txt > > _______________________________________________ > 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
- [Ace] I-D Action: draft-bormann-core-ace-aif-08.t… internet-drafts
- [Ace] AIF as discussed today (Re: I-D Action: dra… Carsten Bormann
- Re: [Ace] AIF as discussed today (Re: I-D Action:… Francesca Palombini
- Re: [Ace] AIF as discussed today (Re: I-D Action:… Jim Schaad
- Re: [Ace] AIF as discussed today (Re: I-D Action:… Cigdem Sengul
- Re: [Ace] AIF as discussed today (Re: I-D Action:… Marco Tiloca
- [Ace] AIF-09 (Re: AIF as discussed today (Re: I-D… Carsten Bormann