Re: [Cbor] CDDL for COSE + EAT/CWT + SUIT + CoSIWD

Hannes Tschofenig <Hannes.Tschofenig@arm.com> Wed, 08 December 2021 12:46 UTC

Return-Path: <Hannes.Tschofenig@arm.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 09C8E3A079E; Wed, 8 Dec 2021 04:46:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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=HQ1yBbTE; dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.b=HQ1yBbTE
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 07Cvi4j-Wt8x; Wed, 8 Dec 2021 04:46:45 -0800 (PST)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70088.outbound.protection.outlook.com [40.107.7.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 22DC53A079D; Wed, 8 Dec 2021 04:46:44 -0800 (PST)
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=VUB4KrM3ZmNECOH8lItVH4uRTG6JO000BVj7FjhjMiI=; b=HQ1yBbTEGwesxxqsPru6mnGLBggteF5Xt/Yc2+Nt4MFDCe8YAGms3KGtZ18iAEILhzS3fOfV0ud9ndu2GCRUedriutttnitup9EbHjY4M60visb1v1fGOVXSHaDCDaXdsWoUgLhXHO8DYt6N7Dp3vddshlj66PyENl8d010ikHU=
Received: from AS9PR06CA0290.eurprd06.prod.outlook.com (2603:10a6:20b:45a::8) by VI1PR08MB3632.eurprd08.prod.outlook.com (2603:10a6:803:79::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.20; Wed, 8 Dec 2021 12:46:41 +0000
Received: from VE1EUR03FT052.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:45a:cafe::43) by AS9PR06CA0290.outlook.office365.com (2603:10a6:20b:45a::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.11 via Frontend Transport; Wed, 8 Dec 2021 12:46:41 +0000
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;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 VE1EUR03FT052.mail.protection.outlook.com (10.152.19.173) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.13 via Frontend Transport; Wed, 8 Dec 2021 12:46:40 +0000
Received: ("Tessian outbound f493ab4f1fb8:v110"); Wed, 08 Dec 2021 12:46:40 +0000
X-CR-MTA-TID: 64aa7808
Received: from fb87c15b9261.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id B5F1275B-9912-420A-AB1E-B18F4F3DD09E.1; Wed, 08 Dec 2021 12:46:35 +0000
Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id fb87c15b9261.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 08 Dec 2021 12:46:35 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kY1nKDedudHcdrNRZk2R02Imm4BUpGq+MS5JI3j8sUyE1D+y+S/zydxB1wDm0rdXnMVjxacG8TzwU444+7rMiNJWFDg0MppK7c7cUKbpELAE/82XeTaYT/kIl8OiIqLDMSc+VUvepj+JukCAMSPlYl7uUzc+NHIZyvwmEWl3Yj/lZKFhzJeTNjCCs452mG+x1rIa8nPqAkjACFOWmxJi2UVqhPa35bOVWJerViZW5x1zkMLoLTuexENsoSobpx8q8Ni+/+KkECrAzNYRUEU3TX/TIySTId827PmMfWufyyWe4YhMobdglLib+EVVixtwTQlYxatRb7KDQ7ldlNpGXA==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VUB4KrM3ZmNECOH8lItVH4uRTG6JO000BVj7FjhjMiI=; b=T/K+W/6sM6aJW4TqjoLQcIJYJmdm1aloqLo5Z73/WNif1kolTaFaohYWpoeSusBrthkR0oxc25VVgqB3kzx67Muv1Q4g7+pJM9h3V/yQUxUPyA/aLvXSfFy20e+eE/McZGvdPcw/DnnY6AQrG1cmfqhjTARg9VMkQZGXW5UlQSNaRO+OafG0WPAFO3IK/esuA42aikOBXmalAx4oX0E2INOqFcYFetN3CRM428MWUOw5SGCIuC15ANe+g4CvvxhodpMtP2KTtpfW2RZT5QvlAn3KZz6tTEbMmZjOAKwCG81GDwxx0iRLXKao8MWMUtfTxC+I/cgq+O05lq97GPyMMg==
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=VUB4KrM3ZmNECOH8lItVH4uRTG6JO000BVj7FjhjMiI=; b=HQ1yBbTEGwesxxqsPru6mnGLBggteF5Xt/Yc2+Nt4MFDCe8YAGms3KGtZ18iAEILhzS3fOfV0ud9ndu2GCRUedriutttnitup9EbHjY4M60visb1v1fGOVXSHaDCDaXdsWoUgLhXHO8DYt6N7Dp3vddshlj66PyENl8d010ikHU=
Received: from DBBPR08MB5915.eurprd08.prod.outlook.com (2603:10a6:10:20d::17) by DB8PR08MB4105.eurprd08.prod.outlook.com (2603:10a6:10:b0::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.21; Wed, 8 Dec 2021 12:46:34 +0000
Received: from DBBPR08MB5915.eurprd08.prod.outlook.com ([fe80::dd96:eb7:b263:b290]) by DBBPR08MB5915.eurprd08.prod.outlook.com ([fe80::dd96:eb7:b263:b290%4]) with mapi id 15.20.4755.022; Wed, 8 Dec 2021 12:46:34 +0000
From: Hannes Tschofenig <Hannes.Tschofenig@arm.com>
To: Carsten Bormann <cabo@tzi.org>
CC: Laurence Lundblade <lgl@island-resort.com>, cose <cose@ietf.org>, "cbor@ietf.org" <cbor@ietf.org>, Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
Thread-Topic: [Cbor] CDDL for COSE + EAT/CWT + SUIT + CoSIWD
Thread-Index: AQHX67gvNbcS2jfqyUOwtKjobSbIKKwohLpQgAAEVwCAAAJZAA==
Date: Wed, 08 Dec 2021 12:46:34 +0000
Message-ID: <DBBPR08MB5915DCAD539AD2CA4770515BFA6F9@DBBPR08MB5915.eurprd08.prod.outlook.com>
References: <85278E84-AD34-4F68-94DC-437BABCCD621@island-resort.com> <DBBPR08MB591541267172A49382892483FA6F9@DBBPR08MB5915.eurprd08.prod.outlook.com> <75C33F50-0C92-47B9-80DB-050499F51630@tzi.org>
In-Reply-To: <75C33F50-0C92-47B9-80DB-050499F51630@tzi.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ts-tracking-id: ACEF9131246AE54793C163F17DC8CFE8.0
x-checkrecipientchecked: true
Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
X-MS-Office365-Filtering-Correlation-Id: 0258bbad-7953-4127-eda8-08d9ba48c834
x-ms-traffictypediagnostic: DB8PR08MB4105:EE_|VE1EUR03FT052:EE_|VI1PR08MB3632:EE_
X-Microsoft-Antispam-PRVS: <VI1PR08MB3632A749283E532780DA837CFA6F9@VI1PR08MB3632.eurprd08.prod.outlook.com>
x-checkrecipientrouted: true
nodisclaimer: true
x-ms-oob-tlc-oobclassifiers: OLM:7219;OLM:8882;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam-Untrusted: BCL:0;
X-Microsoft-Antispam-Message-Info-Original: ccbpUrcT6Qn3jGrthPwc4ea7xsaTMydPD/ahTqv9EJAX3FtxzFOOujpYA6rUUJFaFdzVuYHuZ7pOa3obfPQEhawaoNZL7gg0gtjovYJ1Fi1OxzrDdHuKSfkTA5gNGowjP/qT8JtjePAIucbOXviVoV5g8ZadzUo3e6ncG5E2RBk3WukfyvU6tP/o4/5HU9xdBiqxvFPVzcZRRBfQOFYuwkHBgaftqNzFueI+jfrzwloyBfr+QxsoopcD90GhE2c18MTm+ghQ880wlqPHLEcu7yo+RugQtdyxshXzDfVew6LY8sr0OBZTP8SAsehwAOkmPClmr8QJPuxL1loQ5b7+Ur4vwqYb4UCquw6rAKkmhi3cIyW4QT75Ufox403S4RCllQorNbl2rOW0jcCJOUeX03wqluUBWLi6kePxjkEFFJulAJh2NC+0uu4CWOyMUvL0vwxEaN0LEfV2le+3Vexfc0++Vkf7TCeweD93LwatxjKW0JmG7bW5M+o+0diz/t+/aS4ehBW/P+vDGax9cXH9W5fYnolvcjauoeDuZz5UOzedMUZi/Vh2BysIOf/6GGIyYjVgS6OfAAco88KgSiph5aSdAVTOcLpkIrSm0fVxfDG1tQ2PgLmKFBdhi7i3ehcgHENTVqzdeI0AYzPAxTQX+riJ6iPB5MWrSrXcGktoNjpx2xOdq1s8KUp8wwHTHNnIbsuK/O7Vx7l/cDiGLy4Usw==
X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBBPR08MB5915.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(508600001)(6506007)(52536014)(86362001)(5660300002)(4326008)(2906002)(33656002)(316002)(71200400001)(53546011)(122000001)(54906003)(76116006)(26005)(38100700002)(8936002)(8676002)(6916009)(7696005)(66946007)(83380400001)(66476007)(186003)(55016003)(66446008)(9686003)(66556008)(38070700005)(64756008); DIR:OUT; SFP:1101;
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB4105
Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
X-EOPAttributedMessage: 0
X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT052.eop-EUR03.prod.protection.outlook.com
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id-Prvs: 806d126b-159d-4f41-f8bd-08d9ba48c43c
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: s65rbLC5cbak9WZ/TBLielZAiJq4It8BRhNF/sYNXgUvP0zde/LQwE8aHNpu2ra2xStw4QlF24HfWkhCxyAE1TnarPv+azHNsI6196cEnPcFrNbk2rAmQevONY45uZgc9Z8nsUYQ51zErf4iPdusckQzvem+d0qK2dMngdt0I8wSBoPHheB2IlC5jyQOYQL3wctpPMUm7CN7RT4RvLNfA/PdLIAbJiFelI9R78lUL6iM7SZ8r2i8bW75HooQrJZRIwmuvOBg9UxDFC/Ja5yIVZ6t0GngankXeArmm6TLg+hPpCuai86Ag/6E6RmqCayRBVkL4IV713Qmh+IyJDB0SfJM718QY1bgiR9zu3JoTKcIZEJelpq5a6eglEheqgfIhJ5gPA+5KdpXprhfZrn7pYurBbabFd5iRMnxr4P9jfJ5Lynv9pxoVaywcPvO7UNJOV/YJlAHjTe9BGSQTvmlMMZnD5xIeWfcycPAy9T4Urx+eBMLCTT99YlWinE204creqZrYCdqQSOAGRAzEop07UJby8asnrCqmqkeIePgsb/lPTuoL8umWyiyZ1FtEASe5quLa2O4+pNYUfzcG5wM1LkIOR9z6vVZvV9iFb3VMgu9OGIMuuOjJwBhKvq7kd3UH6bxihIUDauwOTErjVWTh3lvIICb1P5qGoX6arQAFEwswNCp7svMkj0HnmazxD9zUeWLXOiWhderbfi6fJZ9pA==
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)(46966006)(36840700001)(7696005)(81166007)(2906002)(8936002)(70586007)(70206006)(55016003)(82310400004)(8676002)(450100002)(5660300002)(356005)(36860700001)(107886003)(9686003)(336012)(83380400001)(6862004)(26005)(47076005)(54906003)(316002)(4326008)(33656002)(86362001)(52536014)(508600001)(6506007)(53546011)(186003); DIR:OUT; SFP:1101;
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2021 12:46:40.7396 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 0258bbad-7953-4127-eda8-08d9ba48c834
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: VE1EUR03FT052.eop-EUR03.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3632
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/wCfJqqhEIASekdcQZEGlOh_eyd4>
Subject: Re: [Cbor] CDDL for COSE + EAT/CWT + SUIT + CoSIWD
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Dec 2021 12:46:51 -0000

Hi Carsten,

I suspect Laurence is sending this email because of his work on EAT. I am arguing that an attempt to improve the CDDL for the mentioned specs will not lead to any improvement at all because the problem is elsewhere. I am saying that because I have just spent many hours reading the EAT spec.

Ciao
Hannes

-----Original Message-----
From: Carsten Bormann <cabo@tzi.org>
Sent: Wednesday, December 8, 2021 1:37 PM
To: Hannes Tschofenig <Hannes.Tschofenig@arm.com>
Cc: Laurence Lundblade <lgl@island-resort.com>; cose <cose@ietf.org>; cbor@ietf.org; Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
Subject: Re: [Cbor] CDDL for COSE + EAT/CWT + SUIT + CoSIWD

On 2021-12-08, at 13:30, Hannes Tschofenig <Hannes.Tschofenig@arm.com> wrote:
>
> EAT by itself is not really an interoperable spec. COSE on its own is not interoperable either.

If I guess about the definition of "interoperable spec” you are using here, ASCII is not an interoperable spec either - you still have to agree on what the text means…  Still, ASCII was kind of useful as the basis for a lot of interoperability, I think.

I think the point here was to shape some CDDL that makes it easier to talk about the way a more specific (interoperable?) spec uses COSE (which does have CDDL, just not in a way that usually can be integrated as-is to express the additional constraints a COSE-using specification typically makes).

Grüße, Carsten

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.