Re: [Json-canon] Proposed Charter

Anders Rundgren <anders.rundgren.net@gmail.com> Thu, 24 January 2019 22:40 UTC

Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: json-canon@ietfa.amsl.com
Delivered-To: json-canon@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6F42E13117B for <json-canon@ietfa.amsl.com>; Thu, 24 Jan 2019 14:40:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 CS9O2wl-6kEt for <json-canon@ietfa.amsl.com>; Thu, 24 Jan 2019 14:40:18 -0800 (PST)
Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A7428130EE1 for <json-canon@ietf.org>; Thu, 24 Jan 2019 14:40:17 -0800 (PST)
Received: by mail-wr1-x442.google.com with SMTP id u4so8281962wrp.3 for <json-canon@ietf.org>; Thu, 24 Jan 2019 14:40:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=zD/f0mJQ7VMSH/PetD9ZIwtFjVJl5Pd0Qc9I7SxyNx4=; b=YQT0n341g8ZzXvNibcZHy+stLYGyq9Ws4tMfcQN+gBHFcFLXQNZ/4rkKxbwyQQBsVF QqvBEzNtzpAiGL0XY9pSEvlu0b/Ra2CFlik4SBqi0p3d7SlfQUnihD3mniapiO/eDXCE 9XFB/ovHRpG5y8VhKASmPmWNkcRO1zW/X0Np8h0+kV3Q5chi1XtiPqzJJ/l1FvdhqhV4 f7R26VoVPr8KE3ohXnu2cmv4qPKSnphupWMWlfG5Pt3F2w9RdlBJ4WaW6unuwtghi5fJ 00NHNcEaF8vJSysgIEjEkngd29x2JQXVoGPkn6if4EN8BbNqNLR+iUJcqDfkEeMl3dpn 6rSw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=zD/f0mJQ7VMSH/PetD9ZIwtFjVJl5Pd0Qc9I7SxyNx4=; b=Xar/wSG4oZ/z86I51iQfINx/6894b/MdPlrO57cQ6i3V5wUGt06ezcTrMJPH+WP8bz SKXdeolteltoW1cgMOiwtE7zqGmP+FYZzz7zIV4yPL0FZFVgyGx/PhjAfncKq4CtTaZC ZScxANG7PNwOo8ar7c58tybazcQMOiDvgwOAkyaUn4StYJw9/fZGD/GxkFnbdBoIhXNO 1WslNG1+JDd7b6l7lUJs5VB/h9RPhRmGmlrsAqJtuiBygQeyZGFbtAyeSIbK8Uv0Ms6+ FnWuK9XuQHBRiyANTrEjcfbS6niDKiMrxATy1nvZb4Wai4C9mSwo12jSgrP+Qe4rES0V XAdA==
X-Gm-Message-State: AJcUukfUVtqO5SkZ65BvRV7y9nQ12RMhmM+F22VYEUFH5lm24BA60w/g 3VuZV+RVgiJ8r1rzuKdKQO7836zS
X-Google-Smtp-Source: ALg8bN61c+86J/fyI78eFTbHhYWt4q7hPwPOg//3krjBF7HnJTnpnsTf4+WI2vrjP0M76IOwlvOjyA==
X-Received: by 2002:adf:fe43:: with SMTP id m3mr8716711wrs.290.1548369615658; Thu, 24 Jan 2019 14:40:15 -0800 (PST)
Received: from [192.168.1.79] (25.131.146.77.rev.sfr.net. [77.146.131.25]) by smtp.googlemail.com with ESMTPSA id 202sm73630911wmt.8.2019.01.24.14.40.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Jan 2019 14:40:14 -0800 (PST)
To: Mark Nottingham <mnot@mnot.net>
Cc: Bret Jordan <jordan.ietf@gmail.com>, json-canon@ietf.org
References: <069AE75F-45F0-4C46-8AB6-8B734073261B@gmail.com> <797CD514-E3CE-40C2-9360-21B31372D9AE@mnot.net> <347d7716-570f-169b-1ea9-62cc83d346f0@gmail.com> <D39ED435-7DA6-439E-A71F-4789974AA1D2@mnot.net>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
Message-ID: <46cd19f4-62e7-bc46-84d9-3fd647f8ede9@gmail.com>
Date: Thu, 24 Jan 2019 23:40:08 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0
MIME-Version: 1.0
In-Reply-To: <D39ED435-7DA6-439E-A71F-4789974AA1D2@mnot.net>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/json-canon/4-_STT-XZZnI9qvwc8D3PZlf_Gw>
Subject: Re: [Json-canon] Proposed Charter
X-BeenThere: json-canon@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: JSON Canonicalization <json-canon.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json-canon>, <mailto:json-canon-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/json-canon/>
List-Post: <mailto:json-canon@ietf.org>
List-Help: <mailto:json-canon-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json-canon>, <mailto:json-canon-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jan 2019 22:40:20 -0000

