Re: [Cbor] πŸ”” WGLC on draft-ietf-cbor-tags-oid-02

Francesca Palombini <francesca.palombini@ericsson.com> Tue, 15 December 2020 22:37 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 CEE053A0418; Tue, 15 Dec 2020 14:37:52 -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 JfWGWN_SXzlb; Tue, 15 Dec 2020 14:37:50 -0800 (PST)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40056.outbound.protection.outlook.com [40.107.4.56]) (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 470A13A0408; Tue, 15 Dec 2020 14:37:47 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dX2Q+uQV2n8s2iMZuYQApWRWPX6KgmRxmIVFUld5hlsxJH/rlzFzUppfzuziSX8CS0g9HQbjFqtdZd9Y/HHeANypbsDKcfDi2PUHI1Jh75dOUcXg2AMgU+jXeIJF49AdUfJxxJQE9ywpGNfNnvTnVlFLya5lbCnTHGf6PHVfnUWFb+awBf/usB0DyUdXM3BpCdgJ8ipwZKzcE47v0UdB2Tu/Q0wg/jKNQGpMjFNAITFr/mP9++tcg6O395GXqXnG7r20Frhs0bSRcOQHLrtQjPBDdqvTYy6QPfHmmNdWcyj27fkE0n3vd3HBB6Om/sYl+ARj3+6vwZdOuFcFUCDbJg==
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=3BzaKq7xBa+Vjjv7nBR4iIHNjz9+9EzkzuwUcOeqqII=; b=ZwOiIiacd/BfCq/gJ80QvCZFQFwY6scv5I1zq+I62zjAlvucFapozYIfN628pyToeGZGJxDFDWQcj57DCujpojc+ATlRLzdNbaT2TQrvZwPGglhKSjBsZnDkBbUrbB3MrfG4yN/aM/XUG7j+Afm2VGlf0Sbstj1WJszf4PJ53ed1a/zAtp6jaeqLefeJetGWlhAB9x8GKpNcfOpehVeL7HEkWbiGVjUh+d1EKa+DKDRP2VuAvaGff6IpGGB+AqkT9XKcOWJQt12koqtVmhIDRQoz/lPmSkMrUZNZJooaX0phthFOYYQ1XGezynW3wBnn44smjVwW3ZVfvHhCg5yLYA==
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=3BzaKq7xBa+Vjjv7nBR4iIHNjz9+9EzkzuwUcOeqqII=; b=nkX5G4fs/iL19pBHqd0V99A7CW1jdmnNeyU1I1aMNxTzlzE8O7BzHJCZXMnpeJPc1pNjmZys8fMFKRBv4id8Xr5OOw56JBZk7kDeQ9doR1lPBjIzOx7WRbsnZaDjycUaK/P0aIeC+JJfFaQtsfTHXEiXoXJsON+PeSqK8lJSH4E=
Received: from VI1PR07MB4477.eurprd07.prod.outlook.com (2603:10a6:803:74::33) by VI1PR0701MB2816.eurprd07.prod.outlook.com (2603:10a6:800:85::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.12; Tue, 15 Dec 2020 22:37:44 +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.3676.015; Tue, 15 Dec 2020 22:37:44 +0000
From: Francesca Palombini <francesca.palombini@ericsson.com>
To: "cbor@ietf.org" <cbor@ietf.org>
CC: "draft-ietf-cbor-tags-oid@ietf.org" <draft-ietf-cbor-tags-oid@ietf.org>
Thread-Topic: =?utf-8?B?W0Nib3JdIPCflJQgV0dMQyBvbiBkcmFmdC1pZXRmLWNib3ItdGFncy1vaWQt?= =?utf-8?Q?02?=
Thread-Index: AQHW0zLnm04o5d0XvEmBfGTDxXmS/Q==
Date: Tue, 15 Dec 2020 22:37:44 +0000
Message-ID: <37C21414-561B-47EA-9DCD-9166B2F8FD46@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.43.20110804
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: [2001:1ba8:147a:c100:5cec:7f94:4355:2fde]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: edaca7d5-52ed-43a9-eb57-08d8a14a0a6b
x-ms-traffictypediagnostic: VI1PR0701MB2816:
x-microsoft-antispam-prvs: <VI1PR0701MB28168B29B06176AE4273F02898C60@VI1PR0701MB2816.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: nb1NklXehjs32YHOh4iUQO1zmy6Y19MENItBnH+VCzErmLhqiVLeX0r/VAhv4M1XQ/83y0TLGhCVKZxNBN7iVEf0CH0wXbGod/LSeiOYCVN7HbDB6HWz6aOQq0EGH4cwcVbloxE8K+RPwLAjOM92g/4IZppykUV/6ssEIFOal/0BRGzV+Q0h7XRavxS+IP/7nmf8f/eyuCiVG7wNZYLL7dRSNcc3VJujBUz+axMC511vTETgelmEyVpF7Y71yhAIVhu5/rDBbrbphpknEnQFjAHqvr6DbF4DfAaiwm+ZLPfmFSQFW1SERDCxHYOy8VkpcRqtkx0bqeIGqvMB3Mk4e2BsKi0bKogBGyk2NsWHprnBp5B3A3qHW3nfaBBDLih3CHJ88qs+granX2G7CwzXxm+8QZ1vSyNV3V5YCWqprNLjpopsSpFQmiCl59iP5x5SGI4Wya6LlXIbb7TnlNgH1F4EeP92+gB4uj9S/dh14Lv3jFqgy8tr8m3OkuuN7aLx
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)(366004)(498600001)(71200400001)(83380400001)(66476007)(8936002)(53546011)(186003)(4001150100001)(450100002)(6916009)(91956017)(4326008)(966005)(76116006)(66946007)(2906002)(33656002)(44832011)(66556008)(86362001)(2616005)(6512007)(5660300002)(6506007)(64756008)(66446008)(36756003)(66574015)(6486002)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: =?utf-8?B?akVrelRUR3RISmlqM3M4OU9FbEYxOTFmQnRyL0RzTVdKV3VMczlZUW1UMFNx?= =?utf-8?B?bFllcjFqTnA3WjJ5N0dhbDFQZTEwM2FJSnNOY0FoRmRRRFhlTSs5c3JuTjBt?= =?utf-8?B?WG5CT0pkM0EwVXFSWkpnVEhleUh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1F4NVE3NlMzelBsNVBFVW1hNDBSRTFPMlV5RUprYzh6Vm5wckduSEhJ?= =?utf-8?B?ZUgxekhjVVYweXNmd2t1TDJRNDcydjdKbis4Njg0TjAzRTR4NmxOTmROS0w0?= =?utf-8?B?V0l5TzlWTmVRejRWR0xwbHJIQjRSd2pCZE9JWHU0dUIwanVWQ0svbXJOZk1P?= =?utf-8?B?WXZ4ajNHMXdyNWtJd2Z4WitvNmw0Mm9GMDhEa0JKc3NDNEhtWFZPeDZ1dlM1?= =?utf-8?B?c2VITGFBaWhFTDFxTUZRN3NrUTlscFpjaXg2UzlEODVlb3ZIOGIyT1A5dXlM?= =?utf-8?B?dy9uZ255UWtWZVdjWUhPKzhLTUFhMWxVTHJWejIrWDBaejZnTW5HWHEzcUk1?= =?utf-8?B?U0l2YU15VjUwdm5TQUV1WXlEd25kWXhLQTcvOThBRFNXUHBjOVQrWUt4OXJt?= =?utf-8?Q?01wSjQor?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <9C6848979B90184BB8479EA2C29DED1C@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: edaca7d5-52ed-43a9-eb57-08d8a14a0a6b
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Dec 2020 22:37:44.6262 (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: Gnk3iz6MjTx+hyVUbUA9tfzKVcXSeRiAGlkG6t2mFYpk7iCHbVXFI+7crAU9Dl6KNUjcl8D2ni0CLxXuHeORgIUQijI3XODyfw4L4FLeuxLYbcpHQyjDWIe6KFQsdT7X
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0701MB2816
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/wzBMvIvwy0lKbdSTW1IlMR5yEbg>
Subject: Re: [Cbor] =?utf-8?q?=F0=9F=94=94_WGLC_on_draft-ietf-cbor-tags-oid-0?= =?utf-8?q?2?=
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, 15 Dec 2020 22:37:53 -0000

Hi all,

The WGLC has officially ended, but I'd appreciate a couple more eyes on this, so if you have the time, please take a look. Also, here is my shepherd review. There is one point where I'd like to get the authors and the WG's opinion, see the first point below.

* I am not sure (and please correct me if I am wrong!) there ever was a conclusion to Jim's comment about not seeing the necessity of going below one layer for maps and arrays: https://mailarchive.ietf.org/arch/msg/cbor/5lj35zvO85Yu2tVO_Fw__KWLadc/  - this was discussed at an interim: https://datatracker.ietf.org/meeting/interim-2020-cbor-14/materials/minutes-interim-2020-cbor-14-202009021700-00.txt  And I see the text Jim referred to was clarified, but as shepherd I'd like to see more opinions on this point: anybody else seeing a problem with Carsten's point of "if you don't need all bstr tagged, don't use the tag on the map/array" ? Anybody agrees with Jim and would rather this being a 1-level tag?

* Update references to RFC 8949

* normative references X.660, X.680 and X.690 are missing links

* add a reference to IANA PEN registry

"the first byte of each SDNV cannot be 0x80 (which would be a
   leading zero in SDNV's base-128 arithmetic)."

"this requirement requires
      expressing the integer values in their shortest form, with no
      leading zeroes"

* I would suggest reversing this sentence: "the first byte cannot be a leading zero in SDNV's base-128 arithmetic, so it cannot take value 0x80", possibly mentioning the requirement on the integer values being expressed in their shortest form. By the way, does this requirement comes from BER OID rules? Can you add some reference to where this is specified?

"except for the last byte, where it must be
   unset" 

* either replace "must" with "is" or with "MUST" (I would suggest is, because the normative MUST before covers the requirement already)

"its first byte" and "its last byte" 

* I would replace "its" by "the tag's" for clarity.

* It seems to me that this document could benefit from a more expanded terminology section. In particular, I would quickly summarize the terms used from X.690 - e.g. arc - and SDNV.

* Some introductory text for the examples in Section 3 would have been good.

* I am a bit unsure about the reasoning behind section 4 "Discussion". Is this not background? Then in my opinion it would fit better in section 2.

* I would have merged section 3 and 6 in one section "Examples"


Francesca

ο»ΏOn 29/10/2020, 10:57, "CBOR on behalf of Francesca Palombini" <cbor-bounces@ietf.org on behalf of francesca.palombini=40ericsson.com@dmarc.ietf.org> wrote:

    CBOR wg,

    This starts a two weeks WG last call on https://tools.ietf.org/html/draft-ietf-cbor-tags-oid-02 , ending on *Thursday, 12th November*. 

    Please send inputs to the mailing list that you have read the document and do or do not feel it is ready to progress, along with any issues that you believe need to be dealt with.

    We will discuss any open issues we’ve gotten during our WG meeting at IETF109 scheduled for Thursday, 19 November.

    CBOR Chair
    Francesca

    On 28/10/2020, 18:44, "CBOR on behalf of internet-drafts@ietf.org" <cbor-bounces@ietf.org on behalf of internet-drafts@ietf.org> wrote:


        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-02.txt
        	Pages           : 14
        	Date            : 2020-10-28

        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-02.html

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


        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/


        _______________________________________________
        CBOR mailing list
        CBOR@ietf.org
        https://www.ietf.org/mailman/listinfo/cbor

    _______________________________________________
    CBOR mailing list
    CBOR@ietf.org
    https://www.ietf.org/mailman/listinfo/cbor