Re: [rtcweb] Security-arch IdP determination issue/DISCUSS

Cullen Jennings <fluffy@iii.ca> Fri, 19 April 2019 00:38 UTC

Return-Path: <fluffy@iii.ca>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 034BD120251 for <rtcweb@ietfa.amsl.com>; Thu, 18 Apr 2019 17:38:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=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 (1024-bit key) header.d=g001.emailsrvr.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 s78z9guB5F_Y for <rtcweb@ietfa.amsl.com>; Thu, 18 Apr 2019 17:38:16 -0700 (PDT)
Received: from smtp97.ord1d.emailsrvr.com (smtp97.ord1d.emailsrvr.com [184.106.54.97]) (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 B99CB12024C for <rtcweb@ietf.org>; Thu, 18 Apr 2019 17:38:16 -0700 (PDT)
Received: from smtp13.relay.ord1d.emailsrvr.com (localhost [127.0.0.1]) by smtp13.relay.ord1d.emailsrvr.com (SMTP Server) with ESMTP id 13A7CC018C; Thu, 18 Apr 2019 20:38:16 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=g001.emailsrvr.com; s=20190322-9u7zjiwi; t=1555634296; bh=x8Dn31rKoeMzKkT5e+RGM0157LWy8Xh4HMhWy0b44Ck=; h=Subject:From:Date:To:From; b=s8xsdDjgt7zKOw5Ms7rv1+E93iU/YaDXLJdwCjiJ8VOOt+VDy1lR+0RpPf/aTD+Ba 7/QbFJQRK7MKSYlv5/3OU/kljOb295I7mWsQEKZMbM52FRvsnJKj5J3Cj3peQKMWxf GxAB8qYNAq3XTsMQcwPdnvHQwfcn13GsdBMJvQr8=
X-Auth-ID: fluffy@iii.ca
Received: by smtp13.relay.ord1d.emailsrvr.com (Authenticated sender: fluffy-AT-iii.ca) with ESMTPSA id 922EFC0180; Thu, 18 Apr 2019 20:38:15 -0400 (EDT)
X-Sender-Id: fluffy@iii.ca
Received: from [10.1.3.91] (S0106004268479ae3.cg.shawcable.net [70.77.44.153]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:25 (trex/5.7.12); Thu, 18 Apr 2019 20:38:15 -0400
Content-Type: multipart/alternative; boundary="Apple-Mail=_FE14113F-78A8-4296-92F0-9F4BB8809E13"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\))
From: Cullen Jennings <fluffy@iii.ca>
In-Reply-To: <CA+9kkMCUVwC-uRe_pR2_M2DgNDfxCNNRihRApPzCji4PaeJtKg@mail.gmail.com>
Date: Thu, 18 Apr 2019 18:38:14 -0600
Cc: RTCWeb IETF <rtcweb@ietf.org>, Sean Turner <sean@sn3rd.com>, Adam Roach <adam@nostrum.com>
Message-Id: <F1EB0741-1983-45A7-A1AB-72F7C7D1E458@iii.ca>
References: <CA+9kkMCUVwC-uRe_pR2_M2DgNDfxCNNRihRApPzCji4PaeJtKg@mail.gmail.com>
To: Ted Hardie <ted.ietf@gmail.com>
X-Mailer: Apple Mail (2.3445.104.8)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/osBgDWzJsqJa-ghrF1d0QpCFaQs>
Subject: Re: [rtcweb] Security-arch IdP determination issue/DISCUSS
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Apr 2019 00:38:19 -0000

I agree this change makes sense. It is so easy to get domain names and certs and SNI is so widely adopted that I do not see many arguments against this. 

> On Apr 9, 2019, at 11:59 AM, Ted Hardie <ted.ietf@gmail.com> wrote:
> 
> In section 7.5 of the Security-arch draft, the document says:
> 
> Authority:  The authority [RFC3986 <https://tools.ietf.org/html/rfc3986>] at which the IdP's service is
>       hosted.  Note that this may include a non-default port or a
>       userinfo component, but neither will be available in a certificate
>       verifying the site.
> 
> Benjamin Kaduk raised a DISCUSS on this:
> I'm a bit unclear about how the port in the 
> IdP URI's Authority (Section 7.5) would get 
> discovered. If it can be remotely supplied, 
> there may be risks in just trusting blindly 
> whatever value is received.
> 
> Given that we discover this via a .well-known location which is meant to be deterministic, I went looking for the more general .well-known advice on this topic.  Turns out that the updated version in 578bis <https://tools.ietf.org/html/draft-nottingham-rfc5785bis-09#page-2> has this:
> 
> Typically, applications will use the default port 
> for the given scheme; if an alternative port is 
> used, it MUST be explicitly specified by the 
> application in question.
> 
> Obviously, our doc predates 5785bis, but given the discuss and that advice, I think the right thing to do here is to drop the ability to have a non-default port or to specify an alternate port.
> 
> Is there anyone currently using this with a non-default port?
> 
> Any objections to dropping this or preferences for specifying an alternate port?
> 
> regards,
> 
> Ted
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb