Re: [Cbor] [Technical Errata Reported] RFC8610 (6527)

Francesca Palombini <francesca.palombini@ericsson.com> Tue, 13 April 2021 13: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 317713A16D9 for <cbor@ietfa.amsl.com>; Tue, 13 Apr 2021 06:29:59 -0700 (PDT)
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 NbTg24pe0dop for <cbor@ietfa.amsl.com>; Tue, 13 Apr 2021 06:29:54 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70072.outbound.protection.outlook.com [40.107.7.72]) (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 D81903A16D7 for <cbor@ietf.org>; Tue, 13 Apr 2021 06:29:53 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PzGTnT/U2pVA9EzUms0Q8yE4l7jmMV/AauXkxpMvgplroVObp76A1LyLTe+ftFKX0PwqgeRoKg/86Nq8Is5VsMEfBzlyMKpc4eMikX15DfStrZWHeZmGMFNdwgxicvA7aZRQNlh6vDD8Rlbe+DNFDHZubwMShD/ZJSJsEpueoUqClExLNn1m+ZTjf4h72j8DaxkRzMeWtx2Vj1iJw7vb2K205s9BHn83tMG84jsLV7d8rU8BwMBmdv8xguLxTKIFf7Wm406pa+IfMz2gjWT7FWcgrgrm5VYu7PM1GB56uuj/ZI83E4c4y9kSL1NZNgJQpKzWNS/qNM8UMGpjHCaDcA==
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=00GyNK8y9EaHCA/yBp1Dk7yDDDSm9JHoqX/0xPHIlVg=; b=E5yla4b0wDgB9PJMGovpxgtikxmzjO39iNTEzIlqAjxEX0aTIP/2AI+y5NwUBrTSEbAOUkBtPvHm74ZghXRlc8coDTe4CgL45x9WxpK8XKqDdB22j9LDOu3z7nfr3TxHWBaY2DuNsxPmI1SYpa58412ZmNnwGUQzrA4v9LJyDI5YaJEb96/WjP3BA4ypJFFOVoOoZ6o3EIJS9exyqF41tDKtb5AoelIwDlx7umluxrcb51abLOa7RAqaEH/LiME8lDqxQlXo7uaT7FkOrTSiPyZuHHeHZzcoyQNJlGApBfYwbksilo5KfPVaQFMxFSfejJpwiC3pXK4ZPnk8c6dqyA==
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=00GyNK8y9EaHCA/yBp1Dk7yDDDSm9JHoqX/0xPHIlVg=; b=rnWRBYOBxjhZHmn0LFT8tD4etPlMP6xwN2aYajk1XcmcPOcWaDZwCKw43pQBEXLO1fdVwebX/ID8+lMquSohitxbkVof686yvSVvuRjUmE4Reb6ENpCLaY7cQII/5jRmYQpBv5te/vmqisk8Q43GA6yEQw0AtRinfKkbq0HeUd8=
Received: from HE1PR07MB4217.eurprd07.prod.outlook.com (2603:10a6:7:96::33) by HE1PR07MB4219.eurprd07.prod.outlook.com (2603:10a6:7:9f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.14; Tue, 13 Apr 2021 13:29:49 +0000
Received: from HE1PR07MB4217.eurprd07.prod.outlook.com ([fe80::593:f4fd:94e3:d90b]) by HE1PR07MB4217.eurprd07.prod.outlook.com ([fe80::593:f4fd:94e3:d90b%6]) with mapi id 15.20.4042.014; Tue, 13 Apr 2021 13:29:49 +0000
From: Francesca Palombini <francesca.palombini@ericsson.com>
To: Barry Leiba <barryleiba@computer.org>, Carsten Bormann <cabo@tzi.org>
CC: "cbor@ietf.org" <cbor@ietf.org>, "smbarte2@illinois.edu" <smbarte2@illinois.edu>, Henk Birkholz <henk.birkholz@sit.fraunhofer.de>, "christoph.vigano@uni-bremen.de" <christoph.vigano@uni-bremen.de>, "Murray S. Kucherawy" <superuser@gmail.com>, =?utf-8?B?Q2hyaXN0aWFuIEFtc8O8c3M=?= <christian@amsuess.com>
Thread-Topic: [Cbor] [Technical Errata Reported] RFC8610 (6527)
Thread-Index: AQHXLu1MxZJ/y5yBPE6uvhEeaSsQdKqvh+sAgALXBQCAAA8SAIAAJ9AA
Date: Tue, 13 Apr 2021 13:29:49 +0000
Message-ID: <513F7F4F-E791-4B96-AF3E-42A7B1447EF7@ericsson.com>
References: <20210411161045.9648FF40799@rfc-editor.org> <4986660B-EDCC-4D07-A74E-BBEBE698721D@tzi.org> <2E410DD1-D0E2-4137-B7E7-7FB18CF71971@tzi.org> <CALaySJJAzJgtQY9wuF1dgCQRfTSAz3Ofva-N-EwqcFGo_d6XEw@mail.gmail.com>
In-Reply-To: <CALaySJJAzJgtQY9wuF1dgCQRfTSAz3Ofva-N-EwqcFGo_d6XEw@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.47.21031401
authentication-results: computer.org; dkim=none (message not signed) header.d=none;computer.org; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [2001:1ba8:147a:eb00:e040:6d47:6fe9:aa4]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: e2a1fda6-8546-444d-dc97-08d8fe80365a
x-ms-traffictypediagnostic: HE1PR07MB4219:
x-microsoft-antispam-prvs: <HE1PR07MB421901E8E339F3FFFC6CE6DE984F9@HE1PR07MB4219.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 293iK9/y8bYB6PLit7KnNZSCXauf65C+ruYooC/+ol1b6xg3Lx3VQt26vt6QNo81mSC3icKOXPfrcpkl7Qh5yoPVY8UnYH219w9/SYBLgKP0xPvJpXjb2Zq8O2GpUbRJ9VZ3+DNij7buJaofjwjdt8tfx7bWc/BRBnbiiRA8S5LAcJXqiDlnOUKrIaCdjvMZBt4e3ggwXEl3iw4UeRJFQqi+sK9k6jw+D9Nh8unkWLoCnJdRekiEdNOlPLuqpMg59c1sRJiw6ZEOPXa6pNZCKO1cIDjPQ9A63R5d0ZZcZuPmX4ItakXkYPzgsULXanawzb1GBd0tiulQzy6c6jMztbvWbE9JgK04vpnpm1skFI+mI5MYp6x990iz7icWbtxjP+nBINlcD4So5tBSeSUCaafakCMmKVPx3z23aXhQVlwucMaFbHVvzF9dWMrrQhKsxZwnrSEgrLDArRQAYrnuWsMd8Qp1NuMEyVxoDVuuY02kjqQPmB3RKBfu505aSgWaagb723l7NhmoqbXf+P8FLVT4ww9HuBnpur9xBrKoREmOHcf04IstvDEr2JtXnp349KwHZUrUEW9PLk50/jaOIf/N9iG0kmXNlYbgYDvh9Vm6UBm8h8PnCAzTDt7l1lbm0ec48+1lZxeSHYcB444qF2tFbUVbfTmUM95vGMSLGAt5ShccgLVBB60pZNGT6BRkoCoRXnCQb4vClPX+XijfmMnTeEbYBwFUTS+IF4Ww7jSo+g4KXZYXZKeNIeI8sffY
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)(39860400002)(366004)(396003)(346002)(376002)(136003)(33656002)(4326008)(38100700002)(54906003)(71200400001)(83380400001)(86362001)(122000001)(8676002)(76116006)(8936002)(316002)(5660300002)(36756003)(2616005)(186003)(6486002)(66446008)(44832011)(478600001)(64756008)(6512007)(2906002)(966005)(66946007)(66556008)(66476007)(53546011)(6506007)(110136005)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: =?utf-8?B?d3VUZjR1M0JsUWZORmpVQzZRanY4aks0Y1UzWnVIR1hkZHR1RzJCYU4vNXVW?= =?utf-8?B?d3lPczl4NHJmVXJ4SVU2NHZFR1hOZHc4S3NWNzhUaEJvejNkOUdId0dlQ3Rs?= =?utf-8?B?cDZtajhGc2JWZktoSmsvb0NvQzc1Y3E2RG55V0l2TUdGd3kxdlZXdU1hUFN1?= =?utf-8?B?WVNNZ0ZXWlJ3MGszQXhwUnFsS0xHaW52SDRQODdsOHc0WnBxWE1qMThKU25v?= =?utf-8?B?ZzFiK2lIYnNOY3BENUh6Ni9LSzkvalpoQ3JIK21JWlhYREN3RDl1SGNwMko3?= =?utf-8?B?SEl6SGxSNlA4aGExSXE5UHlvYTZ3bW0ya2laRFFmYjJKU2lObUU3VkxyUmxG?= =?utf-8?B?elpOWVp0dTFJWnNWUFZML3J0QmhWVnpuUUN2WjRpUDlzYmt1cWkzdHFuMlYr?= =?utf-8?B?SFFHMlpJcWZDbHc2ZS9KNHd0QS84bTg1YkxKWW8xRTFKcTducFliTEhyS2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m50?= =?utf-8?B?NmFMSlE4c0h2K1NmaVFvV0RkeFJkZXpMbnlCZWxId2habHBNZ0x1eEg4Y3Ay?= =?utf-8?B?dzRoZFRyN1ZPQ1JId3ZwUUhGU2ZGM1RtN2ZuM2Viend3QWpiNjIrS2xLMUJU?= =?utf-8?B?blVqVGRjNjRQTHo4WVB6bUtvRFhsU1dVd3VoeW4xYzRNUWJDMWNObnFZUGVp?= =?utf-8?B?R3pCdlphbXFCd0E4VFhzeWd1K0REdTVaakxPcTdHcGI5R0R3TlM3OTNTaEN3?= =?utf-8?B?NmZVN3pMeUEzOCtjVUZDblNEV3FSRXJucVhiSnR1OGM5elRJV2FYa2JNaURh?= =?utf-8?B?amxNT0Z3Z3lRdmIzTFNLd20xWnY5bWVTYW9aZjB3c1JqU3Rtd2E3Z2FtNkhs?= =?utf-8?B?YU9BUVZ6NlBQM25HTWZvOENBQlFjMDFQd0x3TVZaYzQ4cllLaWxYbHBGVmpi?= =?utf-8?B?b0RXeUVtckFucFJVQnNLT1VXSklsN0lTcVFZcXdXYVk0dHhETmx4V2RYcm4w?= =?utf-8?B?V2o2d2dtYzEvV0dYb1g5R0xvcWc2NkUyN3BNc2VLUjVFM0E9PQ==?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <BA063BD948E02A4BB69916D9197F94DE@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: e2a1fda6-8546-444d-dc97-08d8fe80365a
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Apr 2021 13:29:49.3259 (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: ZJ3Vz9H9c0N/IP8O9ukV7oGBhDY9x/fKU1+AVvTuX3uqX07WZ6WWbwg9oADNfckaJMokITAkH4EbudwNkeBPjmgu9HzexsR1IQjq65heo4asXIP/U7BcX0ouLVZ1Cpx/
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB4219
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Cnzu8TylnFYa5pqn3iVxCW3MyKM>
Subject: Re: [Cbor] [Technical Errata Reported] RFC8610 (6527)
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, 13 Apr 2021 13:29:59 -0000

I agree with Barry in that this seems to require more thinking and broader review and consensus. Carsten, you seem to imply that this should instead be rejected, with the motivation that it would need a new document (updating 8610), is that right ?

(For everybody not familiar with the errata status definition: https://www.rfc-editor.org/errata-definitions/
 Hold for document update: “The erratum is not a necessary update to the RFC. However, any future update of the document might consider this erratum, and determine whether it is correct and merits including in the update.”
Rejected: “The erratum [...] proposes a change to the RFC that should be done by publishing a new RFC that replaces the current RFC. In the latter case, if the change is to be considered for future updates of the document, it should be proposed using channels other than the errata process, such as a WG mailing list.”)

Francesca

On 13/04/2021, 15:07, "Barry Leiba" <barryleiba@computer.org> wrote:

    Indeed, this one screams "Hold for Document Update" to me, as it's
    something that rather more complex.  It's clear that this isn't just
    an "oops" when we published, but, rather a (valid) rethinking that
    needs broader review and consensus on the solution.

    Barry

    On Tue, Apr 13, 2021 at 8:13 AM Carsten Bormann <cabo@tzi.org> wrote:
    >
    > On 2021-04-11, at 18:51, Carsten Bormann <cabo@tzi.org> wrote:
    > >
    > > However, there is one omission in the ABNF: the \u syntax, which is somewhat complicated in JSON because it is followed either by 4 hex digits that are not in the range d800 to dfff or by 4 hex digits in the range d800 to dbff, another \u, and four more hex digits dc00 to dfff.
    > > Someone needs to sit down and write up the ABNF for that (or find some ABNF that already has done the work).
    >
    > I was too lazy to find some ABNF so I wrote my own.
    >
    > 76c76,84
    > < SESC = "\" (%x20-7E / %x80-10FFFD)
    > ---
    > >
    > > SESC = "\" ( %x22 / %x2F / %x5C / %x62 / %x66 / %x6E / %x72 / %x74 /
    > >              (%x75 hexchar) )
    > >
    > > hexchar = ((DIGIT / "A"/"B"/"C" / "E"/"F") 3HEXDIG) /
    > >            ("D"
    > >             (( %x30-37 2HEXDIG ) /
    > >              (("8"/"9"/"A"/"B") 2HEXDIG "\" %x75 "D"
    > >               ("C"/"D"/"E"/"F") 2HEXDIG )))
    > 79c87
    > < BCHAR = %x20-26 / %x28-5B / %x5D-10FFFD / SESC / CRLF
    > ---
    > > BCHAR = %x20-26 / %x28-5B / %x5D-10FFFD / SESC / "\'" / CRLF
    >
    >
    > The second change is necessary as SESC is now narrowly restricted to the escape combinations that JSON allows in text strings, and \' is not among those.
    >
    > You can play with this changed grammar in cddlc version 0.0.3 (`gem update` if needed).
    >
    > > I’m not sure this update should all be put into an errata item; maybe we should pursue writing this up in a document that updates RFC 8610 that could then also add a less unwieldy syntax for non-BMP code points such as the ubiquitous \u{…}.
    >
    > I’m still not entirely sure we want to handle this as a bog-standard errata item.
    > Opinions welcome.
    >
    > Grüße, Carsten
    >