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: USCGzPD0mG0i+ltiCDSfQqKg7OxZ5BxkpYU46MePhQXjzd+7NUPSAn7Mtm7lZJ7/HHBHRnNKIuhxWr4EZw3AfRoV82V+cD8G1fELUQ/qH/qKFKZdnWDY0UrD0+d/0fSed2Nc/8KXMBNCoXxd15oVMXnoHIWtT6P1AyeHhzeNHvI2FJFRjpS26D46LnQSu8r+1pBUukAllgPKtzwVxfRT0NHI/unsenw5nXqXapXtY0Y2H2vVMl1K/WJlNhUMBxLrKT4DQV47IFL6V4wYq/sMKnEgkdmjjFPVhKOMlFlfqhlRPMMAAhnc4YY6zz2wh8gz08ePDI6pam2riuIR1S4fu7eVPEqhmsyGxWAGXDxiSPijSxmtzyNBu8y0/2uf9W/cWFbzWEZmd60yIKDcuYwEEp/OGIhDGzIQql3rPOqzlHu6/tnhsbL+w3yoGBZuN59AR6tc539u3X0XD6g2/xVxysoalwWkxNIpJpxiZ7qE7NUUDbKtvkI6fvK+tP5zPTGPxG8EK5FKUBwOYQ7COwQxHR3Vt8VWXTBbCA7axm9OejJWihZw8vyUx4diqEy6fIuUWvFchCZXO3WlRspP3S71Zo4Phy9ETdQvoBLvOCAAg7YcQK1gSBGeaKkscMPSxVCpDlKz3LxSXGcJfFC7EZg3cL1zvbZDSCJtfrUrLh6RBaPluFkA+J1Yt7EJ7p0NfxfL/wLJTllKmST7eWKMV1HOVQBgWeo+D0AXRhGtRV9ft8uRD3Ho2zf/jJW9GTJHZdy7uuBkUu6szWujkdHPLSDF0qt2DPAZKPX3r3peyXslgLUUr9iMk8ceuauXgHAUmrbLNIBYE9s2lyDcdjTzjIxu/E9S/7doc+tj3rDLRl/ovxk5dxfmPC0vqPAt3cq1iOFBa9FMWUNDmU/OmOoZYpVzlVNADEVZjQFRPpzuX9aMkCY6UF/d3GEJ+T8mtHaYBsMXPZPK+W9UJzVPSBehRzGibpdxQu6UdOrGLYPNdOlYsTN1+6ivsu5Wk8bMalW8ASlubMUxaj3UQXCepuAi1O9pwaWmBbxF5wpMh5ZWSF/VviHqbi5fUIirU5HQ3n+tgRZpZ4mLdbuscYAcju36B58t1W1cxE0B0RaUbwraGB9/Ufhzck/MYqJy+0O+m0/3Z0P/JvA2S9FFVGyJMlQNJ+x1QH4eVoYmq0cRVY/4Vj+XL9kYdzR4iKNrLVDiNot6RiXtLaqYkOSh1mJ+NmEccVijsAch4ayxag4jTdJaY5d3umoovwi8snXg3k51zQoZSzzpk/yjJfp+LFiJIBrUNXxrHadyrZO44MYM89AaCo2JJskYrX0tJ7SNk7GATB4w1SYH
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.