
From nobody Thu Nov  5 04:49:56 2020
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, 5 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

SGksDQoNCkkgdGhlIG1vc3QgaW1wb3J0YW50IG1pc3NpbmcgcGllY2UgaW4gUkZDIDg2MTAgaXMg
dGhlIGxhY2sgb2YgQ0RETCBmb3IgQ0JPUiBTZXF1ZW5jZXMgKFJGQyA4NzQyKSBhbmQgSSB0aGlu
ayBkcmFmdC1pZXRmLWNib3ItY2RkbC1jb250cm9sIHdvdWxkIGJlIGEgZ29vZCBwbGFjZSB0byBh
ZGQgQ0RETCBmb3IgdGhhdC4NCg0KQ0JPUiBzZXF1ZW5jZXMgaGFzIGFscmVhZHkgYmVlbiBzdGFu
ZGFyZGl6ZWQgaW4gUkZDIDg3NDIuIENCT1Igc2VxdWVuY2VzIGFyZSB1c2VkIHF1aXRlIGhlYXZp
bHkgaW4gSUVURiBkb2N1bWVudHMgc3VjaCBhcyBSRkMgODc2OSwgZHJhZnQtaWV0Zi02dGlzY2gt
bWluaW1hbC1zZWN1cml0eSwgZHJhZnQtaWV0Zi1sYWtlLWVkaG9jLCBkcmFmdC1wYWxvbWJpbmkt
Y29yZS1vc2NvcmUtZWRob2MsIGRyYWZ0LW1hdHRzc29uLWNvc2UtY2Jvci1jZXJ0LWNvbXByZXNz
LCBldGMuDQoNCkkgZG9uJ3QgdW5kZXJzdGFuZCBhbGwgdGhlIGNvbXBsZXhpdGllcyBvZiBDRERM
IGZvcm1hbGlzbSwgYnV0IHRoaXMgc2VlbXMgbGlrZSBhIHF1aXRlIGVhc3kgdGhpbmcgdG8gc29s
dmUuIEkgZG8gbm90IGNhcmUgZXhhY3RseSB3aGljaCBub3RhdGlvbiBpcyB1c2VkLCBidXQgY291
bGQgd2UgcGxlYXNlIGp1c3QgYWdyZWUgb24gc29tZXRoaW5nIGFuZCBwdXQgaW4gYSBkcmFmdC4N
Cg0KVGhlIG5vdGF0aW9uIGNvdWxkIGJlIHNvbWV0aGluZyBsaWtlOg0KDQotIHJldXNlIHRoZSBD
RERMIG5vdGF0aW9uIGZvciBncm91cCAoIC4uLiApDQotIHJldXNlIHRoZSBEaWFnbm9zdGljIE5v
dGF0aW9uIGZvciBDQk9SIHNlcXVlbmNlcyA8PCAuLi4gPj4NCi0gU29tZSBtb2RpZmljYXRpb24g
b2YgdGhlIENEREwgYXJyYXkgbm90YXRpb24gXSAuLi4gWw0KLSBTb21ldGhpbmcgbG9va2luZyBs
aWtlIHN5bWJvbCBzd2VhcmluZyAjJCVAIyQlIC4uLiAjJCVAIyQlDQouLi4NCg0KQ2hlZXJzLA0K
Sm9obg0KDQoNCg0KDQoNCg0KDQo=


From nobody Thu Nov  5 06:28:58 2020
Return-Path: <henk.birkholz@sit.fraunhofer.de>
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 CFBB03A1238 for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 06:28:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.144
X-Spam-Level: 
X-Spam-Status: No, score=-2.144 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.247, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 80xrfu8DcM0N for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 06:28:54 -0800 (PST)
Received: from mail-edgeDD24.fraunhofer.de (mail-edgeDD24.fraunhofer.de [192.102.167.24]) (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 AAAE33A1220 for <cbor@ietf.org>; Thu,  5 Nov 2020 06:28:52 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2H/CwBkpYde/xmnZsBmHAEBAQEBBwE?= =?us-ascii?q?BEQEEBAEBgXuCKWwDVS8qCoQRjnmBZC2BAZo5DQoBAQEBAQEBAQEGAQEYCwo?= =?us-ascii?q?CBAEBhEQCgkckOBMCEAEBBgEBAQEBBQQCAmmFVgyGRQEBAQECAQEBIQ8BBTY?= =?us-ascii?q?QCwkCGAICJgICJyAQBgEMBgIBAYMiAYJcIAQLkz+bBHWBMoVLg2eBOAaBDiq?= =?us-ascii?q?MMQ+BTD+BEScPgiU1PoJnAQECAYR0gl4EkH+gEweBSXd8BIZvjzAjgkyIOIQ?= =?us-ascii?q?xBYxGjzKJI5J6AgQCCQIVgWkjgVdNJE+CaVAYDY5ViE+FQnMCAYEmjRkBgQ8?= =?us-ascii?q?BAQ?=
X-IPAS-Result: =?us-ascii?q?A2H/CwBkpYde/xmnZsBmHAEBAQEBBwEBEQEEBAEBgXuCK?= =?us-ascii?q?WwDVS8qCoQRjnmBZC2BAZo5DQoBAQEBAQEBAQEGAQEYCwoCBAEBhEQCgkckO?= =?us-ascii?q?BMCEAEBBgEBAQEBBQQCAmmFVgyGRQEBAQECAQEBIQ8BBTYQCwkCGAICJgICJ?= =?us-ascii?q?yAQBgEMBgIBAYMiAYJcIAQLkz+bBHWBMoVLg2eBOAaBDiqMMQ+BTD+BEScPg?= =?us-ascii?q?iU1PoJnAQECAYR0gl4EkH+gEweBSXd8BIZvjzAjgkyIOIQxBYxGjzKJI5J6A?= =?us-ascii?q?gQCCQIVgWkjgVdNJE+CaVAYDY5ViE+FQnMCAYEmjRkBgQ8BAQ?=
X-URL-LookUp-ScanningError: 1
X-IronPort-AV: E=Sophos;i="5.72,341,1580770800"; d="scan'208";a="35422498"
Received: from mail-mtadd25.fraunhofer.de ([192.102.167.25]) by mail-edgeDD24.fraunhofer.de with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Nov 2020 15:28:49 +0100
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CBBwAIC6Rf/1lIDI1iHQEBAQEJARI?= =?us-ascii?q?BBQUBQIFPgipwWDAuCoQzkHAugQSbJQsBAwEBAQEBBwEBGAsKAgQBAYRKAoI?= =?us-ascii?q?NAiU4EwIQAQEFAQEBAgEGBHGFYQyFcgEBAQMBAQEhDwEFNhALCQIYAgImAgI?= =?us-ascii?q?nIBAGAQwGAgEBgyIBglwkC5Q9mw92gTKFV4MrgTwGgQ4qhmOGVw+BTT+BESc?= =?us-ascii?q?Pgic1PoJdAQECAYRzgl8Ek2CkFisHgWOBDYEQBAuHa5FzBQofgxiKEoUdBo8?= =?us-ascii?q?gk02KeJVMAgQCCQIVgWsjgVdNJE+CaVAXAg2OVohOhUVCMQIBNQIGAQkBAQM?= =?us-ascii?q?JfIw7AYEQAQE?=
X-IronPort-AV: E=Sophos;i="5.77,453,1596492000"; d="scan'208";a="94533564"
Received: from mailext.sit.fraunhofer.de ([141.12.72.89]) by mail-mtaDD25.fraunhofer.de with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Nov 2020 15:28:46 +0100
Received: from mail.sit.fraunhofer.de (mail.sit.fraunhofer.de [141.12.84.171]) by mailext.sit.fraunhofer.de (8.15.2/8.15.2/Debian-10) with ESMTPS id 0A5ESiQF023062 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=NOT); Thu, 5 Nov 2020 15:28:46 +0100
Received: from [192.168.16.50] (79.234.121.161) by mail.sit.fraunhofer.de (141.12.84.171) with Microsoft SMTP Server (TLS) id 14.3.487.0; Thu, 5 Nov 2020 15:28:39 +0100
To: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>, "cbor@ietf.org" <cbor@ietf.org>
References: <317AB3AB-B1E9-4AD9-911E-559D166E2788@ericsson.com>
From: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
Message-ID: <d45672c4-b42c-fb0f-3ab5-0fcd7712f29b@sit.fraunhofer.de>
Date: Thu, 5 Nov 2020 15:28:38 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <317AB3AB-B1E9-4AD9-911E-559D166E2788@ericsson.com>
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Originating-IP: [79.234.121.161]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/UTnszHw3l-VUxv1xTs63S7kQdhY>
Subject: Re: [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 14:28:57 -0000

Hi John,

as the control for cborseq is introduced in:

> https://tools.ietf.org/html/rfc8610#section-3.8.4

and RFC8742 states that:

>    Currently, CDDL does not provide for unadorned CBOR Sequences as a
>    top-level subject of a specification.  For now, the suggestion is to
>    use an array for the top-level rule, as is used for the ".cborseq"
>    control operator, and add English text that explains that the
>    specification is really about a CBOR Sequence with the elements of
>    the array

it seems to me that you are asking for a specific CDDL notation that can 
represent a cborseq as a top-level subject. Why is using an array here 
not good enough in your case?

Viele Grüße,

Henk

On 05.11.20 13:49, John Mattsson wrote:
> 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
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor
> 


From nobody Thu Nov  5 06:54:17 2020
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 85C693A1302 for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 06:54:15 -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 H6whType7yBf for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 06:54:14 -0800 (PST)
Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30054.outbound.protection.outlook.com [40.107.3.54]) (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 D229D3A127C for <cbor@ietf.org>; Thu,  5 Nov 2020 06:54:13 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kczc1cOzSALr/iYlhcCsNKDq6B5iRWKQBmoCudAu2zA7NDsNFY2iIhKoMHxy+yEWHxY+2yyG3JXP4mn7ZrTBTdVP3hrDhifwLEnLJobUvOTPukfv2pTZ5oDCP+cxENDP0v3jqfoCu9/yOgY9b4fypT/s2/ylVJoLGNR0h+6uY3ryxjnGORMrHxdvLY15wxLDhGF4Hso/t2GQZGBkumSBVK11tInMF3fVUCH4tT/byJZsMANhNw/It08G9KoSTQ3DFtLeYfdt4mqecWBfchyGmCZ9aseFEuYTbhvTBow2ms2KQgVkHpOSbqgmnMj8xm/xWki5gB74Nkgjr2cV2AGp9Q==
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=ry+3/AVv7Dma4zTgtIaTixL6bOWlDfDX8IM4UyiHLJ4=; b=ebMIYFTv0dF2mXrwW8m6oWj6K9juyfbV5G7MGR0N5HsOZMwTCvvBFN6RXQGYW2ilFFW7T3h7tVTCkYPvpJWyAkzzRGn9w7GSigJU5JID/LIKTh2T+LiKJk5F6MOizJbtKZ2jmqsop94k38g6jMkktkwXWBBF2NVIxSZW05CJPPjVtJG4mqaYr3ZyiRI9H4bd5t3pO3t8jLbdX0WFPpRFgiroTwZm3J6pUGfLIQ47CEI+Eo9FIC2mXfe9T5qEn+madNkKvS9b1oZC8W2gRg5gJWmnCuzG2JN/EZm76H/iArI514yjdSzQhvA2jDK7HojqL0+aE8fPzBjQ1aqRM2LgJA==
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=ry+3/AVv7Dma4zTgtIaTixL6bOWlDfDX8IM4UyiHLJ4=; b=cDAjPcaw042Vo+6QlXkgPnKzrZL96MKOv4FUDz4/ABSTlKqylyiEgPCI1nKM11OnbV8Sx36rbXufPVCqg+6APMCWgF7efQijQqXMaAU8RAhKvb7s/YWhabFWV1aaaxwg2D5p+Rk8xiR24sSAwTbP6/WhX7iUfijcAF8zc8bUYwU=
Received: from AM6PR07MB4584.eurprd07.prod.outlook.com (2603:10a6:20b:17::24) by AM5PR0701MB3026.eurprd07.prod.outlook.com (2603:10a6:203:4a::21) 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 14:54:11 +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 14:54:11 +0000
From: John Mattsson <john.mattsson@ericsson.com>
To: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>, "cbor@ietf.org" <cbor@ietf.org>
Thread-Topic: [Cbor] draft-ietf-cbor-cddl-control-00 should add CDDL notation for CBOR Sequences
Thread-Index: AQHWs3IlKka0ymeJ+0erUQMYOdAYWam5mQIAgAAX5gA=
Date: Thu, 5 Nov 2020 14:54:11 +0000
Message-ID: <FCE40691-EC98-4A0C-9C3E-59F9018A15C8@ericsson.com>
References: <317AB3AB-B1E9-4AD9-911E-559D166E2788@ericsson.com> <d45672c4-b42c-fb0f-3ab5-0fcd7712f29b@sit.fraunhofer.de>
In-Reply-To: <d45672c4-b42c-fb0f-3ab5-0fcd7712f29b@sit.fraunhofer.de>
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: sit.fraunhofer.de; dkim=none (message not signed) header.d=none;sit.fraunhofer.de; 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: 69208c21-79f6-47b7-3153-08d8819aa7c6
x-ms-traffictypediagnostic: AM5PR0701MB3026:
x-microsoft-antispam-prvs: <AM5PR0701MB3026BED480F0460F0B602D6289EE0@AM5PR0701MB3026.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: zH8fK1RmsEDYwq9iYqVHt1uF/7DXA5tPo8D6UDXJ70Mx+85hSn2GNZYZnNXt+VkoXdUnG4AnmTUJKBU43SBigsWqDkrvGFJ2xoofAyzRauS0yaDl6vbToT2Sf902umXvgi/Q8c7H+jlWJ4I6dcQMSSHDTR1fTDtt+Hi3Yn0TwpOma84Mj9eyy7f5vsF1PASn+NnQPSA7hVxU8VUL9jhoA7eY2KglGV+VlDn/BtTkOO1+B320dFtmgcwbJ9FZHWDI6l1j95/SiVeQdfHL0fwZNLVleNwnfaWwSHdpX85G5bqzbBwFJXvaSOQl9bNAlM1xAQLcVErFWMgr1qw/ULYErzyvChj8bOZ3kbpaAqCKEYyVeh8/J6FqaYL4Ppw9vtilPcmE8hJDrT896wyAaLdEFA==
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)(39860400002)(376002)(396003)(366004)(136003)(6512007)(53546011)(316002)(2616005)(186003)(83380400001)(2906002)(71200400001)(26005)(6506007)(6486002)(76116006)(66556008)(66446008)(66946007)(64756008)(86362001)(66476007)(33656002)(91956017)(5660300002)(478600001)(110136005)(966005)(36756003)(8936002)(44832011)(8676002); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata: G0a7E+HwvoP6T4V7XJCkhxRc41MUFCM/PvWIwEDTpigidPpom5fl7eZ2NR6cNkfR05Yg5vka9+yYY6rpCranR/0ClVVwpe5GU7O0VZViCXmhHE0DlnDJ6FgTQh7xW0yn9mqOuOCyE2UX0+AtlOqR+miLLa9mxc593qzAWdNAXXBUM+szxW+0vsh2VFWo0lGQNN/CF7g/hof7cifGjt2HBZWuoMZqIrtN0W53uotQM1QjbAfSRpOunr7DbPdXHR3YTLMIsRH1HxSIdWbhQVKZryfcDkynlArTn9vS9Y/fUHInJIN4rwZE12JnI0uq/I9WarWBQWCX+TATY5ICwsXNvOoseIhWCT6qybf42bsILQlsyAZK2/KvhtoqSXmzvwQsFhZ/ItY2mKhAgorjUtVVak0+9YpO1h9EvnDWnjoJIfvDKHsx70GKqUMcr7KVzxKXxPBtbD3OrNyqaNz32hb//xV6wqqMPhfDNFD9DDsKovXyCKudUAcT3uHcyZDrx6WugoPQNiZhAzCAS+pmvYIPnCAITcPqttIjEjSJmAvg0nZuDN2ws2Gwygb8ZrYaUQrdm97SF8NJxk+Fz3NGGg7yRWv+G3FB9KCGyty81XB5KZQmE2U/Y9aycnk3t3jN5/xTRsbWyDKBXLa4ytD/EsP2bA==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <F920E47C2B47444EAC70A33C0D3301A9@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: 69208c21-79f6-47b7-3153-08d8819aa7c6
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Nov 2020 14:54:11.1856 (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: JKwj4pPD9ng+QgYiqwBAjHhFoGR50sBusw19Z45JEObi1QQdcBVUh2jOV6UGm1QB5bANCQJyHz1Zc033d79JtjGHR4RgMw53yEmIa34gQoU=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0701MB3026
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/grQjMENPZSh_s-bt6RDOgGJldIw>
Subject: Re: [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 14:54:16 -0000

SGkgSGVuaywNCg0KVG8gcXVvdGUgUkZDIDg3NjQNCg0KMSkgIkNCT1IgU2VxdWVuY2VzIGFyZSBh
bHJlYW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GVlcnMsDQo+IEpvaG4NCj4gDQo+IA0K
PiANCj4gDQo+IA0KPiANCj4gDQo+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fDQo+IENCT1IgbWFpbGluZyBsaXN0DQo+IENCT1JAaWV0Zi5vcmcNCj4gaHR0
cHM6Ly93d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9jYm9yDQo+IA0KDQo=


From nobody Thu Nov  5 07:02:28 2020
Return-Path: <henk.birkholz@sit.fraunhofer.de>
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 AB2BD3A12C9 for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 07:02:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.143
X-Spam-Level: 
X-Spam-Status: No, score=-2.143 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.247, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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 YKZmrD9DEUp1 for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 07:02:23 -0800 (PST)
Received: from mail-edgeDD24.fraunhofer.de (mail-edgeDD24.fraunhofer.de [192.102.167.24]) (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 DD7003A12EE for <cbor@ietf.org>; Thu,  5 Nov 2020 07:02:21 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2EXDABkpYde/xwBYJlmHAEBAQEBBwE?= =?us-ascii?q?BEQEEBAEBgXuCKWwDVS8qCoQRjnmBZAglgQGaPggKAQEBAQEBAQEBBgEBGAs?= =?us-ascii?q?KAgQBAYREAoJHJDgTAhABAQYBAQEBAQUEAgJphVYMhkUBAQEBAgEBASEPAQU?= =?us-ascii?q?2EAcECQIRAwECAQICJgICJyAICAYBDAYCAQEXgwsBglwfBQuTP5sEdYEyhUu?= =?us-ascii?q?DZ4E4BoEOKowxD4FMP4ERJwwDgiU1PoJnAQECAYR0gl4EkH+gEweBSXd8BIZ?= =?us-ascii?q?vjzAjgkyIOIQxBYxGjzKJI5J6AgQCCQIVgWkjgVdNJE+CaVAYDY4mGhWIT4V?= =?us-ascii?q?CcwIBgSaNGQGBDwEB?=
X-IPAS-Result: =?us-ascii?q?A2EXDABkpYde/xwBYJlmHAEBAQEBBwEBEQEEBAEBgXuCK?= =?us-ascii?q?WwDVS8qCoQRjnmBZAglgQGaPggKAQEBAQEBAQEBBgEBGAsKAgQBAYREAoJHJ?= =?us-ascii?q?DgTAhABAQYBAQEBAQUEAgJphVYMhkUBAQEBAgEBASEPAQU2EAcECQIRAwECA?= =?us-ascii?q?QICJgICJyAICAYBDAYCAQEXgwsBglwfBQuTP5sEdYEyhUuDZ4E4BoEOKowxD?= =?us-ascii?q?4FMP4ERJwwDgiU1PoJnAQECAYR0gl4EkH+gEweBSXd8BIZvjzAjgkyIOIQxB?= =?us-ascii?q?YxGjzKJI5J6AgQCCQIVgWkjgVdNJE+CaVAYDY4mGhWIT4VCcwIBgSaNGQGBD?= =?us-ascii?q?wEB?=
X-URL-LookUp-ScanningError: 1
X-IronPort-AV: E=Sophos;i="5.72,341,1580770800"; d="scan'208";a="35423442"
Received: from mail-mtaka28.fraunhofer.de ([153.96.1.28]) by mail-edgeDD24.fraunhofer.de with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Nov 2020 16:02:17 +0100
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AiCACEE6Rf/1lIDI1iHQEBAQEJARI?= =?us-ascii?q?BBQUBQIFPgipwWDAuCoQzkHIIJoEEmyULAQMBAQEBAQcBARgLCgIEAQGESgK?= =?us-ascii?q?CDgIlOBMCEAEBBQEBAQIBBgRxhWEMhXIBAQEDAQEBIQ8BBTYQBwQJAhEDAQI?= =?us-ascii?q?BAgImAgInIAgIBgEMBgIBAReDCwGCXCQLlDabD3aBMoVXgy2BPAaBDiqGY4Z?= =?us-ascii?q?XD4FNP4ERJwwDgic1PoJdAQECAYRzgl8Ek2CkFisHgWOBDYEQBAuHa5FzBQo?= =?us-ascii?q?fgxiKEoUdBo8gk02KeJVMAgQCCQIVgWsjgVdNJE+CaVAXAg2OKBoUiE6FRUI?= =?us-ascii?q?xAgE1AgYBCQEBAwl8jDsBgRABAQ?=
X-IronPort-AV: E=Sophos;i="5.77,453,1596492000"; d="scan'208";a="39117066"
Received: from mailext.sit.fraunhofer.de ([141.12.72.89]) by mail-mtaKA28.fraunhofer.de with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Nov 2020 16:02:14 +0100
Received: from mail.sit.fraunhofer.de (mail.sit.fraunhofer.de [141.12.84.171]) by mailext.sit.fraunhofer.de (8.15.2/8.15.2/Debian-10) with ESMTPS id 0A5F2D2G025742 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=NOT); Thu, 5 Nov 2020 16:02:13 +0100
Received: from [192.168.16.50] (79.234.121.161) by mail.sit.fraunhofer.de (141.12.84.171) with Microsoft SMTP Server (TLS) id 14.3.487.0; Thu, 5 Nov 2020 16:02:08 +0100
To: John Mattsson <john.mattsson@ericsson.com>, "cbor@ietf.org" <cbor@ietf.org>
References: <317AB3AB-B1E9-4AD9-911E-559D166E2788@ericsson.com> <d45672c4-b42c-fb0f-3ab5-0fcd7712f29b@sit.fraunhofer.de> <FCE40691-EC98-4A0C-9C3E-59F9018A15C8@ericsson.com>
From: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
Message-ID: <3f63613d-9571-f739-d517-042b4ca9398d@sit.fraunhofer.de>
Date: Thu, 5 Nov 2020 16:02:08 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <FCE40691-EC98-4A0C-9C3E-59F9018A15C8@ericsson.com>
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Originating-IP: [79.234.121.161]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/-UBu1HKAM_9fzDHPdEZqTqwojKE>
Subject: Re: [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 15:02:27 -0000

Hi John,

I might be totally missing something obvious here - it's just that I am 
having a hard time visualizing your problem at the moment.

Maybe asking the obvious can help (me getting a grasp of the issue). Why 
does the following recommendation from RFC8764 not help you?

>    my-embedded-cbor-seq = bytes .cborseq my-array
>    my-array = [* my-element]
>    my-element = my-foo / my-bar

Viele Grüße,

Henk


On 05.11.20 15:54, John Mattsson wrote:
> Hi Henk,
> 
> To quote RFC 8764
> 
> 1) "CBOR Sequences are already supported as contents of byte strings using the ".cborseq" control operator"
> 2) "CDDL does not provide for unadorned CBOR Sequences as a top-level subject of a specification"
>   
> All the document I cited do 2) not 1) .cborseq as currently specified is not a solution.
> 
> Cheers,
> John
> 
> ﻿-----Original Message-----
> From: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
> Date: Thursday, 5 November 2020 at 15:29
> To: John Mattsson <john.mattsson@ericsson.com>, "cbor@ietf.org" <cbor@ietf.org>
> Subject: Re: [Cbor] draft-ietf-cbor-cddl-control-00 should add CDDL notation for CBOR Sequences
> 
> Hi John,
> 
> as the control for cborseq is introduced in:
> 
>> https://tools.ietf.org/html/rfc8610#section-3.8.4
> 
> and RFC8742 states that:
> 
>>     Currently, CDDL does not provide for unadorned CBOR Sequences as a
>>     top-level subject of a specification.  For now, the suggestion is to
>>     use an array for the top-level rule, as is used for the ".cborseq"
>>     control operator, and add English text that explains that the
>>     specification is really about a CBOR Sequence with the elements of
>>     the array
> 
> it seems to me that you are asking for a specific CDDL notation that can
> represent a cborseq as a top-level subject. Why is using an array here
> not good enough in your case?
> 
> Viele Grüße,
> 
> Henk
> 
> On 05.11.20 13:49, John Mattsson wrote:
>> 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
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> CBOR mailing list
>> CBOR@ietf.org
>> https://www.ietf.org/mailman/listinfo/cbor
>>
> 


