Re: [Teep] CDDL for OTrP

Henk Birkholz <henk.birkholz@sit.fraunhofer.de> Fri, 02 August 2019 08:25 UTC

Return-Path: <henk.birkholz@sit.fraunhofer.de>
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 D09B6120019 for <teep@ietfa.amsl.com>; Fri, 2 Aug 2019 01:25:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-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 PwppRiwg5PkN for <teep@ietfa.amsl.com>; Fri, 2 Aug 2019 01:25:30 -0700 (PDT)
Received: from mailext.sit.fraunhofer.de (mailext.sit.fraunhofer.de [141.12.72.89]) (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 6EE6C12000F for <teep@ietf.org>; Fri, 2 Aug 2019 01:25:29 -0700 (PDT)
Received: from mail.sit.fraunhofer.de (mail.sit.fraunhofer.de [141.12.84.171]) by mailext.sit.fraunhofer.de (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id x728POmb006860 (version=TLSv1/SSLv3 cipher=AES256-SHA256 bits=256 verify=NOT); Fri, 2 Aug 2019 10:25:25 +0200
Received: from [192.168.0.233] (84.43.239.19) by mail.sit.fraunhofer.de (141.12.84.171) with Microsoft SMTP Server (TLS) id 14.3.468.0; Fri, 2 Aug 2019 10:25:18 +0200
To: Carsten Bormann <cabo@tzi.org>, Hannes Tschofenig <Hannes.Tschofenig@arm.com>
CC: "teep@ietf.org" <teep@ietf.org>
References: <VI1PR08MB53603B839533D6098FC729ADFADE0@VI1PR08MB5360.eurprd08.prod.outlook.com> <B5972ECA-4F52-4C3F-B16C-F07854C188EB@tzi.org>
From: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
Message-ID: <72dbd768-3bf5-5480-2a6f-3f3c0f80e8de@sit.fraunhofer.de>
Date: Fri, 02 Aug 2019 10:25:17 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
MIME-Version: 1.0
In-Reply-To: <B5972ECA-4F52-4C3F-B16C-F07854C188EB@tzi.org>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Originating-IP: [84.43.239.19]
Archived-At: <https://mailarchive.ietf.org/arch/msg/teep/tyXryhRy6PPyzbn7m-sKrjtP1Ys>
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: Fri, 02 Aug 2019 08:25:33 -0000

Hi all,

providing JSON instances can also help. We can infer most types from the 
existing version, I think - or you just fix them later.

Your specific question (parsability of current CDDL aside) was about 
CDDL for JOSE: starting with a rather complete set of instances there 
should help.

Viele Grüße,

Henk

On 8/1/19 9:15 PM, Carsten Bormann wrote:
> 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
> 
> _______________________________________________
> TEEP mailing list
> TEEP@ietf.org
> https://www.ietf.org/mailman/listinfo/teep
>