On 2019-01-24 23:14, Mark Nottingham wrote:
> I saw that, but it wasn't clear whether that was a starting point, or a limit.

It is the current proposal/definition.  It limits the JSON Number type to IEEE-754 double precision (=strict I-JSON).

https://tools.ietf.org/html/draft-rundgren-json-canonicalization-scheme-03#section-3.2.2.3

Do you think this should be in the charter?

thanx,
Anders

> 
> Cheers,
> 
> 
>> On 24 Jan 2019, at 2:06 pm, Anders Rundgren <anders.rundgren.net@gmail.com> wrote:
>>
>> On 2019-01-24 22:55, Mark Nottingham wrote:
>>> Will the Working Group limit itself to canonicalising the data model that's described by JSON's native data types (object, array, number, string, boolean, null), or will it attempt to canonicalise subtypes -- for example, inside strings (whether they be key or value)?
>>
>> It is possible that I misunderstand your question but the charter talks about using
>>
>> "...the serialization methods for JSON primitives defined by EcmaScript version 6"
>>
>> which means that strings and numbers are normalized (null and boolean already have a fixed form).
>>
>> Is this the explanation you miss?
>>
>> thanx,
>> Anders
>>
>>> I'd be much more comfortable if this were addressed explicitly in the charter.
>>> Cheers,
>>>> On 24 Jan 2019, at 10:56 am, Bret Jordan <jordan.ietf@gmail.com> wrote:
>>>>
>>>> All,
>>>>
>>>> Here is a proposed charter for this WG.  Please send any comments on this charter to this email list.
>>>>
>>>>
>>>>
>>>> ### BEGIN
>>>>
>>>> JavaScript Object Notation (JSON) is a text format for the serialization of structured data described in RFC 8259. The JSON format is often used for serializing and transmitting structured data over a network connection. With the increased usage of JSON in protocols in the IETF and elsewhere, there is now a need to define a canonical representation of JSON objects to enable comparison operations and security services on plain text JSON.
>>>>
>>>> Different proposals for providing such security services have already been defined and implemented. The goal of the Working Group is to define and standardize a mechanism for creating a canonical representation of plain text JSON objects.
>>>>
>>>> This group is chartered to work on the following deliverable:
>>>>
>>>> - A Standards Track document specifying a canonical representation of JSON data.
>>>>
>>>> In order to promote interoperability and ease of implementation, the current proposal builds on I-JSON (RFC 7493), the serialization methods for JSON primitives defined by EcmaScript version 6, and a platform-independent method for sorting object properties.  By doing that, JSON parsers will not need modifications, enabling the described mechanism to ultimately be reduced to an option in JSON serializers.
>>>>
>>>> The proposed work-item is tentatively named JSON Canonicalization Scheme (JCS)
>>>>
>>>> ### END
>>>>
>>>>
>>>>
>>>> Thanks,
>>>> Bret
>>>> PGP Fingerprint: 63B4 FC53 680A 6B7D 1447  F2C0 74F8 ACAE 7415 0050
>>>> "Without cryptography vihv vivc ce xhrnrw, however, the only thing that can not be unscrambled is an egg."
>>>>
>>>> -- 
>>>> json-canon mailing list
>>>> json-canon@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/json-canon
>>> --
>>> Mark Nottingham   https://www.mnot.net/
>>
> 
> --
> Mark Nottingham   https://www.mnot.net/
>