Re: [Cbor] Use-Cases for Determinism
"lgl island-resort.com" <lgl@island-resort.com> Wed, 23 August 2023 19:55 UTC
Return-Path: <lgl@island-resort.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 08B77C137366 for <cbor@ietfa.amsl.com>; Wed, 23 Aug 2023 12:55:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G_6D9nNiWhh7 for <cbor@ietfa.amsl.com>; Wed, 23 Aug 2023 12:55:05 -0700 (PDT)
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2132.outbound.protection.outlook.com [40.107.96.132]) (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 04614C151090 for <cbor@ietf.org>; Wed, 23 Aug 2023 12:55:04 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E5CvlZ/dfnOBYVeulfXu3GzVwmoJNZsmW9hXJfE0AV3qCmyDcVoT5JIV/OSi1TBq8J/n91GE9HatlqbCDwCCO6zEDW+coIYvXhDOMKyN42MSgcE0QIiX3UDhsRz9thjnOX3BFC4lUGaRKhnw4T8psHwf+I/x81/jgaBPSMOf19sb8LhezGe6CFpJhURYzjoIuKa4FgXKM+Kw9xR0IEgbZ51ngFiRrnB8nhuSqlBbmB4FwKD3xSmVsh8z/r70bxQyjph30raWPqfWSo6kxMkzIc4EAfHmRKC8CgwF4Wcfih4f5nNAkvhltq1DanrUIRztbVTpqK/fb86gfEG/2wKhnQ==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zcRX8qM3gxfyl9o0680/E3m3DAhNvFLrAi87H6qZuXA=; b=X+WbsrIUPL/HA0Ft4pPSEjizjfo1bBjNZ05daD3RBG+yFRhtb5GZ3X2g3j70ia5SfiIIG+rZngmGH015HE8YoN1NUxIZtgeZ4FRfNbC7jQfoTOYPKbIObsUAyz976S/QIYQ8D92oj2v2pziFgn0zUrxI72o8gNH3Ur+JOiqDeAePiOv6UTzVSrH2pYX+IdjjRlVtLaRpFrbqR7m/oiym7SMYignRCbZQZo5ejy7E99+PnE4mnWz5WMSJFiWXKT+EkBPO/yKb2vaZGlIUdRhumLzZ8bX75LNMNeuTsRCEBvVqbCur4prKr6KC1VMz00TNQHKqWZveW8+LBN5HyenP1g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=island-resort.com; dmarc=pass action=none header.from=island-resort.com; dkim=pass header.d=island-resort.com; arc=none
Received: from PH7PR22MB3092.namprd22.prod.outlook.com (2603:10b6:510:13b::8) by PH0PR22MB2876.namprd22.prod.outlook.com (2603:10b6:510:fb::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.25; Wed, 23 Aug 2023 19:55:01 +0000
Received: from PH7PR22MB3092.namprd22.prod.outlook.com ([fe80::f317:e4d1:7e1e:3934]) by PH7PR22MB3092.namprd22.prod.outlook.com ([fe80::f317:e4d1:7e1e:3934%3]) with mapi id 15.20.6652.029; Wed, 23 Aug 2023 19:55:01 +0000
From: "lgl island-resort.com" <lgl@island-resort.com>
To: Anders Rundgren <anders.rundgren.net@gmail.com>
CC: Wolf McNally <wolf@wolfmcnally.com>, "cbor@ietf.org" <cbor@ietf.org>
Thread-Topic: [Cbor] Use-Cases for Determinism
Thread-Index: AQHZ1UIJkNOYTJiKgECTTq86TVcgla/4O/8AgAAMJwCAAAS9gA==
Date: Wed, 23 Aug 2023 19:55:01 +0000
Message-ID: <D70B1BDE-0035-428E-9032-9085E51E6876@island-resort.com>
References: <37799613-ACC6-42AC-B813-1D6EB73E07EE@cursive.net> <F7BBE9D3-58CF-4D0C-8643-B08EE1BE98C0@tzi.org> <F771D8CD-DB0B-4F4F-ABA0-BD5B3B31AE14@cursive.net> <B9AB9EF8-7F34-47C6-86B7-4C412519816E@wolfmcnally.com> <PH0PR02MB7256D82AF886414BA4A034AEF21FA@PH0PR02MB7256.namprd02.prod.outlook.com> <CADEL5ztpMa-itqOpdQrQz9vvoeXDX_zT49d3ZjaE4VO8TguLsw@mail.gmail.com> <B07254BD-EE6C-45AC-8B25-4BCF8DE05BCE@island-resort.com> <30f7b2c8-3170-a2d7-f248-bf883a314406@gmail.com> <BC809FF7-0142-4BC0-88A0-B52E977F1442@island-resort.com> <B375D71F-D34D-4281-B127-CD7514EE7EE5@tzi.org> <E42C600C-03F7-4BC9-8755-5B1A0F9A1F2D@cursive.net> <1151E328-EF6B-45AA-A9F4-EB5A9194AF86@wolfmcnally.com> <D6D3CB59-266A-4478-9C76-B3ECD36B3785@island-resort.com> <a522b977-208f-9a0e-e558-351e27744f3a@gmail.com>
In-Reply-To: <a522b977-208f-9a0e-e558-351e27744f3a@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=island-resort.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: PH7PR22MB3092:EE_|PH0PR22MB2876:EE_
x-ms-office365-filtering-correlation-id: 372a0d13-73de-4d6b-76e1-08dba412d647
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Yf1IqYo3moqNbtVm2sp0avcAS8CRv9uYknkhuGCbsGNL0ihvC75aydRYnhZHrrZ+TbRS0SgbfNpRECb9/++XLNud1FVqurJBq3FnPHjbVBx4WnVXVsEbKsEDKOGtu7cfXrL+5qlXaGe8BhdHNGn+UfoKQmm+JWGylqcEymwyPFDTdpa19Tl3mZG5/wZDQHoXzc8M915R5/l6oJnGmLvJPGD2eI70RyL0mqQfJJvfwAwRyWdCEcRGrn1RhI9HttnakaTOX+YIZd8+OJyS/6YJjMLpAMaHXbE0PVI8OoIHWftke4oShHgHRToFlq8wFl4B/wRT24xAqIrcBbX9c6SQXx/BVJL5Gpq6+UvPWx6et8RwgY0FHZbefPODD3gC+JzGyyZguKbxyeo7SDb8mXBkEEKgsTHFBLcfxPii959T+bwskx01T3d/tFV4yYoMhmpwRaH92wtIDThXpjlc1sNjHSZNaLUoGHjewTE8MHO+5dQuA2+5lOI1f1zYf4pP6jt/cAok/Vy+fPdrsVUTfT5TQHuvOsHXxWu9kbEquuahJoSlE/f5E2WVHRiKas5fT57GIMISyUHZ9ClBjkzbkPAA532xeo9WBGEeEmTLkhCpLvFZezUE+LH61EcHSZbI2Jr9iTeI7OuC9RsSVwJ7R4O7LQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR22MB3092.namprd22.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(376002)(39830400003)(136003)(346002)(396003)(1800799009)(186009)(451199024)(478600001)(6486002)(71200400001)(91956017)(6506007)(6512007)(76116006)(2616005)(2906002)(41300700001)(8936002)(26005)(4326008)(86362001)(64756008)(66446008)(54906003)(316002)(6916009)(5660300002)(53546011)(8676002)(66946007)(36756003)(33656002)(66476007)(66556008)(38100700002)(83380400001)(166002)(38070700005)(122000001)(45980500001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: /dXkzxBEX3FkAb8nv7Paz/UdcmYLOWv2k16/I8HZhiGo3BTsoJYcTolkb6xEN4vWS53vXJgAX1gJl49nCNahB7LHQYnbJiKiaAaam6jxlHUY4LT4X1/BHbSi7uciEpn6a7GndOz1TERcsD5fnhbNZPAM4q0WQqFU9NEPRSwjk8VYRataogtuqqUplryGjeQS75il51TeodDIswdQIbGjiVpdHeu9iV/xtj9O4hMA+WrDGslww99WCrDmmcIzo056e8Ms1yTmkO+8qr+TGBvnB7Z7rx+tsqUtFSSzFrJsyf2yT5Drt8CjdakvIRNPLj+N4PbeiPGIW+QbOZRqK3T6+Ub97lyiZkMFh5MI/HAE9ZrRYv5Llxy5cKLeCZlCR0A/8XhT8uwElYbxWGybXRxvo3XN9s3Y7+wQkFJ+nQv+kqPrYHtkjI6cwv21+sicJJf/nlSy1FDjwrVMIj1VDYa68Bm/EtITz6s4s5UGEKPj6I339agdm8L2xa/r+Lrv3W5/d1vNO/XPRIlR+4gHYhkTCE4FoQQOoAegfZAQxeBjSHWBivfpLA+DtVU3BLwaNR0gq/ItrA09zEmNcckY152JvsF59asIuOf+VXO9hQ724cPaKsIOHSgAdBrXqajqPdj/VK2U68P7FPVxU/+BUoamVAHJtm+jfxz0URxvT7pGGTunah30CgHbi4OFKdAjZIOWvZAyAos5NL7mV4leKAFbopIEI4uKaJzgb8K0vsLRMB5PM2K95tsynmQtB2BpMqRFGByJu0LQ6d7TUQqqqCLJG4061ZjZH5vAV3ryPinmlusT/1ox89oVu1YHSVH793GjJUclR8B2e6lBXxiS4WO274nxQf5vmtXaukLWTVsLdp1Mk5jhUcQab4kc5DobEupfFMkvIlvQhYvMU6hZPNDbUnO9OUt9qavtOC1FdnCqDQ/VNPq2U7yb5A7GClkFNkfPMMeSzgNlySBbmL0GhtjGX8OiiopPPtsmkhAlwZfNiGkICee4XZe7CyrMwn3bPonYORJi/sd9b5oSFg3i92+8kRUhfasseE/qGFbzwzsVm9W0rBoRZTOGBNzN/Ui2jIBXQc3OWiyDG0eta73zjTbIoFkOUvtc6Ouv8fGDlUwJSjyu0Gbv6ZY6Xnoe/x4yWlP+V7apDtYs/2pIQZtRm9dn10Jzh4tJaZF46hlFCkNbgdtj8nuS6X5wNaFrvgBDNOmvatpSkSxQh8JOBAGiztePO6bJ7QkdCoqoupJp0m6Ivo1g0YFiPG+Ep86hcV1aXHZBsg7UjAVO1L1//lS7K0RzKoTFLgfGB+iJEiaCNggqc8gWwFy6Q8rZPvkDl233NNWPBq+rUQmQMDEW3Rcb4lEyhjIyUMoeeao2A6FPSzKR2r8kByEIJF9SEN+ozxyIFADCPZO9T+QTKNIj903dTGw6yHydc2jLdjURtF8KAsCXndmXQ6CO71myxsA5H6XgZLl51rVX+sDJzQ5nXvokj5V7pTg7lmjcmyaIRLFEIEcGU4QkhTH8/pjNtZZzeOxKqHhvoeG7P9qSBFI2ijcyZ+spdmEOjxARPsTob1WjLls6PUy3Bc3nPhwXkPjgYGvleJZsfGL4jKEwbSkzW+A8COEAoQ==
Content-Type: multipart/alternative; boundary="_000_D70B1BDE0035428E90329085E51E6876islandresortcom_"
MIME-Version: 1.0
X-OriginatorOrg: island-resort.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PH7PR22MB3092.namprd22.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 372a0d13-73de-4d6b-76e1-08dba412d647
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Aug 2023 19:55:01.4171 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: ad4b5b91-a549-4435-8c42-a30bf94d14a8
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 59WOH3hGb467pg5FI1J15IbZR5c8N55wl6UXreOxD+T7rssFHS+aYlscr2+AWXgWHCyUW1Sq6hzpYU1u7sCkfQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR22MB2876
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/oBKwBXSF3G9EQillWPMWiy-d_Mo>
Subject: Re: [Cbor] Use-Cases for Determinism
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.39
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: Wed, 23 Aug 2023 19:55:09 -0000
On Aug 23, 2023, at 12:38 PM, Anders Rundgren <anders.rundgren.net@gmail.com<mailto:anders.rundgren.net@gmail.com>> wrote: On 2023-08-23 20:54, lgl island-resort.com<http://island-resort.com> wrote: Heya, Hi Laurence, What you are saying about signatures is technically correct but only works if you have direct connection to the input buffer. In OO based encoder/decoders systems like CBOR.js, CBOR data items are "by design" converted into immutable self-contained objects. This makes it possible to "compose" data to be signed. For such systems, deterministic encoding (or like it is currently done with JSON, canonicalized encoding) is more or less a prerequisite. Makes sense and is really helpful to know. I’ve looked at enough Python and Java code to understand what you are talking about and I can see how determinism enables a lot of new use of CBOR in environments like those. I wouldn’t say this is strictly about OO as lots of OO use and environments don’t have this characteristic. Would it be correct to characterize this way? In some programming environments, particularly OO, an object can have a method to serialize itself using a particular serializer. It is really helpful if the same serializer in different programming environments works exactly the same way when the data is to be signed or hashed. In a way this is more about standardization of programming environments than it is about bits on the wire. IETF doesn’t usually do this, but it seems sensible here. LL
- Re: [Cbor] CBOR profiling for protocol designers lgl island-resort.com
- Re: [Cbor] CBOR profiling for protocol designers Wolf McNally
- Re: [Cbor] CBOR profiling for protocol designers lgl island-resort.com
- [Cbor] CBOR profiling for protocol designers Joe Hildebrand
- Re: [Cbor] CBOR profiling for protocol designers Michael Richardson
- Re: [Cbor] CBOR profiling for protocol designers Anders Rundgren
- Re: [Cbor] CBOR profiling for protocol designers Joe Hildebrand
- Re: [Cbor] CBOR profiling for protocol designers Anders Rundgren
- Re: [Cbor] CBOR profiling for protocol designers Joe Hildebrand
- Re: [Cbor] CBOR profiling for protocol designers Anders Rundgren
- Re: [Cbor] CBOR profiling for protocol designers Carsten Bormann
- Re: [Cbor] CBOR profiling for protocol designers Carsten Bormann
- Re: [Cbor] CBOR profiling for protocol designers Anders Rundgren
- Re: [Cbor] CBOR profiling for protocol designers Carsten Bormann
- Re: [Cbor] CBOR profiling for protocol designers Wolf McNally
- Re: [Cbor] CBOR profiling for protocol designers Wolf McNally
- Re: [Cbor] CBOR profiling for protocol designers Joe Hildebrand
- Re: [Cbor] CBOR profiling for protocol designers Wolf McNally
- Re: [Cbor] CBOR profiling for protocol designers Jeremy O'Donoghue
- Re: [Cbor] CBOR profiling for protocol designers Anders Rundgren
- Re: [Cbor] CBOR profiling for protocol designers Wolf McNally
- Re: [Cbor] CBOR profiling for protocol designers Anders Rundgren
- Re: [Cbor] CBOR profiling for protocol designers lgl island-resort.com
- Re: [Cbor] CBOR profiling for protocol designers Anders Rundgren
- Re: [Cbor] CBOR profiling for protocol designers Carsten Bormann
- Re: [Cbor] CBOR profiling for protocol designers Joe Hildebrand
- Re: [Cbor] CBOR profiling for protocol designers Joe Hildebrand
- Re: [Cbor] CBOR profiling for protocol designers Joe Hildebrand
- Re: [Cbor] CBOR profiling for protocol designers Joe Hildebrand
- Re: [Cbor] CBOR profiling for protocol designers Joe Hildebrand
- [Cbor] Use-Cases for Determinism Wolf McNally
- Re: [Cbor] CBOR profiling for protocol designers Wolf McNally
- Re: [Cbor] CBOR profiling for protocol designers Christopher Allen
- Re: [Cbor] CBOR profiling for protocol designers Carsten Bormann
- Re: [Cbor] CBOR profiling for protocol designers Carsten Bormann
- Re: [Cbor] CBOR profiling for protocol designers Wolf McNally
- Re: [Cbor] CBOR profiling for protocol designers Wolf McNally
- Re: [Cbor] CBOR profiling for protocol designers Carsten Bormann
- Re: [Cbor] CBOR profiling for protocol designers Carsten Bormann
- Re: [Cbor] CBOR profiling for protocol designers Wolf McNally
- Re: [Cbor] CBOR profiling for protocol designers Carsten Bormann
- Re: [Cbor] CBOR profiling for protocol designers Carsten Bormann
- Re: [Cbor] CBOR profiling for protocol designers Wolf McNally
- Re: [Cbor] CBOR profiling for protocol designers Anders Rundgren
- Re: [Cbor] CBOR profiling for protocol designers Wolf McNally
- Re: [Cbor] CBOR profiling for protocol designers Carsten Bormann
- Re: [Cbor] CBOR profiling for protocol designers Wolf McNally
- Re: [Cbor] CBOR profiling for protocol designers Carsten Bormann
- Re: [Cbor] CBOR profiling for protocol designers Wolf McNally
- Re: [Cbor] CBOR profiling for protocol designers Anders Rundgren
- Re: [Cbor] CBOR profiling for protocol designers Wolf McNally
- Re: [Cbor] CBOR profiling for protocol designers Anders Rundgren
- Re: [Cbor] CBOR profiling for protocol designers Carsten Bormann
- Re: [Cbor] CBOR profiling for protocol designers Wolf McNally
- Re: [Cbor] CBOR profiling for protocol designers Anders Rundgren
- Re: [Cbor] Use-Cases for Determinism lgl island-resort.com
- Re: [Cbor] Use-Cases for Determinism Carsten Bormann
- Re: [Cbor] Use-Cases for Determinism Carl Wallace
- Re: [Cbor] Use-Cases for Determinism Anders Rundgren
- Re: [Cbor] Use-Cases for Determinism lgl island-resort.com
- Re: [Cbor] Use-Cases for Determinism Anders Rundgren
- Re: [Cbor] CBOR profiling for protocol designers Christopher Allen
- Re: [Cbor] CBOR profiling for protocol designers lgl island-resort.com
- Re: [Cbor] Use-Cases for Determinism lgl island-resort.com
- Re: [Cbor] Use-Cases for Determinism Carsten Bormann
- Re: [Cbor] Use-Cases for Determinism Anders Rundgren
- Re: [Cbor] Use-Cases for Determinism Anders Rundgren