Re: [Cbor] Packed CBOR review
Henk Birkholz <henk.birkholz@sit.fraunhofer.de> Thu, 17 June 2021 09:28 UTC
Return-Path: <henk.birkholz@sit.fraunhofer.de>
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 D050C3A1556 for <cbor@ietfa.amsl.com>; Thu, 17 Jun 2021 02:28:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, NICE_REPLY_A=-0.001, SPF_HELO_NONE=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=fraunhofer.onmicrosoft.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 r9C0kkoqpqAc for <cbor@ietfa.amsl.com>; Thu, 17 Jun 2021 02:28:01 -0700 (PDT)
Received: from mail-edgeKA24.fraunhofer.de (mail-edgeka24.fraunhofer.de [153.96.1.24]) (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 3D2CC3A1554 for <cbor@ietf.org>; Thu, 17 Jun 2021 02:28:01 -0700 (PDT)
IronPort-SDR: PS1F0ZqHvZ3KW3GCnS7zpJIrEwzH120IRQzq8b9CmKUAZ4Hhxvwmg3Fd7raDs/KWaao1tZEjHi XBAzRr590rGywYRV6wC7fLX9uP9uFh6Pi0ZYc+pne6wXk5N6kmhWIRIo4IJ9vRv+wFldjP09Eb +2RUwZEj8K6/NOWrUy5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QCAoEAhWgNg1aBCAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQUCQUcMMQEBAQECAQEBEBEPAQUIAQEsAgkBBAsJAhgCAiYCAicLJQYBDAEFAgEBFweCTwGCVQMOIAEBAwuKSI80AXkBEi4Cih96gTKBAYIHAQEGBASCTYJsGFiBWQMGCQGBBiqCe4Z1gn97JxCBVUQmbycPgW2BAD6CYgEBgSsBCwcBTYJrgmSDGjgrRggQTwwoVigRFAUPkSgaqkgsB4F7gSaBJgYLlW2GQgYTJoNePopmhXwGkGqVVp9GhHcCBAIEBQIOAQEGgWuBDnBNJE+CaVAXAg6OHwkCF4ECAQIGgkOFFIVMcTgCBgEJAQEDCVshhiCBNgGBEAEB
X-IronPort-AV: E=Sophos;i="5.83,280,1616454000"; d="scan'208";a="33614045"
Received: from mail-mtadd25.fraunhofer.de ([192.102.167.25]) by mail-edgeKA24.fraunhofer.de with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jun 2021 11:27:58 +0200
IronPort-SDR: n95+lZbrQNdk8ROdCpDuCw0qHLs1uiJKJFvymh5rjRio8UgjFdrLb6NiLR2k8aYz4/LQOqAjZk k4kZ9vBanv73ngS98bu9wXJggro5fnvmg=
IronPort-PHdr: A9a23:8btFbxVs/EVxG7xWnFtGn34auFPV8K0eAWYlg6HPw5pPf7ituZP4Mx+X6fZsiQrPWoPWo7JBhvHNuq/tEWoH/d6asX8EfZANMn1NicgfkwE6RsLQD0r9Ia3rYjA0WsNYWwwt83SyK0MAHsH4ahXbqWGz6jhHHBL5OEJ1K+35F5SUgd6w0rWp+oGVbR9BmTy9Zr1/NlO6oFa5iw==
IronPort-HdrOrdr: A9a23:ddCPBakXdAjS3XG5Tk4KJeOA0KrpDfIg3DAbv31ZSRFFG/Fw8Pre+sjztCWVtN9/YgBFpTntAtjifZq+z/9ICOsqTNKftWDd0QPCRuxfBO3Zsl/d8kXFh4lgPMxbHJSWZuedMbCt5fyV3DWF
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CATQCJFMtg/z6wYZlaHgEBCxIMQAmDISkoB0wrWiVDC4Q9gwJHAYU6hmKBcy0DOAGZYYFCgREDVAsBAwEBAQEBCAEEJgsJAQIEAQGEUAI1gjYCJjgTAgQBAQESAQEFAQEBAgEGBHEThWgNhkUBAQEDAQEBEBEPAQUIAQEUGAIJAQQLCQIYAgImAgInCwceBgEMAQUCAQEXB4JPAYJVAw4gAgMLikiPNAF5ARIuAoofeoEygQGCBwEBBgQEgk2CbRhYgVkDBgkBgQYqgnuGdYJ/ezeBVUQmbycPgW2BAD6CYgEBgSsBCwcBTYJrgmSDGjgrRggQTwwoVigRFAUPkSgaqkgsB4F7gSaBJgYLlW2GQgYTJoNePopmhXwGkGqVVp9GhHcCBAIEBQIOAQEGgWskaXBNJE+CaVAXAg6OHwkCF4ECAQIGgkOFFIVMcTgCBgEJAQEDCVkBASGGIIE2AYEQAQE
X-IronPort-AV: E=Sophos;i="5.83,280,1616454000"; d="scan'208";a="113860070"
Received: from 153-97-176-62.vm.c.fraunhofer.de (HELO mobile.exch.fraunhofer.de) ([153.97.176.62]) by mail-mtaDD25.fraunhofer.de with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jun 2021 11:27:54 +0200
Received: from XCH-HYBRID-01.ads.fraunhofer.de (10.225.8.57) by XCH-HYBRID-02.ads.fraunhofer.de (10.225.8.59) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.858.12; Thu, 17 Jun 2021 11:27:54 +0200
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (10.225.8.37) by XCH-HYBRID-01.ads.fraunhofer.de (10.225.8.57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.858.12 via Frontend Transport; Thu, 17 Jun 2021 11:27:54 +0200
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oGr5kpHXgU+sfyFzOqMrusEIBbVjMiQCFTFZWJjc+q/X9lc/aSXVF008oHZR9ANcmx1LwWRY5Vd4Q7Qye9MxPKoms6y0T+OdHn5Plrgp/V0m36551muhzKbXFGXJIl8rJt703fHeE1mCGBaNzJOP9qICUx4QC2VD5K9fe/3vgyF73uCc0tVbRpsFYxSz7KqfmvjjAKdqFW+C0U42X+owYKAUY8xd/eBr0TCjDpwGLJQs3onLG4y9Xo+8UAttALCPi0fWUrhAC13tQOZ7zqK5gRfF+CpQvc5XJ3EF2V4tHiCl8fSp5zrULREp1xARCV7lTlAuDcsNLnfI4tOh1v1O8g==
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=3SVGy3a7tttnbQ6WWR39yDo46ddSd4FuLEdzozk7SyY=; b=kki75owA48kEk0DChiLm2GKvtuOSdStfU3PijMz662llrPxVq5w2R5S0EM/bAow4akOmIbeYTxs0szGMgDEHRjNi9W5v276FslNfibJJtWiGwhg0fcwC39efFTNDg4pFg2l3U3c+NsUzhyc+h+5sjiqZ32Qoq9cNlwHwfuIdK5J47ndWbQYrCGGm4/F0vEBDtQxuFgLnljR/4RXC6YiPl19wbneUr/03yo8BYNpqrN4us8HEWSaOeE+oxbolDuTadLYuI1VXWSnGzrh/Lj643GgLO23X0AAFQ+6yh0R87/4+yOVBSCg/zWBmlqRsRchaWUkH9c2M5cQFsmp/eVUVSg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sit.fraunhofer.de; dmarc=pass action=none header.from=sit.fraunhofer.de; dkim=pass header.d=sit.fraunhofer.de; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fraunhofer.onmicrosoft.com; s=selector2-fraunhofer-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3SVGy3a7tttnbQ6WWR39yDo46ddSd4FuLEdzozk7SyY=; b=d36DVJ3ZEcOre9RTun7xek7927ODWVUk1abP19cIKV7/noKyEx/V+ifFOdnP+wyRT/+jcxljCtn7YqsBr5rCNKKy6gGJDRpTFbRd9OCCAK9EcwTnZFVzcx/jw1HF9FLgJO5j0s8lqpi38aoFNj9fM5HGO5cy3ls5XSLw1ZMK3lw=
Authentication-Results: ietf.org; dkim=none (message not signed) header.d=none; ietf.org; dmarc=none action=none header.from=sit.fraunhofer.de;
Received: from DU2P194MB1709.EURP194.PROD.OUTLOOK.COM (2603:10a6:10:276::9) by DB8P194MB0486.EURP194.PROD.OUTLOOK.COM (2603:10a6:10:144::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.16; Thu, 17 Jun 2021 09:27:53 +0000
Received: from DU2P194MB1709.EURP194.PROD.OUTLOOK.COM ([fe80::ac4d:c6fc:9d66:ba8f]) by DU2P194MB1709.EURP194.PROD.OUTLOOK.COM ([fe80::ac4d:c6fc:9d66:ba8f%5]) with mapi id 15.20.4242.019; Thu, 17 Jun 2021 09:27:52 +0000
To: Brendan Moran <Brendan.Moran@arm.com>, Carsten Bormann <cabo@tzi.org>
CC: "cbor@ietf.org" <cbor@ietf.org>
References: <8713C3AB-71C0-4EC0-8977-15F80EC11309@arm.com> <212CE7EA-73BC-47BF-B192-D2D523F4A376@tzi.org> <33C84949-0F9C-432C-9C94-DE2C9EE17976@arm.com>
From: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
Message-ID: <ad9edafd-882d-cbf2-02bb-c6e6a85b19f1@sit.fraunhofer.de>
Date: Thu, 17 Jun 2021 11:27:50 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
In-Reply-To: <33C84949-0F9C-432C-9C94-DE2C9EE17976@arm.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Originating-IP: [79.206.151.153]
X-ClientProxiedBy: AM0PR01CA0145.eurprd01.prod.exchangelabs.com (2603:10a6:208:aa::14) To DU2P194MB1709.EURP194.PROD.OUTLOOK.COM (2603:10a6:10:276::9)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from [192.168.16.50] (79.206.151.153) by AM0PR01CA0145.eurprd01.prod.exchangelabs.com (2603:10a6:208:aa::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.15 via Frontend Transport; Thu, 17 Jun 2021 09:27:51 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: c963b1dc-abe5-44c6-e954-08d931722ddb
X-MS-TrafficTypeDiagnostic: DB8P194MB0486:
X-LD-Processed: f930300c-c97d-4019-be03-add650a171c4,ExtAddr
X-Microsoft-Antispam-PRVS: <DB8P194MB048600448E23A0A1B51CCC21A80E9@DB8P194MB0486.EURP194.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: SFLEHSCBFids7X7/2z4JL4HI4oj4eavfb/cADnDQVHp8Fd5BIuTXAM2r9cr88eXXr2EOc++Nz/nG+Cinl53h84cHooQHSSosgzL11a0XGIlmJGV5Ephpwqb+JQwrNtUUA8DDCFFwHdAery3v/ebmZt6ht+UjbWCLMBUjuNRa29mH2w2K7neDqOJIq9aEZ3e+dXdmirWxjngkXDW/IFx1ZxvfYh4HL014JS2zOp8+dIqqsqXCTe2jBUvEUprqGLqVHgXRpsU+Eoh/q/EvrPYwCT4l7s6yjc46XNGo2QsP1yrMBQwhRBTui+CaTq/LjY4cTlAbNlLQq5yun11QpwIrYl6P/BiwKlMJD8lIKG01N+W1C8UdW/KBE7q4q+YQf+Rrbjozwk8dPQVfyxrvVeSRCUXDTtF4DXE0gbLAHH+RAjH3iGFS625ztCeyNhRM99qPcZSb1VLDHW2tZbBEjcGJ3D1pgOMXhT1AYrYu2uoGMXiPLYnirbF03MDMxcxait9qMRESnGhYM8Q3/BVqhu2LGAx6COnmaRPTjLYw3FrjwNx+9C1V7DqFaN94EoPwVctoezg9lu71eHejMXTltJcPsJWCh+gqkKi/Tcdodn7Hth1Ziq+qhRPYTo+Kq5u+P/KWrHxSapj0pVUuaVNOFzlhCTRIPDQd9q8mu7LWVMupzdc1yINTY2RduteuDa1oWuavZoyOlycBTznn7Pxmn+kpeJQ48Rx+4QhruaxXqZ0zEIOOxjQn0Mu0saD304pPbQYq8W4zWypPD5O+MhcNJ0pr1EKBSus7rhAuDj/wQxEd9+s=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2P194MB1709.EURP194.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(4636009)(396003)(376002)(39850400004)(366004)(346002)(136003)(83380400001)(16576012)(2616005)(956004)(8936002)(5660300002)(86362001)(110136005)(31686004)(4326008)(8676002)(31696002)(44832011)(316002)(2906002)(6486002)(53546011)(52116002)(478600001)(38100700002)(16526019)(38350700002)(186003)(66946007)(966005)(66476007)(26005)(66556008)(43740500002); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: 34mVh7wBVi5De49S3G2/Trm5mr2kZEQKTlLT3G//KEzNENw/F4JGIzDAB98/UqIBHY/MoMk+nb7xh+PZ9hAXnPv7D+0CXQdsDTuUY9rl2oJUljNoOvu2ZqI+m6ybOaGKcHT1YD8yoX9KnkbFQuW8jWkaPnSCe9NXm/hskCah1dOb/qUcP0Nbx2XEVhW41BDCaIULBpWYyA9ssXdMPrQPJKZL4b3UvHwZgm1eIfZm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0wM+aYzcBVr5/z/eERYxYRb1W57NcIef51EVY1tV9av4zIPwf
X-MS-Exchange-Transport-Forked: True
X-MS-Exchange-CrossTenant-Network-Message-Id: c963b1dc-abe5-44c6-e954-08d931722ddb
X-MS-Exchange-CrossTenant-AuthSource: DU2P194MB1709.EURP194.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2021 09:27:51.6519 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: f930300c-c97d-4019-be03-add650a171c4
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: o/UsLkBKWZHU+OHDRiG+xAQpXWxM/1TRYoZ1usFETBBDOzU61+umDlNNuSzTkuBKqK6ytFBxH3c1zZTxhD5C7Kp8DI8++MSf5kTzD3Dj+H0=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8P194MB0486
X-OriginatorOrg: sit.fraunhofer.de
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Qo6e32uGVap2Yv6Jx97mg66c4c0>
Subject: Re: [Cbor] Packed CBOR review
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, 17 Jun 2021 09:28:07 -0000
Hi Brendan, quick reply with an upfront, overall +1. Small comments in-line On 17.06.21 11:08, Brendan Moran wrote: > >> On 16 Jun 2021, at 14:07, Carsten Bormann <cabo@tzi.org> wrote: >> >> On 2021-06-16, at 11:21, Brendan Moran <Brendan.Moran@arm.com> wrote: >>> >>> I would also propose adding another element to the table: an identifier for a pre-shared reference table: >> >> I’m wondering what the allocation mechanics for such an identifier would be. > > We can have our cake and eat it too. I don’t see a reason not to support all of these choices. That sounds absolutely reasonable to me! > >> >> Let me go through a few cases and explain how I would handle it. >> >> * IANA >> >> Pro: can be very compact. >> Con (pro as well): high threshold, limited set. >> >> Solution: allocate a tag for the identifier, either wrapping a tag 51 or replacing it (in particular if not all tables need to be advanced). >> >> Task: We probably should define how to define such a tag. >> >> * Context >> >> Pro: can be embedded nicely. >> Con: Wherever the context comes from (e.g., referencing standard) needs to make sure the reference is unambiguous. >> >> Task: Not sure what we can do here, except maybe giving an example. >> >> * URI >> >> Pro: Free for all. >> Con: Hard to control. >> >> There will need to be some security and assurance of non-mutability on the data that URI describes. >> Preferred URI scheme would be ni:, but see next. Henk >> >> Task: Define URI import tag; shape of data structure that should be used (almost, but not entirely, like tag 51). >> >> * Hash >> >> Pro: No-brainer >> Con: Can’t find the dictionary unless I already know it. >> Hashes are large (at least when secure). >> >> Task: >> Define Hash import tag, shape of data structure that is being hashed (see above). >> > > If we simply use a different type in each case, the encoding is unambiguous: > > Basic-Packed-CBOR = #6.51([ ?dictionary-reference, [*shared], [*prefix], [*suffix], rump]) > rump = any > prefix = any > suffix = any > shared = any > > dictionary-reference /= standard-reference > dictionary-reference /= uri-reference > dictionary-reference /= hash-reference > dictionary-reference /= context-reference > > standard-reference = uint > uri-reference = tstr > hash-reference = bstr > context-reference = null > Semantics look fine, not sure of the final structure though. > >> Apparently, in all cases it would be good to have a single data structure shape pre-defined for pre-populating the tables (“dictionary”). > > I can see two possibilities here: > > 1) just use the existing structure: > > Packed-CBOR-Dictionary = [ ?reference, [*shared], [*prefix], [*suffix]] > > 2) eliminate any distinction between the different tables; leave that to the packing table. > > Packed-CBOR-Dictionary = [?reference, [*fragment]] > > For simplicity in the parser, I’d be inclined to go with option 1 and just make the Packed-CBOR-Dictionary a packing table with no rump. We are really optimizing for bytes here, right? That should be significant decision factor. Then again, a tad bit more hierarchy here might provide great benefits? > > > Best Regards, > Brendan > 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. Viele Grüße, Henk > _______________________________________________ > CBOR mailing list > CBOR@ietf.org > https://www.ietf.org/mailman/listinfo/cbor >
- [Cbor] Packed CBOR review Brendan Moran
- Re: [Cbor] Packed CBOR review Carsten Bormann
- Re: [Cbor] Packed CBOR review Brendan Moran
- Re: [Cbor] Packed CBOR review Carsten Bormann
- Re: [Cbor] Packed CBOR review Henk Birkholz
- Re: [Cbor] Packed CBOR review Brendan Moran
- Re: [Cbor] Packed CBOR review Carsten Bormann
- Re: [Cbor] Packed CBOR review Carsten Bormann
- Re: [Cbor] Packed CBOR review Carsten Bormann
- Re: [Cbor] Packed CBOR review Brendan Moran
- Re: [Cbor] Packed CBOR review Carsten Bormann
- Re: [Cbor] Packed CBOR review Christian Amsüss
- Re: [Cbor] Packed CBOR review Christian Amsüss
- Re: [Cbor] Packed CBOR review Christian Amsüss