Re: [Cbor] CDDL check in draft-ietf-dtn-bpsec-default-sc-11

Francesca Palombini <francesca.palombini@ericsson.com> Thu, 29 July 2021 17:29 UTC

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 114F63A1083; Thu, 29 Jul 2021 10:29:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.553
X-Spam-Level:
X-Spam-Status: No, score=-2.553 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.452, 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 ENSqw9eVlQSc; Thu, 29 Jul 2021 10:29:48 -0700 (PDT)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150073.outbound.protection.outlook.com [40.107.15.73]) (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 A76E53A1078; Thu, 29 Jul 2021 10:29:47 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JxJUQsIY5Hyi/x3gDn77MBBDveAOZJggoE2R11XAP10WuUfp35Im/kOIZ5Gu9xJBPbkSDGJdgkeYqDTt4C9jeG3mzcMdM38sIwPU/jPoyDhtd4NyBOSES49V54CFEiBT6ZrsArNIVQ891v0KHQWPNYovB9KJLDV2jxb7EckP+pim1Dc1wP1g2QyxbffZaaYA8MRWnH5UY2hx3E+T23juqD/mOZmTiiku9bBvDIdHAvzsm4YD9X+0cEpZ++KAyXZbPJrE5hJcE0IfHXAJXOJUGaRof4vQxei6FJpMBUlt7zbb4jQ+e8ZKL9q5OWAQz++5bQJ8wZZ9CjFfoeWR+R3Q7Q==
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=sQtf441z2zEfw+1mAkU0z4yvesL9DsyMp2lpE1d8s90=; b=KPBgzZ8v1BuzdAVD4G/wiU5do4n1qkJux0UZOPVXI3ibWdR7ZFtM/9MCsd98VKNMRBLY/afhEQ+GwYhlwUcGWk7cBuR5ni/pqwdGOSrLu69Pyf5j4QTTg7X9VYEbpzT7gxUjeE7Yq227WTi3n8esCQkufP1WO5tedPGQsoGyJPJ+lDLxZSeAk1Yai/+YN4wSZEaR/4W9DQxxWGh0/tWJ7Ohke8dJWggwKB2TpuelL44K0qDux8rteiZq0XF4Gz7T0PwAg8k11x+/y8xQPPEz1ie/524pAKF0FLD4RM2tl6+xtH6JDlJ7DNVdn385kXrYFYl04pM4g+0+al2olTYVhg==
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=sQtf441z2zEfw+1mAkU0z4yvesL9DsyMp2lpE1d8s90=; b=AxgxTp433lzgwZJ9Dqcxz25g9jsWeQlu9qUIdJCWM/1ejKuU/1o4CBTVjTa9TO7fu/8BQdh0AWHZSpTJf1SiQ84nN2DHIkOvIrUhdzSFCAC0sDrbBl7UXFOQq1OnJwk7TgGoTvgSId/kyPGD2OY4vEEUVF/nWlZLYmQwPdPtUs0=
Received: from HE1PR07MB4217.eurprd07.prod.outlook.com (2603:10a6:7:96::33) by HE1PR0701MB2572.eurprd07.prod.outlook.com (2603:10a6:3:97::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.6; Thu, 29 Jul 2021 17:29:45 +0000
Received: from HE1PR07MB4217.eurprd07.prod.outlook.com ([fe80::b1fb:70cd:2356:a84f]) by HE1PR07MB4217.eurprd07.prod.outlook.com ([fe80::b1fb:70cd:2356:a84f%4]) with mapi id 15.20.4373.020; Thu, 29 Jul 2021 17:29:44 +0000
From: Francesca Palombini <francesca.palombini@ericsson.com>
To: Thomas Fossati <Thomas.Fossati@arm.com>, "cbor@ietf.org" <cbor@ietf.org>
CC: Carsten Bormann <cabo@tzi.org>, "draft-ietf-dtn-bpsec-default-sc@ietf.org" <draft-ietf-dtn-bpsec-default-sc@ietf.org>
Thread-Topic: CDDL check in draft-ietf-dtn-bpsec-default-sc-11
Thread-Index: AQHXhJzj+wEicgkfyUm6qSOs/pJ3SataRUmAgAARqAA=
Date: Thu, 29 Jul 2021 17:29:44 +0000
Message-ID: <EEE08EE3-39C7-415C-8377-B880B2FE3A0B@ericsson.com>
References: <4F05132D-102A-4E81-A550-A381A6070EB9@ericsson.com> <D5B0C498-48E5-4A68-A2D0-D641922FC0EE@arm.com>
In-Reply-To: <D5B0C498-48E5-4A68-A2D0-D641922FC0EE@arm.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.51.21071101
authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 5bd05ac5-dfb4-4687-d075-08d952b674fc
x-ms-traffictypediagnostic: HE1PR0701MB2572:
x-microsoft-antispam-prvs: <HE1PR0701MB25725055E4648499D5F1010698EB9@HE1PR0701MB2572.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: qibUr+clIGb1RYXjdSVIiMdqcVRQlaI7fNfTutgLrF841UjGmauzDnR1XQ0he4sfpXRjCB2yhbxmQkFOd8A2A7bBmZyXE38Fx/jK9q90AvQjUAHPlrETEtj2KK9ithrrrD1v55rUtwWHbHzEUAZYMx7EN7fqFOHjj8zTReIRyaA8qHH+iFFIVMkWAYf4M2QjF1v2WpeBq+72/Uksgg69OycP/BGy17r0xltNUu8oA0p5yNczeL90S0ieZAK9CVe6uRzpTbiTM7cEK1REvj1o1o4xVhHSsYSf0uqdvf2J05yeW1Hx1wgOtlngXFXo55katkEYZZjdXTOcEGy43gxP/xYRMeLnxxkzlJQhlsbICoXzlXVm7FHpTFA/9srhrs85EbxAW3++8YgCclEvR6O9VYuGMT5GOzJUdfUXi91Bshuw/JbW7fVMmOqaBAB3BbQRRRTZd2J4K4IbjyuSAEq+CHP4Itckl2EzBiQ03aC+ft8/VDmhJOhykGiIBGeffPRbwgRxEmfsHxs8Lpqir96ug+xfhCUwJ6eSIIO8jqBqLFbjkQzHoSOWTq3Z6Knt39S12T4o67ef5rKzV5TazDkmhaYtoPf8hUMXJ/VOu/FuKVqed7Y6LFCvHKA13AhAIX3rR/XzJyH4laIEs38FvNIRAvSeWjrgVv10vOHtkaRyH8/8ZhZGTFKsJZThWqxcmrTW4/Mbc1V0k+7QUTK/nsd2d8fpsp2Kj69mc1RB/zjUwrJapF6UeYdHLEO/OwgGEJregwbQRh27yZJXOLO/fvOEd6Yz45oGVgX4LD99aCn1pU/xd4zVsy5wDLTLNWP0i+AzDo0WSyuVbrO1QdFkB2QYreAP7dLwb881yr5NHifCwLs=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR07MB4217.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(39860400002)(396003)(366004)(346002)(136003)(91956017)(110136005)(5660300002)(316002)(54906003)(66476007)(66556008)(66446008)(64756008)(76116006)(66946007)(2906002)(83380400001)(36756003)(122000001)(26005)(71200400001)(38100700002)(6486002)(2616005)(53546011)(966005)(33656002)(44832011)(4326008)(38070700005)(6506007)(8676002)(186003)(6512007)(8936002)(86362001)(478600001)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?VVNDR3pQRDBtRzBpK2x0aUNEU2ZRcUtnN094WjVCeGtwWVU0Nk1lUGhRWGp6?= =?utf-8?B?ZCs3TlVQU0FuN010bTdsWko3L0hIQkhSbk5LSXVoeFdyNEVadzNBZlJvVjgy?= =?utf-8?B?VitjRDhHMWZFTFVRL3FIL3FLRktaZG5XRFkwVXJEMCtkLzBmU2VkMk5jLzhL?= =?utf-8?B?WE1CTkNvWHhkMTVvVk1Ybm9ISVd0VDZQMUF5ZUhoemVOSHZJMkZKRlJqcFMy?= =?utf-8?B?NkQ0NkxuUVN1OHIrMXBCVXVrQWxsZ1BLdHp3VnhmUlQwTkhJL3Vuc2VudzVu?= =?utf-8?B?WHFYYXBYdFkwWTJIMnZWTWwxSy9XSmxOaFVNQnhMcktUNERRVjQ3SUZMNlY0?= =?utf-8?B?d1lxL3NNS25FZ2tkbWpqRlBWaEtPTWxGbGZxaGxSUE1NQUFobmM0WVk2enoy?= =?utf-8?B?d2g4Z3owOGVQREk2cGFtMnJpdUlSMVM0ZnU3ZVZQRXFobXN5R3hXQUdYRHhp?= =?utf-8?B?U1BpalN4bXR6eU5CdTh5MC8ydWY5Vy9jV0ZieldFWm1kNjB5SUtEY3VZd0VF?= =?utf-8?B?cC9PR0loREd6SVFxbDNyUE9xemxIdTYvdG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1MZGJ1c2NZQWNqdTM2QjU4dDFXMWN4RTBCMFJhVWJ3cmFH?= =?utf-8?B?QjkvVWZoemNrL01ZcUp5KzBPK20wLzNaMFAvSnZBMlM5RkZWR3lKTWxRTkor?= =?utf-8?B?eDFRSDRlVm9ZbXEwY1JWWS80VmorWEw5a1lkelI0aUtOckxWRGlOb3Q2UmlY?= =?utf-8?B?dExhcVlrT1NoMW1KK05tRWNjVmlqc0FjaDRheXhhZzRqVGRKYVk1ZDN1bW9v?= =?utf-8?B?dndpOHNuWGczazUxelFvWlN6enBrL3lqSmZwK0xGaUpJQnJVTlh4ckhhZHly?= =?utf-8?Q?ZO44MYM89AaCo2JJskYrX0tJ7SNk7GATB4w1SYH?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <21C2FF98CFDEAE41AF24CE8A64A2BA32@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: HE1PR07MB4217.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 5bd05ac5-dfb4-4687-d075-08d952b674fc
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2021 17:29:44.8327 (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: K0ppSHhc10/RQLdflrshyVOon+hEn6P6NLtdmyH8Ye9gQ9zV2TTqIr3KazrJ0T9CxtP//sv6NBNLAhFGxImcSv5fZ1RJxD1X5QQKJKl1nzrVZYK/5et5v85+xB4+Fzvz
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2572
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/CnzhEmhjWQxa0g4N4zNxsEmOFkA>
Subject: Re: [Cbor] CDDL check in draft-ietf-dtn-bpsec-default-sc-11
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, 29 Jul 2021 17:29:53 -0000

Thanks Thomas! Those are defined in https://datatracker.ietf.org/doc/html/draft-ietf-dtn-bpbis-31#appendix-B as the text introducing the text mentions.

Francesca

On 29/07/2021, 19:27, "Thomas Fossati" <Thomas.Fossati@arm.com> wrote:

    Hi Francesca, all,

    On 29/07/2021, 19:12, "Francesca Palombini" <francesca.palombini@ericsson.com> wrote:
    >
    > Hi all,
    >
    > Following my review while the document was in IESG evaluation, the
    > authors of draft-ietf-dtn-bpsec-default-sc have added the CDDL
    > definition for two structures defined in the document, namely IPPT and
    > AAD:
    > https://datatracker.ietf.org/doc/html/draft-ietf-dtn-bpsec-default-sc-11#appendix-B
    >
    > I have taken a quick look and it seems fine to me. If anybody else has
    > time to check the CDDL, that would be much appreciated! (Carsten and
    > Thomas cc'ed as our esteemed CDDL experts) Note that, if I remember
    > correctly, the Appendix A does not do print outs of those two
    > structures, so it would only need a check again the text definition.
    >
    > Thanks, Francesca

    From a very quick scan it seems like it's missing the definitions
    for primary-block and block-control-flags.

    Cheers, t





    IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.