Re: [Teep] CDDL for OTrP

Hannes Tschofenig <Hannes.Tschofenig@arm.com> Thu, 01 August 2019 19:18 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 3797A120059 for <teep@ietfa.amsl.com>; Thu, 1 Aug 2019 12:18:34 -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, RCVD_IN_DNSWL_NONE=-0.0001, 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=armh.onmicrosoft.com header.b=5q4vDj21; dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=armh.onmicrosoft.com header.b=3Hi6aTzA
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 lyO6jsKrM_P7 for <teep@ietfa.amsl.com>; Thu, 1 Aug 2019 12:18:32 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70080.outbound.protection.outlook.com [40.107.7.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 B375412013D for <teep@ietf.org>; Thu, 1 Aug 2019 12:18:31 -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=ZGIYLhvNk8fqVfJEI7TlpbZfYUASNbx+zaleYIoOR4c=; b=5q4vDj21GPQc99YIaAsYAWPdN5t6p7ly7SQpSYzcUYWEM7Yuq9fPXep1Qrs/PrhmqKLxV39bNiS01g6kBJaYVRxQzW4xvKHCWPDzoe/hMqvR2sTY2RNsC31DZpkEu8y5v5TZ5DG7beNbpV8tiVt2XP15snXdD6N1JDJtcpTAGsM=
Received: from VI1PR0802CA0020.eurprd08.prod.outlook.com (2603:10a6:800:aa::30) by AM6PR08MB4951.eurprd08.prod.outlook.com (2603:10a6:20b:e1::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.13; Thu, 1 Aug 2019 19:18:27 +0000
Received: from VE1EUR03FT046.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::205) by VI1PR0802CA0020.outlook.office365.com (2603:10a6:800:aa::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2136.16 via Frontend Transport; Thu, 1 Aug 2019 19:18:27 +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 VE1EUR03FT046.mail.protection.outlook.com (10.152.19.226) 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 19:18:26 +0000
Received: ("Tessian outbound 578a71fe5eaa:v26"); Thu, 01 Aug 2019 19:18:26 +0000
X-CR-MTA-TID: 64aa7808
Received: from e03883cd8416.1 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.9.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 43BB71AA-3614-470E-AD46-BAFF5DE37BE0.1; Thu, 01 Aug 2019 19:18:21 +0000
Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-ve1eur03lp2050.outbound.protection.outlook.com [104.47.9.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id e03883cd8416.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384); Thu, 01 Aug 2019 19:18:21 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gim+x7ym5+D3RjleilU6C0SBQuCxB5yeVVp4HuplBCZ8bE6n1zpMrbO5pU1BceS4P5GSB3MKUB6ursLPo42Oc1x4TFek87q3zp4dxsbv3E19u6RWqi4MZjdZ0e4X9NKaPaR77nr7xKd+T57o5fZEAqkeTAWKHEyMWx/wnRtmP+y15PNV3aDNTFlvmRd3ricQu8XZbdCc0y3fdpIYEGVnrYetIvQhF/rA+t4tYwcgdw2+WGgyc7qt4QRhkGfc7cKvWWhdph1wUrb2aRM3f/zaHxobYYyM4bp7+OhPz6P0/pj1PEQ6uGwKlEgkVxu1mGFttkMDd8f7qE4p69JB+bvUeA==
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=6i5rPSrgU9PgDPb84gP7J5jMudDaO8n4bkcIcDEfIXM=; b=CWXtBURoREb2IIwASeYf3OrjekIpM75mfkhCDONaFwgcRY6ExWIxiyxiq1mHG7XCGy+2BLUe8lHFZdA3R9BP2SzgXa2idoEbfKUPbaB2/hSqZ8tCHGY/X6/4ah1htuAy6CUI/FbJprAssUUvJm4JyHPXMHTiIpz5hXRqWj/n3tlC8URdcNqKInAIwpCiAn6eXzr93Vng5zw8fRbolWTHGSsVUA9gxAsNMYAlcTWPAXngRHXAmYWHYt1apijsoj6EmQ2bBy06bmPzUUTCwx1vIFyWJnUnZ3Rm470sUCWU8nAAWHZnoSSRDGfpCEXJvwciajE9WLYMFWi1g5grgxkKHQ==
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=6i5rPSrgU9PgDPb84gP7J5jMudDaO8n4bkcIcDEfIXM=; b=3Hi6aTzA16+6shEOhdOzJliZmXyNnytAPXpgCtdSyYKc3mVMF+DOl64GlrxhSaM7ENn1t6JAkw8TCBSCm4WFseyFcsN2RvqIBhJ6PftUDenldkOBuJ7a9ZV9D23EdZ9sKrdE3SV+kU++H6MizW6gHBRPducmd8mWDbtjh90StWI=
Received: from VI1PR08MB5360.eurprd08.prod.outlook.com (52.133.244.88) by VI1PR08MB2848.eurprd08.prod.outlook.com (10.170.236.160) 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 19:18:20 +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 19:18:20 +0000
From: Hannes Tschofenig <Hannes.Tschofenig@arm.com>
To: Carsten Bormann <cabo@tzi.org>
CC: "teep@ietf.org" <teep@ietf.org>
Thread-Topic: [Teep] CDDL for OTrP
Thread-Index: AdVImlUa29mJGsCpQIu5Tsz8KAHGAAAAyv6AAAARy5A=
Date: Thu, 01 Aug 2019 19:18:19 +0000
Message-ID: <VI1PR08MB5360805927A37CA0B6D1032FFADE0@VI1PR08MB5360.eurprd08.prod.outlook.com>
References: <VI1PR08MB53603B839533D6098FC729ADFADE0@VI1PR08MB5360.eurprd08.prod.outlook.com> <B5972ECA-4F52-4C3F-B16C-F07854C188EB@tzi.org>
In-Reply-To: <B5972ECA-4F52-4C3F-B16C-F07854C188EB@tzi.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ts-tracking-id: 7c9b7c71-81ac-47b1-8cef-5bd0465c34fa.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: 992f5dc6-408e-4b83-0952-08d716b50788
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:VI1PR08MB2848;
X-MS-TrafficTypeDiagnostic: VI1PR08MB2848:|AM6PR08MB4951:
X-Microsoft-Antispam-PRVS: <AM6PR08MB4951E8CB48453064BE12FDFBFADE0@AM6PR08MB4951.eurprd08.prod.outlook.com>
x-checkrecipientrouted: true
x-ms-oob-tlc-oobclassifiers: OLM:9508;OLM:9508;
x-forefront-prvs: 01165471DB
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(346002)(376002)(136003)(396003)(366004)(13464003)(189003)(199004)(4326008)(81166006)(81156014)(478600001)(74316002)(33656002)(8936002)(76176011)(55016002)(52536014)(6506007)(86362001)(8676002)(7696005)(4744005)(186003)(6246003)(26005)(64756008)(3846002)(102836004)(9686003)(316002)(99286004)(6116002)(256004)(14454004)(25786009)(66476007)(66446008)(66946007)(76116006)(66556008)(5660300002)(305945005)(486006)(7736002)(71190400001)(2906002)(476003)(68736007)(53546011)(229853002)(53936002)(6916009)(446003)(71200400001)(11346002)(66066001)(6436002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2848; H:VI1PR08MB5360.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: IBKIztf81WFnp31pPb33cTk2oMXUKWK2kdDby2JWV41mDc8xi4hshwtI4AHA/tPOpqUf1VMBpp1hiMdtDEefKFb9hMpuKTwUuukyTvFyMIW0ixNvZ1SP7+5nJNs6ryDk8j/WlghGsJ9YNd3B8e2FhiDTf8HZgkzAjo9h28Ld1yXr36HezXNjHvd/GarTsCKn/HM0wcFRvr/XokO5hZx4cUuycX828vz8ut9R4Cg3uP4/qzgn7M6uTJ0b5iW+la/V6o7HYhMpMg/yqFyHd2wfJiq8uy06NAYOfrVnnpTJPWQsOYqwpBDWJQ+aZWMid0rL9Qxd7O7uaD4xfdVXtgGLY33LjfZS4ut64j73pMLYZrKo/7wIMeTgKIvEshbPCUH8TnTpyPt+6AqjHQAZm1rFCDmy+kVVCo18NL/eLcpiOyQ=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2848
Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Hannes.Tschofenig@arm.com;
X-EOPAttributedMessage: 0
X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT046.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)(346002)(396003)(136003)(39860400002)(376002)(2980300002)(40434004)(13464003)(199004)(189003)(81156014)(356004)(11346002)(76130400001)(25786009)(486006)(3846002)(336012)(2486003)(63370400001)(86362001)(6116002)(476003)(126002)(102836004)(6246003)(52536014)(66066001)(63350400001)(446003)(22756006)(6862004)(186003)(76176011)(316002)(305945005)(26005)(23676004)(7736002)(99286004)(47776003)(436003)(8676002)(36906005)(70206006)(4326008)(7696005)(55016002)(6506007)(14444005)(74316002)(81166006)(229853002)(26826003)(8936002)(5024004)(33656002)(70586007)(478600001)(5660300002)(50466002)(53546011)(9686003)(2906002)(14454004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB4951; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:TempError; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1;
X-MS-Office365-Filtering-Correlation-Id-Prvs: fd81adaf-36f2-43b9-5693-08d716b50393
X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600148)(710020)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:AM6PR08MB4951;
X-Forefront-PRVS: 01165471DB
X-Microsoft-Antispam-Message-Info: uTuTCE+/JiVMSC80RmdEzbMydIdf+quzBLDbWasAJ4kO14ebyvqSY6u7pu1JSFBgyHCwjmPjY9p7KL7FhgnjACa/prPtj6SK/tP6ijOdNj4ZPABOrbcVawyskLSMshG5b0p96kUdxYQbdTB5Up7TYAar2Bx26N+WFZuyyO3vp58vIy4jX9BNGHw1Quwb9KHCMCCaN4AdWuW6foBOKCj9NxDu8BMTQb6mKwDROaTlVXIkiCUUI6BYwXyI3DvzlCx1pVLyRvps1LNv59m2fA0ok3i9puPxNWQ/1CK0xh14Wn8tXy4tmUcG087xMWsyC60MDBgDLcYRiuNDa24UWdDo7daxSoRpCDrJSsOxgyhGrxDXT6BkkpEzG6f0X5jd0s40fJMP6JIwtJir2aBNUMXqaOeFZb4Y7HdcAm6JOKfFmaI=
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2019 19:18:26.6190 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 992f5dc6-408e-4b83-0952-08d716b50788
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: AM6PR08MB4951
Archived-At: <https://mailarchive.ietf.org/arch/msg/teep/rFKvkATuLkszgCPL-O7Mn9ASBGc>
Subject: Re: [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 19:18:34 -0000

Thanks for offering help, Carsten.

I will work on some examples and post them to the list

-----Original Message-----
From: Carsten Bormann <cabo@tzi.org>
Sent: Donnerstag, 1. August 2019 12:16
To: Hannes Tschofenig <Hannes.Tschofenig@arm.com>
Cc: teep@ietf.org
Subject: Re: [Teep] CDDL for OTrP

On Aug 1, 2019, at 20:56, Hannes Tschofenig <Hannes.Tschofenig@arm.com> wrote:
>
> 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?

Yes.

> If that’s not possible, then the question is whether CDDL is indeed the best way to describe the protocol.

If you can provide a sufficient set of examples, I can provide CDDL.
(Right now, I don’t understand the somewhat malformed CDDL in the draft, so having actual CBOR, possibly in diagnostic notation, would help.)

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.