[Cbor] New CDE drafts

Carsten Bormann <cabo@tzi.org> Sun, 05 November 2023 19:52 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 7999DC18FCB0 for <cbor@ietfa.amsl.com>; Sun, 5 Nov 2023 11:52:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.907
X-Spam-Level:
X-Spam-Status: No, score=-1.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WqHx0muz9Dzn for <cbor@ietfa.amsl.com>; Sun, 5 Nov 2023 11:52:23 -0800 (PST)
Received: from smtp.zfn.uni-bremen.de (smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 662D3C17C53F for <cbor@ietf.org>; Sun, 5 Nov 2023 11:52:19 -0800 (PST)
Received: from [172.20.10.9] (ip-109-43-243-61.web.vodafone.de [109.43.243.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4SNlW40WdWzDCbR; Sun, 5 Nov 2023 20:52:16 +0100 (CET)
From: Carsten Bormann <cabo@tzi.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mao-Original-Outgoing-Id: 720906735.2193151-cec30cc16e24e32f31c9fa45b53afff2
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Sun, 05 Nov 2023 20:52:15 +0100
Message-Id: <D44204B8-FE92-458E-BDA3-D8F400F236C6@tzi.org>
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Z3c8lSQ2Eg6RNvIGdHtQcvB95Mg>
Subject: [Cbor] New CDE drafts
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.39
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: Sun, 05 Nov 2023 19:52:27 -0000

The recent discussion on the mailing list reminds me that a document that defines a CDE seems to be required more than ever.  I separated out CDE from my dCBOR essay, and have submitted both so we have an example of an Application Profile (see below).

I would like us to spend some time during Tuesday’s cbor WG meeting to discuss how we want to proceed in this space.  Comments on my submissions to this of course are also welcome.

Grüße, Carsten


Name:     draft-bormann-cbor-cde
Revision: 00
Title:    CBOR Common Deterministic Encoding (CDE)
Date:     2023-11-05
Status:   https://datatracker.ietf.org/doc/draft-bormann-cbor-cde/
HTML:     https://www.ietf.org/archive/id/draft-bormann-cbor-cde-00.html


Abstract:

  CBOR (STD 94, RFC 8949) defines "Deterministically Encoded CBOR" in
  its Section 4.2, providing some flexibility for application specific
  decisions.  To facilitate Deterministic Encoding to be offered as a
  selectable feature of generic encoders, the present document defines
  a CBOR Common Deterministic Encoding (CDE) Profile that can be shared
  by a large set of applications with potentially diverging detailed
  requirements.

  This document also introduces the concept of Application Profiles,
  which are layered on top of the CBOR CDE Profile and can address more
  application specific requirements.  To demonstrate how Application
  Profiles can be built on the CDE, a companion document defines the
  application profile "dCBOR".


Name:     draft-bormann-cbor-dcbor
Revision: 04
Title:    The CDE-based Application Profile dCBOR
Date:     2023-11-05
Status:   https://datatracker.ietf.org/doc/draft-bormann-cbor-dcbor/
HTML:     https://www.ietf.org/archive/id/draft-bormann-cbor-dcbor-04.html

Abstract:

  CBOR (STD 94, RFC 8949) defines "Deterministically Encoded CBOR" in
  its Section 4.2, providing some flexibility for application specific
  decisions.  The CBOR Common Deterministic Encoding (CDE) Profile
  provides a more detail common base for Deterministic Encoding,
  facilitating it be offered as a selectable feature of generic
  encoders, as well as the concept of Application Profiles that are
  layered on top of CDE.  This document defines the application profile
  "dCBOR" as an example of such an application profile.