Re: [jose] Canonical JSON form

Jim Schaad <ietf@augustcellars.com> Mon, 29 October 2018 18:46 UTC

Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 99EBC131059 for <jose@ietfa.amsl.com>; Mon, 29 Oct 2018 11:46:26 -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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 QOzyTozxx0FT for <jose@ietfa.amsl.com>; Mon, 29 Oct 2018 11:46:23 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B291C124408 for <jose@ietf.org>; Mon, 29 Oct 2018 11:46:22 -0700 (PDT)
Received: from Jude (192.168.1.162) by mail2.augustcellars.com (192.168.1.201) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 29 Oct 2018 11:41:26 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Bret Jordan' <jordan.ietf@gmail.com>, 'Samuel Erdtman' <samuel@erdtman.se>
CC: 'Anders Rundgren' <anders.rundgren.net@gmail.com>, 'Kathleen Moriarty' <kathleen.moriarty.ietf@gmail.com>, jose@ietf.org, david@alkaline-solutions.com, 'Carsten Bormann' <cabo@tzi.org>, James.H.Manger@team.telstra.com, 'Phil Hunt' <phil.hunt@oracle.com>
References: <12DD2F97-80C3-4606-9C6B-03F7A4BF19DE@gmail.com> <D21F3A95-0085-4DB7-A882-3496CC091B34@gmail.com> <CAOASepM=hB_k7Syqw4+b7L2vd6E_J0DSAAW0mHYdLExBZ6VBuw@mail.gmail.com> <00ad01d460f4$69ae8a00$3d0b9e00$@augustcellars.com> <8436AEE7-B25A-4538-B8F6-16D558D9A504@gmail.com> <MEAPR01MB35428606C09BF315DE04CC79E5E10@MEAPR01MB3542.ausprd01.prod.outlook.com> <CAHbuEH6DCD7Zc+PK3TnCBkKv1esnROwyCcDb8ZR+TKwgQQ+yXQ@mail.gmail.com> <0E6BD488-74D5-4640-BC31-5E45B0531AFC@gmail.com> <CAHbuEH5oH-Km6uAjrSr0pEHswFBLuDpfVweQ+gpj472yk+8iTQ@mail.gmail.com> <073CB50F-8D91-4EF6-90BE-FC897D557AA6@oracle.com> <A37D69B1-6B77-4E11-8BB9-A0209C77752C@tzi.org> <45bf6c0f-e510-4afc-4277-bdd486a8ce8c@gmail.com> <213796DB-D875-46B0-9F3C-1A56F9E154BA@gmail.com> <ff1dcd4e-2bf4-b85b-dde3-2cc8fe29fb17@gmail.com> <447AB837-7208-4A96-91CC-89D30A2734FA@gmail.com> <24cc6bb7-ea40-1a9c-8847-8d6c74131587@gmail.com> <92B9F9AF-BBCA-472D-9155-935F695CE7CE@gmail.com> <3b6a338b-5588-deb2-9a9c-23e0cc24a2f1@gmail.com> <FE6C1732-D16A-4D97-99F4 -1350AF23A748@alkaline-solutions.com> <1B3A97D9-06BE-4225-BF8D-DE55C7FBF2DF@tzi.org> <CAF2hCbaPEdULLX41DeA_RMePZostcM46_eimQoR-NeE-JveHzg@mail.gmail.com> <0A81DF6A-1EF5-42EA-AE88-69E2A0383FB5@gmail.com>
In-Reply-To: <0A81DF6A-1EF5-42EA-AE88-69E2A0383FB5@gmail.com>
Date: Mon, 29 Oct 2018 11:46:06 -0700
Message-ID: <037201d46fb7$a9355510$fb9fff30$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0373_01D46F7C.FCD91520"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQNnP1/vuW81sZle9dbx86Tf75xU2AKidaiOAXg4vdwBstG6fgKFRrXIAVkN6LgBzAWdjwID7Z18AaJkkZwCVO0YrgES4VnfAyA/SKgB4E14ZQF6wVvjAk4krsABSXh5BAIL2re6AZkRWd0CVOgU4wLuhyqdAGL1rE0CxUFUoqDLo5rQ
Content-Language: en-us
X-Originating-IP: [192.168.1.162]
Archived-At: <https://mailarchive.ietf.org/arch/msg/jose/ySc1fYYVAd4nH7fzlacIbc8B9qI>
Subject: Re: [jose] Canonical JSON form
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Oct 2018 18:46:27 -0000

