Re: [saag] post-X509 cryptographic identities

Henry Story <henry.story@gmail.com> Fri, 14 February 2020 20:42 UTC

Return-Path: <henry.story@gmail.com>
X-Original-To: saag@ietfa.amsl.com
Delivered-To: saag@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 221C6120B6B for <saag@ietfa.amsl.com>; Fri, 14 Feb 2020 12:42:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.498
X-Spam-Level:
X-Spam-Status: No, score=-0.498 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, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 W9yVT6SU0WIb for <saag@ietfa.amsl.com>; Fri, 14 Feb 2020 12:42:47 -0800 (PST)
Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (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 965C3120B3E for <saag@ietf.org>; Fri, 14 Feb 2020 12:42:47 -0800 (PST)
Received: by mail-wm1-x331.google.com with SMTP id t23so11325593wmi.1 for <saag@ietf.org>; Fri, 14 Feb 2020 12:42:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Zubfu8m5Z6OWOFHAcBhc/eb1xj/19NVGjgQP5W6+9XY=; b=CQZB6aUzJBiiCEtzSRYEMkA/9Fz0HSHvdfeXV2YK6yV4iU7QAZXNQhIrgm4MeXLPjf V9BR9AbCKJ3zC/oEIpXxvniTOLcLD+9pH4w4QOT1oufScjiMoyE+uA8uXm9OcNcmWcqG VGVgPEr6FC43mMsfOS//66N5ok4vD/VX4vGTV0rQAf8+pRHY1BZsi5sl2lIuFjvC/T+a 7aL9gWWi2aaG6A+GLIokaqId4IRYCMnL+NHj4XQgnlGzjF3M23Q//ALzU9G2ImQVq7gM bEzcn//EtPDFWpEF/julw+dzFWZOhI7Nig2+tMV+YnFlyhf3v3YSi0dHjn2vjYXpSyHL TELg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Zubfu8m5Z6OWOFHAcBhc/eb1xj/19NVGjgQP5W6+9XY=; b=l1DsP/lcn+rO0NVKyl7OSEueR2+OLG4HyxNOC1wkR7cM9fB66oIz8Z8gXevCrHicwr geo9nXtI24rQBjKBiUlhT4sH2/bhxEG6KYA6FVy0FwH2n9Frp9S2eSZ6W2dtpsika5sy gNb0gih+tfWDOvQIuwxRetfjzmxB0iYuT/UPSMQOE/kBGGhnA0KeEIk/YdilrBwsnfxj Znf4QHIGvSZ8Y9HdjzQ4h/E8UAzsMzDTqbyLOjlmkAyzBPCgFJZylS5wBp8simvRJ7g4 UKHmd5vXlOMGHGTmg2fZYYxnXf4U0d7QwAONIPB+ZDjL9eezbKZBiWiw6vv0NpHPCCCc wO+g==
X-Gm-Message-State: APjAAAUQpr7cTMRCzP70QrdLTTftQmVOC9kBBQ+SV3QLKHUVNPRRtrTd V6fIfBzWXqanJJ0yTOmg2Lhai05ljjw=
X-Google-Smtp-Source: APXvYqyCOPanyXxrioUlUc2xRjuqMY2/hSlV3S7F8gmJpadz4xgzfNo4LR9edh/fPRPC0yVW5cKlow==
X-Received: by 2002:a1c:a9c3:: with SMTP id s186mr6157651wme.64.1581712966116; Fri, 14 Feb 2020 12:42:46 -0800 (PST)
Received: from [10.1.3.149] (ipb218ec32.dynamic.kabel-deutschland.de. [178.24.236.50]) by smtp.gmail.com with ESMTPSA id m21sm8496732wmi.27.2020.02.14.12.42.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Feb 2020 12:42:45 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\))
From: Henry Story <henry.story@gmail.com>
In-Reply-To: <CAMm+LwhAXWbVL=j3Cek_Sf9eK-aKsQgZ+Gsh55nP3nvur_JSEQ@mail.gmail.com>
Date: Fri, 14 Feb 2020 21:42:44 +0100
Cc: IETF SAAG <saag@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <CB2A6E0B-E48D-4C1B-9F85-BA6A93963ED6@gmail.com>
References: <26497.1581418516@dooku> <20200212002125.GO18021@localhost> <alpine.DEB.2.20.2002131443470.25433@grey.csi.cam.ac.uk> <20200213171324.GP18021@localhost> <d3d01f1f-5784-da84-1c59-e636d349bd2a@netmagic.com> <20200213175626.GR18021@localhost> <65357327-e2d7-89cc-221e-ed8ac2875048@netmagic.com> <A91F5BD6-BFBA-4BA7-9158-3F41A8F0F7D9@gmail.com> <20200213191952.GS18021@localhost> <9FEBBD2A-3578-436A-92E3-192CADC9FA8B@gmail.com> <20200213205158.GT18021@localhost> <CAMm+LwhAXWbVL=j3Cek_Sf9eK-aKsQgZ+Gsh55nP3nvur_JSEQ@mail.gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
X-Mailer: Apple Mail (2.3608.60.0.2.5)
Archived-At: <https://mailarchive.ietf.org/arch/msg/saag/46LcE4bAtiAd_zfpC2NSI31eGZs>
Subject: Re: [saag] post-X509 cryptographic identities
X-BeenThere: saag@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Security Area Advisory Group <saag.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/saag>, <mailto:saag-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/saag/>
List-Post: <mailto:saag@ietf.org>
List-Help: <mailto:saag-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/saag>, <mailto:saag-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Feb 2020 20:42:54 -0000


> On 14 Feb 2020, at 20:44, Phillip Hallam-Baker <phill@hallambaker.com> wrote:
> 
> Syntax is the least important part of PKI but it is a part of the puzzle. Why oh why do people think canonicalization is relevant? If you want to be able to verify a signature, you have to keep the original bits that were signed. End of story.

The way to make syntax unimportant is to work on the semantic level. That is
in a way what the Semantic Web does by starting from naming, and leaving syntax decisions open, allowing multiple ones: RDF/XML, JSON-LD, Turtle, NTriples, Binary RDF, CSV …

But once one moves away from syntax it then becomes very important
to canonicalize data, exactly so as to move away from being tied to syntax.
A Canoncicalisation of a data then allows one even to discard the original
bytes, if one does not wish to keep to versions of everything around.

See 
  https://json-ld.github.io/normalization/spec/
and it’s use for signatures
  https://w3c-dvcg.github.io/ld-signatures/