[Cbor] draft-ietf-cbor-cddl-control-00 should add CDDL notation for CBOR Sequences
John Mattsson <john.mattsson@ericsson.com> Thu, 05 November 2020 12:49 UTC
Return-Path: <john.mattsson@ericsson.com>
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 2A3543A17BA for <cbor@ietfa.amsl.com>; Thu, 5 Nov 2020 04:49:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.102
X-Spam-Level:
X-Spam-Status: No, score=-2.102 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, 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=ericsson.com
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 M3MoaSPAGHBP for <cbor@ietfa.amsl.com>; Thu, 5 Nov 2020 04:49:52 -0800 (PST)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80048.outbound.protection.outlook.com [40.107.8.48]) (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 34CE93A17C2 for <cbor@ietf.org>; Thu, 5 Nov 2020 04:49:51 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YYsDKQHHAlczWglZMJdbKBUg0G71yyHKrxBfBW0KjjG8tk6if3HorDqWqkRAP+8++2c2Q9Apd/hwbMZ6ChXk0PWTqW86P2ACVYXKio/MrzKh/RuECAG68AkV4r9ZWeVUTyvpmQY2JlZYFCMcg3UF7thVAMi3TUzMGv54OjJy/ue0mXrKLYvSFocpWeqKXzSjzh3ieVUMGMaUpdl6AepWoFsmZIr/wCCwhebz+cLnBJVntbnTkJo32zR/tDp5nCiYu0x30VnmYC+xhM3wMegYcFeiXSgXkAFxlxTvmHx2WGUBs3KWIEQ/AKLclg4OeM7IvbSnSXhkgCGyv8zGO77YpQ==
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=HJ5IJu9O5HfWFZTc1X6mcAhkcjV/MprY/0vpfFjk0pg=; b=gq3+XHc2IVddc3s3wYCC5UWVp2mIPjUMiCsMoUalm/UcYNQqptCbg7aq64bjIOXuAW2yE13K4FcM5MN3+QGl/7L0xjs5e/c5TyuzkDCa7QcdatRCZ8Jwc29+tw272CYTBWcUhCDnYkT3XO/UPZGuDY6PWcnGDmlJK8m6CMTUX6UnARvfm8owxxETJIqGRInM92Ld/t6kwrK8wa23GiVsH9jtt1Q0YpG++VRdu84O3qn/c+6eqQmiqxw4hFJqTDgFsi1fDY961VEIh8u3SpU/j0VFGDObrjSnXhAkZQzLL6h4w8LmOmpy/8h/PvP9AEB6huUqVujkPzyPAgQ3Ks+Eig==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HJ5IJu9O5HfWFZTc1X6mcAhkcjV/MprY/0vpfFjk0pg=; b=YKQ9eR/F2OkKQmjVuoaaeELXIb7Ip36628pQPJTm4BgQqfHycQwBgebjdc6A9vPlk6tusuiGIeDpdNSXxntqamWQpSxCZBRGMJFgIplg5IYPeAqIvIttqKahm3l6HEcL19xP85GZINruk6mIZrlg31B9rMzLdklOHF6tWwUsSqo=
Received: from AM6PR07MB4584.eurprd07.prod.outlook.com (2603:10a6:20b:17::24) by AM6PR07MB5397.eurprd07.prod.outlook.com (2603:10a6:20b:82::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.10; Thu, 5 Nov 2020 12:49:49 +0000
Received: from AM6PR07MB4584.eurprd07.prod.outlook.com ([fe80::951:a4c3:7f39:e39c]) by AM6PR07MB4584.eurprd07.prod.outlook.com ([fe80::951:a4c3:7f39:e39c%5]) with mapi id 15.20.3541.019; Thu, 5 Nov 2020 12:49:49 +0000
From: John Mattsson <john.mattsson@ericsson.com>
To: "cbor@ietf.org" <cbor@ietf.org>
Thread-Topic: draft-ietf-cbor-cddl-control-00 should add CDDL notation for CBOR Sequences
Thread-Index: AQHWs3IlKka0ymeJ+0erUQMYOdAYWQ==
Date: Thu, 05 Nov 2020 12:49:48 +0000
Message-ID: <317AB3AB-B1E9-4AD9-911E-559D166E2788@ericsson.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.42.20101102
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [81.225.97.222]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 28c84b4b-a07a-4170-83bd-08d8818947f6
x-ms-traffictypediagnostic: AM6PR07MB5397:
x-microsoft-antispam-prvs: <AM6PR07MB53976CD1AB05F1B43E5ADDF089EE0@AM6PR07MB5397.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: N/XdkplXgm7u0Vl3gHMY4rvJMCAFmf+hry5VuxQQNeeyDJOcoVt0cKit4Iubdw5kef3/acx+rNDkaDp24Gyp2zn2fk0w0gdgupKUi0ux5p0LDgoDU7+NYm5O3Nx948YVRkT0xJA40EFiO0E7TIVn2XlTDglfES0UfsvOGswpDuMdu2vbjJALQ8kgiqD3TUMQZ1tJJeL1VOXxqMgwuY//VEmoGgFTyYYw7Ndrv3AFSf90fcCOwaBX/++9F1XQrpLY27ig2rF2jIjzzIYfvyN36YJK20fB2LnZHj+xXJXiVANXYYOFS6XnC1yjQ769Ioyb
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR07MB4584.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(136003)(366004)(376002)(396003)(39860400002)(71200400001)(66446008)(64756008)(6506007)(83380400001)(66556008)(76116006)(66946007)(8676002)(8936002)(86362001)(316002)(66476007)(186003)(6486002)(33656002)(36756003)(91956017)(4744005)(5660300002)(2906002)(44832011)(6512007)(478600001)(6916009)(26005)(2616005); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: 84GzIXGBCJpwIDSgRybDc7vrHDGGZrmnj3JczW+Zci+iSpoDcBhssXGSPeGkyVIPNSxHM/aJsCGZ7gnLYlIv4aLzUq0CBAPV9gPEuCnoGYcJBq34o5QV5uJ9tpQ5oQHNh+wIaTRSoL/ROjGPYIVtmHhmDrY5eoSsjw3yxLpkVYRY2ZDj7f+FwjpUcl6P1Nj0EZjWs2idkAnzpBjY/wBJcGs4UhhGWn7c4p/IoWzlBE1itQBDWHNLK07GoB8HVOMFj7eUggcC4RaZ3yk9fD5ViDQcIQeFYFJg12bH2q6r7x5gZb8ScUnqZczJtqMstUbDqF6FfxpoOpcOc7py96M6JTT+qJ+tdV+WSHxgBGQV1RWHFk3p7u5xYM+lLw3B03bFboukVQgUoX86B3gMUevR/iLYxTpb9lR1XxPtiOjvYdk33M82zg9ms2VmLd0Btw5TrksBw1hNmPm1odaMWQxoJl8ew6Y6/Y6Rxonah4dxmd/r4c7/HHM/uuPWJryFRC6eYU4qOATUwI3RY3hj3sCqPDYWCnRuzQezfe0VjHiH/JN34UFHewevv4JtjiJa1OyEH5WdTntm14P6avISqmcNxJszpP2LU8lXXB19au9unT6jIB+1do4kdZ+ig1Av6OVH2awoiBN+sYGPAIg34fkI1g==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <6F9AAA0F446E06438ECED7B0D6A679D5@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM6PR07MB4584.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 28c84b4b-a07a-4170-83bd-08d8818947f6
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Nov 2020 12:49:49.0266 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: /d/M1LCREEdVKdUUdJwuTy5HmAQKR/STPu/x4B3MCgNhYv1Wh7bMkcNrr9VUtqHLZrT7gmbdpoX80aYdhYQ2MDvWAoAxq6M97kChYWl7js8=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB5397
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/_6EE-mEnW-wJABftOzlxHsMiS7A>
Subject: [Cbor] draft-ietf-cbor-cddl-control-00 should add CDDL notation for CBOR Sequences
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: Thu, 05 Nov 2020 12:49:54 -0000
Hi, I the most important missing piece in RFC 8610 is the lack of CDDL for CBOR Sequences (RFC 8742) and I think draft-ietf-cbor-cddl-control would be a good place to add CDDL for that. CBOR sequences has already been standardized in RFC 8742. CBOR sequences are used quite heavily in IETF documents such as RFC 8769, draft-ietf-6tisch-minimal-security, draft-ietf-lake-edhoc, draft-palombini-core-oscore-edhoc, draft-mattsson-cose-cbor-cert-compress, etc. I don't understand all the complexities of CDDL formalism, but this seems like a quite easy thing to solve. I do not care exactly which notation is used, but could we please just agree on something and put in a draft. The notation could be something like: - reuse the CDDL notation for group ( ... ) - reuse the Diagnostic Notation for CBOR sequences << ... >> - Some modification of the CDDL array notation ] ... [ - Something looking like symbol swearing #$%@#$% ... #$%@#$% ... Cheers, John
- Re: [Cbor] draft-ietf-cbor-cddl-control-00 should… Henk Birkholz
- [Cbor] draft-ietf-cbor-cddl-control-00 should add… John Mattsson
- Re: [Cbor] draft-ietf-cbor-cddl-control-00 should… Henk Birkholz
- Re: [Cbor] draft-ietf-cbor-cddl-control-00 should… John Mattsson
- Re: [Cbor] draft-ietf-cbor-cddl-control-00 should… John Mattsson
- Re: [Cbor] draft-ietf-cbor-cddl-control-00 should… Carsten Bormann
- Re: [Cbor] draft-ietf-cbor-cddl-control-00 should… Henk Birkholz
- Re: [Cbor] draft-ietf-cbor-cddl-control-00 should… Henk Birkholz
- Re: [Cbor] draft-ietf-cbor-cddl-control-00 should… John Mattsson
- Re: [Cbor] draft-ietf-cbor-cddl-control-00 should… Carsten Bormann
- Re: [Cbor] draft-ietf-cbor-cddl-control-00 should… Andrew Weiss
- Re: [Cbor] draft-ietf-cbor-cddl-control-00 should… Andrew Weiss