Re: [dispatch] PING2. Re: JSON Canonicalization Standard

Brian Campbell <> Fri, 07 September 2018 20:40 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 8768B12F18C for <>; Fri, 7 Sep 2018 13:40:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2
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, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id xHwrPmOe1bZm for <>; Fri, 7 Sep 2018 13:40:42 -0700 (PDT)
Received: from ( [IPv6:2607:f8b0:4864:20::d30]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id CCF09128C65 for <>; Fri, 7 Sep 2018 13:40:42 -0700 (PDT)
Received: by with SMTP id e12-v6so2540718iok.12 for <>; Fri, 07 Sep 2018 13:40:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gmail; h=mime-version:from:date:message-id:subject:to:cc; bh=EZeFxRnzJMeKASPhXX6YgHwqDprqx0iVVXZe8umjavU=; b=LfMERwFTmZWoeOGoyM3VYKImliVqQazWGBe/aJrecR/+Z1wl0ovCJAzldOjLg/owl6 7cLNiLeZthroaGMRY8Zhay3qADoQbUzPZp3XUESuzWvZEvDefgu7dxloD4/8/F3/I5PK a42EW3N7Q1BZxhfg2aCvVT4fAR5PcOEpIgj+k=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=EZeFxRnzJMeKASPhXX6YgHwqDprqx0iVVXZe8umjavU=; b=CnMm7sX47jTlfInRhaxc0f28+635MhjmcYR7HQufQNskdXHmPVy3PvMfym7yytFCwV 9Zr1FNQZNtAm2vqhPrM44D26Dnah4eMTtfSPOjEnRDXtTbOz3fWrsnUjxjX5JmKQCr2i CRSiIfdLzf3XlQDF/lhc330+8tFCdhfdt+lmSquWm84JDxa/gMwLdaWkkwiwxu7p5Tpb GEMF/awbr4CPOOIwcal3qj5jIJAS2amAQllKZlNnpC8XgDqNq2+Jxo7WQCIDQZCr04D2 jeMGPq5D9/kBZ8Pz4Ex/8rf45oo0HVcIfFHObOju9s0p/XE4JTn4ADstXk4jUprXCSd3 LvOA==
X-Gm-Message-State: APzg51DJIK5aT+6RApwAwQ4HdhUxFICcoFigg4nWz/A0rfPhQxWNgvdX 5UzT4NY5cVrfeUVopN7JEa0LoPD8znvGlksm53kH0/oicC2fBhuEZP7CSPDh/2IxWksExTNz4WX jt0CgQA7dvRY4cMwPtw==
X-Google-Smtp-Source: ANB0Vda7fPUqCo+/uwKXYYLXHYLsJ5Bz/qr0ifebbP7uWXvaDOFTvj+TqTGs6jhb3TU12EpcFE0C4U0rGcoL6kBR5m8=
X-Received: by 2002:a6b:294b:: with SMTP id p72-v6mr7379486iop.17.1536352842002; Fri, 07 Sep 2018 13:40:42 -0700 (PDT)
MIME-Version: 1.0
From: Brian Campbell <>
Date: Fri, 07 Sep 2018 14:40:16 -0600
Message-ID: <>
To: Anders Rundgren <>,
Cc: Eric Rescorla <>, Ben Campbell <>
Content-Type: multipart/alternative; boundary="00000000000065ced905754e051e"
Archived-At: <>
Subject: Re: [dispatch] PING2. Re: JSON Canonicalization Standard
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DISPATCH Working Group Mail List <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Fri, 07 Sep 2018 20:40:45 -0000

XML Canonicalization and Signatures are notoriously brittle and difficult
to get right while also being the source of numerous serious security
vulnerabilities.  The JSON case is maybe simpler and thus somewhat less
prone to the same issues but, if history is any guide, it's really hard to
get right and is fertile ground for all kinds of attacks.

> JCS is quite similar to its XML counterpart, albeit much simpler. Signed
> XML data never needed to be Base64 encoded.

_CONFIDENTIALITY NOTICE: This email may contain confidential and privileged 
material for the sole use of the intended recipient(s). Any review, use, 
distribution or disclosure by others is strictly prohibited.  If you have 
received this communication in error, please notify the sender immediately 
by e-mail and delete the message and any file attachments from your 
computer. Thank you._