Re: [Ace] AIF as discussed today (Re: I-D Action: draft-bormann-core-ace-aif-08.txt)
Cigdem Sengul <cigdem.sengul@gmail.com> Tue, 23 June 2020 20:27 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 3E9F63A0900 for <ace@ietfa.amsl.com>; Tue, 23 Jun 2020 13:27:34 -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=unavailable 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 9hfjEqSmM3O7 for <ace@ietfa.amsl.com>; Tue, 23 Jun 2020 13:27:31 -0700 (PDT)
Received: from mail-vs1-xe2e.google.com (mail-vs1-xe2e.google.com [IPv6:2607:f8b0:4864:20::e2e]) (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 DD8703A0901 for <ace@ietf.org>; Tue, 23 Jun 2020 13:27:30 -0700 (PDT)
Received: by mail-vs1-xe2e.google.com with SMTP id m62so112566vsd.4 for <ace@ietf.org>; Tue, 23 Jun 2020 13:27:30 -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=c1bJLty2o4b40NoOirCC7KPmrDkgukgDSAOwECzSstg=; b=DIUB2eenaf7dAtQClQxqbZKaE+RWIpCVaIWJsqg+esigcjcBZg4Ex2cSoGxziQ1sxZ oXBXjeRePbjG7I7KHbrXdbUAcFjVfHro2KuUtNIzsmmOFc6hvVGpDNBX/wsqbsoYBs2a Vx/A4CmS9mox02cHF8WW5Zi365CWD6DuHrGmwdyWNWx9F9wS6sSb/GUFBySCTGMcEdH5 ujI9vlZxXfgp+UQEa2KM+3WU5LVJ+yfqPj9TSN1Q8S6UqKoC++ccP2WDeJMNyPsU6UjY sGRdha4WPEDeN/ZQXr7AOW9LNVo1Ir0hy7Np5juCKA2t9IxG/nhs4bfXuWpYuMC7IGB8 V9iA==
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=c1bJLty2o4b40NoOirCC7KPmrDkgukgDSAOwECzSstg=; b=AQTNwT0rV+xHfq8/bR7bz1AABqU9z1Z/DybQk6DjbEjute5hgO2ZfZ2U21IjSLj6wC F18Nc0zZixGUrmkKNmBuTbzxgww0wj9mXZJOCNFKdDvfHUXF93B5qBgkbudJrRFVADv5 yosa/x6W0ZDaIPHJQaFMFof5MHNl4OgTLXsxonqUIeVI79Qri52ZS48PPQRq4S56+VXO u2wtA27t3gpv3bWbJPRKhBJWtWE5aAmkFERXX9oriDYrLRWc2PFxuNBeU5gWakzo72JA nUfGLE5lXVb0Zwmtia1F7chGF+Op345HDsLYVswNUscdMWa50fNmQaJHnzcVdblhaVbL 8tnQ==
X-Gm-Message-State: AOAM5327vnJXFBi5cZNSIcMDEjdEcL8Mn/HshMXpmeeSJHuA4syjLGWi BKqfDhNcUoHdF/zb4/7YnOmtCL8cJ2oGAv+e2SE=
X-Google-Smtp-Source: ABdhPJwqapL+vjVbYlNKzaxQ/PdlZAU3g277qCQmcVGEangaN7mp5lBEjqw8JFdvUz+ZaMglQ/l9UVNUbVvpDqT6Gxk=
X-Received: by 2002:a67:8e45:: with SMTP id q66mr23463653vsd.62.1592944049829; Tue, 23 Jun 2020 13:27:29 -0700 (PDT)
MIME-Version: 1.0
References: <159286394732.28803.9776136105746750769@ietfa.amsl.com> <1A09E8B0-7330-4208-885A-D66C2FD0513B@tzi.org> <D5756A3C-10E0-4F69-A907-C5373FC3C474@ericsson.com> <00ea01d64975$860fc4f0$922f4ed0$@augustcellars.com>
In-Reply-To: <00ea01d64975$860fc4f0$922f4ed0$@augustcellars.com>
From: Cigdem Sengul <cigdem.sengul@gmail.com>
Date: Tue, 23 Jun 2020 21:27:19 +0100
Message-ID: <CAA7SwCOW2pE7ZWNKmnwvw4woaO+34BVtMTd6GYuOhqSVbvDKQA@mail.gmail.com>
To: Jim Schaad <ietf@augustcellars.com>
Cc: Francesca Palombini <francesca.palombini=40ericsson.com@dmarc.ietf.org>, Carsten Bormann <cabo@tzi.org>, Ace Wg <ace@ietf.org>, Marco Tiloca <marco.tiloca@ri.se>
Content-Type: multipart/alternative; boundary="0000000000003cbdbb05a8c63029"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/Y5zCe6Ld7XYsoE9kEmg2mdaRIiU>
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 20:27:34 -0000
This looks what I expected from the MQTT point of view. Thanks, Jim. I will look into adding the change to the profile document now. Kind regards, --Cigdem On Tue, Jun 23, 2020 at 4:48 PM Jim Schaad <ietf@augustcellars.com> wrote: > > > > -----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 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