Re: [Lake] COSE IANA registrations in EDHOC (Was: New Version Notification for draft-ietf-lake-edhoc-09.txt)

Göran Selander <goran.selander@ericsson.com> Tue, 24 August 2021 11:43 UTC

Return-Path: <goran.selander@ericsson.com>
X-Original-To: lake@ietfa.amsl.com
Delivered-To: lake@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7C44D3A0976; Tue, 24 Aug 2021 04:43:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.553
X-Spam-Level:
X-Spam-Status: No, score=-2.553 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.452, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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=ericsson.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 3qAyb5ZOuxjl; Tue, 24 Aug 2021 04:43:46 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130088.outbound.protection.outlook.com [40.107.13.88]) (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 207503A0971; Tue, 24 Aug 2021 04:43:46 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hihIHUUrytR5wW/XMUD6PSftbq1ZULr8otyMg75iiyjif0Ok9Q1LJ08x3pRl2L23HBMU/Stu3ZqgWoObuGkIFX7b0K0PMTddD4M5173dutfJVXtvHe49C4mlQ3azXlAsCMy3w5xqRkGE6cQ3iFYeK4zYx4FpysuSIZVFZoCueH/UJqOWi5QDYsFahpMpbmxT8ER2d2C1/bqmODxK6/3/4qgOOa65VU++uultdG2Bh/kY7GmOpvRBpIcMtTox3BDJpAWtMzWvW8SqbJWFB6huoC0KNJyTni5/0DKFrN9AgXhacxD49e5opsF97HL7zRxyMqqUb+ZlyxybeaF+r+KdOA==
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=LBFqNGshbI9kyKAZTPhp8Qtk6REKxm68+tlMBp9ALx4=; b=QO9JogmKdvXQmzQzvc+Egx03WRagXcTJ1f1xZ093WCG1/TVwSRFFNPsD3iUy6AxQUk3OJ5Eutm24J+RtyN/54qW7FYrZo+cWrs8paq9Pydi9GSYp4RpSC+rsvYkJ+rWcfWR3BhsTlYQllUJxBsoaZyJVD/fHFsf/544JPCotIPU8yxrT/Bg3zj+VjPImmfKQ9kAuQdlup1oGsPfuJCJO1uVsD+ZXKuGI5US0/EkE3v4LIY+dkZyqmspL9rYSDzgMfv3huv6tOgJhvzu//ncFO2khlb3vB4GFvQb8VWkTaUgHy18Qw71qBPyR6lBl+TeLR/sYwvo2odyXEgJWbOs8JA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LBFqNGshbI9kyKAZTPhp8Qtk6REKxm68+tlMBp9ALx4=; b=azMdhYMd3Zm5nWGxnpACOSOT1EddV8Lo4yRIcXcUKMmd6z2AqIF1Ay+EjGj2wBlojE7tmk9u/sHTIlf3BV5Gt0CFN4hQx/jTMIUP7pkuYNnrA6d8gZbwd3qQtU6LQInOGgI3J3LsSo1FW7YwnTW4+M+cDcAO6QdI3ojB5WpIBZ4=
Received: from HE1PR07MB3500.eurprd07.prod.outlook.com (2603:10a6:7:31::20) by HE1PR0701MB2873.eurprd07.prod.outlook.com (2603:10a6:3:57::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.16; Tue, 24 Aug 2021 11:43:42 +0000
Received: from HE1PR07MB3500.eurprd07.prod.outlook.com ([fe80::a141:8e66:ce19:813d]) by HE1PR07MB3500.eurprd07.prod.outlook.com ([fe80::a141:8e66:ce19:813d%7]) with mapi id 15.20.4457.012; Tue, 24 Aug 2021 11:43:42 +0000
From: =?utf-8?B?R8O2cmFuIFNlbGFuZGVy?= <goran.selander@ericsson.com>
To: Carsten Bormann <cabo@tzi.org>, =?utf-8?B?R8O2cmFuIFNlbGFuZGVy?= <goran.selander=40ericsson.com@dmarc.ietf.org>
CC: "lake@ietf.org" <lake@ietf.org>, Michael Richardson <mcr@sandelman.ca>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [Lake] COSE IANA registrations in EDHOC (Was: New Version Notification for draft-ietf-lake-edhoc-09.txt)
Thread-Index: AQHXmL7KYK+58ihZ20OCTsJpG7tgCquCqpwA
Date: Tue, 24 Aug 2021 11:43:42 +0000
Message-ID: <D7EE1E0A-2EE4-4A47-AAC3-215C74C33CC3@ericsson.com>
References: <F24FD33B-B94D-4C84-AE07-C9161668C16E@ericsson.com> <C5080F76-EE94-47A7-AEF7-864C7644BE8F@tzi.org>
In-Reply-To: <C5080F76-EE94-47A7-AEF7-864C7644BE8F@tzi.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.52.21080801
authentication-results: tzi.org; dkim=none (message not signed) header.d=none;tzi.org; dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 7729428e-7c9e-4a78-f6a0-08d966f46c84
x-ms-traffictypediagnostic: HE1PR0701MB2873:
x-microsoft-antispam-prvs: <HE1PR0701MB28733FD278CEEE52373BABDEF4C59@HE1PR0701MB2873.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: hB9+FWxzPlZmlHumCW/9e8HHL7/3RnLN8exGS2ILe63z5cO+30t6LQiwUFZ6sBsPinYeooDfCVYwypqDK5V0lOYD/wThSosotFKj0hRyS1RFtila8DKzQeyIF6+H5ES2RppR4RLU2FeP5tFf+fPpn4iNHWz8Dp/qVx1RuLL79XyHp+xYT2/Z78fJHNmjWWsG6+fGoFwpu4OGSrjs7BmBfMgo0y/0gq5skNl1MmnXRz2PYBQfJzUdsKZpUiL4lGaMbNVFVpdppojMrJwP9hfz/ZnJ1eiEe03BGZ8Pj8qOvntfrcVX3bth+m7C2RFwS82E5KMIEkcYjyhum1cqMr8cXj5ezrGyN0nJsfAIB/4AXkd580HMO8b8ARGafDkcdTMZWptUrDFieQDb1lG8BEJJCzMXfSeVZfLeZZtNbAsjLMVkN7bmPXjEx4hwb11SBh4OFWoUsJccVDg242WcLmb7Drspm2HD/d+o/BLaXf1ByxJzioIpWpS5pvW2fdlpyPoDnTttSPdqq4grGsSM5XtRvmoESiHo6EnMb0t/CQX3++laqZOVgxaTzuYBqeh3NItV80YRgapFINf+IBUFb7P1SQv0B1AHgWNrT4U5UhkHQJfuwebrmIH8hOZbL1ktqegxTUqkyb2w5ZEJ3f4X73xnb6jWs95TwYLHAL+oc5h3v3R0MyAJCIo2DBfsix47qlJn+MWTpe1oSM3HglVjhunVL1gNtoZCYiRN/Ut58+N8FOQMNf60ialGioS3bgDZmkZ6cpF39Ci6P9UnJN9q4v66b9qYs8bf9pwtUrsfjhpalGaT5bfc6/jOrCY5/gR0IL54
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR07MB3500.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(966005)(83380400001)(38070700005)(64756008)(33656002)(508600001)(66446008)(66556008)(38100700002)(66946007)(15650500001)(6506007)(26005)(66574015)(5660300002)(71200400001)(4326008)(66476007)(186003)(53546011)(2906002)(85182001)(6486002)(110136005)(2616005)(36756003)(316002)(85202003)(54906003)(76116006)(122000001)(6512007)(8676002)(86362001)(8936002)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?OXFRZlhXdXluWWh3NGU0U2pVTXovSlh0K3c2ZWFGMC9hcEVaL3RtQlMwTUlP?= =?utf-8?B?MCtzL2poeXJCSGJ1ek5NRm8yQlBraFNUSzJlRnZQSHNwZGZoN3MwZU90d2tw?= =?utf-8?B?RlNWWStwNFErc2VhU1FEclpDelR3VTFTUmx4N1RYdWp6SmpOSE5WbnBhWG1E?= =?utf-8?B?V2d2bGo4NnhGbmptK2NqY3BweW5HRFhxdjBodU96RmxWcHhSL2lPcWtWU29H?= =?utf-8?B?N01xRGFxbkJFRU9ZVVZ3Q09XdkdrQ203NHdhQi95bS9Kc05scjBFSnBSNnV3?= =?utf-8?B?c1FnUStReWRPVDRoTmFZMWJQUXBzcjUvbWoxQkVsRGdjTEtra0FlNGoxSERa?= =?utf-8?B?YUVQM1lGVE94YjIwWFZ5Mzd2aVJIUXZXazg2bVBVWjhnTkl4TElKUmdGdktR?= =?utf-8?B?Y2kvQVpvUTFlM21Rby9GNis2WkpMS1hVTEQrb1BjbFpLUnV3NmIrLzB1Z1FY?= =?utf-8?B?c2VUOGt1ZXpLZUVDNENMOTZXT0dNSW5Yc0NTMW03bWZvUVFMMXhzSmhOVFFB?= =?utf-8?B?RVRJdDVrbjFHNEhrYjBzUTJEWUdaWmRONGhFaFVEREV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TWhQNkc4aWMvK3BHZDY4MC9vVWRFQzFtWTBq?= =?utf-8?B?VnpES1ZvbE9pVWhaMEtvTTBtWVErQ28rbkFKVnphcDlUbGtldFNXSzJwQ25R?= =?utf-8?B?MzU3MUM0Q1lSWXlpZ3VBVFlyaDU0L3VuekM1cVdZOURjU0hZM0V5dHBsbldZ?= =?utf-8?B?VGNleTNJVW8wQXEwV21UalNpamxncmRBaWpGY1JCU0phSE5oVVNwc2phSi9h?= =?utf-8?B?SWFpUlludHd6SGNuUXdLREdGVlE0Nkx3S05XaTdLcGZVOUlweXdMWHhRWXlx?= =?utf-8?B?aE9tNGRSb0x3Wm4vZ1ZxUGZGbDhWODB5cTZ1aUFEZGhBZHZzNUcweW9QZmU5?= =?utf-8?B?ckpPeDdTL0FiOTNGdWQ4dz09?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <1A42AEB31A31DE4BB1B50CB4B3A844B2@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR07MB3500.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 7729428e-7c9e-4a78-f6a0-08d966f46c84
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Aug 2021 11:43:42.6373 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: JdTf4SstYIdk0oCTJSi8XDH0mhcZZEnlZ7yTOinLy/5fNW3LsONhAXyJm27ZEntFYkgYnwQhy1LTvwgWURfAeXyVwX6nn99Nknm0EoFrmOs=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2873
Archived-At: <https://mailarchive.ietf.org/arch/msg/lake/CvDGsjXNDB22Su2O_-5HehKEcdY>
Subject: Re: [Lake] COSE IANA registrations in EDHOC (Was: New Version Notification for draft-ietf-lake-edhoc-09.txt)
X-BeenThere: lake@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Lightweight Authenticated Key Exchange <lake.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lake>, <mailto:lake-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lake/>
List-Post: <mailto:lake@ietf.org>
List-Help: <mailto:lake-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lake>, <mailto:lake-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Aug 2021 11:43:53 -0000


> On 2021-08-24, 10:05, "Lake on behalf of Carsten Bormann" <lake-bounces@ietf.org on behalf of cabo@tzi.org> wrote:
>
>    I see.
>
>    So, you are saying, this will be a “using EDHOC in COSE” specification, 

Well, others may also have use of the COSE header for CWT/UCCS, and the int value type of 'kid'.

>  still normative, but referenced from EDHOC as informative as 
>   EDHOC works without COSE.

Well, EDHOC is definitely dependent on COSE, but does not require these particular credentials or identifiers.

>   Yes, it is always hard to position a “using X in Y” draft between the X and Y working groups — after all, the two ends of this draft need 
>   to fit X and Y, respectively.  If the EDHOC specification truly doesn’t need the contents of this specification, then I can see moving them
>   into a COSE document.  But I think it is as expedient to keep them together in one document.  The only strong reason to split the 
>  document would be to avoid a long wait while COSE is deciding on some controversial content of the extracted spec.  Do we foresee such 
>  a delay?

Not that I am aware of. Previous discussion in COSE has not indicated that this is contentious. The main thing we haven't discussed is that EDHOC would be updating rfc8152bis-struct.


Göran


    > On 2021-08-24, at 09:35, Göran Selander <goran.selander=40ericsson.com@dmarc.ietf.org> wrote:
    > 
    > Combining the responses from Carsten and Michael, and including COSE.
    > 
    >> On 2021-08-23, 19:17, "Michael Richardson" <mcr@sandelman.ca> wrote:
    >> 
    >>   Göran Selander wrote:
    >>> * The key identifier ‘kid’ is extended to also support CBOR ints,
    >>> making ‘kid2’ introduced in -08 redundant. This change was based on
    >>> feedback from the COSE WG [1]. One potential next step is to move all
    >>> COSE-related IANA registrations from this draft to a separate COSE
    >>> draft and make an informative reference.
    >> 
    >>> [1] https://mailarchive.ietf.org/arch/msg/cose/qGngdte4s3SEZEKM-xBEoXYUgKc/
    >> 
    >>   I understanding splitting the document so that it is easier to update,
    >>   but I think that the reference should be normative.
    >> 
    >>   I think we want to publish the documents together.
    > 
    > 
    > > On 2021-08-23, 21:42, "Carsten Bormann" <cabo@tzi.org> wrote:
    >> 
    >>> One potential next step is to move all COSE-related IANA registrations from this draft
    >> to a separate COSE draft and make an informative reference.
    >> 
    >>   Why?
    >> 
    > 
    > 
    > The registrations in question are in section 8.5 -  8.7 of draft-ietf-lake-edhoc-09: The extension of 'kid' to int (both as a reference and in the referenced object) and the registration of 'cwt' to signify that the value is a CWT or UCCS.
    > 
    > A few reasons have been mentioned for moving this from EDHOC to a COSE draft, I don't know what is most relevant, if anything:
    > 
    > * In case of 'kid', these registrations would make EDHOC an update of draft-ietf-cose-rfc8152bis-struct (RFC-to-be 9052). I don't know if LAKE or COSE wants that. 
    > 
    > * These registrations are independent of the base EDHOC protocol, but enables the use of CWT and UCCS as credentials, and more compact identification of credentials. Therefore they could instead be referenced from EDHOC. I don't see why the reference needs to be normative.
    > 
    > * These registrations belong to the COSE domain and may gain better awareness and reviews if put into a COSE draft.
    > 
    > 
    > Göran
    > 
    > 
    > 
    > 
    > 
    > 
    > 
    > 
    > -- 
    > Lake mailing list
    > Lake@ietf.org
    > https://www.ietf.org/mailman/listinfo/lake

    -- 
    Lake mailing list
    Lake@ietf.org
    https://www.ietf.org/mailman/listinfo/lake