Re: [Teep] CDDL for OTrP

Carsten Bormann <cabo@tzi.org> Thu, 01 August 2019 19:15 UTC

Return-Path: <cabo@tzi.org>
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 3728412013D for <teep@ietfa.amsl.com>; Thu, 1 Aug 2019 12:15:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.197
X-Spam-Level:
X-Spam-Status: No, score=-4.197 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 NRGxIP9FtUWE for <teep@ietfa.amsl.com>; Thu, 1 Aug 2019 12:15:41 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E4D81120059 for <teep@ietf.org>; Thu, 1 Aug 2019 12:15:40 -0700 (PDT)
Received: from [192.168.217.110] (p548DCCB9.dip0.t-ipconnect.de [84.141.204.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4600PR3YQ2z101B; Thu, 1 Aug 2019 21:15:39 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <VI1PR08MB53603B839533D6098FC729ADFADE0@VI1PR08MB5360.eurprd08.prod.outlook.com>
Date: Thu, 01 Aug 2019 21:15:39 +0200
Cc: "teep@ietf.org" <teep@ietf.org>
X-Mao-Original-Outgoing-Id: 586379737.073043-83cfbe3014cd0e54332e3c462e0a8212
Content-Transfer-Encoding: quoted-printable
Message-Id: <B5972ECA-4F52-4C3F-B16C-F07854C188EB@tzi.org>
References: <VI1PR08MB53603B839533D6098FC729ADFADE0@VI1PR08MB5360.eurprd08.prod.outlook.com>
To: Hannes Tschofenig <Hannes.Tschofenig@arm.com>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/teep/KAmBFsh-5w1Fb9vOoR_gPaZ4clQ>
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:15:42 -0000

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