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

Carsten Bormann <cabo@tzi.org> Tue, 07 December 2021 22:22 UTC

Return-Path: <cabo@tzi.org>
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 2430D3A0483; Tue, 7 Dec 2021 14:22:02 -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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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 hbhL3A2DAujl; Tue, 7 Dec 2021 14:21:57 -0800 (PST)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 903313A046E; Tue, 7 Dec 2021 14:21:57 -0800 (PST)
Received: from [192.168.217.118] (p5089a436.dip0.t-ipconnect.de [80.137.164.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4J7vst25MLzDCd4; Tue, 7 Dec 2021 23:21:54 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <85278E84-AD34-4F68-94DC-437BABCCD621@island-resort.com>
Date: Tue, 07 Dec 2021 23:21:53 +0100
Cc: cose <cose@ietf.org>, cbor@ietf.org, Hannes Tschofenig <Hannes.Tschofenig@arm.com>, Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
X-Mao-Original-Outgoing-Id: 660608513.915571-e2eb6b3d7c8a9e2003ad1fdac927c99c
Content-Transfer-Encoding: quoted-printable
Message-Id: <DA4D4B8C-65A7-4651-826F-572EC7F364A9@tzi.org>
References: <85278E84-AD34-4F68-94DC-437BABCCD621@island-resort.com>
To: Laurence Lundblade <lgl@island-resort.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/r5LuGW5W_3kq0t586ygqUoTVWYw>
Subject: Re: [Cbor] [COSE] 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: Tue, 07 Dec 2021 22:22:02 -0000

On 2021-12-07, at 23:16, Laurence Lundblade <lgl@island-resort.com> wrote:
> 
> Has anyone considered writing the COSE CDDL this way?

Yes.  I think that is easy to do for MACed/signed, not so easy for encrypted (because that is not transparent to the CDDL engine).

We could define a control operator for the encryption.

Grüße, Carsten