Re: [Gen-art] /.well-known placed below the URI local-part root

Nico Williams <nico@cryptonector.com> Fri, 01 May 2020 01:36 UTC

Return-Path: <nico@cryptonector.com>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5CF6B3A07E9 for <gen-art@ietfa.amsl.com>; Thu, 30 Apr 2020 18:36:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.919
X-Spam-Level:
X-Spam-Status: No, score=-2.919 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, RCVD_IN_MSPIKE_H2=-0.82, 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 (1024-bit key) header.d=cryptonector.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 gDDIqtAT8lPp for <gen-art@ietfa.amsl.com>; Thu, 30 Apr 2020 18:36:03 -0700 (PDT)
Received: from caracal.birch.relay.mailchannels.net (caracal.birch.relay.mailchannels.net [23.83.209.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0CA953A07E7 for <gen-art@ietf.org>; Thu, 30 Apr 2020 18:36:02 -0700 (PDT)
X-Sender-Id: dreamhost|x-authsender|nico@cryptonector.com
Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 16BC43213EA; Fri, 1 May 2020 01:36:02 +0000 (UTC)
Received: from pdx1-sub0-mail-a45.g.dreamhost.com (100-96-14-13.trex.outbound.svc.cluster.local [100.96.14.13]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 5B657321393; Fri, 1 May 2020 01:36:01 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|nico@cryptonector.com
Received: from pdx1-sub0-mail-a45.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.6); Fri, 01 May 2020 01:36:02 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|nico@cryptonector.com
X-MailChannels-Auth-Id: dreamhost
X-Trail-Company: 34d527af579e5837_1588296961848_4070424512
X-MC-Loop-Signature: 1588296961848:2901609615
X-MC-Ingress-Time: 1588296961848
Received: from pdx1-sub0-mail-a45.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a45.g.dreamhost.com (Postfix) with ESMTP id 1E1A4808F5; Thu, 30 Apr 2020 18:36:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=LXfA9f3T5Loy2F stedewIwYplFg=; b=VDZ1SBHwN1+H+8piqLidwQRWCkiALrr7Yd/xx8cgnMeWsc 80T75qB3xVB0/Ar/ITDVHjpcIkCHo9JH1Y13XEjsGDsc0aC7qk4p2w/E13sEmjfp Pz2bwEylA7xR1zS+fPOLvX43d/xCXIM8ByCEXHTrBaKyIc3nmU304JP8y1ubg=
Received: from localhost (unknown [24.28.108.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by pdx1-sub0-mail-a45.g.dreamhost.com (Postfix) with ESMTPSA id 0FCA78085F; Thu, 30 Apr 2020 18:35:59 -0700 (PDT)
Date: Thu, 30 Apr 2020 20:35:57 -0500
X-DH-BACKEND: pdx1-sub0-mail-a45
From: Nico Williams <nico@cryptonector.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: gen-art@ietf.org
Message-ID: <20200501013555.GH18021@localhost>
References: <20200430194204.GE18021@localhost> <48CA6847-A820-4028-9E6E-766FF39A85B1@mnot.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <48CA6847-A820-4028-9E6E-766FF39A85B1@mnot.net>
User-Agent: Mutt/1.9.4 (2018-02-28)
X-VR-OUT-STATUS: OK
X-VR-OUT-SCORE: -100
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduhedrieeigdegiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvuffkfhggtggujggfsehttdertddtredvnecuhfhrohhmpefpihgtohcuhghilhhlihgrmhhsuceonhhitghosegtrhihphhtohhnvggtthhorhdrtghomheqnecuggftrfgrthhtvghrnhepjeeltdejjeffjedtfeduhfegudduvdegudekvdeltdehvdffvddvudfhveffveeunecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepvdegrddvkedruddtkedrudekfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehlohgtrghlhhhoshhtpdhinhgvthepvdegrddvkedruddtkedrudekfedprhgvthhurhhnqdhprghthheppfhitghoucghihhllhhirghmshcuoehnihgtohestghrhihpthhonhgvtghtohhrrdgtohhmqedpmhgrihhlfhhrohhmpehnihgtohestghrhihpthhonhgvtghtohhrrdgtohhmpdhnrhgtphhtthhopehnihgtohestghrhihpthhonhgvtghtohhrrdgtohhm
Archived-At: <https://mailarchive.ietf.org/arch/msg/gen-art/w6Kq5jE1x4v4Lxae2GRxl86qTy8>
Subject: Re: [Gen-art] /.well-known placed below the URI local-part root
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/gen-art/>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 May 2020 01:36:07 -0000

On Fri, May 01, 2020 at 09:32:27AM +1000, Mark Nottingham wrote:
> (a) (b) Appendix A already talks about it some:
> 
> """
>    Why aren't per-directory well-known locations defined?
>       Allowing every URI path segment to have a well-known location
>       (e.g., "/images/.well-known/") would increase the risks of
>       colliding with a preexisting URI on a site, and generally these
>       solutions are found not to scale well because they're too
>       "chatty".
> """
> 
> We could say more in the spec proper, I suppose.

The more to say really is to have some examples showing how to do the
multi-tenancy thing.

I mean, it's obvious -- it's obvious to me anyways.

But evidently it's not actually that obvious.  At least one person I've
spoken to thought the text in section 3 of RFC 8615 does allow use below
the root, and I can see how such a misunderstanding can happen: "each
app has its own root, no?".  Because, yes, if you think about "mounting
an app" on the URI local-part "filesystem", then "each app has its own
root" makes sense.

> (c) seems like a good pattern to recommend for people who really want
> to scratch this itch -- although I suspect some will complain that
> it's hard to maintain the linkages (it's not really, they just need a
> competent sysadmin).

It's not an itch though, more like an accident.  People do this because
they build a service, they put it under /mysvc, then they add
multi-tenancy and don't set up a separate authority for each tenant
because hey, local-part components are cheap.

> (d) is not something I'm keen to do. Just because people have done it
> shouldn't mean that we should give that practice any formal air cover.

+1  (I wrote "possibly" because I'm not keen on it either.)

> (e) The current approach we take is that every registration is
> effectively its own name space; it can do what it likes with
> substructure (including establishing another registry). That gives a
> lot of freedom, but it's caused some confusion (e.g., most recently
> with EST and extensions to it), so some indication of what policy is
> in use would be interesting -- either in the spec, or the registry
> itself. It may be too early or this, but I could see a list of common
> management mechanisms being created for easy reuse.

Well, as you're the Expert Reviewer, maybe you can just start looking
out for this, asking registrants to write a blurb about this in their
specs and user-facing docs.  Maybe that's all that needs to be done for
the moment.

> Question: do you see any of these issues as urgent? .well-known got
> revised relatively recently, so I'd like to collect some more
> feedback/issues before reopening the box, ideally. If they're not
> urgent, would it be OK to just log them as open issues (I use
> <https://github.com/mnot/I-D/labels/well-known>)?

Not urgent.  I think this can be handled by the Expert Reviewer for new
registrations until more changes pile up for RFC 8615.

I've opened https://github.com/mnot/I-D/issues/315

Thanks for the quick reply!

Nico
--