I would look at creating a new working group in the IETF rather than using an existing one.

 

1.	Get a personal draft published
2.	Find a cadre of people who are interested and think it is solvable
3.	Write a charter
4.	Talk to the ADs about getting the WG formed by holding a BOF

 

The first three should be really easy to do.  The fourth may take a bit of work but should be doable.  The trick with the IETF is to find people who want to work on things and not to worry over much about the people who don’t think it is solvable.  If necessary write the charter to say you are not going to cover some things or that you are going to require specific environments for your solution.  The tighter the requirements the easier the solution but the less harder it might be to get the cadre of people.

 

You should be looking at 1) one or more authors, 2) half a dozen or more reviewers, 3) at least a couple of people who think they are going to get this implemented.

 

Jim

 

 

From: jose <jose-bounces@ietf.org> On Behalf Of Bret Jordan
Sent: Sunday, October 28, 2018 8:04 PM
To: Samuel Erdtman <samuel@erdtman.se>
Cc: Anders Rundgren <anders.rundgren.net@gmail.com>; Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>; jose@ietf.org; david@alkaline-solutions.com; Carsten Bormann <cabo@tzi.org>; James.H.Manger@team.telstra.com; Phil Hunt <phil.hunt@oracle.com>
Subject: Re: [jose] Canonical JSON form

 

Oh there is real need.  Several standards and implementations inside the IETF and outside the IETF in other SDOs need this.  So in my view there are a few options:

 

1) Try and convince a working group here in the IETF that this is a good idea so we can actually work on it. 

 

2) Work on this in another SDO outside the IETF (ETSI, OASIS, ITU, etc etc etc)

 

3) Do this work as an industry standard similar to what happened between W3C and WHATWG. 

 

I would personally prefer that this work be done here in the IETF.  But there seems to be a lot of resistance here. I am willing to work on this and help make this a reality.  There is a lot of great prior work on this.  

 

Maybe we can have a meeting in Prague?  Or I can setup a Telepresence WebEx after Bangkok and all those that are interested can join and we can discuss next steps. 

 

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."





On Oct 28, 2018, at 2:32 PM, Samuel Erdtman <samuel@erdtman.se <mailto:samuel@erdtman.se> > wrote:

 

In my opinion we can create a good canonicalization format for JSON to be used to sign cleartext JSON.

 

As can be seen on this list many are skeptical so my approach would be to publish easy to use open source implementations. If we do that and there is real interest then we might be able to convince people here about the need. In line with this ambition I have done the JS and Java publications. This might also show there is no actual interest and then that is also an outcome.

 

Best regards

//Samuel

 

 

On Mon, Oct 22, 2018 at 8:44 AM Carsten Bormann <cabo@tzi.org <mailto:cabo@tzi.org> > wrote:

On Oct 22, 2018, at 04:47, David Waite <david@alkaline-solutions.com <mailto:david@alkaline-solutions.com> > wrote:
> 
> intermittent interoperability failures until a new language runtime release which revises the numerical print and parse functions

Note that this is not a theoretical concern, as CVE-2010-4476 and CVE-2010-4645 amply demonstrate, nicely underscored by the re-occurrence of the latter in https://www.exploringbinary.com/php-converts-2-2250738585072012e-308-incorrectly/

Grüße, Carsten

_______________________________________________
jose mailing list
jose@ietf.org <mailto:jose@ietf.org> 
https://www.ietf.org/mailman/listinfo/jose