From nobody Thu Nov  5 07:10:42 2020
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 8C83A3A12AC for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 07:10:40 -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_DNSWL_NONE=-0.0001, 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 Rho3pm5Yw5Pa for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 07:10:38 -0800 (PST)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130084.outbound.protection.outlook.com [40.107.13.84]) (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 6AE833A129D for <cbor@ietf.org>; Thu,  5 Nov 2020 07:10:38 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YC0uoXfD3xpsyXa7A+IxDvvUQRi/D/hNxfb72JmtPnwQJlSYGPShHHpCSJzm4CqfwSUcXsyX06OittW3gMT/8tH5bDtr7HEHFtnaiNluG33txjnMHwcB4dmRbKhFwVAAm+IYMEUMGvAdllBOOH9FB8MD25JO/iSWD65TMnikN+6F+FPxPRVpKGEvzsrOHXO7WTLq1pdkCph973v0MlCLQxd7JQMqNB6R+2+2/IMBBkSFzdZbkUg8Ibp1v5hP7DLgJcxK20+0IzwxcBX5gGz2clYwLwHQNPCmCzysZHJ9rZIJQ9wj8Znh0RBAXJE/+QtilAwfAypMjkEGxZg/LyB1cw==
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=I3tZmvtbpNvNhK5gRQXzcVdz2xYlTckYGlXcgv3PAFw=; b=fMJj48NYR9Z2eZMZQiULyYu1y8AlDt5LGz0J/lYZ3UNSQIC1OEcI1ghXOMqWvoccNPel5D+cyzxp3q5eotA0UFHYLRYdzkZuPIxTWpNfBt+K2pug9MKb0TnZQtl9xwtNcnQ6O597J8EKyP81NooWrzHaFqeOxC7k0QSZGaS/hFvWsbryQSS54X+XwihJfV7JfWeu3k1fxXY+3GDXwre4Vp29g0ApcMdrHb5vJBD0JEtv0I8Xv1ruc6oOLP3ra08WBLwnzMAn37hc9JNt0LWksKDsfZ6dhW0xHgQPaXVaAa/eKAfqHknBBaZaaXFb0fwSwgcYNUQat9C7zzrfTUqCww==
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=I3tZmvtbpNvNhK5gRQXzcVdz2xYlTckYGlXcgv3PAFw=; b=L0aV1qP3tYUkFg3YVBlTgIptIM8kor4TEQmRVvjgivI3GWwW0HGOPV6NWIJxI95iXwU72Vje2XRiVxklKn6WNFU2q8f2++ngWNa1b2kivGeFFXG/+cFHKb5ploSG1pZ+YQLxxfzgF1EaLOGAbj8LGiLYdOASuFoq4tEtjn8akc4=
Received: from AM6PR07MB4584.eurprd07.prod.outlook.com (2603:10a6:20b:17::24) by AM7PR07MB6674.eurprd07.prod.outlook.com (2603:10a6:20b:18f::12) 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 15:10:35 +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 15:10:35 +0000
From: John Mattsson <john.mattsson@ericsson.com>
To: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>, "cbor@ietf.org" <cbor@ietf.org>
Thread-Topic: [Cbor] draft-ietf-cbor-cddl-control-00 should add CDDL notation for CBOR Sequences
Thread-Index: AQHWs3IlKka0ymeJ+0erUQMYOdAYWam5mQIAgAAX5gD///F2AIAAEyCA
Date: Thu, 5 Nov 2020 15:10:35 +0000
Message-ID: <B63CB2BF-1F68-4ECB-851B-CD794D1203D9@ericsson.com>
References: <317AB3AB-B1E9-4AD9-911E-559D166E2788@ericsson.com> <d45672c4-b42c-fb0f-3ab5-0fcd7712f29b@sit.fraunhofer.de> <FCE40691-EC98-4A0C-9C3E-59F9018A15C8@ericsson.com> <3f63613d-9571-f739-d517-042b4ca9398d@sit.fraunhofer.de>
In-Reply-To: <3f63613d-9571-f739-d517-042b4ca9398d@sit.fraunhofer.de>
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: sit.fraunhofer.de; dkim=none (message not signed) header.d=none;sit.fraunhofer.de; 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: 8f10ec73-01f2-40c0-c057-08d8819cf2a7
x-ms-traffictypediagnostic: AM7PR07MB6674:
x-microsoft-antispam-prvs: <AM7PR07MB6674D577612CA3EFF0F2B4EC89EE0@AM7PR07MB6674.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: Xey8UMrOn2gg50WNKuWuA8nL33kTP8UfZHUENd/iKW3rgnu0yoWPa359RQDgUzgzTUbseKTB9yO3C50COUyDflHc+1WOzO3z+HOd+QMqhfT8eGwV/c/2tNWpUiczQRUUoufAadGdnfCfhub6yF/KBGykzgyEUN81aU/pRQv2ePJnkm0aI4U3Ydzr6UVabKJN079k/GaAC+pgL74n3zJZdQTZCKIG7sdvRUq46UcV9B0jzhgliuQdvuo6vf0Ht9+xTetDLaDI+5m4eF8jshdNnfUCW11fWdcrx0qmHzSoJiS9f2ifM2O7bNw8Dbz+rXsLbPYPp5ukR7bTNFHG6IoXUB137Y5RqovQK+QF+skhY6xJXK/AegqWGpK3qMn8qy++3CsqU6ngd90BUxRBCa3Gww==
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)(376002)(346002)(396003)(39860400002)(366004)(136003)(91956017)(478600001)(966005)(8676002)(5660300002)(6512007)(83380400001)(2616005)(316002)(86362001)(66476007)(2906002)(64756008)(66446008)(44832011)(33656002)(110136005)(76116006)(36756003)(26005)(6486002)(66946007)(8936002)(71200400001)(6506007)(66556008)(186003)(53546011); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata: RiKHYhAOPvh3xIj3g9LsWuYhYrkuDiaVwf7BCdINT2gsIweG5aRtgAX1RdJZDALePZuI5Ptc4kthIpkqHrPu8zDmfPHJGbtfaikLazKM9CF9gOaa9iMeJGgDeZf/q69GpgRVhSPcbif2XK3Mqg0RPF0th5HAMw2hLE+Z02f9UFDi43Ybe+a9pFvFKtFqtVKPjtyrzsvNhBLS3M0fv18OzaLGZZi9FBJ2wJhKTumrYElri7srZ8zdFag7ebH8TVNHa7/OUpBeZogAgW6GEu3HDkmcwVn9FiOv9xtrrVqOJDjYIjawG+BHnyze2fYVdXolqTpnXQ4gvFg4NBMOpFQodb7dHTYXiOCB4D5y1S+nSKq+YZg+1gMWgPfTWoQ73oAqOHQ88c/jy5PsDcor+lK/QnwwhKT5XehUnfZlf/AzGZEdl9oPlvQad61T7Hfj0a/sr7O6oGq+y0SMv3Hkyho375P95U8JQQQ7Hx1Xh9P7rCC/G2aM3xmm1VGhvUjERr/xSUz728HbctGggDnTw3XlQ7sQ+Xu6z2kwb4+uglLQI6j8J0PzRmCaWxP6EJmf7uqemtFHpQ/YnzJVMmAvn0Plem6cXXGB8TEewubkVeMfujPtBqLXpCbpoomKWABtX4C57tDXF+oxT7w8LFL+H0Okew==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <041164F1D1FF5547843A36EEFE36378C@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: 8f10ec73-01f2-40c0-c057-08d8819cf2a7
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Nov 2020 15:10:35.8346 (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: KK6H0kg+1/40A1pd8BwLc9elhDUYMOxjqWNmXwB/q3TDo48+Pud94HDmT0emU9FZfrOB1TuQnH5nmBLiugFzQ7+084MSkNGwjsqP3X8sLaw=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR07MB6674
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/kGvNZkaHgpqLe-oXFkS372h87X8>
Subject: Re: [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 15:10:41 -0000

SGkgSGVuaywNCg0KVGhlIENEREwNCg0KbXktZW1iZWRkZWQtY2Jvci1zZXEgPSBieXRlcyAuY2Jv
cnNlcSBteS1hcnJheSANCg0KbWF0aGNoZXMgYSBDQk9SIHNlcXVlbmNlIHdyYXBwZWQgaW4gYSBi
eXRlIHN0cmluZy4gSS5lLiAiYnl0ZXMgLmNib3JzZXEgWyAxLCAyIF0iIHdvdWxkIG1hdGNoIHRo
ZSBDQk9SIGVuY29kaW5nIDB4NDIwMTAyDQoNCkFsbCB0aGUgZG9jdW1lbnQgSSBjaXRlZCB1c2Ug
dW5hZG9ybmVkIENCT1IgU2VxdWVuY2VzIChpLmUuIG5vdCB3cmFwcGVkIGluIGEgYnl0ZSBzdHJp
bmcpLiBBcyBmYXIgYXMgSSBrbm93IHRoZXJlIGlzIG5vIHdheSB0byB3cml0ZSBDRERMIHRoYXQg
bWF0Y2hlcyB0aGUgdW5hZG9ybmVkIENCT1IgU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XNlIHRoZSBDRERMIG5vdGF0aW9uIGZvciBncm91cCAoIC4uLiAp
DQo+PiAtIHJldXNlIHRoZSBEaWFnbm9zdGljIE5vdGF0aW9uIGZvciBDQk9SIHNlcXVlbmNlcyA8
PCAuLi4gPj4NCj4+IC0gU29tZSBtb2RpZmljYXRpb24gb2YgdGhlIENEREwgYXJyYXkgbm90YXRp
b24gXSAuLi4gWw0KPj4gLSBTb21ldGhpbmcgbG9va2luZyBsaWtlIHN5bWJvbCBzd2VhcmluZyAj
JCVAIyQlIC4uLiAjJCVAIyQlDQo+PiAuLi4NCj4+DQo+PiBDaGVlcnMsDQo+PiBKb2huDQo+Pg0K
Pj4NCj4+DQo+Pg0KPj4NCj4+DQo+Pg0KPj4gX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX18NCj4+IENCT1IgbWFpbGluZyBsaXN0DQo+PiBDQk9SQGlldGYub3Jn
DQo+PiBodHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2Nib3INCj4+DQo+IA0K
DQo=


From nobody Thu Nov  5 07:46:46 2020
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 C47623A135F for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 07:46:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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 wT5mD_DzKc7h for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 07:46:42 -0800 (PST)
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 52D7A3A1355 for <cbor@ietf.org>; Thu,  5 Nov 2020 07:46:41 -0800 (PST)
Received: from [192.168.217.120] (p548dcc60.dip0.t-ipconnect.de [84.141.204.96]) (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 4CRnv34n7VzySB; Thu,  5 Nov 2020 16:46:39 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <B63CB2BF-1F68-4ECB-851B-CD794D1203D9@ericsson.com>
Date: Thu, 5 Nov 2020 16:46:39 +0100
Cc: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>, "cbor@ietf.org" <cbor@ietf.org>
X-Mao-Original-Outgoing-Id: 626283999.1670491-02399f849a6a2808cabe866a7bc49558
Content-Transfer-Encoding: quoted-printable
Message-Id: <CB29760A-1F2F-464B-9DEB-5383130B554C@tzi.org>
References: <317AB3AB-B1E9-4AD9-911E-559D166E2788@ericsson.com> <d45672c4-b42c-fb0f-3ab5-0fcd7712f29b@sit.fraunhofer.de> <FCE40691-EC98-4A0C-9C3E-59F9018A15C8@ericsson.com> <3f63613d-9571-f739-d517-042b4ca9398d@sit.fraunhofer.de> <B63CB2BF-1F68-4ECB-851B-CD794D1203D9@ericsson.com>
To: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/xCpPq5Sg3-AJiuO5EompmusphdM>
Subject: Re: [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 15:46:45 -0000

On 2020-11-05, at 16:10, John Mattsson =
<john.mattsson=3D40ericsson.com@dmarc.ietf.org> wrote:
>=20
> All the document I cited use unadorned CBOR Sequences (i.e. not =
wrapped in a byte string). As far as I know there is no way to write =
CDDL that matches the unadorned CBOR Sequence 0x0102 ( 1, 2 ). I think =
this needs to be fixed.

Citing RFC 8742 Section 4.1:

   Currently, CDDL does not provide for unadorned CBOR Sequences as a
   top-level subject of a specification.  For now, the suggestion is to
   use an array for the top-level rule, as is used for the ".cborseq"
   control operator, and add English text that explains that the
   specification is really about a CBOR Sequence with the elements of
   the array:

   ; This defines an array, the elements of which are to be used
   ; in a CBOR Sequence:
   my-sequence =3D [* my-element]
   my-element =3D my-foo / my-bar

   (Future versions of CDDL may provide a notation for top-level CBOR
   Sequences, e.g., by using a group as the top-level rule in a CDDL
   specification.)

Are you talking about the =E2=80=9Cfuture versions=E2=80=9D part of =
that?

Gr=C3=BC=C3=9Fe, Carsten


From nobody Thu Nov  5 07:56:01 2020
Return-Path: <henk.birkholz@sit.fraunhofer.de>
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 2F3833A1395 for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 07:55:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.144
X-Spam-Level: 
X-Spam-Status: No, score=-2.144 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.247, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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 FDz46uOY4eLK for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 07:55:56 -0800 (PST)
Received: from mail-edgeKA24.fraunhofer.de (mail-edgeka24.fraunhofer.de [153.96.1.24]) (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 2555B3A138B for <cbor@ietf.org>; Thu,  5 Nov 2020 07:55:54 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2GcCQA1H6Rf/xwBYJliHQEBAQEJARI?= =?us-ascii?q?BBQUBQIFPgxqBNgqEM5ByLoEEmxwJCwEBAQEBAQEBAQcBARgLCgIEAQEChEg?= =?us-ascii?q?CghABJTgTAhABAQYBAQEBAQYEAgKGIQYnDINUgQcBAQEBAQEBAQEBAQEBAQE?= =?us-ascii?q?BAQEBFgJDVRIBAR0BAQEBAgEBASEPAQU2EAcECQIRAwECAQICJgICJyAICAY?= =?us-ascii?q?BDAYCAQEXgwsBglwfBQuUSJsPdoEyhVeDLoE8BoEOKoZjhlcPgU0/gREnD4I?= =?us-ascii?q?nNT6CXQEBAgGEc4JfBJNgpBYrB4FjgQ2BEAQLh2uGX4sUBQofgxiKEoUdBo8?= =?us-ascii?q?gk02KeJVMAgQCCQIVgWuBe00kT4JpUBcCDYZOh1oaFIhOhUVzAgE1AgYBCQE?= =?us-ascii?q?BAwl8jDsBgRABAQ?=
X-IPAS-Result: =?us-ascii?q?A2GcCQA1H6Rf/xwBYJliHQEBAQEJARIBBQUBQIFPgxqBN?= =?us-ascii?q?gqEM5ByLoEEmxwJCwEBAQEBAQEBAQcBARgLCgIEAQEChEgCghABJTgTAhABA?= =?us-ascii?q?QYBAQEBAQYEAgKGIQYnDINUgQcBAQEBAQEBAQEBAQEBAQEBAQEBFgJDVRIBA?= =?us-ascii?q?R0BAQEBAgEBASEPAQU2EAcECQIRAwECAQICJgICJyAICAYBDAYCAQEXgwsBg?= =?us-ascii?q?lwfBQuUSJsPdoEyhVeDLoE8BoEOKoZjhlcPgU0/gREnD4InNT6CXQEBAgGEc?= =?us-ascii?q?4JfBJNgpBYrB4FjgQ2BEAQLh2uGX4sUBQofgxiKEoUdBo8gk02KeJVMAgQCC?= =?us-ascii?q?QIVgWuBe00kT4JpUBcCDYZOh1oaFIhOhUVzAgE1AgYBCQEBAwl8jDsBgRABA?= =?us-ascii?q?Q?=
X-IronPort-AV: E=Sophos;i="5.77,453,1596492000"; d="scan'208";a="25379088"
Received: from mail-mtaka28.fraunhofer.de ([153.96.1.28]) by mail-edgeKA24.fraunhofer.de with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Nov 2020 16:55:52 +0100
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CMBwA1H6Rf/1lIDI1iHQEBAQEJARI?= =?us-ascii?q?BBQUBQIFPgipwWDAuCoQzkHIugQSbJQsBAwEBAQEBBwEBGAsKAgQBAYRKAoI?= =?us-ascii?q?OAiU4EwIQAQEFAQEBAgEGBHGFNAYnDIVyAQEBAwEBASEPAQU2EAcECQIRAwE?= =?us-ascii?q?CAQICJgICJyAICAYBDAYCAQEXgwsBglwkC5RImw92gTKFV4MugTwGgQ4qhmO?= =?us-ascii?q?GVw+BTT+BEScPgic1PoJdAQECAYRzgl8Ek2CkFisHgWOBDYEQBAuHa4ZfixQ?= =?us-ascii?q?FCh+DGIoShR0GjyCTTYp4lUwCBAIJAhWBayOBV00kT4JpUBcCDYZOh1oaFIh?= =?us-ascii?q?OhUVCMQIBNQIGAQkBAQMJfIw7AYEQAQE?=
X-IronPort-AV: E=Sophos;i="5.77,453,1596492000"; d="scan'208";a="39122874"
Received: from mailext.sit.fraunhofer.de ([141.12.72.89]) by mail-mtaKA28.fraunhofer.de with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Nov 2020 16:55:50 +0100
Received: from mail.sit.fraunhofer.de (mail.sit.fraunhofer.de [141.12.84.171]) by mailext.sit.fraunhofer.de (8.15.2/8.15.2/Debian-10) with ESMTPS id 0A5Ftogf026951 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=NOT); Thu, 5 Nov 2020 16:55:50 +0100
Received: from [192.168.16.50] (79.234.121.161) by mail.sit.fraunhofer.de (141.12.84.171) with Microsoft SMTP Server (TLS) id 14.3.487.0; Thu, 5 Nov 2020 16:55:45 +0100
To: John Mattsson <john.mattsson@ericsson.com>, "cbor@ietf.org" <cbor@ietf.org>
References: <317AB3AB-B1E9-4AD9-911E-559D166E2788@ericsson.com> <d45672c4-b42c-fb0f-3ab5-0fcd7712f29b@sit.fraunhofer.de> <FCE40691-EC98-4A0C-9C3E-59F9018A15C8@ericsson.com> <3f63613d-9571-f739-d517-042b4ca9398d@sit.fraunhofer.de> <B63CB2BF-1F68-4ECB-851B-CD794D1203D9@ericsson.com>
From: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
Message-ID: <a89f603a-8cc9-21c0-4d75-a78c49efc0e7@sit.fraunhofer.de>
Date: Thu, 5 Nov 2020 16:55:44 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <B63CB2BF-1F68-4ECB-851B-CD794D1203D9@ericsson.com>
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Originating-IP: [79.234.121.161]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/I93QwdFGHTRpqkbazTcpj9vrCj8>
Subject: Re: [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 15:55:59 -0000

Hi John,

picking the first of the documents you cited, 
I-D.ietf-6tisch-minimal-security states:

>    For encoding compactness, the Link_Layer_Key object is not enclosed
>    in a top-level CBOR object.  Rather, it is transported as a sequence
>    of CBOR elements [I-D.ietf-cbor-sequence], some being optional.

So the solution here is to concatenate four separate CBOR data items 
(key_id, key_usage, key_value, key_addinfo) in order to safe the bytes 
that would wrap them in an array and would result in a single CBOR data 
item.

While I cannot assess, if the bytes saved here warrant the use of a 
cborseq, this seems like a solid spec to me and I wonder why this is not 
a solution therefore needs to be fixed.

Circling back to my initial reply, I am still under the impression that 
you are asking for a CDDL notation that can express CBOR Sequences as a 
top-level item in a CDDL spec, right? (RFC8764 is hinting at that.)

Viele Grüße,

Henk



On 05.11.20 16:10, John Mattsson wrote:
> Hi Henk,
> 
> The CDDL
> 
> my-embedded-cbor-seq = bytes .cborseq my-array
> 
> mathches a CBOR sequence wrapped in a byte string. I.e. "bytes .cborseq [ 1, 2 ]" would match the CBOR encoding 0x420102
> 
> All the document I cited use unadorned CBOR Sequences (i.e. not wrapped in a byte string). As far as I know there is no way to write CDDL that matches the unadorned CBOR Sequence 0x0102 ( 1, 2 ). I think this needs to be fixed.
> 
> John
> 
> ﻿-----Original Message-----
> From: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
> Date: Thursday, 5 November 2020 at 16:02
> To: John Mattsson <john.mattsson@ericsson.com>, "cbor@ietf.org" <cbor@ietf.org>
> Subject: Re: [Cbor] draft-ietf-cbor-cddl-control-00 should add CDDL notation for CBOR Sequences
> 
> Hi John,
> 
> I might be totally missing something obvious here - it's just that I am
> having a hard time visualizing your problem at the moment.
> 
> Maybe asking the obvious can help (me getting a grasp of the issue). Why
> does the following recommendation from RFC8764 not help you?
> 
>>     my-embedded-cbor-seq = bytes .cborseq my-array
>>     my-array = [* my-element]
>>     my-element = my-foo / my-bar
> 
> Viele Grüße,
> 
> Henk
> 
> 
> On 05.11.20 15:54, John Mattsson wrote:
>> Hi Henk,
>>
>> To quote RFC 8764
>>
>> 1) "CBOR Sequences are already supported as contents of byte strings using the ".cborseq" control operator"
>> 2) "CDDL does not provide for unadorned CBOR Sequences as a top-level subject of a specification"
>>    
>> All the document I cited do 2) not 1) .cborseq as currently specified is not a solution.
>>
>> Cheers,
>> John
>>
>> -----Original Message-----
>> From: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
>> Date: Thursday, 5 November 2020 at 15:29
>> To: John Mattsson <john.mattsson@ericsson.com>, "cbor@ietf.org" <cbor@ietf.org>
>> Subject: Re: [Cbor] draft-ietf-cbor-cddl-control-00 should add CDDL notation for CBOR Sequences
>>
>> Hi John,
>>
>> as the control for cborseq is introduced in:
>>
>>> https://tools.ietf.org/html/rfc8610#section-3.8.4
>>
>> and RFC8742 states that:
>>
>>>      Currently, CDDL does not provide for unadorned CBOR Sequences as a
>>>      top-level subject of a specification.  For now, the suggestion is to
>>>      use an array for the top-level rule, as is used for the ".cborseq"
>>>      control operator, and add English text that explains that the
>>>      specification is really about a CBOR Sequence with the elements of
>>>      the array
>>
>> it seems to me that you are asking for a specific CDDL notation that can
>> represent a cborseq as a top-level subject. Why is using an array here
>> not good enough in your case?
>>
>> Viele Grüße,
>>
>> Henk
>>
>> On 05.11.20 13:49, John Mattsson wrote:
>>> 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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> CBOR mailing list
>>> CBOR@ietf.org
>>> https://www.ietf.org/mailman/listinfo/cbor
>>>
>>
> 


From nobody Thu Nov  5 08:06:03 2020
Return-Path: <henk.birkholz@sit.fraunhofer.de>
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 A46A33A1410 for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 08:06:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.146
X-Spam-Level: 
X-Spam-Status: No, score=-2.146 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.247, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 oFIyO2vStlAH for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 08:05:58 -0800 (PST)
Received: from mail-edgeKA27.fraunhofer.de (mail-edgeka27.fraunhofer.de [153.96.1.27]) (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 588553A142C for <cbor@ietf.org>; Thu,  5 Nov 2020 08:05:56 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2GNBgCjIaRf/xoBYJliHAEBAQEBAQc?= =?us-ascii?q?BARIBAQQEAQFAgU+EUAqEM5BxLpwpCwEBAQEBAQEBAQcBAS0CBAEBhEoCghA?= =?us-ascii?q?BJTgTAhABAQYBAQEBAQYEAgKGIQYzhlABBSMPAQVBEAkCDgoCAiYCAkcQBgE?= =?us-ascii?q?MAQUCAQGDIoJ8BZROnAWBMoVXgy6BQoEOKoZjhlcPgU0/gREnD4JcPoJdBIR?= =?us-ascii?q?0gl8Ek2CkFisHgWOBDYEQBAuZXgUKH5JHBo8gk02gRAIEAgkCFYFrgXtNJIM?= =?us-ascii?q?4UBcCDYZOh10XFI4TcwIBNQIGAQkBAQMJfIw7AYEQAQE?=
X-IPAS-Result: =?us-ascii?q?A2GNBgCjIaRf/xoBYJliHAEBAQEBAQcBARIBAQQEAQFAg?= =?us-ascii?q?U+EUAqEM5BxLpwpCwEBAQEBAQEBAQcBAS0CBAEBhEoCghABJTgTAhABAQYBA?= =?us-ascii?q?QEBAQYEAgKGIQYzhlABBSMPAQVBEAkCDgoCAiYCAkcQBgEMAQUCAQGDIoJ8B?= =?us-ascii?q?ZROnAWBMoVXgy6BQoEOKoZjhlcPgU0/gREnD4JcPoJdBIR0gl8Ek2CkFisHg?= =?us-ascii?q?WOBDYEQBAuZXgUKH5JHBo8gk02gRAIEAgkCFYFrgXtNJIM4UBcCDYZOh10XF?= =?us-ascii?q?I4TcwIBNQIGAQkBAQMJfIw7AYEQAQE?=
X-IronPort-AV: E=Sophos;i="5.77,453,1596492000"; d="scan'208";a="25490899"
Received: from mail-mtaka26.fraunhofer.de ([153.96.1.26]) by mail-edgeKA27.fraunhofer.de with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Nov 2020 17:05:52 +0100
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0ApBQDvIaRf/1lIDI1iHAEBAQEBAQc?= =?us-ascii?q?BARIBAQQEAQFAgU+CKoFIMC4KhDOQcS6cKQsBAwEBAQEBBwEBLQIEAQGESgK?= =?us-ascii?q?CDgIlOBMCEAEBBQEBAQIBBgRxhTQGM4VzAQUjDwEFQRAJAg4KAgImAgJHEAY?= =?us-ascii?q?BDAEFAgEBgyKDAZROnAWBMoVXgy6BQoEOKoZjhlcPgU0/gREnD4JcPoJdBIR?= =?us-ascii?q?0gl8Ek2CkFisHgWOBDYEQBAuZXgUKH5JHBo8gk02gRAIEAgkCFYFrI4FXTSS?= =?us-ascii?q?DOFAXAg2GToddFxSOE0IxAgE1AgYBCQEBAwl8jDsBgRABAQ?=
X-IronPort-AV: E=Sophos;i="5.77,453,1596492000"; d="scan'208";a="95126370"
Received: from mailext.sit.fraunhofer.de ([141.12.72.89]) by mail-mtaKA26.fraunhofer.de with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Nov 2020 17:05:50 +0100
Received: from mail.sit.fraunhofer.de (mail.sit.fraunhofer.de [141.12.84.171]) by mailext.sit.fraunhofer.de (8.15.2/8.15.2/Debian-10) with ESMTPS id 0A5G5oWe027164 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=NOT); Thu, 5 Nov 2020 17:05:50 +0100
Received: from [192.168.16.50] (79.234.121.161) by mail.sit.fraunhofer.de (141.12.84.171) with Microsoft SMTP Server (TLS) id 14.3.487.0; Thu, 5 Nov 2020 17:05:45 +0100
To: Carsten Bormann <cabo@tzi.org>, John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>
CC: "cbor@ietf.org" <cbor@ietf.org>
References: <317AB3AB-B1E9-4AD9-911E-559D166E2788@ericsson.com> <d45672c4-b42c-fb0f-3ab5-0fcd7712f29b@sit.fraunhofer.de> <FCE40691-EC98-4A0C-9C3E-59F9018A15C8@ericsson.com> <3f63613d-9571-f739-d517-042b4ca9398d@sit.fraunhofer.de> <B63CB2BF-1F68-4ECB-851B-CD794D1203D9@ericsson.com> <CB29760A-1F2F-464B-9DEB-5383130B554C@tzi.org>
From: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
Message-ID: <49921e68-b22b-0dfb-71a4-a1ae4f578c88@sit.fraunhofer.de>
Date: Thu, 5 Nov 2020 17:05:44 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <CB29760A-1F2F-464B-9DEB-5383130B554C@tzi.org>
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Originating-IP: [79.234.121.161]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/1-rz7QS8_k4pT94gaXtYEGMwAGM>
Subject: Re: [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 16:06:02 -0000

Or what Carsten said :-) Sry for just sending before checking!

On 05.11.20 16:46, Carsten Bormann wrote:
> On 2020-11-05, at 16:10, John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org> wrote:
>>
>> All the document I cited use unadorned CBOR Sequences (i.e. not wrapped in a byte string). As far as I know there is no way to write CDDL that matches the unadorned CBOR Sequence 0x0102 ( 1, 2 ). I think this needs to be fixed.
> 
> Citing RFC 8742 Section 4.1:
> 
>     Currently, CDDL does not provide for unadorned CBOR Sequences as a
>     top-level subject of a specification.  For now, the suggestion is to
>     use an array for the top-level rule, as is used for the ".cborseq"
>     control operator, and add English text that explains that the
>     specification is really about a CBOR Sequence with the elements of
>     the array:
> 
>     ; This defines an array, the elements of which are to be used
>     ; in a CBOR Sequence:
>     my-sequence = [* my-element]
>     my-element = my-foo / my-bar
> 
>     (Future versions of CDDL may provide a notation for top-level CBOR
>     Sequences, e.g., by using a group as the top-level rule in a CDDL
>     specification.)
> 
> Are you talking about the “future versions” part of that?
> 
> Grüße, Carsten
> 


From nobody Thu Nov  5 08:25:21 2020
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 606B83A17F2 for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 08:25:19 -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 r9NQRYCuLj3O for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 08:25:17 -0800 (PST)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2074.outbound.protection.outlook.com [40.107.21.74]) (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 217D53A17F1 for <cbor@ietf.org>; Thu,  5 Nov 2020 08:25:16 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e76/LEFicbvt6woYOxxx3zhLum1RWeEsYsFb9ZkHDfYMWXqXT0d+s55zAU6mUIkD7sQtiODnPAPGErhyHIXGZa30Zx7vkAuM6LJk+Br51Gk/67RWb8w/jEArkJrqEC7ztzOae/vu4kQYSECOmMZAvOQB7NXPExOckIeTHgUNTiULgm+x2xZlFy4XD9mPDrXITa5pDRlOrSLcdB74+WJ85+qPR0nJOl+Uak6gD2f5HngWZD3e4kDb3elWSjLdCTlKC0GVt3GbAGExMdCKzvJGblws9QqNaDkAZFpobNABBiHBGmIblp0CoPRb6Uno5iXzqQoNRlD2YsnRuQ+JXfZzCA==
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=TJS6ARiqxXKKKkLxCfuioyT/Gkrxo5FNbZlO9dF10Hw=; b=NJRe9sJD24CZeOuiXt2fAt4d/88tmL8zxRCo7nzJtRmK8L7BF+lilfObPWDV7dfW7STBwFOAMUIfcymZnqtC6HKwUWEuZkibjh5mejN9LUZqqlif19URDuVwvbwdLF7xMyz4UbhgBmS6N8Y4L1IxIcE0F+PqREccQqOEIgEdWPZ5WVUTWIln1SC7WVVRGzoB9SFVMOro3goh+Y0qomJ0HLIDCj6g+VnfDKIPs6t67aUzqg0rPk1QBW2cKGyimw5L7iHOM0zMbr/PEtn9K3mGSjmgwYArrd0/KsBtlcWK8IcwtG4miLu7iMMVbqmqmq3LzGcUZDpf1K1BW+jX4cJKFA==
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=TJS6ARiqxXKKKkLxCfuioyT/Gkrxo5FNbZlO9dF10Hw=; b=Ux5VHUQQ5CS5G1d5ZoWMg+3n/FnYMb0qISGGsjKtG7WDFiNrF8aa1kQEpTTdpBRfhLprnakewrK7Rv+ChahFAKGGpiel+pvHgOfGRipL+GrjOMyLcBlKXQasx0I09qhmKmWghvYbA/wJkHoCfPySO/gnUJZsFoGOvOe3VuZghPg=
Received: from AM6PR07MB4584.eurprd07.prod.outlook.com (2603:10a6:20b:17::24) by AM6PR07MB4932.eurprd07.prod.outlook.com (2603:10a6:20b:32::17) 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 16:25:12 +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 16:25:12 +0000
From: John Mattsson <john.mattsson@ericsson.com>
To: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>, "cbor@ietf.org" <cbor@ietf.org>
Thread-Topic: [Cbor] draft-ietf-cbor-cddl-control-00 should add CDDL notation for CBOR Sequences
Thread-Index: AQHWs3IlKka0ymeJ+0erUQMYOdAYWam5mQIAgAAX5gD///F2AIAAEyCA///72gCAABj/AA==
Date: Thu, 5 Nov 2020 16:25:12 +0000
Message-ID: <5CB44449-A1EB-465A-8A51-14FE14155B68@ericsson.com>
References: <317AB3AB-B1E9-4AD9-911E-559D166E2788@ericsson.com> <d45672c4-b42c-fb0f-3ab5-0fcd7712f29b@sit.fraunhofer.de> <FCE40691-EC98-4A0C-9C3E-59F9018A15C8@ericsson.com> <3f63613d-9571-f739-d517-042b4ca9398d@sit.fraunhofer.de> <B63CB2BF-1F68-4ECB-851B-CD794D1203D9@ericsson.com> <a89f603a-8cc9-21c0-4d75-a78c49efc0e7@sit.fraunhofer.de>
In-Reply-To: <a89f603a-8cc9-21c0-4d75-a78c49efc0e7@sit.fraunhofer.de>
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: sit.fraunhofer.de; dkim=none (message not signed) header.d=none;sit.fraunhofer.de; 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: 8bb01987-1f90-47e8-6f00-08d881a75f2a
x-ms-traffictypediagnostic: AM6PR07MB4932:
x-microsoft-antispam-prvs: <AM6PR07MB4932DCC51CCDB2B5D94E15F689EE0@AM6PR07MB4932.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: aeV65SnnydnvqAgYAFMZXfxIVeaJr2c1lSW2k/Blhyaal62L1QUpXvoZXkuA0WMem9TX8BrIwLlsxifoaCHiKqQRSS4wb7yIkf9pj68hyiFDMEeH8+PPseYpPBtSDoYvW0NC9+3ylxC0qPYhRpqLalTohwgAe3MoOxI6XklbRMee+DV2833XmzDB+d1E0K16LwrPpN3OmXzIjb/Yi350H8RhESHdCp48tKwaSJg9goEChnfb3OKt6El/C2S6cjC+dccmQdH8Zwy3VRmQK6o3t9tlaebPRhKo/Ts7QClrOsU2pPusVyoEIzT0v3M5yKxwYrNs59hSta/t4+JTSL971pA7juymbBcMmjsXf5R+n13bvvdgez1JShCuvb9fs+9J5LwPErI6UHtGVrTXNheGWw==
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)(366004)(346002)(396003)(136003)(39860400002)(376002)(64756008)(6506007)(91956017)(53546011)(6486002)(66476007)(66556008)(76116006)(83380400001)(86362001)(8676002)(66446008)(66946007)(8936002)(44832011)(36756003)(316002)(26005)(110136005)(71200400001)(478600001)(6512007)(5660300002)(2616005)(186003)(33656002)(2906002)(966005); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata: LQWm3fn0Bm6y2tuD2sSF4bBJ9XBUzBygYojlh5ufovIU9UOR2vtLGEs/tLRa/50lscj80C5URspLJK6S34Efo3ZJH8ZEIyD1hGh6b5ANa1TKI/FvF8hJLUB2CVLO/ngh/elEWR8Pxgx6JPC0hK5NUZj/uG/k0bqBK+xprXoZ9XWy5aalGrEroHrOWSN4FuO0JyVJFUblFnuyWUgc3GaqvQAr8xB8en8wAaNVJkj6CaB7GE0ei5+iU4YiyBmH/TZQTFfsz8+S1LWaPXEO6hQvhhgvAjZatPbmTxC7bfttUoBxoQUqPB2llClnCowCei+vzqZ+r5Di16WzQrMbkekkAP0AivMoSpk5q662/DrGlib8/0c9g//VPtsopvMoRs3DtIq4SyMLrZT7ahpVBLJcBtKxHFNMuk4hl68eLM7dxad11f7vE34KcnjvGpd6B6BNVcjsFXIG8/uB3QQ8po6BGPm/hZbcqEl4ndSwXhM3Zm7Jojxs4A1xtMMkp/08g2Sx+FSJekLuIHGUdYmOfGTkUyeUGnG8jm9aotMc2SeWStRO8azIrQ5rmhhe9wQ0Jpvp6wAbkMHo/aFkVs5JY5/YnfpVRmQVC51mn0QPZDYmlHsSyHrPgG0jIIEgkBJeqwcHCMikvpYXl9rl/No50cBMqg==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <010360F94B581F47A9B4D0CCF9EE5AB6@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: 8bb01987-1f90-47e8-6f00-08d881a75f2a
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Nov 2020 16:25:12.7873 (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: rOVrrOw1sBXTsRzX5DhP7OjKFmkiTokLd0tAHRwnpNJWMTU4AFu0wVM7D2/xN1JMBQ2UsRvE1BDY5Uwke8T/cKSSU8kXwmC/zkV822iU9L4=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB4932
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/SZOK_KcuMHPv4-jJGBHbeoGULRo>
Subject: Re: [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 16:25:19 -0000

SGksDQoNCkhlbmsgd3JvdGU6DQo+Q2lyY2xpbmcgYmFjayB0byBteSBpbml0aWFsIHJlcGx5LCBJ
IGFtIHN0aWxsIHVuZGVyIHRoZSBpbXByZXNzaW9uIHRoYXQgDQo+eW91IGFyZSBhc2tpbmcgZm9y
IGEgQ0RETCBub3RhdGlvbiB0aGF0IGNhbiBleHByZXNzIENCT1IgU2VxdWVuY2VzIGFzIGEgDQo+
dG9wLWxldmVsIGl0ZW0gaW4gYSBDRERMIHNwZWMsIHJpZ2h0PyAoUkZDODc2NCBpcyBoaW50aW5n
IGF0IHRoYXQuKQ0KDQpDYXJzdGVuIHdyb3RlOg0KPkFyZSB5b3UgdGFsa2luZyBhYm91dCB0aGUg
4oCcZnV0dXJlIHZlcnNpb25z4oCdIHBhcnQgb2YgdGhhdD8NCg0KWWVzLCBJIGFtIGFza2luZyBm
b3IgYSBmdXR1cmUgdXBkYXRlIHRvIENEREwgdGhhdCBhbGxvd3MgZXhwcmVzc2lvbiBvZiBDQk9S
IFNlcXVlbmNlcyBhcyBhIHRvcC1sZXZlbCBpdGVtLiBJIHdhbnQgdGhhdCAiZnV0dXJlIHZlcnNp
b24iIG9mIENEREwgYXMgc29vbiBhcyBwb3NzaWJsZS4gVGhlIHJlYXNvbiBJIHdhbnQgdGhhdCB1
cGRhdGVkIHZlcnNpb24gaXMgYmVjYXVzZSBJIHdhbnQgdG8gdXNlIENEREwuIFRoZSBhbHRlcm5h
dGl2ZSBpcyB0byBub3QgdXNlIENEREwsIG9yIGFzIHN1Z2dlc3RlZCBieSBSRkMgODc0MiBhbmQg
dXNlIENEREwgdG9nZXRoZXIgd2l0aCBodW1hbiByZWFkYW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Pj4+IGh0dHBzOi8vd3d3LmlldGYub3JnL21haWxtYW4vbGlzdGluZm8v
Y2Jvcg0KPj4+DQo+Pg0KPiANCg0K


From nobody Thu Nov  5 09:02:49 2020
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 BA3A53A181F for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 09:02:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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 CtGGNqMwaEjL for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 09:02:46 -0800 (PST)
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 2937E3A1815 for <cbor@ietf.org>; Thu,  5 Nov 2020 09:02:45 -0800 (PST)
Received: from [192.168.217.120] (p548dcc60.dip0.t-ipconnect.de [84.141.204.96]) (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 4CRqZp5jvfzyWV; Thu,  5 Nov 2020 18:02:42 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <5CB44449-A1EB-465A-8A51-14FE14155B68@ericsson.com>
Date: Thu, 5 Nov 2020 18:02:42 +0100
Cc: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>, "cbor@ietf.org" <cbor@ietf.org>, Andrew Weiss <anweiss@github.com>
X-Mao-Original-Outgoing-Id: 626288562.324324-04eb3f9cc35f9ad70cd6411fc7d90188
Content-Transfer-Encoding: quoted-printable
Message-Id: <4CBAFAE0-EB02-4E02-9CAD-D7E0AB546F06@tzi.org>
References: <317AB3AB-B1E9-4AD9-911E-559D166E2788@ericsson.com> <d45672c4-b42c-fb0f-3ab5-0fcd7712f29b@sit.fraunhofer.de> <FCE40691-EC98-4A0C-9C3E-59F9018A15C8@ericsson.com> <3f63613d-9571-f739-d517-042b4ca9398d@sit.fraunhofer.de> <B63CB2BF-1F68-4ECB-851B-CD794D1203D9@ericsson.com> <a89f603a-8cc9-21c0-4d75-a78c49efc0e7@sit.fraunhofer.de> <5CB44449-A1EB-465A-8A51-14FE14155B68@ericsson.com>
To: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/t0PtgMAk61Ft9R3ssTVqqMnLlIE>
Subject: Re: [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 17:02:49 -0000

On 2020-11-05, at 17:25, John Mattsson =
<john.mattsson=3D40ericsson.com@dmarc.ietf.org> wrote:
>=20
> Hi,
>=20
> Henk wrote:
>> Circling back to my initial reply, I am still under the impression =
that=20
>> you are asking for a CDDL notation that can express CBOR Sequences as =
a=20
>> top-level item in a CDDL spec, right? (RFC8764 is hinting at that.)
>=20
> Carsten wrote:
>> Are you talking about the =E2=80=9Cfuture versions=E2=80=9D part of =
that?
>=20
> Yes, I am asking for a future update to CDDL that allows expression of =
CBOR Sequences as a top-level item. I want that "future version" of CDDL =
as soon as possible.

I see.  (I don=E2=80=99t see why.)

The reason that this is under =E2=80=9Cfuture=E2=80=9D is that there is =
no urgency to re-spin CDDL at this point =E2=80=94 we can handle all =
current issues within the extension points (at least until we do the =
module structure =E2=80=94 but that will take another year or two).

> The reason I want that updated version is because I want to use CDDL.=20=


Yes, and RFC 8742 tells you how to do this for CBOR sequences with =
today=E2=80=99s CDDL.

> The
> alternative is to not use CDDL, or as suggested by RFC 8742 and use =
CDDL together with human readable text. The human readable text cannot =
be used for automatic verification unless you have a very smart AI.

You already need something (=E2=80=9CEnglish=E2=80=9D or in your =
implementation glue) that links the specific CDDL spec to the incoming =
data.
That something could as well tell you that the incoming data is a CBOR =
sequence and not a single CBOR data item, and use the CDDL accordingly.
Can you explain the difficulties you find with that?

>> So the solution here is to concatenate four separate CBOR data items=20=

>> (key_id, key_usage, key_value, key_addinfo) in order to safe the =
bytes=20
>> that would wrap them in an array and would result in a single CBOR =
data=20
>> item.
>=20
> Yes, all the specs I referred to do something similar. My =
understanding is that the result is a CBOR sequence (not a single CBOR =
data item). In EDHOC we have taken every possible measure to shave of =
bytes so that the message can fit in 5-hop 6TiSCH and LoRaWAN. The =
resulting CBOR sequence for message_2 is 46 bytes which is still one (1) =
byte too much. In EDHOC we will need concatenate byte strings of known =
length to make the CBOR sequence fit inside a single frame. There is =
absolutely no possibility to take the cost of even a single extra byte.

I=E2=80=99m not arguing for converting the CBOR sequence into a single =
CBOR data item.
I=E2=80=99m just arguing that you can use the way of using CDDL for CBOR =
sequences that is specified today in RFC 8742.

Henk has pointed out to me in separate conversation that my CDDL tool is =
not yet sequence-friendly; I=E2=80=99ll take that as an action point =
now. =20

Andrew =E2=80=94 where is your tool with respect to handling RFC 8742 =
CBOR sequences?

Gr=C3=BC=C3=9Fe, Carsten


From nobody Thu Nov  5 09:18:03 2020
Return-Path: <anweiss@github.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 2D93B3A1933 for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 09:18:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=github.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 P0ogzEOJdTE1 for <cbor@ietfa.amsl.com>; Thu,  5 Nov 2020 09:18:00 -0800 (PST)
Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 51FCD3A1324 for <cbor@ietf.org>; Thu,  5 Nov 2020 09:18:00 -0800 (PST)
Received: by mail-ot1-x32f.google.com with SMTP id n11so2129790ota.2 for <cbor@ietf.org>; Thu, 05 Nov 2020 09:18:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=google;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BXw5h7MpsZFynM0xvF0yzYfZXful/mh4IlzZBwThLL8=; b=Q955X4z4WXtyK6JAbo7bLe8YxS7vjSw2FfqJ9vA1fKZurPKaC9LuQ9IjnuKNsZPVVo SYjgkYj2XSAekzRRFCkw1s+WAlNJYvVsQhMfcj29RMX6F/mRHQy3YAEHLldc0KE1U/FH zkS2Zm3PCrL4BcEm1RWJE0O9n6AioOuvl2JdaJn7RTLdFn7RKg1Oq7MaUWMvsGxM1UJT I3T/B62FlJFU9puEgD/FNW3oH4xM5tW5kZilVbqOXtL+UMjzUTF6QvfnROFLLd+SJ60s n5XzCVe9yoaYM1zmGXu7PaeDUeB6nZysWe6u1QtuxU276atO4SPHtGf11uELNyenNfht iedA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BXw5h7MpsZFynM0xvF0yzYfZXful/mh4IlzZBwThLL8=; b=fuTwJbmtdHv+1aOhI/0ulQH6fGM/LcfF0nv1OiBy/zyEUjDaToeTHxyfBKbLLAXTJs cTqoQnmkY6P5McFJrQxiogfoVb2wwBYG6sM4A/3x96JvbI9Xa7J6cWa2K5lB3Noji53Y gN3bSi0TWncMQ38OhW1goGy32NnEDYqi7zLtXwcVhkMoouTJQ9WUf0ZXxhyU7K11qtiy 2Zm+4vmjLJr3xrcpJOM5MbSejAZGe1+N+jrqm80nlMAjICQxF1Y/GLty8dVB+mfl432h qQxWiLdL2A4Bi/+55HkuPibFIz77U6B+7Z85ldzeaI3podE2bV/ZSJoNVuw/PmvwXzwJ 9Skw==
X-Gm-Message-State: AOAM531Jifsx+7jzYaU/PlNaqJasMm24z7sjsMzlRVxs+LVqA7yqnRgj CAeHvsfAHHpFK72FmQpem9r3ZPRjkuJudr0Dx7z4Hg==
X-Google-Smtp-Source: ABdhPJwcxAGVvXtMop1bDNVg0LS6RRJP9obbUClms0TEz/lAkf99xIrX6Q6Egy5BCxWW+ZqZ/6/pA9uyuE9od3koMzo=
X-Received: by 2002:a9d:bec:: with SMTP id 99mr2501048oth.103.1604596679500; Thu, 05 Nov 2020 09:17:59 -0800 (PST)
MIME-Version: 1.0
References: <317AB3AB-B1E9-4AD9-911E-559D166E2788@ericsson.com> <d45672c4-b42c-fb0f-3ab5-0fcd7712f29b@sit.fraunhofer.de> <FCE40691-EC98-4A0C-9C3E-59F9018A15C8@ericsson.com> <3f63613d-9571-f739-d517-042b4ca9398d@sit.fraunhofer.de> <B63CB2BF-1F68-4ECB-851B-CD794D1203D9@ericsson.com> <a89f603a-8cc9-21c0-4d75-a78c49efc0e7@sit.fraunhofer.de> <5CB44449-A1EB-465A-8A51-14FE14155B68@ericsson.com> <4CBAFAE0-EB02-4E02-9CAD-D7E0AB546F06@tzi.org>
In-Reply-To: <4CBAFAE0-EB02-4E02-9CAD-D7E0AB546F06@tzi.org>
From: Andrew Weiss <anweiss@github.com>
Date: Thu, 5 Nov 2020 12:17:48 -0500
Message-ID: <CABL-CE_-2PbNS_BSKC0091D7g3Nja4a0WbQy-nSU-MTVugTHcg@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>,  Henk Birkholz <henk.birkholz@sit.fraunhofer.de>, "cbor@ietf.org" <cbor@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000170d3705b35f4767"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/hXFzQN6oXhbZQ0IF4b71liSI-K8>
Subject: Re: [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 17:18:02 -0000

--000000000000170d3705b35f4767
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hey Carsten,

I haven't yet implemented RFC 8742 CBOR sequences (per
https://github.com/anweiss/cddl#validating-cbor), but it is next on my list=
.

*Andrew*


On Thu, Nov 5, 2020 at 12:02 PM Carsten Bormann <cabo@tzi.org> wrote:

> On 2020-11-05, at 17:25, John Mattsson <john.mattsson=3D
> 40ericsson.com@dmarc.ietf.org> wrote:
> >
> > Hi,
> >
> > Henk wrote:
> >> Circling back to my initial reply, I am still under the impression tha=
t
> >> you are asking for a CDDL notation that can express CBOR Sequences as =
a
> >> top-level item in a CDDL spec, right? (RFC8764 is hinting at that.)
> >
> > Carsten wrote:
> >> Are you talking about the =E2=80=9Cfuture versions=E2=80=9D part of th=
at?
> >
> > Yes, I am asking for a future update to CDDL that allows expression of
> CBOR Sequences as a top-level item. I want that "future version" of CDDL =
as
> soon as possible.
>
> I see.  (I don=E2=80=99t see why.)
>
> The reason that this is under =E2=80=9Cfuture=E2=80=9D is that there is n=
o urgency to
> re-spin CDDL at this point =E2=80=94 we can handle all current issues wit=
hin the
> extension points (at least until we do the module structure =E2=80=94 but=
 that will
> take another year or two).
>
> > The reason I want that updated version is because I want to use CDDL.
>
> Yes, and RFC 8742 tells you how to do this for CBOR sequences with today=
=E2=80=99s
> CDDL.
>
> > The
> > alternative is to not use CDDL, or as suggested by RFC 8742 and use CDD=
L
> together with human readable text. The human readable text cannot be used
> for automatic verification unless you have a very smart AI.
>
> You already need something (=E2=80=9CEnglish=E2=80=9D or in your implemen=
tation glue) that
> links the specific CDDL spec to the incoming data.
> That something could as well tell you that the incoming data is a CBOR
> sequence and not a single CBOR data item, and use the CDDL accordingly.
> Can you explain the difficulties you find with that?
>
> >> So the solution here is to concatenate four separate CBOR data items
> >> (key_id, key_usage, key_value, key_addinfo) in order to safe the bytes
> >> that would wrap them in an array and would result in a single CBOR dat=
a
> >> item.
> >
> > Yes, all the specs I referred to do something similar. My understanding
> is that the result is a CBOR sequence (not a single CBOR data item). In
> EDHOC we have taken every possible measure to shave of bytes so that the
> message can fit in 5-hop 6TiSCH and LoRaWAN. The resulting CBOR sequence
> for message_2 is 46 bytes which is still one (1) byte too much. In EDHOC =
we
> will need concatenate byte strings of known length to make the CBOR
> sequence fit inside a single frame. There is absolutely no possibility to
> take the cost of even a single extra byte.
>
> I=E2=80=99m not arguing for converting the CBOR sequence into a single CB=
OR data
> item.
> I=E2=80=99m just arguing that you can use the way of using CDDL for CBOR =
sequences
> that is specified today in RFC 8742.
>
> Henk has pointed out to me in separate conversation that my CDDL tool is
> not yet sequence-friendly; I=E2=80=99ll take that as an action point now.
>
> Andrew =E2=80=94 where is your tool with respect to handling RFC 8742 CBO=
R
> sequences?
>
> Gr=C3=BC=C3=9Fe, Carsten
>
>

--000000000000170d3705b35f4767
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hey Carsten,<div><br></div><div>I haven&#39;t yet implemen=
ted RFC 8742 CBOR sequences (per <a href=3D"https://github.com/anweiss/cddl=
#validating-cbor">https://github.com/anweiss/cddl#validating-cbor</a>), but=
 it is next on my list.<br clear=3D"all"><div><div dir=3D"ltr" class=3D"gma=
il_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div dir=
=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><b><br></b></di=
v><div dir=3D"ltr"><b>Andrew</b><div></div></div></div></div></div></div></=
div></div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" c=
lass=3D"gmail_attr">On Thu, Nov 5, 2020 at 12:02 PM Carsten Bormann &lt;<a =
href=3D"mailto:cabo@tzi.org">cabo@tzi.org</a>&gt; wrote:<br></div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex">On 2020-11-05, at 17:25, John Matt=
sson &lt;john.mattsson=3D<a href=3D"mailto:40ericsson.com@dmarc.ietf.org" t=
arget=3D"_blank">40ericsson.com@dmarc.ietf.org</a>&gt; wrote:<br>
&gt; <br>
&gt; Hi,<br>
&gt; <br>
&gt; Henk wrote:<br>
&gt;&gt; Circling back to my initial reply, I am still under the impression=
 that <br>
&gt;&gt; you are asking for a CDDL notation that can express CBOR Sequences=
 as a <br>
&gt;&gt; top-level item in a CDDL spec, right? (RFC8764 is hinting at that.=
)<br>
&gt; <br>
&gt; Carsten wrote:<br>
&gt;&gt; Are you talking about the =E2=80=9Cfuture versions=E2=80=9D part o=
f that?<br>
&gt; <br>
&gt; Yes, I am asking for a future update to CDDL that allows expression of=
 CBOR Sequences as a top-level item. I want that &quot;future version&quot;=
 of CDDL as soon as possible.<br>
<br>
I see.=C2=A0 (I don=E2=80=99t see why.)<br>
<br>
The reason that this is under =E2=80=9Cfuture=E2=80=9D is that there is no =
urgency to re-spin CDDL at this point =E2=80=94 we can handle all current i=
ssues within the extension points (at least until we do the module structur=
e =E2=80=94 but that will take another year or two).<br>
<br>
&gt; The reason I want that updated version is because I want to use CDDL. =
<br>
<br>
Yes, and RFC 8742 tells you how to do this for CBOR sequences with today=E2=
=80=99s CDDL.<br>
<br>
&gt; The<br>
&gt; alternative is to not use CDDL, or as suggested by RFC 8742 and use CD=
DL together with human readable text. The human readable text cannot be use=
d for automatic verification unless you have a very smart AI.<br>
<br>
You already need something (=E2=80=9CEnglish=E2=80=9D or in your implementa=
tion glue) that links the specific CDDL spec to the incoming data.<br>
That something could as well tell you that the incoming data is a CBOR sequ=
ence and not a single CBOR data item, and use the CDDL accordingly.<br>
Can you explain the difficulties you find with that?<br>
<br>
&gt;&gt; So the solution here is to concatenate four separate CBOR data ite=
ms <br>
&gt;&gt; (key_id, key_usage, key_value, key_addinfo) in order to safe the b=
ytes <br>
&gt;&gt; that would wrap them in an array and would result in a single CBOR=
 data <br>
&gt;&gt; item.<br>
&gt; <br>
&gt; Yes, all the specs I referred to do something similar. My understandin=
g is that the result is a CBOR sequence (not a single CBOR data item). In E=
DHOC we have taken every possible measure to shave of bytes so that the mes=
sage can fit in 5-hop 6TiSCH and LoRaWAN. The resulting CBOR sequence for m=
essage_2 is 46 bytes which is still one (1) byte too much. In EDHOC we will=
 need concatenate byte strings of known length to make the CBOR sequence fi=
t inside a single frame. There is absolutely no possibility to take the cos=
t of even a single extra byte.<br>
<br>
I=E2=80=99m not arguing for converting the CBOR sequence into a single CBOR=
 data item.<br>
I=E2=80=99m just arguing that you can use the way of using CDDL for CBOR se=
quences that is specified today in RFC 8742.<br>
<br>
Henk has pointed out to me in separate conversation that my CDDL tool is no=
t yet sequence-friendly; I=E2=80=99ll take that as an action point now.=C2=
=A0 <br>
<br>
Andrew =E2=80=94 where is your tool with respect to handling RFC 8742 CBOR =
sequences?<br>
<br>
Gr=C3=BC=C3=9Fe, Carsten<br>
<br>
</blockquote></div>

--000000000000170d3705b35f4767--


From nobody Tue Nov 10 11:32:50 2020
Return-Path: <francesca.palombini@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 62F593A0EA1; Tue, 10 Nov 2020 11:32:48 -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 d1SHKWcZQ4df; Tue, 10 Nov 2020 11:32:47 -0800 (PST)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70071.outbound.protection.outlook.com [40.107.7.71]) (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 AB6013A0EA2; Tue, 10 Nov 2020 11:32:46 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XqK0HFYW650Fk92IhVEBE6N5aVylO2gptJpsOIsYb1koTGnQ68PV/IrdroIuD/7DCVFKXtnFKsq7Dkw+us7fMGWJREpZBjSqger5i3zJj4U+6bR1goKF82RMLVNMdvC1ZKNORryuwky8QHoR4Ia6Tlms+hsj1qEQzfSvZOPY84vQGeeAiIIAapgaQEeoi70zUQOXmaTgwv/7O4H1xMffaQtFem8dfFRJ3U6zvTN8PxbZfOKBjJoMdy3kIC1WQ5vpN2MXs1CRxiCXc1XEKuSLd+48nkxWrnhCjO1G5vhibElJ3653kKuOODw0kos/FWokjNH8WAKz26fpaEhGXt/Oag==
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=T0xPpfWGk3DSc/DmOixEelNRzeq28D9XabA3yHtDY/4=; b=VTh9pr60JMOsoyhBsC6jNsQGBxJdgSucnjpHO4lsUnXPOZCIWnJoQgrylHluUEoe6CMPZkgXI3cHqIRzP8KTyGiLDxObmtmba2NWlPWYLW4ZsiAisloNIjRFFiLILOA8MsPe+0rLbbDW35FBsV6sWGyvAzw9UCO7JMSMeEs7Xd+XGl15HnAd3aqDuMomGiSHY+EHzbKQui91G3AQ2n0rBnvkYrok1T8g2ByYu4lsLq8pgxdB8hne8WirUEZCpEaTxGtlow+Prji/6rDs20Tzut1gKbbpyv+yFJI0AZnbuO5ely1FmLHw9lzk9uNP5Z+t8XouQ7LnDgpk5e3IKnXrvw==
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=T0xPpfWGk3DSc/DmOixEelNRzeq28D9XabA3yHtDY/4=; b=rhuhFK16hs0EMo2PQqEcwcU/dLjkZCBjATFt1CKarxqUn6eB2FtIDtLpvbuM9IB/s+yDufrjTpVP2Jsgf8rPtnHGCphEvRmdQdFsc5iDQzxq41x5zQ3D7cOR+1yvQ3VBTbe8T06QsuR90y4WuNWw/VUGSA5KibV0/6pD0Y3ptBM=
Received: from VI1PR07MB4477.eurprd07.prod.outlook.com (2603:10a6:803:74::33) by VI1PR0702MB3727.eurprd07.prod.outlook.com (2603:10a6:803:a::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3564.13; Tue, 10 Nov 2020 19:32:38 +0000
Received: from VI1PR07MB4477.eurprd07.prod.outlook.com ([fe80::1924:4b62:2704:55e4]) by VI1PR07MB4477.eurprd07.prod.outlook.com ([fe80::1924:4b62:2704:55e4%6]) with mapi id 15.20.3564.021; Tue, 10 Nov 2020 19:32:38 +0000
From: Francesca Palombini <francesca.palombini@ericsson.com>
To: "cbor@ietf.org" <cbor@ietf.org>
CC: "cbor-chairs@ietf.org" <cbor-chairs@ietf.org>
Thread-Topic: IETF 109 agenda
Thread-Index: AQHWt5g/5cOYF+x2YEKQH8ir9vTqaA==
Date: Tue, 10 Nov 2020 19:32:37 +0000
Message-ID: <759337C1-81A3-4448-AA6B-6060A6942BE9@ericsson.com>
Accept-Language: en-GB, 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: [158.174.219.143]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 11741e86-c4d9-4407-2b36-08d885af61da
x-ms-traffictypediagnostic: VI1PR0702MB3727:
x-microsoft-antispam-prvs: <VI1PR0702MB37270C740490D7CFCAB0C39B98E90@VI1PR0702MB3727.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:2958;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: jY4U4A0E/dViqEVHRzFczKdvW9BXtjPwdQC2ry4sg1sAqKAK7M6frhNjathOsh5/Fq2qxsfVpRc8+jpU+yFTvzW3FkPzG4GhgpprnBwmwBfA0tOGBjaufEhPIa6hckcych+76EsZsRR4UbqUj0MhoTIlSGEO7xUzMe0Zj7BV4xtiF5tbA1HRN7jNqk4CNK5cz8ttpsVIpM6le+9OniTPbUHgbCYWNFCy6cBHleK3Z1Tb8D+u4XBe5zitbFEOwWPNgckSQ3wm4JPaEE2UALX22Dxn/fmWzqPoKyg6cFNT9AE+5sdSLb41r9xU4b87SlTe/YtqJDGeGlXdWEaS9n1swurvUq2melX4Xp4chLK2JYixBkwTEDQTyDQ5CQqH72RJ1HPzW2gEKrxdarRZPv12KQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:VI1PR07MB4477.eurprd07.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(396003)(346002)(366004)(136003)(376002)(39860400002)(76116006)(66476007)(2906002)(86362001)(66446008)(64756008)(91956017)(6486002)(66556008)(6512007)(966005)(66946007)(478600001)(26005)(8936002)(186003)(4326008)(71200400001)(83380400001)(8676002)(2616005)(316002)(36756003)(6506007)(6916009)(7116003)(5660300002)(450100002)(44832011)(33656002); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata: 4npVZLszrA/cM7m8uyJcfGaMDRv5W0l+uhp7bjH4MOQOHTlaTPINg4P5i+qwwX3ezJ8qKWrL027zxdljFJSprjWGCAfKbmTdoUpWfv49oWd3cF8oChIlsKyyJK2okuoq1VyXRNIsjeT5fBZveQ+BNdzli7hbRp00MSRKlZ0sv8RU0o44N53iWJ4OEJwa3KkUZB9NsBgQ1PA0/w2D9FeOQkP6+5Vhu6gnBV4Q8gzZgZLheYHTWcIhbCuEUZlZbP/a0HqUtQOJRQlpZhcHSycMmDEKfqNxWU6hZ8GicMaeW9dw+7votAqZYFkmKcB8V3WfYTAbtWIUH5yWFiXBT4JchWwB7PtSCAMFGsAxC0uye3KErlftgMs0jMJ0svU+I5v3pJRFGnDkAyLffqDPN8BNMTBo+5f8cCCl5LNK5D43TOfpI7H4np8HLwZ9pp1GS8P2wlCzPockIA4B7/u6qD/HUpbcp7I/czJMePNYwivXy2Tg5vcZJTqLQ33aV8nUYndWA+maJA5zVSLn98gp7Z48fYhmvgGDC1snOMkFLdzZYFafZJtdNlD0nWbh800HxzpLTyxPdQpke3qpZsmTbYeOMgoltsRtub8pYc2v0vo52sbYnh2E8LmLuulAGE2Tfnz+QMjODgEJkGfkG1Suhb8308ypqPhzKPcm2S6eJ7pYjQGuQsRj6VswBMbhJ9LL6ONYU2QKWi4lrWtTr2vyvCtdjDyl1ih1HA8Qce1ymijXuAoQ/LPYUq7wkD0WdCN91F673X3oWN7h3UvMxun7Jxa7BUXcyk7YrximaUzCvVB/LWN/QQZyepVuYj4DhVXQ2bkYSWpD8NFPXJspHNgPzhSCtJdYR4gHLko/VRaHrf7lVbenIv1nO8vrJTdPaig84VNCdSn7ob8rQSMXE7K5pDaw3A==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <1643FD71E437DF42A6C68F03BE2C0113@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: VI1PR07MB4477.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 11741e86-c4d9-4407-2b36-08d885af61da
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Nov 2020 19:32:37.8764 (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: 0O3U6zz1N42VZVMJXeItXStwT3Y3oWBHkz7fwymnyGz5MMJXZpfSQhfdU04fFKsGf110DexocWPrViVhr+x6tRiob3F8kr+XOIEN3NK5y5ye8emQihiNiUrpqwJiuXWX
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0702MB3727
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/YZNvzgAHEnMdNUPrppPoWXDES70>
Subject: [Cbor] IETF 109 agenda
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, 10 Nov 2020 19:32:48 -0000

SGkgYWxsLA0KDQpUaGUgYWdlbmRhIGhhcyBiZWVuIHVwbG9hZGVkOiBodHRwczovL2RhdGF0cmFj
a2VyLmlldGYub3JnL21lZXRpbmcvMTA5L21hdGVyaWFscy9hZ2VuZGEtMTA5LWNib3ItMDAuaHRt
bCAuIElmIHlvdSBoYXZlIGFueSBjb21tZW50cyBvciBtb2RpZmljYXRpb25zIHlvdSdkIGxpa2Ug
bWUgdG8gZG8sIHBsZWFzZSBsZXQgbWUga25vdy4NCg0KSSBhbSBsb29raW5nIGZvciBtaW51dGUg
dGFrZXJzLCBpZiB5b3UgYXJlIHBsYW5uaW5nIHRvIGF0dGVuZCBwbGVhc2UgY29uc2lkZXIgdm9s
dW50ZWVyaW5nLg0KDQpUYWxrIHRvIHlvdSBhbGwgc29vbiwNCkZyYW5jZXNjYQ0KDQrvu79PbiAy
My8xMC8yMDIwLCAyMzoxNiwgIiJJRVRGIFNlY3JldGFyaWF0IiIgPGFnZW5kYUBpZXRmLm9yZz4g
d3JvdGU6DQoNCiAgICBEZWFyIEZyYW5jZXNjYSBQYWxvbWJpbmksDQoNCiAgICBUaGUgc2Vzc2lv
bihzKSB0aGF0IHlvdSBoYXZlIHJlcXVlc3RlZCBoYXZlIGJlZW4gc2NoZWR1bGVkLg0KICAgIEJl
bG93IGlzIHRoZSBzY2hlZHVsZWQgc2Vzc2lvbiBpbmZvcm1hdGlvbiBmb2xsb3dlZCBieQ0KICAg
IHRoZSBvcmlnaW5hbCByZXF1ZXN0LiANCg0KDQogICAgICAgIGNib3IgU2Vzc2lvbiAxICgxOjAw
IHJlcXVlc3RlZCkNCiAgICAgICAgVGh1cnNkYXksIDE5IE5vdmVtYmVyIDIwMjAsIFNlc3Npb24g
SUkgMTQzMC0xNTMwDQogIC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GRuc29wIHdwYWNrIGpzb25wYXRoDQoNCg0KDQoNCg0KICAgIFBlb3BsZSB3
aG8gbXVzdCBiZSBwcmVzZW50Og0KICAgICAgQ2Fyc3RlbiBCb3JtYW5uDQogICAgICBCYXJyeSBM
ZWliYQ0KICAgICAgSmltIFNjaGFhZA0KICAgICAgRnJhbmNlc2NhIFBhbG9tYmluaQ0KDQogICAg
UmVzb3VyY2VzIFJlcXVlc3RlZDoNCg0KICAgIFNwZWNpYWwgUmVxdWVzdHM6DQogICAgICBQbGVh
c2UgYXZvaWQgY29sbGlzaW9uIHdpdGggYW55IFNlYyBhbmQgSW9ULXJlbGF0ZWQgQm9Gcy4NCiAg
ICAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0NCg0KDQoNCg==


From nobody Fri Nov 13 16:25:49 2020
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 A666E3A1043 for <cbor@ietfa.amsl.com>; Fri, 13 Nov 2020 16:25:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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 oQ5hp5frb-G6 for <cbor@ietfa.amsl.com>; Fri, 13 Nov 2020 16:25:37 -0800 (PST)
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 D41053A1036 for <cbor@ietf.org>; Fri, 13 Nov 2020 16:25:36 -0800 (PST)
Received: from [192.168.217.118] (p548dcc60.dip0.t-ipconnect.de [84.141.204.96]) (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 4CXx250MgxzyXm; Sat, 14 Nov 2020 01:25:33 +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: 627006332.530992-2dbb56f177e82980f5b9786510d57748
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
Date: Sat, 14 Nov 2020 01:25:32 +0100
Message-Id: <1F68A747-B785-4A0C-A040-D22B56FEEF0F@tzi.org>
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/MbbnLyKvlRhUHHLI74LPRlf8B7I>
Subject: [Cbor] Allow reducing .feature diagnostic verbosity
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: Sat, 14 Nov 2020 00:25:46 -0000

Over in ASDF, with SDF 1.1 development picking up speed, we are noticing =
some undue verbosity of .feature controls in type choices (as opposed to =
keys of optional entries in maps, where they are usually fine).

I made a pull request:

https://github.com/cbor-wg/cddl-control/pull/1/files

This is also implemented in cddl tool 0.8.13 (just pushed; update with =
=E2=80=9Cgem update=E2=80=9D).

Discussion welcome.
Example for use in:

https://github.com/ietf-wg-asdf/SDF/blob/1-1/sdf-1-1.cddl#L63

(I needed to put in extra parentheses because the cddl tool doesn=E2=80=99=
t exactly implement the CDDL ABNF=E2=80=A6  On the list for the next =
version of the tool; cddlc already has the correct ABNF.)

Gr=C3=BC=C3=9Fe, Carsten


From nobody Tue Nov 17 07:43:49 2020
Return-Path: <anweiss@github.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 8B9C53A1441 for <cbor@ietfa.amsl.com>; Tue, 17 Nov 2020 07:43:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=github.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 dvgMBkNMy7AR for <cbor@ietfa.amsl.com>; Tue, 17 Nov 2020 07:43:44 -0800 (PST)
Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 244F03A12B2 for <cbor@ietf.org>; Tue, 17 Nov 2020 07:43:44 -0800 (PST)
Received: by mail-ot1-x332.google.com with SMTP id o3so9283603ota.8 for <cbor@ietf.org>; Tue, 17 Nov 2020 07:43:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=google;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+b0lG8ZJ+mkzOV6zrbBI2Gy7uHnnVDlnEALWz4SuNes=; b=FdBRdyWTKTmUKXxtfvirrNla0XJP6zi8hdIC0FvrRhSosXDhva9lmuEoqGcaG3p/cN 0YG7bxeV6aPZ+QOV48lCx6f5Wi3rZOGa/JBR5iRzbg8Tj3o4GGoHd4CMYgV7HTKT5U3q WMVgCRQaIJ8rkLl5qBWkLRebzfS0C8NOTEERun69kmiV9+yAHqDwbzlRu3RHeFwXOE1M Zoi94r7/+YRd1xeJazbPxBUNo7IL8iVvhk0uLJ1zYTq97PvpTSkHQHYpGnTLCeHRNT5v 8KBUaLL7JT7TIwMhTROlUsbhqLat5D1q5onYOc1jWMCH+O6AlYb6PaQIhAsDeQKKc4Su ObpA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+b0lG8ZJ+mkzOV6zrbBI2Gy7uHnnVDlnEALWz4SuNes=; b=hNQnk/RlKfqIbpYOOK1A6hkMmQJrSLyGCZ1CFRsb9lIEpnSDXaar8BdHBRJ8cMV/y+ B9uhsxI7LrVTKlAIf0iLJqfOcOESb0Vil2Eyw2pn96HOnPWRYU96neAzwLkLLf5IIzO7 OFclK4WmAP3IzgX9Jm6r3Xk/GmH5hLgS4c8EtAq6GV/vISHUAKKiHg0XpHft+ZX/mY17 hyUFJ4UOpx2u5O7RIzoQTHaOg1j9b7w9W1WqsBR5Y7HYLFEhLlYq8iHr4TiQVU9N+ENo m/wCWWkAJq2tljhT+rrSNKjK4hb6HyrUai9RF2GLftZrp/qzTT7OKjEtrtwR4jGvMEqE Ik2A==
X-Gm-Message-State: AOAM531f2KKgzoTaBV7Ncb835QZge0V8dYf5q1NLzkGuSY4AnE2/QFHX /J4iZo/0sgzrmJELjPzoIHUUGCIDlOWbBQvDiGb3/O1HazA=
X-Google-Smtp-Source: ABdhPJyvi9bBDKqQj3FubeI91lKX6yUSl+DgFTch4Q0m5wrGADuqGR/15b/StdickqquqLdjoWh8KmpMsjyBB2tfsNw=
X-Received: by 2002:a05:6830:2415:: with SMTP id j21mr3262166ots.221.1605627823320;  Tue, 17 Nov 2020 07:43:43 -0800 (PST)
MIME-Version: 1.0
References: <317AB3AB-B1E9-4AD9-911E-559D166E2788@ericsson.com> <d45672c4-b42c-fb0f-3ab5-0fcd7712f29b@sit.fraunhofer.de> <FCE40691-EC98-4A0C-9C3E-59F9018A15C8@ericsson.com> <3f63613d-9571-f739-d517-042b4ca9398d@sit.fraunhofer.de> <B63CB2BF-1F68-4ECB-851B-CD794D1203D9@ericsson.com> <a89f603a-8cc9-21c0-4d75-a78c49efc0e7@sit.fraunhofer.de> <5CB44449-A1EB-465A-8A51-14FE14155B68@ericsson.com> <4CBAFAE0-EB02-4E02-9CAD-D7E0AB546F06@tzi.org> <CABL-CE_-2PbNS_BSKC0091D7g3Nja4a0WbQy-nSU-MTVugTHcg@mail.gmail.com>
In-Reply-To: <CABL-CE_-2PbNS_BSKC0091D7g3Nja4a0WbQy-nSU-MTVugTHcg@mail.gmail.com>
From: Andrew Weiss <anweiss@github.com>
Date: Tue, 17 Nov 2020 10:43:32 -0500
Message-ID: <CABL-CE9+sy192tKUhjgYSKPa1bSetDDMzijeQF77JDPbrSJ0JQ@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>,  Henk Birkholz <henk.birkholz@sit.fraunhofer.de>, "cbor@ietf.org" <cbor@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000000d233105b44f5c63"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/gTHOM10Ab194V01B7Nrsiso6L4I>
Subject: Re: [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: Tue, 17 Nov 2020 15:43:47 -0000

--0000000000000d233105b44f5c63
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hey Carsten,

As a follow up to my previous message, I recently released v0.8.4 of my
CDDL tool which supports CBOR sequences. Feel free to give it a whirl and
report back any issues ...
https://github.com/anweiss/cddl/releases/tag/0.8.4

Cheers!

*Andrew*

On Thu, Nov 5, 2020 at 12:17 PM Andrew Weiss <anweiss@github.com> wrote:

> Hey Carsten,
>
> I haven't yet implemented RFC 8742 CBOR sequences (per
> https://github.com/anweiss/cddl#validating-cbor), but it is next on my
> list.
>
> *Andrew*
>
>
> On Thu, Nov 5, 2020 at 12:02 PM Carsten Bormann <cabo@tzi.org> wrote:
>
>> On 2020-11-05, at 17:25, John Mattsson <john.mattsson=3D
>> 40ericsson.com@dmarc.ietf.org> wrote:
>> >
>> > Hi,
>> >
>> > Henk wrote:
>> >> Circling back to my initial reply, I am still under the impression
>> that
>> >> you are asking for a CDDL notation that can express CBOR Sequences as
>> a
>> >> top-level item in a CDDL spec, right? (RFC8764 is hinting at that.)
>> >
>> > Carsten wrote:
>> >> Are you talking about the =E2=80=9Cfuture versions=E2=80=9D part of t=
hat?
>> >
>> > Yes, I am asking for a future update to CDDL that allows expression of
>> CBOR Sequences as a top-level item. I want that "future version" of CDDL=
 as
>> soon as possible.
>>
>> I see.  (I don=E2=80=99t see why.)
>>
>> The reason that this is under =E2=80=9Cfuture=E2=80=9D is that there is =
no urgency to
>> re-spin CDDL at this point =E2=80=94 we can handle all current issues wi=
thin the
>> extension points (at least until we do the module structure =E2=80=94 bu=
t that will
>> take another year or two).
>>
>> > The reason I want that updated version is because I want to use CDDL.
>>
>> Yes, and RFC 8742 tells you how to do this for CBOR sequences with
>> today=E2=80=99s CDDL.
>>
>> > The
>> > alternative is to not use CDDL, or as suggested by RFC 8742 and use
>> CDDL together with human readable text. The human readable text cannot b=
e
>> used for automatic verification unless you have a very smart AI.
>>
>> You already need something (=E2=80=9CEnglish=E2=80=9D or in your impleme=
ntation glue)
>> that links the specific CDDL spec to the incoming data.
>> That something could as well tell you that the incoming data is a CBOR
>> sequence and not a single CBOR data item, and use the CDDL accordingly.
>> Can you explain the difficulties you find with that?
>>
>> >> So the solution here is to concatenate four separate CBOR data items
>> >> (key_id, key_usage, key_value, key_addinfo) in order to safe the byte=
s
>> >> that would wrap them in an array and would result in a single CBOR
>> data
>> >> item.
>> >
>> > Yes, all the specs I referred to do something similar. My understandin=
g
>> is that the result is a CBOR sequence (not a single CBOR data item). In
>> EDHOC we have taken every possible measure to shave of bytes so that the
>> message can fit in 5-hop 6TiSCH and LoRaWAN. The resulting CBOR sequence
>> for message_2 is 46 bytes which is still one (1) byte too much. In EDHOC=
 we
>> will need concatenate byte strings of known length to make the CBOR
>> sequence fit inside a single frame. There is absolutely no possibility t=
o
>> take the cost of even a single extra byte.
>>
>> I=E2=80=99m not arguing for converting the CBOR sequence into a single C=
BOR data
>> item.
>> I=E2=80=99m just arguing that you can use the way of using CDDL for CBOR
>> sequences that is specified today in RFC 8742.
>>
>> Henk has pointed out to me in separate conversation that my CDDL tool is
>> not yet sequence-friendly; I=E2=80=99ll take that as an action point now=
.
>>
>> Andrew =E2=80=94 where is your tool with respect to handling RFC 8742 CB=
OR
>> sequences?
>>
>> Gr=C3=BC=C3=9Fe, Carsten
>>
>>

--0000000000000d233105b44f5c63
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hey Carsten,<div><br></div><div>As a follow up to my previ=
ous message, I recently released v0.8.4 of my CDDL tool which supports CBOR=
 sequences. Feel free to give it a whirl and report back any issues ...=C2=
=A0<a href=3D"https://github.com/anweiss/cddl/releases/tag/0.8.4" target=3D=
"_blank">https://github.com/anweiss/cddl/releases/tag/0.8.4</a></div><div><=
br></div><div>Cheers!</div><div><br></div><div><b>Andrew</b></div></div><br=
><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, N=
ov 5, 2020 at 12:17 PM Andrew Weiss &lt;<a href=3D"mailto:anweiss@github.co=
m" target=3D"_blank">anweiss@github.com</a>&gt; wrote:<br></div><blockquote=
 class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px so=
lid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Hey Carsten,<div><b=
r></div><div>I haven&#39;t yet implemented RFC 8742 CBOR sequences (per <a =
href=3D"https://github.com/anweiss/cddl#validating-cbor" target=3D"_blank">=
https://github.com/anweiss/cddl#validating-cbor</a>), but it is next on my =
list.<br clear=3D"all"><div><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"l=
tr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><b><br></b></div><di=
v dir=3D"ltr"><b>Andrew</b><div></div></div></div></div></div></div></div><=
/div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=
=3D"gmail_attr">On Thu, Nov 5, 2020 at 12:02 PM Carsten Bormann &lt;<a href=
=3D"mailto:cabo@tzi.org" target=3D"_blank">cabo@tzi.org</a>&gt; wrote:<br><=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left:1px solid rgb(204,204,204);padding-left:1ex">On 2020-11-05, at 17=
:25, John Mattsson &lt;john.mattsson=3D<a href=3D"mailto:40ericsson.com@dma=
rc.ietf.org" target=3D"_blank">40ericsson.com@dmarc.ietf.org</a>&gt; wrote:=
<br>
&gt; <br>
&gt; Hi,<br>
&gt; <br>
&gt; Henk wrote:<br>
&gt;&gt; Circling back to my initial reply, I am still under the impression=
 that <br>
&gt;&gt; you are asking for a CDDL notation that can express CBOR Sequences=
 as a <br>
&gt;&gt; top-level item in a CDDL spec, right? (RFC8764 is hinting at that.=
)<br>
&gt; <br>
&gt; Carsten wrote:<br>
&gt;&gt; Are you talking about the =E2=80=9Cfuture versions=E2=80=9D part o=
f that?<br>
&gt; <br>
&gt; Yes, I am asking for a future update to CDDL that allows expression of=
 CBOR Sequences as a top-level item. I want that &quot;future version&quot;=
 of CDDL as soon as possible.<br>
<br>
I see.=C2=A0 (I don=E2=80=99t see why.)<br>
<br>
The reason that this is under =E2=80=9Cfuture=E2=80=9D is that there is no =
urgency to re-spin CDDL at this point =E2=80=94 we can handle all current i=
ssues within the extension points (at least until we do the module structur=
e =E2=80=94 but that will take another year or two).<br>
<br>
&gt; The reason I want that updated version is because I want to use CDDL. =
<br>
<br>
Yes, and RFC 8742 tells you how to do this for CBOR sequences with today=E2=
=80=99s CDDL.<br>
<br>
&gt; The<br>
&gt; alternative is to not use CDDL, or as suggested by RFC 8742 and use CD=
DL together with human readable text. The human readable text cannot be use=
d for automatic verification unless you have a very smart AI.<br>
<br>
You already need something (=E2=80=9CEnglish=E2=80=9D or in your implementa=
tion glue) that links the specific CDDL spec to the incoming data.<br>
That something could as well tell you that the incoming data is a CBOR sequ=
ence and not a single CBOR data item, and use the CDDL accordingly.<br>
Can you explain the difficulties you find with that?<br>
<br>
&gt;&gt; So the solution here is to concatenate four separate CBOR data ite=
ms <br>
&gt;&gt; (key_id, key_usage, key_value, key_addinfo) in order to safe the b=
ytes <br>
&gt;&gt; that would wrap them in an array and would result in a single CBOR=
 data <br>
&gt;&gt; item.<br>
&gt; <br>
&gt; Yes, all the specs I referred to do something similar. My understandin=
g is that the result is a CBOR sequence (not a single CBOR data item). In E=
DHOC we have taken every possible measure to shave of bytes so that the mes=
sage can fit in 5-hop 6TiSCH and LoRaWAN. The resulting CBOR sequence for m=
essage_2 is 46 bytes which is still one (1) byte too much. In EDHOC we will=
 need concatenate byte strings of known length to make the CBOR sequence fi=
t inside a single frame. There is absolutely no possibility to take the cos=
t of even a single extra byte.<br>
<br>
I=E2=80=99m not arguing for converting the CBOR sequence into a single CBOR=
 data item.<br>
I=E2=80=99m just arguing that you can use the way of using CDDL for CBOR se=
quences that is specified today in RFC 8742.<br>
<br>
Henk has pointed out to me in separate conversation that my CDDL tool is no=
t yet sequence-friendly; I=E2=80=99ll take that as an action point now.=C2=
=A0 <br>
<br>
Andrew =E2=80=94 where is your tool with respect to handling RFC 8742 CBOR =
sequences?<br>
<br>
Gr=C3=BC=C3=9Fe, Carsten<br>
<br>
</blockquote></div>
</blockquote></div>

--0000000000000d233105b44f5c63--


From nobody Tue Nov 17 12:07:41 2020
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id DA13F3A02BD; Tue, 17 Nov 2020 12:07:39 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.23.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cbor@ietf.org
Message-ID: <160564365981.11210.9226568497103498501@ietfa.amsl.com>
Date: Tue, 17 Nov 2020 12:07:39 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Oqv0FV7M3BkVUvAkUz78lEsCLMI>
Subject: [Cbor] I-D Action: draft-ietf-cbor-cddl-control-01.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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, 17 Nov 2020 20:07:40 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Concise Binary Object Representation Maintenance and Extensions WG of the IETF.

        Title           : Additional Control Operators for CDDL
        Author          : Carsten Bormann
	Filename        : draft-ietf-cbor-cddl-control-01.txt
	Pages           : 10
	Date            : 2020-11-17

Abstract:
   The Concise Data Definition Language (CDDL), standardized in RFC
   8610, provides "control operators" as its main language extension
   point.

   The present document defines a number of control operators that did
   not make it into RFC 8610: ".cat"/".plus" for the construction of
   constants, ".abnf"/".abnfb" for including ABNF (RFC 5234/RFC 7405) in
   CDDL specifications, and ".feature" for indicating the use of a non-
   basic feature in an instance.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-cddl-control/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-cbor-cddl-control-01.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-cddl-control-01


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Tue Nov 17 12:10:53 2020
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 D98E23A03F1 for <cbor@ietfa.amsl.com>; Tue, 17 Nov 2020 12:10:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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 mB-HKBHfLRr7 for <cbor@ietfa.amsl.com>; Tue, 17 Nov 2020 12:10:49 -0800 (PST)
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 799513A03EE for <cbor@ietf.org>; Tue, 17 Nov 2020 12:10:49 -0800 (PST)
Received: from [192.168.217.120] (p548dcb31.dip0.t-ipconnect.de [84.141.203.49]) (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 4CbHBH3PBVzyQn; Tue, 17 Nov 2020 21:10:47 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <1F68A747-B785-4A0C-A040-D22B56FEEF0F@tzi.org>
Date: Tue, 17 Nov 2020 21:10:47 +0100
X-Mao-Original-Outgoing-Id: 627336646.8877-f613a67df2ec02e14fae382fd8f5f79e
Content-Transfer-Encoding: quoted-printable
Message-Id: <ED463565-6028-473A-A177-47256681FD5C@tzi.org>
References: <1F68A747-B785-4A0C-A040-D22B56FEEF0F@tzi.org>
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/a5tVs9EQo50OEl0S67rmH8vIQwo>
Subject: Re: [Cbor] Allow reducing .feature diagnostic verbosity
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, 17 Nov 2020 20:10:52 -0000

On 2020-11-14, at 01:25, Carsten Bormann <cabo@tzi.org> wrote:
>=20
> Over in ASDF, with SDF 1.1 development picking up speed, we are =
noticing some undue verbosity of .feature controls in type choices (as =
opposed to keys of optional entries in maps, where they are usually =
fine).
>=20
> I made a pull request:
>=20
> https://github.com/cbor-wg/cddl-control/pull/1/files
>=20
> This is also implemented in cddl tool 0.8.13 (just pushed; update with =
=E2=80=9Cgem update=E2=80=9D).
>=20
> Discussion welcome.
> Example for use in:
>=20
> https://github.com/ietf-wg-asdf/SDF/blob/1-1/sdf-1-1.cddl#L63

This is now in active use in draft-ietf-asdf-sdf-01 [1].

In preparation for Thursday=E2=80=99s WG meeting, I have submitted =
draft-ietf-cbor-cddl-control-01 with this change.  Comments, as always, =
welcome!

As a little bonus, the cddl tool (version 0.8.14) now does .cat, .plus =
as well.
(ABNF is next week, then :-)

Gr=C3=BC=C3=9Fe, Carsten

[1]: =
https://tools.ietf.org/id/draft-ietf-asdf-sdf-01.html#name-formal-syntax-o=
f-sdf


From nobody Tue Nov 17 12:32:45 2020
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id EFDF73A0844; Tue, 17 Nov 2020 12:32:43 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.23.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cbor@ietf.org
Message-ID: <160564516394.23772.979331601036599508@ietfa.amsl.com>
Date: Tue, 17 Nov 2020 12:32:43 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/6pZqRrvuFvspBdNMtMYuDMPx0Rs>
Subject: [Cbor] I-D Action: draft-ietf-cbor-tags-oid-03.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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, 17 Nov 2020 20:32:44 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Concise Binary Object Representation Maintenance and Extensions WG of the IETF.

        Title           : Concise Binary Object Representation (CBOR) Tags for Object Identifiers
        Authors         : Carsten Bormann
                          Sean Leonard
	Filename        : draft-ietf-cbor-tags-oid-03.txt
	Pages           : 14
	Date            : 2020-11-17

Abstract:
   The Concise Binary Object Representation (CBOR, draft-ietf-cbor-
   7049bis) is a data format whose design goals include the possibility
   of extremely small code size, fairly small message size, and
   extensibility without the need for version negotiation.

   The present document defines CBOR tags for object identifiers (OIDs).
   It is intended as the reference document for the IANA registration of
   the CBOR tags so defined.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-tags-oid/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-cbor-tags-oid-03.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-tags-oid-03


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Tue Nov 17 12:39:11 2020
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 AD9C43A0954 for <cbor@ietfa.amsl.com>; Tue, 17 Nov 2020 12:39:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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 YIe6dAytd7lt for <cbor@ietfa.amsl.com>; Tue, 17 Nov 2020 12:39:08 -0800 (PST)
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 742003A091C for <cbor@ietf.org>; Tue, 17 Nov 2020 12:39:08 -0800 (PST)
Received: from [192.168.217.120] (p548dcb31.dip0.t-ipconnect.de [84.141.203.49]) (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 4CbHpy3WwMzyQn; Tue, 17 Nov 2020 21:39:06 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <160564516394.23772.979331601036599508@ietfa.amsl.com>
Date: Tue, 17 Nov 2020 21:39:06 +0100
X-Mao-Original-Outgoing-Id: 627338345.781951-7a8404753543c0f96519e461d0c3cc68
Content-Transfer-Encoding: quoted-printable
Message-Id: <F7D41C1C-72C9-4E11-A6DC-AEA97B1D503C@tzi.org>
References: <160564516394.23772.979331601036599508@ietfa.amsl.com>
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/zs-MR1ionzzjEbMeiNWQOBUs69M>
Subject: Re: [Cbor] I-D Action: draft-ietf-cbor-tags-oid-03.txt
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, 17 Nov 2020 20:39:11 -0000

To make some progress on tags-oid, I addressed issues 6 and 7.
Please comment on text and technical content.

Issue 5 could be closed (amazingly, there is nothing to fix, and this =
will be removed before publication anyway).

I didn=E2=80=99t tackle issue 3 yet: I haven=E2=80=99t seen any feedback =
on it:
https://github.com/cbor-wg/cbor-oid/issues/3

The control suggested in the issue seems to a no-brainer, but we need to =
check the name and see whether we need any other CDDL control operators =
(which we *could* also define later, of course).  Maybe we want a cross =
of .cat and .minus (which doesn=E2=80=99t exist yet, either) instead?

Enjoy!  Best before Thursday=E2=80=99s CBOR meeting...

Gr=C3=BC=C3=9Fe, Carsten


> On 2020-11-17, at 21:32, internet-drafts@ietf.org wrote:
>=20
>=20
> A New Internet-Draft is available from the on-line Internet-Drafts =
directories.
> This draft is a work item of the Concise Binary Object Representation =
Maintenance and Extensions WG of the IETF.
>=20
>        Title           : Concise Binary Object Representation (CBOR) =
Tags for Object Identifiers
>        Authors         : Carsten Bormann
>                          Sean Leonard
> 	Filename        : draft-ietf-cbor-tags-oid-03.txt
> 	Pages           : 14
> 	Date            : 2020-11-17
>=20
> Abstract:
>   The Concise Binary Object Representation (CBOR, draft-ietf-cbor-
>   7049bis) is a data format whose design goals include the possibility
>   of extremely small code size, fairly small message size, and
>   extensibility without the need for version negotiation.
>=20
>   The present document defines CBOR tags for object identifiers =
(OIDs).
>   It is intended as the reference document for the IANA registration =
of
>   the CBOR tags so defined.
>=20
>=20
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-cbor-tags-oid/
>=20
> There is also an HTML version available at:
> https://www.ietf.org/archive/id/draft-ietf-cbor-tags-oid-03.html
>=20
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-cbor-tags-oid-03
>=20
>=20
> Please note that it may take a couple of minutes from the time of =
submission
> until the htmlized version and diff are available at tools.ietf.org.
>=20
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>=20
>=20
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor


From nobody Fri Nov 20 15:47:42 2020
Return-Path: <wwwrun@rfc-editor.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 C049E3A0CA0; Fri, 20 Nov 2020 15:47:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 EogI2OzxleKW; Fri, 20 Nov 2020 15:47:38 -0800 (PST)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2CB7B3A0C9C; Fri, 20 Nov 2020 15:47:38 -0800 (PST)
Received: by rfc-editor.org (Postfix, from userid 30) id 5E0DAF4077C; Fri, 20 Nov 2020 15:47:23 -0800 (PST)
To: ietf-announce@ietf.org, rfc-dist@rfc-editor.org
X-PHP-Originating-Script: 1005:ams_util_lib.php
From: rfc-editor@rfc-editor.org
Cc: rfc-editor@rfc-editor.org, drafts-update-ref@iana.org, cbor@ietf.org
Content-type: text/plain; charset=UTF-8
Message-Id: <20201120234723.5E0DAF4077C@rfc-editor.org>
Date: Fri, 20 Nov 2020 15:47:23 -0800 (PST)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/bKsT_3Qb29lCl98W_G9oVMheixM>
Subject: [Cbor] =?utf-8?q?RFC_8943_on_Concise_Binary_Object_Representatio?= =?utf-8?q?n_=28CBOR=29_Tags_for_Date?=
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: Fri, 20 Nov 2020 23:47:40 -0000

A new Request for Comments is now available in online RFC libraries.

        
        RFC 8943

        Title:      Concise Binary Object Representation (CBOR) 
                    Tags for Date 
        Author:     M. Jones,
                    A. Nadalin,
                    J. Richter
        Status:     Standards Track
        Stream:     IETF
        Date:       November 2020
        Mailbox:    mbj@microsoft.com, 
                    nadalin@prodigy.net, 
                    joerg.richter@pdv-fs.de
        Pages:      6
        Updates/Obsoletes/SeeAlso:   None

        I-D Tag:    draft-ietf-cbor-date-tag-07.txt

        URL:        https://www.rfc-editor.org/info/rfc8943

        DOI:        10.17487/RFC8943

The Concise Binary Object Representation (CBOR), as specified in RFC
7049, is a data format whose design goals include the possibility of
extremely small code size, fairly small message size, and
extensibility without the need for version negotiation. 

In CBOR, one point of extensibility is the definition of CBOR tags.
RFC 7049 defines two tags for time: CBOR tag 0 (date/time string as
per RFC 3339) and tag 1 (POSIX "seconds since the epoch"). Since
then, additional requirements have become known. This specification
defines a CBOR tag for a date text string (as per RFC 3339) for
applications needing a textual date representation within the
Gregorian calendar without a time. It also defines a CBOR tag for
days since the date 1970-01-01 in the Gregorian calendar for
applications needing a numeric date representation without a time.
This specification is the reference document for IANA registration of
the CBOR tags defined.

This document is a product of the Concise Binary Object Representation Maintenance and Extensions Working Group of the IETF.

This is now a Proposed Standard.

STANDARDS TRACK: This document specifies an Internet Standards Track
protocol for the Internet community, and requests discussion and suggestions
for improvements.  Please refer to the current edition of the Official
Internet Protocol Standards (https://www.rfc-editor.org/standards) for the 
standardization state and status of this protocol.  Distribution of this 
memo is unlimited.

This announcement is sent to the IETF-Announce and rfc-dist lists.
To subscribe or unsubscribe, see
  https://www.ietf.org/mailman/listinfo/ietf-announce
  https://mailman.rfc-editor.org/mailman/listinfo/rfc-dist

For searching the RFC series, see https://www.rfc-editor.org/search
For downloading RFCs, see https://www.rfc-editor.org/retrieve/bulk

Requests for special distribution should be addressed to either the
author of the RFC in question, or to rfc-editor@rfc-editor.org.  Unless
specifically noted otherwise on the RFC itself, all RFCs are for
unlimited distribution.


The RFC Editor Team
Association Management Solutions, LLC



From nobody Fri Nov 20 16:30:50 2020
Return-Path: <Michael.Jones@microsoft.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 1603E3A0D4C for <cbor@ietfa.amsl.com>; Fri, 20 Nov 2020 16:30:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=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=microsoft.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 8ZOmiSYdtgKJ for <cbor@ietfa.amsl.com>; Fri, 20 Nov 2020 16:30:47 -0800 (PST)
Received: from NAM06-BL2-obe.outbound.protection.outlook.com (mail-eopbgr650094.outbound.protection.outlook.com [40.107.65.94]) (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 E615C3A0D4A for <cbor@ietf.org>; Fri, 20 Nov 2020 16:30:46 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mTMcPlpkMtXRj4HURGzUcglQZBQ5v7sA78G1zXPFNquk4WDfyVwB5dcVkCVZFT4taYpuXh+io+UvCpc3RPxMqA3Uc8gIm6Ll+XYf7h8Bz4/hC7j3rNQpRyo7zwp1dq9Q4U+VBQj5khWbLj8o+RGI219rqfEcnr7X2e9MTVUZiCM0dwaImRjGivSEhHs+KXvPErXkRmSSAMyVtP55RwNVZtbnjuVbXg2ola88zOmnWvQHjaMxPRw6VLAGQCbCQST3/koHZRIxB7legCGcwby7imka+aw5uQ0VEX8JkRiRqlcthRkU14Tj8XNeQOk0MYys1l5Vx6Xx0FG1u67+29/DFA==
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=1JugH3atCmme26GPS1lcMq+FxLyyNWFA7LHnNDWhqb4=; b=ICWZuK7FhixZRyYDwe7CodrrpjsTPxbsKlk9l/lRhcLR6F/4vtwqZ/CkCgFzzu/ap7WyMFroVkO95Rjou+EKtEFn/qBncm5p/M8iU39eYaVwFV3ltonWsP/GQsLINJv4uTf6zsoU1+/tRFuHLS54rmAxEiztZ0q/9EWSQGnnpXRmxfle2Zjw6ptnACaFgtyz79F3E8luAvDYATBIPLXCR/VdJxlYXEKR3I99xLTwkpe7YIUT2FnUQt6lCSJ2O8m9U7it5WxWlYmjdRNRCA9I9ZfH2TvfkLiJvbhuxlovGaCMAP9jZC67pLmKwavxDC1iO/ENlnKAFKRKtFLLh0Zj/w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1JugH3atCmme26GPS1lcMq+FxLyyNWFA7LHnNDWhqb4=; b=P26vJrWMrx9v2npnFr+OFwKSbw2O9NOXjabMwINOjkUnIKfN9VpDU2olbpxzJUsm/SQ13UvsAw+H004etX+xD7BoA/1SIND8uKjkik71S7bHkYDuIWjopxGnuHdN/KKL+JBCk6lNU/mmR9lMGSQVOQI6KxT2o4Je1zPn1NyaC2U=
Received: from (2603:10b6:610:af::7) by CH2PR00MB0854.namprd00.prod.outlook.com (2603:10b6:610:ad::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.0; Sat, 21 Nov 2020 00:30:45 +0000
Received: from CH2PR00MB0679.namprd00.prod.outlook.com ([fe80::e86d:1569:9774:adb5]) by CH2PR00MB0679.namprd00.prod.outlook.com ([fe80::e86d:1569:9774:adb5%8]) with mapi id 15.20.3631.000; Sat, 21 Nov 2020 00:30:45 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "cbor@ietf.org" <cbor@ietf.org>
Thread-Topic: Concise Binary Object Representation (CBOR) Tags for Date is now RFC 8943
Thread-Index: Ada/guHGdtYOr8ZQRqqexWcshadDFg==
Date: Sat, 21 Nov 2020 00:30:44 +0000
Message-ID: <CH2PR00MB0679FB5E242369CC908D024CF5FE9@CH2PR00MB0679.namprd00.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [50.47.94.142]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: c74b9bd4-50c5-4131-3bec-08d88db4af76
x-ms-traffictypediagnostic: CH2PR00MB0854:
x-microsoft-antispam-prvs: <CH2PR00MB0854EFACEE9B8E6FF1BE94A0F5FE9@CH2PR00MB0854.namprd00.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: FQ8C6WQ/2h74sxFdWG3X3KVmV6AiDQ+8E+zwDaoyVh/k2J0w+wf9l6/n8mZ9udJSykahkr5k4fXD6UEVvkzRGjtvLcFiL7hN62M0qbU6eIWARGqBfwZVDzMau+xvC7GwijElNOX2zPMUexhLwCVqmeauhCvv21uMUokV1e6oX6SwRUYfsAjZMntoAzQBNL0ozjmCxQZbBOCismSJAK7F/10WGeUU4cU8uCBBKVdV3wZQHTGom/0ZlR7H1mE/XdcsQJCeplBZBQcrURGx2LqWZ/3BPxMF+J4LXFe7rPSIbpbFrPd1lKKoD5qjDv6JxIIlTa9bLwPBFSrJq+dRA7ze3GhMNnjL1p9Bx1uEHCTKTBAYooemMzhdOk+ihLrSS5heAML4Aj8C6fq1wqaC+RIrCEIVuX+QAh5h4HaDrvo3b/D8CRZDfdOnD+31Lk/CPF1ygLjg/MGLCiD9KjdZLlQF4w==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:CH2PR00MB0679.namprd00.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(396003)(136003)(39860400002)(346002)(366004)(376002)(478600001)(8676002)(6506007)(966005)(66946007)(86362001)(8936002)(66446008)(6916009)(76116006)(66476007)(66556008)(64756008)(10290500003)(2906002)(9686003)(52536014)(33656002)(83380400001)(21615005)(5660300002)(7696005)(71200400001)(186003)(8990500004)(55016002)(82960400001)(166002)(26005)(82950400001)(316002)(6606295002); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata: =?us-ascii?Q?kXUPHA1SKE6U4e3mbbL96nT/a/h/YUeZ614GTNrZfenXLRN5hIlfawGQ0AsU?= =?us-ascii?Q?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aiFDhvUQPf04gGyHEi?= =?us-ascii?Q?D9pOfGdVs8F9q51Va8U0y5sSnMC1wxGo2yiOZcBPhno=3D?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_CH2PR00MB0679FB5E242369CC908D024CF5FE9CH2PR00MB0679namp_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CH2PR00MB0679.namprd00.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: c74b9bd4-50c5-4131-3bec-08d88db4af76
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Nov 2020 00:30:44.9529 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: pt5f0bGEFSpa0VaQgAhuJeU5tT6hQBNwkStDQZOPz2oUdiXHomrJiczvmriVDrII8MpIJGpK9NDtARsVzVRLBQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR00MB0854
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/4dUUAsgJvdphDmQcAi1QTeJjKok>
Subject: [Cbor] Concise Binary Object Representation (CBOR) Tags for Date is now RFC 8943
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: Sat, 21 Nov 2020 00:30:49 -0000

--_000_CH2PR00MB0679FB5E242369CC908D024CF5FE9CH2PR00MB0679namp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

The Concise Binary Object Representation (CBOR) Tags for Date specification=
 has now been published as RFC 8943<https://www.rfc-editor.org/rfc/rfc8943>=
.  In particular, the full-date tag requested for use by the ISO Mobile Dri=
ver's License specification in the ISO/IEC JTC 1/SC 17<https://www.iso.org/=
committee/45144.html> "Cards and security devices for personal identificati=
on" working group has been created by this RFC.  The abstract of the RFC is=
:

The Concise Binary Object Representation (CBOR), as specified in RFC 7049, =
is a data format whose design goals include the possibility of extremely sm=
all code size, fairly small message size, and extensibility without the nee=
d for version negotiation.

In CBOR, one point of extensibility is the definition of CBOR tags.  RFC 70=
49 defines two tags for time: CBOR tag 0 (date/time string as per RFC 3339)=
 and tag 1 (POSIX "seconds since the epoch").  Since then, additional requi=
rements have become known.  This specification defines a CBOR tag for a dat=
e text string (as per RFC 3339) for applications needing a textual date rep=
resentation within the Gregorian calendar without a time.  It also defines =
a CBOR tag for days since the date 1970-01-01 in the Gregorian calendar for=
 applications needing a numeric date representation without a time.  This s=
pecification is the reference document for IANA registration of the CBOR ta=
gs defined.

Note that a gifted musical singer/songwriter appears in this RFC in a conte=
xtually appropriate fashion, should you need an additional incentive to rea=
d the specification. ;-)

                                                       -- Mike

P.S.  This note was also published at https://self-issued.info/?p=3D2136 an=
d as @selfissued<https://twitter.com/selfissued/>.


--_000_CH2PR00MB0679FB5E242369CC908D024CF5FE9CH2PR00MB0679namp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
span.EmailStyle18
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72" style=3D"word-wrap:=
break-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">The Concise Binary Object Representation (CBOR) Tags=
 for Date specification has now been published as
<a href=3D"https://www.rfc-editor.org/rfc/rfc8943">RFC 8943</a>.&nbsp; In p=
articular, the
<span style=3D"font-family:&quot;Courier New&quot;">full-date</span> tag re=
quested for use by the ISO Mobile Driver&#8217;s License specification in t=
he
<a href=3D"https://www.iso.org/committee/45144.html">ISO/IEC JTC 1/SC 17</a=
> &#8220;Cards and security devices for personal identification&#8221; work=
ing group has been created by this RFC. &nbsp;The abstract of the RFC is:<o=
:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in"><i>The Concise Binary Obj=
ect Representation (CBOR), as specified in RFC 7049, is a data format whose=
 design goals include the possibility of extremely small code size, fairly =
small message size, and extensibility
 without the need for version negotiation.<o:p></o:p></i></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in"><i><o:p>&nbsp;</o:p></i><=
/p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in"><i>In CBOR, one point of =
extensibility is the definition of CBOR tags.&nbsp; RFC 7049 defines two ta=
gs for time: CBOR tag 0 (date/time string as per RFC 3339) and tag 1 (POSIX=
 &quot;seconds since the epoch&quot;).&nbsp; Since then,
 additional requirements have become known.&nbsp; This specification define=
s a CBOR tag for a date text string (as per RFC 3339) for applications need=
ing a textual date representation within the Gregorian calendar without a t=
ime.&nbsp; It also defines a CBOR tag for
 days since the date 1970-01-01 in the Gregorian calendar for applications =
needing a numeric date representation without a time.&nbsp; This specificat=
ion is the reference document for IANA registration of the CBOR tags define=
d.<o:p></o:p></i></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Note that a gifted musical singer/songwriter appears=
 in this RFC in a contextually appropriate fashion, should you need an addi=
tional incentive to read the specification. ;-)<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">P.S.&nbsp; This note was also published at <a href=
=3D"https://self-issued.info/?p=3D2136">
https://self-issued.info/?p=3D2136</a> and as <a href=3D"https://twitter.co=
m/selfissued/">
@selfissued</a>.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_CH2PR00MB0679FB5E242369CC908D024CF5FE9CH2PR00MB0679namp_--


From nobody Fri Nov 20 23:12:07 2020
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 C1C503A0A3E for <cbor@ietfa.amsl.com>; Fri, 20 Nov 2020 23:12:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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 Dp9O7k3lD4C6 for <cbor@ietfa.amsl.com>; Fri, 20 Nov 2020 23:12:04 -0800 (PST)
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 57B603A0A3B for <cbor@ietf.org>; Fri, 20 Nov 2020 23:12:03 -0800 (PST)
Received: from [192.168.217.118] (p548dcb31.dip0.t-ipconnect.de [84.141.203.49]) (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 4CdPjs5g7fzySD; Sat, 21 Nov 2020 08:12:01 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CH2PR00MB0679FB5E242369CC908D024CF5FE9@CH2PR00MB0679.namprd00.prod.outlook.com>
Date: Sat, 21 Nov 2020 08:12:01 +0100
Cc: "cbor@ietf.org" <cbor@ietf.org>
X-Mao-Original-Outgoing-Id: 627635521.3826309-efc12673f2c7cb99b49064c0da6bd88b
Content-Transfer-Encoding: quoted-printable
Message-Id: <367E5B95-35DF-4D06-AE0C-A499607B602E@tzi.org>
References: <CH2PR00MB0679FB5E242369CC908D024CF5FE9@CH2PR00MB0679.namprd00.prod.outlook.com>
To: Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/cJcVKQeMBVaN1KfYCLGKx_eKCxg>
Subject: Re: [Cbor] Concise Binary Object Representation (CBOR) Tags for Date is now RFC 8943
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: Sat, 21 Nov 2020 07:12:07 -0000

Congratulations to the authors and to the whole WG for getting this one =
right!

Maybe this is a good time to revisit Joerg=E2=80=99s other tag =
proposals:

https://j-richter.github.io/CBOR/date.html
https://j-richter.github.io/CBOR/currency.html

As well as the extended time tag (1001) and friends:

https://datatracker.ietf.org/doc/draft-bormann-cbor-time-tag/

Gr=C3=BC=C3=9Fe, Carsten


From nobody Mon Nov 30 02:38:45 2020
Return-Path: <francesca.palombini@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 E43983A04BC for <cbor@ietfa.amsl.com>; Mon, 30 Nov 2020 02:38:43 -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 aGtO_UVwFgzU for <cbor@ietfa.amsl.com>; Mon, 30 Nov 2020 02:38:42 -0800 (PST)
Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50076.outbound.protection.outlook.com [40.107.5.76]) (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 1AD6B3A045E for <cbor@ietf.org>; Mon, 30 Nov 2020 02:38:41 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M/ZPYJp/BxGEYZXhed1TnVI+ahK5/iuxFy15g9HZugwnxRJjYUgbqd+GilDnQ6zH2yZTHaWwa88fMi3mT99H1VsHXKOG54yl7ysS9GoDQ8ltai57q44SWZRyyt9legKA/13eTzTFKlNaQkiTv4TtDSVP/isq8y2amqYtXGGn3O/7bTpRnaHeVXrrlxvesqwJvL/3p/ujpl0KLrR9YS8+CGq+k3eWkS65BDihqc4x0GbZFHjgi5JQUUeYRorkUPXYccw7uQAobnjcZ/Bs4uOVmUwi3CW2HGQS5+gbLHCU+0EYh7C7dGcnBZSv2GnFKoCS7+l36LKpKhWApq+W/Tyfrw==
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=RqHIi0ooHDR/uY9uAeNhI4i5GQ05hDp/U8HjlDp+HXI=; b=QZ2cDsPeZfE5ivoVwL99nvmQRDwvDTEq3EJfzSWUVEsNnxB4vPEncTvFZIEpqdtgGL8AN1z25yOKldt+WVpAckOgJKGSmH7xgysPxspCo9XPWHzas+0I2geUUfhyIUCVkuPyPYV+cT1X3n+EPruqGjJeIdMmcLVOsOiW+USJ8eW6SnEaL0W7AOdrE4jhfzBhSLEiWEuUJistrzIyhYyX0aJGfJERl6wnOnH9DNo/HVF6yUScCvKz0hFRxRHtOubCHzLerDAQ9lneVoA+M7iOoN5PiXVlK9kTiwWZhOwhfqiNZXwLh9KjfnBdm6a9lZL/RoKhsTcRpDuuIN6kxvuHTQ==
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=RqHIi0ooHDR/uY9uAeNhI4i5GQ05hDp/U8HjlDp+HXI=; b=aHBBvnT0YG+a2gudWfgRDSi13MZn4JfQY66/LAklWD2BWd3/85yGT6YnbWMMjRw9vxV4il0gCC7EsmQ0W6cjJHl9N8ivg8H7UXKSRIIG/G+XrAhPmRVePcNgnII3z9Qu/Dvh7i2ZG4YpVgT7lbR/z+ZtURUjYwBK63MXpuO5Zk8=
Received: from VI1PR07MB4477.eurprd07.prod.outlook.com (2603:10a6:803:74::33) by VI1PR0701MB2590.eurprd07.prod.outlook.com (2603:10a6:801:11::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.6; Mon, 30 Nov 2020 10:38:38 +0000
Received: from VI1PR07MB4477.eurprd07.prod.outlook.com ([fe80::4957:ef58:c6d5:9aa2]) by VI1PR07MB4477.eurprd07.prod.outlook.com ([fe80::4957:ef58:c6d5:9aa2%6]) with mapi id 15.20.3632.015; Mon, 30 Nov 2020 10:38:38 +0000
From: Francesca Palombini <francesca.palombini@ericsson.com>
To: Carsten Bormann <cabo@tzi.org>, Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>
CC: "cbor@ietf.org" <cbor@ietf.org>
Thread-Topic: [Cbor] Concise Binary Object Representation (CBOR) Tags for Date is now RFC 8943
Thread-Index: Ada/guHGdtYOr8ZQRqqexWcshadDFgAUrmeAAc3vKwA=
Date: Mon, 30 Nov 2020 10:38:38 +0000
Message-ID: <E2F67A78-7BC1-49E9-BC97-F2CCF83931F1@ericsson.com>
References: <CH2PR00MB0679FB5E242369CC908D024CF5FE9@CH2PR00MB0679.namprd00.prod.outlook.com> <367E5B95-35DF-4D06-AE0C-A499607B602E@tzi.org>
In-Reply-To: <367E5B95-35DF-4D06-AE0C-A499607B602E@tzi.org>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/16.42.20101102
authentication-results: tzi.org; dkim=none (message not signed) header.d=none;tzi.org; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [2001:1ba8:147a:c100:5443:edaa:2165:3cef]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 4da0670a-ae86-45a1-8a0d-08d8951c193c
x-ms-traffictypediagnostic: VI1PR0701MB2590:
x-microsoft-antispam-prvs: <VI1PR0701MB2590487E883B69CCC7EEC07798F50@VI1PR0701MB2590.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7691;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 4qYhDJ2Z4FJsq+G5toy0zjJcGg4tBB5geadoHpueiILkghflSgHs6urUktAWtVYaTbwTpuaTyWU5n/GGuvpQeMl0nDO8rcURyCVguiEVelZdQlHBSXfWzsULMHjINNND7fG3jUjcpFRTBtN/Xnqtcq8UFFf7X7Ly6/YHeFURjGYvnc8+xXyTi5Q5kk/LhTGoIPQcJnNPlrWIDptHQUofk38TbJ+u7U58qz+iprw+t+47f54hkDH/mvaKVlshkbLXVFwJ1uYB6bFIMgaDPoEvItJT/8Y5dqliXALupSDbsPL5B6PJQqG+nmYOufdzQsgEn67q7MQDfD66HiEZD8z66cFZNTqqhMbxUnGOaD0V68Pp7TfZkeecFfRTKciWOfqCEAbPgNSuNmi99Wzli9BmQA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:VI1PR07MB4477.eurprd07.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(136003)(39860400002)(366004)(346002)(396003)(376002)(4744005)(316002)(6512007)(33656002)(8676002)(36756003)(2616005)(110136005)(44832011)(186003)(83380400001)(71200400001)(86362001)(478600001)(8936002)(2906002)(5660300002)(76116006)(6506007)(66946007)(64756008)(966005)(66556008)(6486002)(66446008)(66476007)(91956017)(4326008); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata: =?utf-8?B?QngwZ0RFUUJxSTZsRGtWRmgraFRueWFLZktlWE4zdlRpN3FvM2w1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VvQytFVG85N08zOUNW?= =?utf-8?B?Ty9BazBGam94N01xclFjUG85VzdVRCs3UVZKU2JmVE0ybllaNE13NUNKVmdW?= =?utf-8?B?em9hbnByL3kwWEpkTWtWT3haSzVxZ0liWmdSUk1IZ3hlY1dzMzlsS01uVGRC?= =?utf-8?B?TFp5RkV0L09XUW83M3ZwQUxzMXMzNElMd0JuQy9DRmNEVW44R0RxZ0owNEVY?= =?utf-8?B?OHUxNjI2RkpQY1NJcmdiREhQMk1rWkRFd2h5MUdBSDNVcjZ2Sld5WmtZeStS?= =?utf-8?B?Y2dhSFRuYlFBc1Fod2FEZVNsY0VlZ3BETVk3elpkNnhwWWhvQnE0ZkE1aVhJ?= =?utf-8?B?SW5DbGs3YmZPZk1WWGJxZzVKZEhRYUJKTHQ2THZMQXovbHRnckNmQVQ4em5u?= =?utf-8?B?MUZVZW8vUGhpUWUzYXZ2dEdaYUNka0ZQSGFCMnUwY3N1NTNuY2p1SnlYK2ps?= =?utf-8?B?eVNEaFNYcEFVcmZ0WC8zSm02ZU43c21JTk5uNGxvaUZuRkRIdTF4Z0paLzRM?= =?utf-8?Q?VH0qCAwG?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <4CAF9A2F8EF8C74D9AC6FF7334FA155D@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: VI1PR07MB4477.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 4da0670a-ae86-45a1-8a0d-08d8951c193c
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Nov 2020 10:38:38.7196 (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: 8MVmKzrNtgP3G9zv+QMCH1oiTXYJ3BJ8fHDJd3WaKW1uVIDwT88Ki3Dg4sghPd/FiKAtVMM12My9Tv0VA5S7Y/HnHLuL5l7EJewCYSLqhJCvqnTpTHcxGAXQRKVe10UQ
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0701MB2590
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/CTkqztJQO15hQB1f0zaRmn-QKF4>
Subject: Re: [Cbor] Concise Binary Object Representation (CBOR) Tags for Date is now RFC 8943
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: Mon, 30 Nov 2020 10:38:44 -0000

WWVzLCBjb25ncmF0cyB0byB0aGUgYXV0aG9ycyBhbmQgdGhlIHdob2xlIFdHISBJbXByZXNzaXZl
IHRoYXQgaXQgdG9vayBsZXNzIHRoYW4gOSBtb250aHMgdG8gZ28gZnJvbSBmaXJzdCBkcmFmdCB0
byBSRkMuIENhcnN0ZW4gYW5kIEpvZXJnLCBpdCBzb3VuZHMgbGlrZSBhIGdvb2QgaWRlYSB0byBw
b3N0IHRvIHRoZSBtYWlsaW5nIGxpc3QgKG5ldyBvciByZXN1bWUgYW4gb2xkIHRocmVhZCkgZm9y
IGRpc2N1c3Npb24gYW5kIHBvc3NpYmx5IHJldmlld3MsIG9yIGJyaW5nIHRoaXMgdXAgYXMgYW4g
YWdlbmRhIHRvcGljIGZvciBvbmUgb2YgbmV4dCBpbnRlcmltcy4NCg0K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