Re: [jose] Canonical JSON form
Anders Rundgren <anders.rundgren.net@gmail.com> Sun, 18 November 2018 07:53 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 9879A130E09 for <jose@ietfa.amsl.com>; Sat, 17 Nov 2018 23:53:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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_NONE=-0.0001, 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 jYtnRF_YOb4W for <jose@ietfa.amsl.com>; Sat, 17 Nov 2018 23:53:54 -0800 (PST)
Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (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 9951612F1AC for <jose@ietf.org>; Sat, 17 Nov 2018 23:53:53 -0800 (PST)
Received: by mail-wr1-x435.google.com with SMTP id u5-v6so23512666wrn.9 for <jose@ietf.org>; Sat, 17 Nov 2018 23:53:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=FnN28ajLiy3kZx914l3qFZJ7mEWL0ZwFCyBQBbLncd0=; b=qIgTos6Ot6+55L2scrhCFHOp9DuDucW2VuTx/gBssSEdrZN6Pm03nlJ5M57DHr/fIn uG92+UmCrtEszoO6EBxOTxrM3qtsq2QqQTesssNTvlWrD3uhoJJEckBYvNdXWk7uR0TL r9/pgKd3pqCHDciKNSSmh7b1rzkh1o0AOgRYy9u0RY2rwXepZ6g5yWaul/GMIXkMVM71 TNyXKjpub/X5LhTh06FeVAbYAUCwTSvKDlz5KRYvk/eBjiU+UxBn9j94MlkObe7X+HM0 nwTJ7sIr69jrjHaa4+suGpraZPlC94nw10ru5OQtdBI1a4rUQIw23dMWvu7YTmCXc1tN OSWg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=FnN28ajLiy3kZx914l3qFZJ7mEWL0ZwFCyBQBbLncd0=; b=OXJQnXSBHB2oFw0B8BvoupcCN9VWG01fHntVtn/UeDeej62zwyxWDRlaX3zZDkEVGC eTt/1IlyHbihUAM8SK6NnVDiMrMW+zRSnxEWoQhOS00JUHHIUakxPmXZYoDRI0AZUvhy ABl+tFngMwLHRCG3aFs9Fg0v8sBHO0lydtNZX6WSpJ+NfHpxrow3alyAmKHzy+TNWVsx T4L7KC6Fpviy6u34QZMjvVPp9C8P/INAFAx5b4+rFvkRdJ03p3/6E93NcaBGO7FMiBiZ bTd4Y7EM2SXROqg/cXP6l9pfL3u3M20RjnU6mhlR7HQXsbIowZ2bKIiTbRhrUh6uhE8O pDiQ==
X-Gm-Message-State: AGRZ1gLJfoqxlfIg9oaayMgWMG1EncOhsvJMtpuEDxaG8J+Hcz+yWc38 q9m1LTUUMrHHzojA2cMezu0P87cK
X-Google-Smtp-Source: AJdET5d+JTdI50O+K02qepoC0UvhfXSRsRUlEiTjXm6pS/KtSPCMgPjJgDd5h7yWfZEDMAxmlNdtpg==
X-Received: by 2002:a5d:6105:: with SMTP id v5mr14142466wrt.63.1542527631528; Sat, 17 Nov 2018 23:53:51 -0800 (PST)
Received: from [192.168.1.79] (25.131.146.77.rev.sfr.net. [77.146.131.25]) by smtp.googlemail.com with ESMTPSA id t4sm14819610wrm.6.2018.11.17.23.53.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Nov 2018 23:53:50 -0800 (PST)
To: Carsten Bormann <cabo@tzi.org>
Cc: jose@ietf.org
References: <12DD2F97-80C3-4606-9C6B-03F7A4BF19DE@gmail.com> <CAOASepNX4aYVmPWXyODn0E2Om_rimACPECqJBvZSOXVVd_p8LA@mail.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>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
Message-ID: <434fbdb6-0202-5a02-4cec-9332fbbe548c@gmail.com>
Date: Sun, 18 Nov 2018 08:53:49 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0
MIME-Version: 1.0
In-Reply-To: <A37D69B1-6B77-4E11-8BB9-A0209C77752C@tzi.org>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/jose/ZvYPDUS1zbWejF1tDCQR-CGE-9s>
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: Sun, 18 Nov 2018 07:53:55 -0000
On 2018-10-11 21:03, Carsten Bormann wrote: > On Oct 11, 2018, at 20:23, Phil Hunt <phil.hunt@oracle.com> wrote: >> >> I am not sure of the value of canonicalization. I prefer bytestream encoding style where the original content goes with the signature. > > I’m afraid a lot of people are sitting in front of their screens silently agreeing, but not typing anything because their hands are tied up in an interminable facepalm. Those who are not stuck in an a ever-lasting facepalm may not be entirely comfortable with signature schemes that completely change the structure of signed messages. COSE do this as well? Well, you can of course add artificial unsigned layers (like the TEEP folks do), but that smells "workaround" rather than solution. thanx, Anders > > So, for the record: > To the people asking for a c14n solution for signature: If you want XMLDSig, you know where to find it. > The basic approach of having humongous XML documents that get signatures added to themselves as part of the document only makes sense in certain processing models that went out of favor with XML. > JOSE does the right thing for more modern applications. > > I’m not opposed to doing some “c14n” work on serialization schemes — deterministic serialization has other applications than just XMLDSig. > That would be work for a JSONbis WG (but I fear the interest level among JSON experts will be low). > I definitely do not like giving the message that c14n-based signatures are the new thing that will replace doing the right thing (JOSE, that is). > > Grüße, Carsten > > _______________________________________________ > jose mailing list > jose@ietf.org > https://www.ietf.org/mailman/listinfo/jose >
- [jose] Canonical JSON form Bret Jordan
- Re: [jose] Canonical JSON form Nathaniel McCallum
- Re: [jose] Canonical JSON form Bret Jordan
- Re: [jose] Canonical JSON form Nathaniel McCallum
- Re: [jose] Canonical JSON form Bret Jordan
- Re: [jose] Canonical JSON form Jim Schaad
- Re: [jose] Canonical JSON form Jim Schaad
- Re: [jose] Canonical JSON form Bret Jordan
- Re: [jose] Canonical JSON form Bret Jordan
- Re: [jose] Canonical JSON form Manger, James
- Re: [jose] Canonical JSON form David Waite
- Re: [jose] Canonical JSON form Kathleen Moriarty
- Re: [jose] Canonical JSON form Neil Madden
- Re: [jose] Canonical JSON form Samuel Erdtman
- Re: [jose] Canonical JSON form Bret Jordan
- Re: [jose] Canonical JSON form Bret Jordan
- Re: [jose] Canonical JSON form Bret Jordan
- Re: [jose] Canonical JSON form Bret Jordan
- Re: [jose] Canonical JSON form Sergey Beryozkin
- Re: [jose] Canonical JSON form Kathleen Moriarty
- Re: [jose] Canonical JSON form Phil Hunt
- Re: [jose] Canonical JSON form Carsten Bormann
- Re: [jose] Canonical JSON form Axel.Nennker
- Re: [jose] Canonical JSON form Anders Rundgren
- Re: [jose] Canonical JSON form Bret Jordan
- Re: [jose] Canonical JSON form Carsten Bormann
- Re: [jose] Canonical JSON form Tim Bray
- Re: [jose] Canonical JSON form Bret Jordan
- Re: [jose] Canonical JSON form Carsten Bormann
- Re: [jose] Canonical JSON form Anders Rundgren
- Re: [jose] Canonical JSON form Bret Jordan
- Re: [jose] Canonical JSON form Jim Schaad
- Re: [jose] Canonical JSON form Anders Rundgren
- Re: [jose] Canonical JSON form Bret Jordan
- Re: [jose] Canonical JSON form Anders Rundgren
- Re: [jose] Canonical JSON form Bret Jordan
- Re: [jose] Canonical JSON form David Waite
- Re: [jose] Canonical JSON form Anders Rundgren
- Re: [jose] Canonical JSON form Carsten Bormann
- Re: [jose] Canonical JSON form Samuel Erdtman
- Re: [jose] Canonical JSON form Bret Jordan
- Re: [jose] Canonical JSON form Anders Rundgren
- Re: [jose] Canonical JSON form Tim Bray
- Re: [jose] Canonical JSON form Jim Schaad
- Re: [jose] Canonical JSON form Anders Rundgren
- Re: [jose] Canonical JSON form Bret Jordan
- Re: [jose] Canonical JSON form Samuel Erdtman
- Re: [jose] Canonical JSON form Anders Rundgren
- Re: [jose] Canonical JSON form Jim Schaad
- Re: [jose] Canonical JSON form Carsten Bormann
- Re: [jose] Canonical JSON form Anders Rundgren
- Re: [jose] Canonical JSON form Anders Rundgren
- Re: [jose] Canonical JSON form David Waite
- Re: [jose] Canonical JSON form Bret Jordan
- Re: [jose] Canonical JSON form Anders Rundgren
- [jose] JWS Counter Signatures Anders Rundgren
- Re: [jose] Canonical JSON form Bret Jordan
- Re: [jose] JWS Counter Signatures Bret Jordan
- Re: [jose] JWS Counter Signatures Jim Schaad
- Re: [jose] JWS Counter Signatures Anders Rundgren
- Re: [jose] JWS Counter Signatures Bret Jordan
- Re: [jose] JWS Counter Signatures Nat Sakimura
- Re: [jose] JWS Counter Signatures Bret Jordan
- Re: [jose] JWS Counter Signatures Carsten Bormann
- Re: [jose] JWS Counter Signatures Phil Hunt
- Re: [jose] JWS Counter Signatures Benjamin Kaduk
- Re: [jose] Canonical JSON form Anders Rundgren
- Re: [jose] Canonical JSON form Bret Jordan