[Teep] CDDL for OTrP

Hannes Tschofenig <Hannes.Tschofenig@arm.com> Thu, 01 August 2019 18:56 UTC

Return-Path: <Hannes.Tschofenig@arm.com>
X-Original-To: teep@ietfa.amsl.com
Delivered-To: teep@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4CA82120059 for <teep@ietfa.amsl.com>; Thu, 1 Aug 2019 11:56:31 -0700 (PDT)
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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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=mdnrt59M; dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=armh.onmicrosoft.com header.b=x6m9NfKP
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 S_7QUocW2s_9 for <teep@ietfa.amsl.com>; Thu, 1 Aug 2019 11:56:28 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130050.outbound.protection.outlook.com [40.107.13.50]) (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 523D11200E5 for <teep@ietf.org>; Thu, 1 Aug 2019 11:56:28 -0700 (PDT)
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=5CHwpZEzAJs4K2jwJOSJ9d4X0YyKm6LJaIymGQfuheY=; b=mdnrt59M7paSxNq5Yl5zEU9R9usJmr89VoJiDaThHvQA+qAjxoRB5xnXnGd0t93Hdjl+UT6w86B2hqh9pzccvC97ZokycokeLpyZCEEWBqRgUNC4v/84VY5o+XBcYJ7wJQu6LeHNU64cPmTWL4QFG0PBmlCZGxDmgpqzH+l0Dlo=
Received: from AM6PR08CA0001.eurprd08.prod.outlook.com (2603:10a6:20b:b2::13) by AM5PR0802MB2596.eurprd08.prod.outlook.com (2603:10a6:203:98::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.15; Thu, 1 Aug 2019 18:56:24 +0000
Received: from DB5EUR03FT034.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::208) by AM6PR08CA0001.outlook.office365.com (2603:10a6:20b:b2::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2136.14 via Frontend Transport; Thu, 1 Aug 2019 18:56:24 +0000
Authentication-Results: spf=temperror (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; ietf.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;ietf.org; dmarc=temperror action=none header.from=arm.com;
Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout)
Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT034.mail.protection.outlook.com (10.152.20.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2052.18 via Frontend Transport; Thu, 1 Aug 2019 18:56:23 +0000
Received: ("Tessian outbound 220137ab7b0b:v26"); Thu, 01 Aug 2019 18:56:23 +0000
X-CR-MTA-TID: 64aa7808
Received: from 980f0f97f025.1 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.14.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 18835F81-08EF-4E8A-97A1-36AA438B4899.1; Thu, 01 Aug 2019 18:56:18 +0000
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2052.outbound.protection.outlook.com [104.47.14.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 980f0f97f025.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 01 Aug 2019 18:56:18 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mmuX+vtpv0g9WhbJxWbMacQ3ddZIHfXj2i7JfD8L0C1NRyWsHRkNgFqNl+F/CgnKmuOgAG9aLFZs66BNsHIksSKjWVkhi593LVUOvcEjfbT0SvIgQKqXwExogc/AkozkjIRnQhKHUKw7BuZn/03ho1+fW+epHFcre3GlTDfJLRKfO+tyKT9oNozl88DlTeY2mqsy4n3qt/8bNcDoZn/PsIVoWnV7/wmnaFE5JUfBPHzsqI6IKSyxNNsIh7+P6k/0lpcI0jlzwO3awnJD2YWcjrJ7fSLU7dwO1i7bD7o0Mrfc3DbzSZ3W5YQTJtIJa81H60S1teuKa6WmeyOFKmx4Dg==
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=B8TutKa34hh/3/2loNQbdfPFMO7wITYU5VfjMHDRbxA=; b=VMcyViHcs1uSO+Zp2TCrn1487pje46az2ApUNAhP6ardZr7xLWAgx/7AXcGem88R1Qi0ZJiBsLQo5BzSsLgn0SzSXhEcAxeDF+AZe/TDeNQPrsUUUn4Q5QsdwGszLEL2aDSxgC6vmteumNJdjuzHWlDdbKua8sDny2o7Tixl2Xl3hpcw0OXNjjijm053V33OQWWWizM+Ezra25qGbDUs0ooyUFJ5rdBGoS6MbhdvMwbv9ZwdPVg+Ycx9LRfFCPImChsBc76huQclQ7U5lZRwvYZQyFZuzc9HaUEq4skd9jDAF6U+n+ImjuMufji2smEa0JP1UcpGFrOchF1ZJKYluQ==
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=B8TutKa34hh/3/2loNQbdfPFMO7wITYU5VfjMHDRbxA=; b=x6m9NfKProCofb4UkjyFrgbscdT8YDG4g83VEVOFx6TaJGdpwv73T1+5/rjjB4+4jzxklXPTqEfHsxy4QPswszkMbhBeTsl88Vh6LMYdQpVCKT/kQxsN1n4UnlYUM6AbmaBPC4XQb4+nmYC2n07bfZGEWk9zxII/R+Otenf4jEY=
Received: from VI1PR08MB5360.eurprd08.prod.outlook.com (52.133.244.88) by VI1PR08MB3376.eurprd08.prod.outlook.com (20.177.58.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.15; Thu, 1 Aug 2019 18:56:17 +0000
Received: from VI1PR08MB5360.eurprd08.prod.outlook.com ([fe80::e8f0:b69b:7f7a:c486]) by VI1PR08MB5360.eurprd08.prod.outlook.com ([fe80::e8f0:b69b:7f7a:c486%3]) with mapi id 15.20.2136.010; Thu, 1 Aug 2019 18:56:17 +0000
From: Hannes Tschofenig <Hannes.Tschofenig@arm.com>
To: "teep@ietf.org" <teep@ietf.org>
Thread-Topic: CDDL for OTrP
Thread-Index: AdVImlUa29mJGsCpQIu5Tsz8KAHGAA==
Date: Thu, 01 Aug 2019 18:56:17 +0000
Message-ID: <VI1PR08MB53603B839533D6098FC729ADFADE0@VI1PR08MB5360.eurprd08.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ts-tracking-id: efaa5328-d136-498d-957e-6082ea8e9b6c.0
x-checkrecipientchecked: true
Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Hannes.Tschofenig@arm.com;
x-originating-ip: [155.64.23.54]
x-ms-publictraffictype: Email
X-MS-Office365-Filtering-Correlation-Id: 9227dfa5-73bb-48ee-55f0-08d716b1f2ed
X-MS-Office365-Filtering-HT: Tenant
X-Microsoft-Antispam-Untrusted: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VI1PR08MB3376;
X-MS-TrafficTypeDiagnostic: VI1PR08MB3376:|AM5PR0802MB2596:
X-Microsoft-Antispam-PRVS: <AM5PR0802MB259663FC2F8143F7DA1E875FFADE0@AM5PR0802MB2596.eurprd08.prod.outlook.com>
x-checkrecipientrouted: true
x-ms-oob-tlc-oobclassifiers: OLM:8273;OLM:8273;
x-forefront-prvs: 01165471DB
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(136003)(376002)(396003)(366004)(39860400002)(199004)(189003)(53754006)(99286004)(6306002)(86362001)(2351001)(66556008)(81166006)(8676002)(81156014)(66446008)(8936002)(68736007)(66946007)(7736002)(25786009)(476003)(102836004)(478600001)(2501003)(7116003)(1730700003)(64756008)(76116006)(66476007)(74316002)(6916009)(26005)(54896002)(6116002)(66066001)(7696005)(2906002)(14454004)(3846002)(6436002)(52536014)(486006)(33656002)(316002)(6506007)(186003)(5660300002)(9686003)(53936002)(4744005)(3480700005)(71200400001)(71190400001)(55016002)(256004)(790700001)(5640700003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3376; H:VI1PR08MB5360.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts)
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam-Message-Info-Original: jLGdR/mzHxJwRxxSP3/xUIMfpuQKf+/8SNjWULJpkG9OlS+UVQb0/sY2SgIp7cVwgHR/5VTVfKr34OC854GrfkBamdy4sgytD5OoTcKsjmpfN51/aPg3ivv2jXPl3YDfNqXf1HVPU3cp+oXewWjMl5Vmx2VSqZoO9egp4LU9SzR7DQgviHUhz9JGBTC0DJQc/eliaalD1NNkrH8PBv75ZUCKDPODYyybLCtbSR89g2hgBHndBKYwGvqpPaeira8wEjNLaMZOKFuwiKD2lAqF7lx5AiX90pWtH0RNkMCKA5uaU9yeZClBlFNZXMcqhq4xeT1Um306TlXFSO7eKPaeJNsw2mUdoxpL5XDQBfyurkl9j8vtfxQTQFOapHq6pxFimtRuSQezxZacC0l83w2PQjxBAE05VB0EMeqKemfImOc=
Content-Type: multipart/alternative; boundary="_000_VI1PR08MB53603B839533D6098FC729ADFADE0VI1PR08MB5360eurp_"
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3376
Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Hannes.Tschofenig@arm.com;
X-EOPAttributedMessage: 0
X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT034.eop-EUR03.prod.protection.outlook.com
X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(396003)(136003)(376002)(39860400002)(346002)(2980300002)(189003)(199004)(53754006)(40434004)(486006)(476003)(63370400001)(63350400001)(16586007)(61614004)(126002)(2906002)(6506007)(76130400001)(70206006)(70586007)(7116003)(316002)(52536014)(54896002)(74316002)(86362001)(9686003)(6306002)(5640700003)(5660300002)(55016002)(25786009)(478600001)(7696005)(7736002)(14454004)(6116002)(3846002)(3480700005)(2351001)(14444005)(5024004)(6916009)(790700001)(33656002)(22756006)(2501003)(26826003)(336012)(99286004)(71190400001)(8676002)(26005)(81166006)(356004)(1730700003)(81156014)(186003)(66066001)(8936002)(102836004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0802MB2596; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:TempError; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1;
X-MS-Office365-Filtering-Correlation-Id-Prvs: 73a763b0-f9da-4bf6-265e-08d716b1ef07
X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(710020)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:AM5PR0802MB2596;
X-Forefront-PRVS: 01165471DB
X-Microsoft-Antispam-Message-Info: jwudDApbjbiLvljarDNh5dojfECAPobBOxWkmjKrXFOuKigD4XK9tkOzhVZrrIGRmnQCZmCTKvLOhgJjQx2zzxB4Qx8dRfWnGcw1ynp1OrGEPwk8W+QnP/HtVdE0ZGAWydJsvZ1O8lSjdmyeRCMWxKaM1CVDMAoq2W4yMdT//Y9U2J84si1UM8zC6FlDlKT3cnDfr8YWO7jswr4TZl6SBhvpcP/f+1T3LBClpdjXzXPjYxWVxOqnwooclnFx7EQ+eggFeY6O+stLOr42V7wXMVDoZMGWVs1N6BbwukDC0wOKtWe3n49QLRZO3SP/Cp2oN5110s6PwBS2fOoZzo59c4hWd8s4bZgzCXlBOzLZjpdvPZPhAIdUMS0uggvAl+QS5M1tCyJQ5BBQSfSyN/Fa7szbumdLY0imL5mIC/rfoGU=
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2019 18:56:23.6276 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 9227dfa5-73bb-48ee-55f0-08d716b1f2ed
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-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0802MB2596
Archived-At: <https://mailarchive.ietf.org/arch/msg/teep/HgenTtHWFyWdeaIhERVVTc6_q8U>
Subject: [Teep] CDDL for OTrP
X-BeenThere: teep@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: A Protocol for Dynamic Trusted Execution Environment Enablement <teep.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/teep>, <mailto:teep-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/teep/>
List-Post: <mailto:teep@ietf.org>
List-Help: <mailto:teep-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/teep>, <mailto:teep-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Aug 2019 18:56:31 -0000

Hi all,

In draft-tschofenig-teep-otrp-v2-00 I tried to describe OTrP protocol in CDDL because the promise of CDDL is that the description is independent of the serialization (into JSON and CBOR) - in our case.

Unfortunately, I couldn't get this to work fully because the current CDDL description still contains COSE-specific elements.

Is there someone in this group with enough CDDL experience to tell me how I can make the description in such a way that it is applicable to JSON/CBOR serialization? If that's not possible, then the question is whether CDDL is indeed the best way to describe the protocol.

Ciao
Hannes
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.