Re: [jose] ES6-compatible JSON Number Canonicalizer in Java

Anders Rundgren <anders.rundgren.net@gmail.com> Thu, 29 October 2015 22:11 UTC

Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4FD0A1AD248 for <jose@ietfa.amsl.com>; Thu, 29 Oct 2015 15:11:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham
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 qETGx-g4B5zZ for <jose@ietfa.amsl.com>; Thu, 29 Oct 2015 15:11:19 -0700 (PDT)
Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (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 7E7971AD1DB for <jose@ietf.org>; Thu, 29 Oct 2015 15:11:19 -0700 (PDT)
Received: by wijp11 with SMTP id p11so299220595wij.0 for <jose@ietf.org>; Thu, 29 Oct 2015 15:11:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=EXPQfL1/2T5X03t444kEWAXwsRfiv/a7AuCDrNbzgXI=; b=phgKYraDQjtjOCNKKoYlkle6QLqpPFCWTe2iH4VpBUenXHX14nswRve7wvRpH2f6EC jsM5P7BcoAI7U4GOxVssKt+9PYLLHum24kQdvGsDkErqUe8+tDC3E/axwiQTXI0C6/Bq +MFl6DQaoqrZ97r4t66dmqqIgoSC715IVgnF+ZckJowtqGu9TLpE7aJnijX8Ffxwc0M+ BIKX157OlUJUQspYOs71iP2in0VOIyTkB2/7jabcJxwNENQUsA4IrXMkD00M0b3jKo/F yqFMMn2rg4Tzk6HPQACtEq9VBdYxk8Q8qK6h1VGSLkEacGir9mrHCl+cTqbghJ2F7YkV QKDQ==
X-Received: by 10.194.179.234 with SMTP id dj10mr4886401wjc.52.1446156678134; Thu, 29 Oct 2015 15:11:18 -0700 (PDT)
Received: from [192.168.1.79] (148.198.130.77.rev.sfr.net. [77.130.198.148]) by smtp.googlemail.com with ESMTPSA id vr10sm3865749wjc.38.2015.10.29.15.11.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Oct 2015 15:11:17 -0700 (PDT)
To: Mike Jones <Michael.Jones@microsoft.com>, "jose@ietf.org" <jose@ietf.org>
References: <563295BB.90906@gmail.com> <BY2PR03MB442CAF752B1D1AAD5BB9B67F5200@BY2PR03MB442.namprd03.prod.outlook.com>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
Message-ID: <5632997E.2060906@gmail.com>
Date: Thu, 29 Oct 2015 23:11:10 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <BY2PR03MB442CAF752B1D1AAD5BB9B67F5200@BY2PR03MB442.namprd03.prod.outlook.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/jose/u6yUg8t37SpiEvPWLSjvEVUAcMI>
Subject: Re: [jose] ES6-compatible JSON Number Canonicalizer in Java
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
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: Thu, 29 Oct 2015 22:11:21 -0000

On 2015-10-29 23:01, Mike Jones wrote:
> You're missing the point.  It's not whether you can write custom code that
 > will always do the same thing.  I'm sure you can.

I hope so, math isn't really my forte :-)


> It's whether the vast majority of deployed JSON serializers will also do
 > exactly the same thing.

They surely don't since they never had a reason to do that.


> It's that latter that would need to be true in order for it to be a
 > reasonable basis for a successful standard.

JavaScript and the Web are (IMHO) big enough to drive this thing alone,
the rest will join the party if/when they feel there is a need.

Anders

>
> -----Original Message-----
> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Anders Rundgren
> Sent: Thursday, October 29, 2015 2:55 PM
> To: jose@ietf.org
> Subject: [jose] ES6-compatible JSON Number Canonicalizer in Java
>
> I have only spent some 10 hours on this code so I can't guarantee that it is perfect:
> https://github.com/cyberphone/openkeystore/blob/master/es6-numbers/src/com/example/es6numbers/Test.java
>
> Result:
> http://webpki.org/ietf/es6numbertest.html
>
> Anders
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>