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>, Christian Amsüss <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: wuTf4u3BlQfNFjUC6Qjv8jK4cU3ZuHGXddtuG2BaN/5uVwyOs9x4rfUrxIU64vEGXNdw8KsV78ThBoz3d9GHwGeCtlp6mj8FsbVfKhJk/oCoC75cq6DnyWIvMGFwy1vVWuMaPSuYSMgFWZRw0k3AxpRqlKLGinvH4P87l8w4ZpqXMj18JSnog1b+iHbsNcpD5Hz6/KK9/jZhCrH+mIZXXDCwD9uHcp2J7HIzHlR6P8ha1Iq9Pyoa6wmm2kiZDQfb2JSiNmE7VLrRlFzZNYZtu1IZsVPVL/rtBhVVznQCvZ4iP9sbkuqi3tqn2V+HQG2ZIqfClw6e/J4wtA/8m85bLJYo1E1Jq7npYbLHrKkA2pk0071mBTODbv2XzGKiITjtpHvRwJRQxAZcN7nAMgSgbllBKJKPCyjdGooEFDKX2mTJ0admGxpdVoeSAsU4LUvJDe6TZvYKsCdrLyLybVGKoOu7qFqRE+kGlzKioKpxgeYrAIqAgeL9eENhPz2WqjZptrRxp5DRYoRnFlSTQwBDNxOuwfw96mD5GxIc31gG2WOnlFZCkDd3wVDVitMbYwNWxTKjF3W5v7sdt3nlJk9v52hXttlS9SQ6Zmr6Ya39WOzqopAq2iI/iNzgPCw9ctjDpRW3cbXC4DJHrQX/9fSLVIRxNYell+yQBcUXJQgWnH7FbxIp7S1Up7TGxJ9E4YiH+twRLayNSymNUJEWpqADqpOifd5d29nG+P3pkX8OrpU5U0gvb4IWVMW/jPMAGTkSywEBR2HHyiCKJWDGPy7iCw9Mi20xnH0EkHf5DN90Ljfi0TICCY/npzauZARRbhTiiN2H0ndsb+ijwHDQSo2OK3oVd9tCOcPh2rKnvWPgV3s4K4BqkYUp5uNWN7Zn47DAdfVu4LHzeUqZKwyLdY9nOikuVnw/bh1Mdd05h4VgvC2PakqlKX9Rmi7L6Rw0C56A84zB71mBIw9Gelp6WYX800yRzPjlYx/ogHoZBMPcst5QY4zEhT35/yTQwPtJfqZzkY3hHZ2UFnt6aLJQ8sHv+SfiQoWDdxRdezLnyBelHwhZlpMgLuxH8cp2w4hdTr7VOCRHwvpQHFSfF3Tm7fn3ebzwwAjb62+KlK1BTnUjTdc64PLz8YPzmKoDXlSWUwuhyn1c4MQbC1cNnqYPeiGzBvZamqBwA8TXsygu+DDu5ZjLOq7Gpb9GDwNS793ShCw6fU7zLyA38+cUFCnSDWqRErnqXbJtu8c9zTIWaXkbMiDajlMOFwgyQvb3LSKwm1Zv9meSaoZf0wsRjStmwa7gam6HlaOAQVz6PP3nGMfo8CABQc01PwLwMVZc48rYKilXlpFVjboDWyEmrAnpRUBsKOUWJIl7ISqQYqwWaY4txDNlxWdXrn0Wj6wgmc1/WGXoX9GLoqg66E27pMseKR5E3A==
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
    >