Re: [Acme] ACME signature mechanics

Anders Rundgren <anders.rundgren.net@gmail.com> Wed, 17 December 2014 16:38 UTC

Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7F6A61A8AF5 for <acme@ietfa.amsl.com>; Wed, 17 Dec 2014 08:38:53 -0800 (PST)
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 xweo1ezm_kcq for <acme@ietfa.amsl.com>; Wed, 17 Dec 2014 08:38:51 -0800 (PST)
Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 47EBF1A8AD8 for <acme@ietf.org>; Wed, 17 Dec 2014 08:38:51 -0800 (PST)
Received: by mail-wi0-f170.google.com with SMTP id bs8so17572809wib.3 for <acme@ietf.org>; Wed, 17 Dec 2014 08:38:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=JqMxnCSJ11x4Hm1u7VyIh0ShmOyfYMAwsUgGi0D+cWE=; b=idHfcDPZ9NwWNvTIQlyWtj1mNcSAaxanVVFhV9M5J1fbbwNueWaadzhHDRCZlwquC5 lsqD4TfB8T6roE3XnjsqJuQKktiR1laRuo1bLvFgocKTyclXdVAykMF/lwjSmB0vXhkq 7vtobLs/xYSeYns5YSU4cBGdhYIU0JmpFNtRU0x93n/G7MSQYiVTAID4uDSaZilupQE4 adUsUGqAR5wnv2JyKIRf2Nw7UY8BBYy5jKfMBvIZFmeQG0ncrRaNEVbUgLZrzJUx19GL 4wxEpfVEaMtcFm/Yph6rddv6vpVkk3MEO6croAJzhXtRe1I0/cjo7dLDWjib3DCyYkrs kDHQ==
X-Received: by 10.180.75.199 with SMTP id e7mr16368140wiw.21.1418834329985; Wed, 17 Dec 2014 08:38:49 -0800 (PST)
Received: from [192.168.1.79] (52.16.14.81.rev.sfr.net. [81.14.16.52]) by mx.google.com with ESMTPSA id cz3sm5720300wjb.23.2014.12.17.08.38.48 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Dec 2014 08:38:49 -0800 (PST)
Message-ID: <5491B192.4090208@gmail.com>
Date: Wed, 17 Dec 2014 17:38:42 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Nico Williams <nico@cryptonector.com>
References: <548FF9E3.1020703@gmail.com> <CAL02cgT9iYqtX2Ui5XQYnj=yeF_QnSkKn-jE0D5d56WMzB5bBg@mail.gmail.com> <549155D4.80605@gmail.com> <20141217160456.GU3241@localhost>
In-Reply-To: <20141217160456.GU3241@localhost>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/acme/c_MszZ1uF9sUvgGTBiLkcE5DvPg
Cc: Richard Barnes <rlb@ipv.sx>, "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] ACME signature mechanics
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Automated Certificate Management Environment <acme.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/acme>, <mailto:acme-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/acme/>
List-Post: <mailto:acme@ietf.org>
List-Help: <mailto:acme-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/acme>, <mailto:acme-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Dec 2014 16:38:53 -0000

On 2014-12-17 17:05, Nico Williams wrote:
> On Wed, Dec 17, 2014 at 11:07:16AM +0100, Anders Rundgren wrote:
>> FWIW, it seems that Python can do JCS with floating point data as the
>> (expected) exception:
>
> JSON parsers are not required to preserve number form.

Correct.  That's hardly a problem since many real-world JSON-using applications
must anyway "emulate" missing JS number features like big decimals for money
and certificate serial numbers for PKI:
https://openkeystore.googlecode.com/svn/resources/trunk/docs/keygen2.html#Data_Types

Anders


>
> Nico
>