Re: [Anima] Adam Roach's Discuss on draft-ietf-anima-bootstrapping-keyinfra-22: (with DISCUSS and COMMENT)

Ted Hardie <ted.ietf@gmail.com> Thu, 11 July 2019 20:53 UTC

Return-Path: <ted.ietf@gmail.com>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9081E120043; Thu, 11 Jul 2019 13:53:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.701
X-Spam-Level:
X-Spam-Status: No, score=-0.701 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, HTML_MESSAGE=0.001, PDS_NO_HELO_DNS=1.295, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, WEIRD_PORT=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 r4_uIhVW-cSM; Thu, 11 Jul 2019 13:53:18 -0700 (PDT)
Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (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 C470E12000F; Thu, 11 Jul 2019 13:53:18 -0700 (PDT)
Received: by mail-io1-xd2c.google.com with SMTP id k8so15715030iot.1; Thu, 11 Jul 2019 13:53:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=d0hguIRoBWDT6WoHShAqxlk/pUv3oCVVdZxEqpiBisI=; b=f1EOs/gy52ZhtQJ8jvNdL1Vpo1R9YkPs5ZKaHZvoh9YrHSATxeI2xaHvYMyCv0DG74 gjGD4phTRTYCpp6B02G00WEVRaWQGLT5DBM/wcuBuF70XQra74kpK5qtewA7udin7d5n TfgjYZY1XRUaHvgXIL5jz96lUMwC/xd1hjTVTLskpC+wPoI+gmKAEBkAAab3twgzVglU MS0cfLgFu+fBzY9UADyuZKwVKagXveYlO/lIE1H3OywVbAFSaDNxGQrwOzy56ALr16uE 2GMBFv9xBrHSeI7BGJucGqSZvcrOBZvRzrkxVaFPgTeJu1oI68o8tsEqgJrLaiRObKbe K1yg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=d0hguIRoBWDT6WoHShAqxlk/pUv3oCVVdZxEqpiBisI=; b=i37Ozn9q87h+h7rsaz8O5t++MZ1PrHWdvVlyAC6UKKSZ6S8QNsBSF/9F+jEGwUW4rv gyQLFxUmc+I73JaCTEVJF2vzHg25+rINB13847AFIr0VL3pzq4gckp9BrH9cX8pv+F5H BbYJQANrbAbdSUk9qJrxML9PRVqUHzEUfbnWnoEq/iF5EN9HTzIXiOuX8zyIGhkER27u TZNHdxooLMMds0tKQTc5ORRHnq1gH/6RhKD2gDUWFuw8on+QShy7J/CMgUa0us9Tm74S aUIKRF2rEtY6vBzG/o5L8K9Chm5qZoNmtIO2SwjcEPJU7pdrinCHBaDBBqbeqVLfHqvJ ExBQ==
X-Gm-Message-State: APjAAAXR2VjB0nhLvOyyuGfgyw1Tlf34EqgX0Xf8vKiA8LcQBLVaJg0U PQJ6R22X3Uevjr+bCUAHS5qkRPRYR8K4d6LH6/8=
X-Google-Smtp-Source: APXvYqyPOvK0lPrKIQVhZHdzpssbGQYTiH/OeITWZfpHcceoszsykjpJA22DdBTYFx88auGY78d0BdgXhUUWVYkDM9Y=
X-Received: by 2002:a5d:9e49:: with SMTP id i9mr5056012ioi.290.1562878397841; Thu, 11 Jul 2019 13:53:17 -0700 (PDT)
MIME-Version: 1.0
References: <156282703648.15280.17739830959261983790.idtracker@ietfa.amsl.com> <19180.1562875321@localhost>
In-Reply-To: <19180.1562875321@localhost>
From: Ted Hardie <ted.ietf@gmail.com>
Date: Thu, 11 Jul 2019 13:52:51 -0700
Message-ID: <CA+9kkMA0U5rKi_1NBg-0riK2Xsty2bc=itfqSD91zz1bcB6g_g@mail.gmail.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: Adam Roach <adam@nostrum.com>, draft-ietf-anima-bootstrapping-keyinfra@ietf.org, Toerless Eckert <tte+ietf@cs.fau.de>, anima@ietf.org, The IESG <iesg@ietf.org>, anima-chairs@ietf.org
Content-Type: multipart/alternative; boundary="000000000000bb0822058d6dfb7c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/MtwDYqiKnL9886K38ZwN6b6f6iA>
Subject: Re: [Anima] Adam Roach's Discuss on draft-ietf-anima-bootstrapping-keyinfra-22: (with DISCUSS and COMMENT)
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima>, <mailto:anima-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima/>
List-Post: <mailto:anima@ietf.org>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima>, <mailto:anima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Jul 2019 20:53:22 -0000

Howdy,

On Thu, Jul 11, 2019 at 1:02 PM Michael Richardson <mcr+ietf@sandelman.ca>
wrote:

>
> Adam Roach via Datatracker <noreply@ietf.org> wrote:
>     > §5:
>
>     >> MASA URI is "https://" iauthority "/.well-known/est".
>
>     > This doesn't make sense: iauthority is a component of IRIs, not of
> URIs. In
>     > URIs this is simply an "authority." It's not simply a terminology
> distinction:
>     > converting from an iauthority to an authority requires idna
> encoding. Please
>     > consult with an IRI expert (which I do not consider myself to be) to
> work out
>     > the proper terminology and procedures here.  If you need help
> finding an
>     > expert, please let me know and I'll track someone down for you.
>
> okay, this one is my fault.
> I agree, we should have consulted an expert.  I thought I was being clever.
> Please, can you find us an expert, if you think we should go this
> direction.
>
> I thought IRIs were supersets of URIs, and that all URIs were IRIs, and the
> only reason to RFC3987 instead of RFC3986 is because one might have legacy
> systems that couldn't handle idna.  Since I thought we had a greenfield
> here,
> I figured we could specify the superset.
>
> It is correct that all IRIs are URIs, but the core purpose of the IRI was
to be a presentation format.  The presumption was that you turn it into
wire-format (that is a URI) whenever you passed it to the protocol
machinery that were going to retrieve a resource or take some other action
over the network.  For something that is already a URI, this is a null
transform.  For everything else, there's a set of steps in 3987, which
includes ToASCII for ireg-name components which are domain names.

I would personally not suggest using IRIs here, given that the scheme
(https) is expected to retrieve a resource at a well-known location and
thus will always have to be mapped to a URI to do the retrieval (rather
than used in a string comparison or something similar) .   RFC 5280, which
this cites, actually goes through the steps pretty well, and I think the
complexity there demonstrates the advantage for constrained devices of
always using the URI form.

Just a personal opinion, obviously, and I also would not class myself as an
expert here.

Ted


> I can easily make this "authority" and RFC3986.
> Please advise.
>
> Some background: this text is slightly new, and is the result of interop
> failures.   I had placed "https://example.com/" in the certificate, while
> another implementer placed "example.com:9443/.well-known/est" in,
> assuming that
> "https:" was naturally implied.
>
> So, we disagreed what the base was, and we then agreed that there were
> sometimes reasons to include the the entire URL, but that less is better.
> We then looked for what the term for the "hostname:port" part was, and
> found 3986 and 3987.
>
> --
> ]               Never tell me the odds!                 | ipv6 mesh
> networks [
> ]   Michael Richardson, Sandelman Software Works        |    IoT
> architect   [
> ]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on
> rails    [
>
>
>
>
>
> --
> Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
>  -= IPv6 IoT consulting =-
>
>
>
>