[jose] RFC8225 - JSON Canonicalization & JWS

Anders Rundgren <anders.rundgren.net@gmail.com> Fri, 08 June 2018 08:13 UTC

Return-Path: <anders.rundgren.net@gmail.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 75B1A130E2E; Fri, 8 Jun 2018 01:13:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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_LOW=-0.7, SPF_PASS=-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 p8i1ZTYrqqoD; Fri, 8 Jun 2018 01:13:28 -0700 (PDT)
Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::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 5AF13126DBF; Fri, 8 Jun 2018 01:13:28 -0700 (PDT)
Received: by mail-wm0-x22b.google.com with SMTP id v131-v6so1981132wma.1; Fri, 08 Jun 2018 01:13:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=cE4yCUrp6DCfUzhgdABjY1BrvytddGvgrcXwyruezqQ=; b=WOnhcFLCs407Asv2BG8A1e8kFsCBBIyCPjCL3Q2C8KtHmAKOolJrhoHxO2BVX2ked+ 4l6MGWxaZf258svgzcXGk/shRAN/1FaHJuPFruexWt3IlQaY+29mlwy1kqLPN01Dfa7n LbyOMFh38YzcsxMNqIL8aAN5v6OSDFcgOGUfRbnclLk8UcWYsbqqOnbyW6Jm2XD1KlpF 8VI/pCRt5mZREtvfrrCgOsj9Lur6hnFrw2ETPP05PqLvv61m6IXApGjgZXW5tPd4bEQD wRxrwBHOqYgvp+raSuwE190S505FOYvCpVfwJAk3G0zXIxetOYr/9zeHEZoWzm0qhLDu LGSw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=cE4yCUrp6DCfUzhgdABjY1BrvytddGvgrcXwyruezqQ=; b=TWzuj2fTJsp8h+o3GcPZVRWnw++FsyaAnS9TneO9QW8rlrHaZWo6VhWHFArOAVlzqb 2h/4VrB6C5IwAukuSPG2qnDv8Ls53DFIiwTD4IWfKNXhNh7sLcteGRGa3YxT+08WVfl+ miv5VrdRyDXpcXCEt2NUBYjU9F8Y/zZm9eVKtiNqBZJzs5sEubwNfi1wxTPaiUkdHCab mlshb5/yg1sc3cEre0RJ2gNQ95jSvT/sM/1jUjkExVlYKsOwfIsqUFigZJ4/VgfHhpf+ 4gs+wBfxriLYxLNYz0MMNe77ERjsG3/vNV9cLZ0CMPSV7Q4/+G0gp5uAwTYNHIg1Dn5N PrUw==
X-Gm-Message-State: APt69E2YgVffnh9cPeMK0O+7zYlZm4zUlsfuE/hOQON++41YynEn2iL/ b3fwmzQsjSzq8OaMFIo4qa+cUQ==
X-Google-Smtp-Source: ADUXVKIQ2VO5P15tMo4ifvE4Aff/mj2PTuy2k9Pcr5Tge3GWyQMluQ3a+gRPRa5heKOMjh3Qga8A6Q==
X-Received: by 2002:a1c:4845:: with SMTP id v66-v6mr799953wma.56.1528445606460; Fri, 08 Jun 2018 01:13:26 -0700 (PDT)
Received: from [192.168.1.79] (25.131.146.77.rev.sfr.net. [77.146.131.25]) by smtp.googlemail.com with ESMTPSA id q194-v6sm1222225wmd.26.2018.06.08.01.13.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jun 2018 01:13:25 -0700 (PDT)
To: "json@ietf.org" <json@ietf.org>, "jose@ietf.org" <jose@ietf.org>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
Message-ID: <3f9deea0-4a33-ce63-5117-7e4722edcae0@gmail.com>
Date: Fri, 08 Jun 2018 10:13:24 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/jose/Lc_DQseCgZRuuwvN63OuKjo4hPc>
Subject: [jose] RFC8225 - JSON Canonicalization & JWS
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.26
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: Fri, 08 Jun 2018 08:13:31 -0000

https://tools.ietf.org/html/rfc8225#section-9

Except for numerous omissions (for strings and numbers), the only difference to https://tools.ietf.org/html/draft-rundgren-json-canonicalization-scheme-00 is sorting on Unicode code points versus sorting on UTF16/UCS2 code units.

/Anders