Re: [Ace] Review draft-tiloca-ace-oscore-gm-admin-01

Marco Tiloca <marco.tiloca@ri.se> Mon, 20 July 2020 07:48 UTC

Return-Path: <marco.tiloca@ri.se>
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 BE63B3A082A; Mon, 20 Jul 2020 00:48:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level:
X-Spam-Status: No, score=-2.101 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, MSGID_FROM_MTA_HEADER=0.001, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-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=ri.se
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 LuuK9rq79wOx; Mon, 20 Jul 2020 00:48:33 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2080.outbound.protection.outlook.com [40.107.22.80]) (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 E321F3A0826; Mon, 20 Jul 2020 00:48:32 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KVcbc8ZJv28JyZUqUYPPFIsL8O1dk14evv+mclFP/48pHKyx2ojDkpzWTysqM24vbZTf5uEPY9KyK4ko9pshS/bztnyudojY5v+klA4tOS6cLmcQhhcv55ZFsvY6v4bIrQ1lHAPrW+FEAE2SVYW9hVpzuQUhiugSMIF0+qCQrRYaZvbDknd2GErpgv7EE+hYiF95LmefwP7ssTquPD794NH1NP8bwgF4k8ZPXq2hxDmnIh0EWEjNk163cB6QpPyfLbfX+f4ElExhhvvZ5ZZE4GAhIyhyvrgRkxlttE917/w6ICMnUfdYuUjh4Pj1A7z0gnxls7AtHg50H/v5jPGC7w==
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=d97oSA1iST0KJascRWSLySgI6CpwTM4nVAC1I45os6E=; b=f29tj0BiGGPasQjxIJ09CLPtN/RlmbJDOiio6zt7jd6CqXyxmM8ajxKr/bhlMn/KZBoM/rJ4i8J6rk+s3oI4MBfVSnDUpFv2Z43LMm8ES9sA0ivBnvpQtIQqGyhCMPuW3EdBXbOUCJDnqz2cKaORq47X8FLpTdJAu0D9Gw0ggIQ34t14eaKbNP6xfBg/sUUqbXoD2obU+3k12P/eA2vqMjf3+3fRoksOKdgNpBJsksqnmCq/yOkP8ltGzBWwk9d/hZgBDoXdt1KnBoULQdEKB6UZoVZIRmYzGrw6BsLN/UpWEnnWHIj2s0VrGijv5KmBXf3leiIstLAuLyBoVuFkMw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ri.se; dmarc=pass action=none header.from=ri.se; dkim=pass header.d=ri.se; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ri.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=d97oSA1iST0KJascRWSLySgI6CpwTM4nVAC1I45os6E=; b=cXcA3U9YJCZHYSEDsGliKqctKBKHOsjErNAp5yEE71fM+/0cBR5HNLim47RNjdDLU03rNN+ur3tx00gET6hOALugwOhl/Oroxj3J1dvcwZU2pcPzXKkGNc4l8F+lgzOYzRHOJZrJZXQGxqtSgdpBMhJ25QGRBl7uv0JifRM2ifg=
Authentication-Results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=ri.se;
Received: from VI1P189MB0398.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:35::31) by VI1P18901MB0111.EURP189.PROD.OUTLOOK.COM (2603:10a6:801:e::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.17; Mon, 20 Jul 2020 07:48:29 +0000
Received: from VI1P189MB0398.EURP189.PROD.OUTLOOK.COM ([fe80::2124:eed3:60cd:95a2]) by VI1P189MB0398.EURP189.PROD.OUTLOOK.COM ([fe80::2124:eed3:60cd:95a2%6]) with mapi id 15.20.3195.024; Mon, 20 Jul 2020 07:48:29 +0000
To: Jim Schaad <ietf@augustcellars.com>, draft-tiloca-ace-oscore-gm-admin@ietf.org
Cc: ace@ietf.org
References: <005b01d63ce7$cbedce80$63c96b80$@augustcellars.com>
From: Marco Tiloca <marco.tiloca@ri.se>
Autocrypt: addr=marco.tiloca@ri.se; prefer-encrypt=mutual; keydata= mQENBFSNeRUBCAC44iazWzj/PE3TiAlBsaWna0JbdIAJFHB8PLrqthI0ZG7GnCLNR8ZhDz6Z aRDPC4FR3UcMhPgZpJIqa6Zi8yWYCqF7A7QhT7E1WdQR1G0+6xUEd0ZD+QBdf29pQadrVZAt 0G4CkUnq5H+Sm05aw2Cpv3JfsATVaemWmujnMTvZ3dFudCGNdsY6kPSVzMRyedX7ArLXyF+0 Kh1T4WUW6NHfEWltnzkcqRhn2NcZtADsxWrMBgZXkLE/dP67SnyFjWYpz7aNpxxA+mb5WBT+ NrSetJlljT0QOXrXMGh98GLfNnLAl6gJryE6MZazN5oxkJgkAep8SevFXzglj7CAsh4PABEB AAG0Nk1hcmNvIFRpbG9jYSAobWFyY28udGlsb2NhQHJpLnNlKSA8bWFyY28udGlsb2NhQHJp LnNlPokBNwQTAQgAIQUCWkAnkAIbAwULCQg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nZyOSf/r2/Vd0iHauBwv57cpY6HFFMe7rvK4s7ME5zctO Ely5C6NCu1ZaNtdUuqDSPA==
Message-ID: <0274c577-4d8b-14c3-ea39-f754bceb1674@ri.se>
Date: Mon, 20 Jul 2020 09:48:22 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
In-Reply-To: <005b01d63ce7$cbedce80$63c96b80$@augustcellars.com>
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="GGkDQnboQjeoiYo4Nrjvhznj8IW3WxoXI"
X-ClientProxiedBy: AM6PR08CA0047.eurprd08.prod.outlook.com (2603:10a6:20b:c0::35) To VI1P189MB0398.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:35::31)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from [10.8.0.3] (37.120.131.76) by AM6PR08CA0047.eurprd08.prod.outlook.com (2603:10a6:20b:c0::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.18 via Frontend Transport; Mon, 20 Jul 2020 07:48:29 +0000
X-Originating-IP: [37.120.131.76]
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 7af4ce22-2aef-49c1-36c7-08d82c814b0b
X-MS-TrafficTypeDiagnostic: VI1P18901MB0111:
X-Microsoft-Antispam-PRVS: <VI1P18901MB01110EA85E646AA88D1A7E7C997B0@VI1P18901MB0111.EURP189.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: bo605krjkrseV3njNeWTz/dkDx4+6bXHZYSKgK8jsxuU8CAksz4g1ftVV1Ug3wsiQbbnAvEKZpAHORBivPykBMrciyQ50TEEz+XTxW3WWS7KRjEiQbzNQgwgl39bJnzcYioJ4f9BNtZueMhffGPvZiABri9aDhgcNNk/ReiNYsruIBCuUzsYHfCBZpZhvz+2mYBjj6RWoLTpy+Yi71t1G+E/4Eo3QmJht/bp+MgKvHyCmCkzCTFGyWTwgZjRgv8N6nhIaLoGRAgyrL2m3jIv84kCG1yJIAdLY0OEcVfAanidwF9oB06pwCM2nYD8O8rjq3pXsKZOJCosePBNDyTTdWt2q6MAyAWUoQvefQQ4KWFR9WPy8WimMo5BrEAL/KuOxWTK+1xZXEL/W45Py4jNEJIFG12N3VDQxHm9ZrxkOnZeA2btGl7sewhv/WRJaCmab4rvaEv4ZIhPunsf/Vqycw==
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1P189MB0398.EURP189.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(366004)(346002)(136003)(396003)(39850400004)(52116002)(5660300002)(186003)(235185007)(66574015)(8936002)(33964004)(478600001)(8676002)(31686004)(36756003)(53546011)(26005)(966005)(4326008)(16526019)(16576012)(21480400003)(316002)(31696002)(86362001)(44832011)(2906002)(66556008)(66476007)(66946007)(6666004)(6486002)(83380400001)(2616005)(956004)(43740500002); DIR:OUT; SFP:1101;
X-MS-Exchange-AntiSpam-MessageData: MWYKa2q5GqrSJrBao3u6ZF92pKRefggd5Bk1Y9YV+SBlfi9cFeejmsM/wQiObcLC2qEvrc6ibIwvP3FA7f3kQet8+wo0kkhPkVig8XiBHNHFhdZz13zLXIg3suI1kxV0Qxd18GC+T8uylV49ZlwdQfYYML0EdisdRmRfAQxN+CTVglaY7XysROR42iZSOPlztyF7piQbVq8FqOdXaihLti3hBE01GhfMgjFdzRkUixueX6un/ecNihSD2cp+0LJ71bJ86Vp5xBBKa8vQVAm/GjUpOiGd1JlaGwBHLmwMvW78DDSzz7EzhmKCX1WsQmo7FSOWl2U7IQQMCM+e/HGJteqe+zxdY0rRgKzYQBXbvy9B/oURqQp7fAIfZ26u+94FQO+cdHRNPUjJPAYmaLVtG+cUJ08Njj/AXSFVW80l5T3r7scFdgh+q/Q4KtIWT3hncB0dxRyHQCMmbtRUX/nsmdIVvphXkds3p8jbMBdlJ6U=
X-OriginatorOrg: ri.se
X-MS-Exchange-CrossTenant-Network-Message-Id: 7af4ce22-2aef-49c1-36c7-08d82c814b0b
X-MS-Exchange-CrossTenant-AuthSource: VI1P189MB0398.EURP189.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2020 07:48:29.6403 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5a9809cf-0bcb-413a-838a-09ecc40cc9e8
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: 1rClCbYcaHYFhNe9+fzYjQES2As270XuyawGlS1H7qAkCmPZfNCB7zxiVi70eDiiLJPfbAw+ifXpn3SiJn0n+Q==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1P18901MB0111
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/3FBNKjngK-is3Ti5xmNPpSgAZ9Y>
Subject: Re: [Ace] Review draft-tiloca-ace-oscore-gm-admin-01
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, 20 Jul 2020 07:48:37 -0000

Hi Jim,

Thanks for this review! We have processed your comments in the latest
version -02, with one open point left for discussion.

Please, see our replies in line.

Best,
/Marco

On 2020-06-07 18:22, Jim Schaad wrote:
> * Does 'joining_path' contain the path or the full URI to the joining
> resource.  Is it possible for the Group Manager Administration to be on a
> different server (or via a different address) from the Group Manager itself?
> Path tends to me to say only path.

==>MT
Right, it's intended as full URI. And yes, the Administrator and the
Group Manager can be in totally different machines. We have renamed the
parameter as 'joining_uri'.
<==

> * Section 2.3.2.1 - I think it makes more sense to make all of the defaults
> to the groupcomm draft from ACE for OSCORE.  Since this is for managing
> those types of groups, it should be that document which gets to set the
> defaults.  If it wants to refer back to the same documents that is fine, but
> it should be that the defaults can change based on changing that document.

==>MT
We have moved the default values of the configuration parameters to a
new section in ace-key-groupcomm-oscore , while we keep here the default
values of the status parameters in Section 2.3.2.2.
<==

>
> * Section 2.3.2.2 - I think there may be a difference between an empty
> string and an absent string for group_title.  Just verifying that what you
> want is an empty string.

==>MT
We have updated the parameter definition to be the CBOR simple value
Null, if no description is provided for the group. The default value
defined in this section has also been update to be Null.
<==

>
> * Section 2.4.1 - I am not sure why this is a subsection of 2.4.

==>MT
It should in fact be a self-standing Section 2.5. Now fixed.
<==

>
> * Section 2.5.3 - What does "or is not fine to consider for tis OSCORE
> group" in bullet #4 list #2?  Is this implying some type of judgement on the
> part of the AS based on parameters in the group definition or the expected
> usage of the group?

==>MT
No, we don't mean anything so specific. We wanted to capture that the
Group Manager may still trust the suggested AS, but already has a
different associated AS to use.

We have updated the text in current Section 2.6.3, limiting the error
cause to not trusting the suggested AS while at same time not having any
alternative AS to consider for this OSCORE group.
<==

>
> * Section 2.5.3 - I think it might make sense to return at least some of the
> information in the return value of the POST such as the "joining_path" and
> the "as_uri" because just the management path is not sufficient to be able
> to start populating the RD.

==>MT
We have updated current Section 2.6.3 accordingly, and further included
'group_name' to the list of parameters included in the response.

Along the same lines, we have also updated the response to a PUT request
updating the current configuration, in current Section 2.6.5. This
applies at least to the case where the Administrator specifies a new AS,
and the Group Manager rejects it but has a better one to use instead,
and indicates it in the response to the PUT request.

In both sections mentioned above, we have also added text describing how
a registration/update in the RD can follow, for the link to the
group-membership resource of the created/updated OSCORE group.
<==

>
> * Section 2.5.3 - An interesting question - Should it be allowable for the
> name to be different between the management and the group key nodes?  I
> would like to see some type of discussion at least on the mailing list.
> Doing the search on the join path would result in the same answer and little
> additional penalty since I doubt that GM Admin clients are going to be
> constrained.

==>MT
It is possible to have two separate parameters here, i.e.
'group_name_admin' and 'group_name_members'. They would both point at
the same OSCORE group, but:

- The Administrator can use either of the two to retrieve the same group
configuration.

- The Administrator uses 'group_name_members' for
publication/advertisement or for registering a link to the
group-membership resource in the RD (where that group name will be the
value of the attribute 'sec-gp').

- The candidate group members end up using the group name
'group_name_members'.

So, it's true that there is no real penalty in doing this, but what's
the actual advantage in having this distinction? Is it about making it
allowable for future use cases?
<==

>
> * Section 2.5.5 -  The second paragraph makes zero sense to me.  The third
> paragraph should just be talking about the update message and not mixing the
> create and update messages together.

==>MT
In current Section 2.6.5, we have rephrased the second paragraph
explicitly mentioning the error handling on the request payload,
analogous to the one for the POST request for creating a new OSCORE group.

On the third paragraph, not sure where we referred to group creation. We
have anyway pointed more clearly only at the PUT request for updating
the group configuration.
<==

>
> * Section 2.5.5.2 - I have read this section twice and I still do not think
> I understand what is going on here.  How much of this is needed and how much
> is extraneous?  Is there some simplification that can be used to make this
> easier?

==>MT
We have shortened and revised the text (current Section 2.6.5.2).
Please, have a look.
<==

>
> Jim
>
> s/fowllowing/following/

==>MT
Done.


Thanks a lot again!

Best,
/Marco
<==

>
>

-- 
Marco Tiloca
Ph.D., Senior Researcher

RISE Research Institutes of Sweden
Division ICT
Isafjordsgatan 22 / Kistagången 16
SE-164 40 Kista (Sweden)

Phone: +46 (0)70 60 46 501
https://www.ri.se