Re: [Json-canon] Proposed Charter

Anders Rundgren <anders.rundgren.net@gmail.com> Thu, 24 January 2019 22:53 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 ED4E51311EA for <json-canon@ietfa.amsl.com>; Thu, 24 Jan 2019 14:53:26 -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 ADcAPIWiqZ6V for <json-canon@ietfa.amsl.com>; Thu, 24 Jan 2019 14:53:24 -0800 (PST)
Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (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 3AFAE130EE1 for <json-canon@ietf.org>; Thu, 24 Jan 2019 14:53:24 -0800 (PST)
Received: by mail-wm1-x32d.google.com with SMTP id b11so4946966wmj.1 for <json-canon@ietf.org>; Thu, 24 Jan 2019 14:53:24 -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=SDuoxQGeBgAmiN7FgxBV3SWjidlQzXKZDjhktQdzfIY=; b=NRVP2ah9G1ToZwGM5I42a89EdioKrl07kEhL2cyKH34nR92LT64oG6SrApvBAkKWgg IBw4iqm+RfW5W0s+1Xkh/Q++wluW1KLacAALl63O7/alLdAipBoPiEFOKShPHg1fab0R P1Bx86LDnERlk4J6uK3ioo8Vh2KANzId4adYpk9gHMRdapiSyFqOXa4VszArcX0emQgb suuJ6FtLzWHxxy17NOiZoFmZK+Km9P0FxUdleh9NnF05XbuGVHqBWNOm6GOnnEJiYI8v pN2ZKR07l9KZ8SFzsVmGGhWKzzeCb/Xzad+uv7LVGeU5OQaKISI8C+4uhovRu8ACie/C ymsA==
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=SDuoxQGeBgAmiN7FgxBV3SWjidlQzXKZDjhktQdzfIY=; b=i5NhrfxYIhjzJe0xFrOCvkbBa9QG+pzIhC00cTY5l+DgzQOZd/17032d4i2WCsq42v qdaFYKgnn0UMjSNVNY/QOA4abcdNwWmYaxAWLv6e8xQlguafrOZHFIqioXx/P+zX43ZN s9QYpK0mO3P2RB28yvN+H9K25vexp0VCle+QSZYj/ZHnZhcNu9j2KGOOS57QFrCj7Mrb fjuMsQedxZWjZkGAblMSQwe4bJpD4tIhrgsoKhME5zkSJBzkU7ZpiN23UkqRnQd4MJLk AnLvgtiAj1cCX7TBoPTTRGAomIeos/YRxbRSzixOv0fEN7D1qk3A/fRkpyPMJmgOoFlV xsyw==
X-Gm-Message-State: AJcUukdRCq1mg3aA1agnM3rA1rfrVI004QdKFCR5mIYoEUToRtbBI1HZ fgjMRQ9DO6POhJaVLyUhPIP2skTK
X-Google-Smtp-Source: ALg8bN4Ki9b3V/8nRneIw1vRHHiJopmKjGa1eaLkT/QsiabhIkiE2GST39S654/54bcbSIF0EH41OA==
X-Received: by 2002:a1c:f71a:: with SMTP id v26mr4210448wmh.131.1548370402165; Thu, 24 Jan 2019 14:53:22 -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 a62sm52870359wmf.47.2019.01.24.14.53.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Jan 2019 14:53:21 -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> <46cd19f4-62e7-bc46-84d9-3fd647f8ede9@gmail.com> <C4B4D8D8-B7D5-4963-9E0F-06BFDFB0F246@mnot.net>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
Message-ID: <065785a0-30a2-d92b-9470-4d161009de0d@gmail.com>
Date: Thu, 24 Jan 2019 23:53:15 +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: <C4B4D8D8-B7D5-4963-9E0F-06BFDFB0F246@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/oDHBJq1EHUcg9SjFq1eK-5Yqnxc>
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:53:27 -0000

On 2019-01-24 23:42, Mark Nottingham wrote:
> I'm primarily concerned that people will want to invite new subtypes, e.g. "base64'd binary in a string." A good charter would make that clearly in or out of scope.

Aah, is that what you meant!  Well, interpretation of data in strings is for sure out of scope.  We'll find some way to express this.  Thanx.

As Allan Thomson just mentioned, people indeed encode a lot of things inside of strings and this works just fine, the canonicalizer only see a string.

thanx,
Anders



> 
> Cheers,
> 
> 
>> On 24 Jan 2019, at 2:40 pm, Anders Rundgren <anders.rundgren.net@gmail.com> wrote:
>>
>> 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/
>>
> 
> --
> Mark Nottingham   https://www.mnot.net/
>