[jose] Beyond RFC 8785 (JSON Canonicalization Scheme)

Anders Rundgren <anders.rundgren.net@gmail.com> Fri, 10 July 2020 18:41 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 BED683A082B for <jose@ietfa.amsl.com>; Fri, 10 Jul 2020 11:41:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, 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 aVutNFRRlT74 for <jose@ietfa.amsl.com>; Fri, 10 Jul 2020 11:41:03 -0700 (PDT)
Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (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 1A3D13A0828 for <jose@ietf.org>; Fri, 10 Jul 2020 11:41:03 -0700 (PDT)
Received: by mail-ed1-x533.google.com with SMTP id n2so5411313edr.5 for <jose@ietf.org>; Fri, 10 Jul 2020 11:41:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=qCLfpylyk+Rd9xWU+3fr+BH1wv6XpKkwdfucTeq2CcQ=; b=RnKRNWSXnetv1cby0mdyc6PbpurqiagVuKzaqHrh8s8aicGnyimLS9G+b3zlzvw5ka hkYnikmYo+k0dxh1QNl4ugC3U83X65LzQVpzIfD7b7GUd7xCN3sqSEKBqQFi41abfHuQ 4A1uXNqII0D4jSxf9OPfQpKFKRYZwqpzP3idbPBVq5mLNXfcVdgim44vV1F6hQKy3oN1 2pfgPkpz1alcu2WnN76ysS7X7jhoxbzbXsUDQYNzlHfoLOOCt757+PzueZaV4ffkxuLL rkgjc8l5WJ6DFn4BO/l1x5/usBl0PeDlhnnQndII26fMD4SlXNHA/qxmho1f1jK79Npl 24CA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=qCLfpylyk+Rd9xWU+3fr+BH1wv6XpKkwdfucTeq2CcQ=; b=Rc/T9A0y6OHqnm7YLuNeopvpAjqLyKAC8a8n1/4pgWmkOJ16gkeBhdswxIxMeTqbhL vQXMPAbzwx+M9EldwwRgHgSiU72k3z+XS6Ykd0FAmarLcfOOHmAMJKSj6RERAUvHl8tZ 511QNS4Hukuf/3FdBd0KcvO14dkQjP0a6NcFYSvb6jclsBUHKqFhDmpOKDC94N0ke4Fq 7USkXUvYU9PEcPDqprm46eZMdZdEsr7UjjVQRVuQnT5q/7Tx8jGH7iaH9vSx6IQAdjyg YotnCBmtAt0S5F8CI0kqHHzX6Q36FIGwBG8UkGuneL1KFaghckZzpcNXsqFiDA4CfsbR 98rw==
X-Gm-Message-State: AOAM5319ZURHciJZUfwvyA3VfmgrZVeqMxUDoTVK0BXufnvEHh6Dkwn7 ZKD06oXCHjcQF92Hbwv575L0fpmFqhU=
X-Google-Smtp-Source: ABdhPJzfiwd6ug+k+rM3p4LJR/aBXpu9qV4NdWKGuKjGcbtu2Lt+Sqw+4jZhgsRM3VQfDiEPIKtDJg==
X-Received: by 2002:aa7:c2cf:: with SMTP id m15mr52850660edp.27.1594406461209; Fri, 10 Jul 2020 11:41:01 -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 fi29sm4066308ejb.83.2020.07.10.11.41.00 for <jose@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Jul 2020 11:41:00 -0700 (PDT)
From: Anders Rundgren <anders.rundgren.net@gmail.com>
To: "jose@ietf.org" <jose@ietf.org>
References: <715bce33-a744-5a97-8c6b-c7d2b27510f2@gmail.com>
Message-ID: <f7a37b5e-6597-5e5d-9dca-1b1fb24da820@gmail.com>
Date: Fri, 10 Jul 2020 20:40:42 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <715bce33-a744-5a97-8c6b-c7d2b27510f2@gmail.com>
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/jose/GV7gcNtYVNKSlYfvHbXVVgDCJ2I>
Subject: [jose] Beyond RFC 8785 (JSON Canonicalization Scheme)
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: Fri, 10 Jul 2020 18:41:05 -0000

After virtually eons of time https://www.rfc-editor.org/rfc/rfc8785 has finally been published.
It wouldn't have happened without the input from the IETF community!

Since canonicalization in itself is fairly useless, there are several additional work-items building on JCS (RFC 8785) in the pipe-line:

On-line demo/test using JWS: https://mobilepki.org/jws-jcs
On-line demo/test using an "unwrapped" JWS called JSON Signature Format (JSF): https://mobilepki.org/jsf-lab

A real-world implementation by OWASP using JSF: https://cyclonedx.org/use-cases/#authenticity

There is also an "unwrapped" JWE called JSON Encryption Format (JEF), currently published as an HTML document: https://cyberphone.github.io/doc/security/jef.html

If anybody out there would be interested in "RFC-ing" JWS-JCS, JSF, or JEF, please drop me a line.

The current plan is publishing the additional RFCs using the Independent Stream, rather than as IETF standards.

Anders