Re: [Rum] Configuration file

"Olle E. Johansson" <oej@edvina.net> Thu, 22 October 2020 16:08 UTC

Return-Path: <oej@edvina.net>
X-Original-To: rum@ietfa.amsl.com
Delivered-To: rum@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 609303A03F8 for <rum@ietfa.amsl.com>; Thu, 22 Oct 2020 09:08:28 -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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 l9g_D8irCCdW for <rum@ietfa.amsl.com>; Thu, 22 Oct 2020 09:08:25 -0700 (PDT)
Received: from smtp7.webway.se (smtp7.webway.se [212.3.14.205]) (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 6D4CF3A07B2 for <rum@ietf.org>; Thu, 22 Oct 2020 09:08:24 -0700 (PDT)
Received: from pinguicula.webway.org (h-205-16.A165.corp.bahnhof.se [176.10.205.16]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp7.webway.se (Postfix) with ESMTPSA id 961F025F9; Thu, 22 Oct 2020 18:08:20 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
From: "Olle E. Johansson" <oej@edvina.net>
In-Reply-To: <d7ca28d6-cf7d-6879-4da8-577e53802898@alum.mit.edu>
Date: Thu, 22 Oct 2020 18:08:20 +0200
Cc: Olle E Johansson <oej@edvina.net>, Brian Rosen <br@brianrosen.net>, rum@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <E2B7B181-7DD9-4E1C-A68F-98F2AB94BEA0@edvina.net>
References: <B8C4519D-60F7-4AA0-BE5F-2494578656DB@brianrosen.net> <e353ef87-1814-87b8-8a5e-52f8e325c54e@alum.mit.edu> <AE3E626F-39F0-4549-8E8B-78F1B0B8BC9B@brianrosen.net> <5e702e6f-b6d5-5f54-d453-d90249e2718d@alum.mit.edu> <8047B5E7-D235-446E-9B9C-E0B871C6E48C@brianrosen.net> <d7ca28d6-cf7d-6879-4da8-577e53802898@alum.mit.edu>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
X-Mailer: Apple Mail (2.3608.120.23.2.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rum/olQ0U3pClZK0YWY708m9Qz2fDbI>
Subject: Re: [Rum] Configuration file
X-BeenThere: rum@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Relay User Machine <rum.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rum>, <mailto:rum-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rum/>
List-Post: <mailto:rum@ietf.org>
List-Help: <mailto:rum-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rum>, <mailto:rum-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Oct 2020 16:08:28 -0000

Sounds like you are discussing a SAML-like trust model…

Just hinting.

/O

> On 22 Oct 2020, at 18:03, Paul Kyzivat <pkyzivat@alum.mit.edu> wrote:
> 
> On 10/22/20 9:17 AM, Brian Rosen wrote:
>> How would we use DNS to hold the list of providers? 
> 
> We could simply create a zone as the root for a regulatory entity, and then populate it with A and AAAA entries for each provider in the regulatory domain. (There would need to be some way to provision the RUE with the zone to consult.)
> 
> Or perhaps SRV records could be used for this.
> 
> My point is simply that a single domain name or URL per provider could be sufficient to bootstrap connecting to the corresponding provider. It would require establishing some conventions for how to do the bootstrapping.
> 
>> Seems to me that the official list, at least in some places like the US, is controlled by the regulator.  That isn’t the case in other countries.  Where it is, there is an authoritative source.  Could we make the list a registry, make it country specific, and have an expert decide if a provider should be added to the list?
> 
> This *might* work given that the set of providers doesn't change rapidly. But if/when it does change it isn't evident how deployed RUEs would be updated. I guess it might just be treated as part of normal maintenance updates, however they are done.
> 
>> I think your description of signup and config is good.
> 
> It is just a rough start. It needs more discussion and fleshing out. I don't know if this needs to be normative. (It might just be something such as a non-normative annex.) The main value is to ensure that the mechanisms needed to support it *are* defined and normative.
> 
> 	Thanks,
> 	Paul
> 
>> Yes, I remember multi-line phones.  I have a SIP multi-line phone on my desk that has “lines” from multiple providers.
>> Brian
>>> On Oct 21, 2020, at 12:39 PM, Paul Kyzivat <pkyzivat@alum.mit.edu <mailto:pkyzivat@alum.mit.edu>> wrote:
>>> 
>>> On 10/21/20 12:04 PM, Brian Rosen wrote:
>>>> Yeah, my model was different.  It assumed that whatever was done by the provider, the result was a single local file.
>>>> I’m not wedded to that.  We do need at least a piece of that to know which providers to look for, but a file per provider, downloaded when it’s needed is okay.
>>> 
>>> Yes, the list of providers needs to be from a single source. That will present some administration challenges. But I don't think it makes sense for the providers to populate that with all the details needed for a RUE to connect to them.
>>> 
>>> It occurs to me that we might be able to get away with using DNS to hold the list of providers - avoiding the need to stand up a special server for that purpose.
>>> 
>>> I'm thinking that the RUE have a way to present the user with a list of available providers. The user would be able to select one and then ask to enroll with it. Then the user would get a browser connection to an enrollment page where he would sign up for service, be assigned a user name, password, and phone number. Then the device would connect to the config download service of the provider and download the configuration file. The RUE would save this. The RUE would then use the configuration info to do a SIP registration and be ready to both receive and initiate calls.
>>> 
>>> The RUE could do this for multiple providers. The result would presumably be a UI for something akin to a multi-line phone. (Remember those from the old days?)
>>> 
>>> Thanks,
>>> Paul
>>> 
>>>> Brian
>>>>> On Oct 21, 2020, at 11:55 AM, Paul Kyzivat <pkyzivat@alum.mit.edu <mailto:pkyzivat@alum.mit.edu><mailto:pkyzivat@alum.mit.edu <mailto:pkyzivat@alum.mit.edu>>> wrote:
>>>>> 
>>>>> On 10/20/20 3:15 PM, Brian Rosen wrote:
>>>>>> This is still an open item and distinct from the “signed code” issue we’ve been discussing.
>>>>>> The current text describes a single file that can have multiple sets of provider configuration data. This caters to the common case of a user having more than provider account.  The problem with the text is it has plaintext username/passwords, which is clearly wrong.
>>>>>> I see two solutions: require the local implementation to maintain a password (or other multi factor authentication, and encrypt the file so that the user needs to authenticate to access the file.  Paul is worried that the login data may be needed more frequently than is reasonable to enter the authentication data locally.
>>>>>> The other is to maintain separate files in provider systems, with a common authentication mechanism in each provider to access the file.
>>>>>> I think Paul’s argument doesn’t really hold much water: no SIP device I know of requires re-authentication that requires user interaction very often, so whatever they do now is okay.  I think they just keep the data locally, secure enough to re-use when they need to.  So unlock once, good for a very long time.
>>>>>> I’m reluctant to require all providers use the new OAUTH2 solution, but if they were okay with it, that would be excellent.  We would need some notion of common username, but otherwise it would just work.  Seems way too different from how things work now.  Very attractive, secure, and user-friendly.
>>>>> 
>>>>> My concern was with one configuration file vs. a separate one for each provider. This is rooted in how the file would be provisioned in the device.
>>>>> 
>>>>> My assumption is that this configuration is generated by the provider based on the user doing a web-based enrollment on the provider's web site, followed by the device downloading that configuration. If the user has accounts with different providers then this would happen separately for each, resulting is separate configuration files.
>>>>> 
>>>>> Do you have a different model in mind for how this would happen?
>>>>> 
>>>>> Thanks,
>>>>> Paul
>>>>> 
>>>>> --
>>>>> Rum mailing list
>>>>> Rum@ietf.org <mailto:Rum@ietf.org><mailto:Rum@ietf.org <mailto:Rum@ietf.org>>
>>>>> https://www.ietf.org/mailman/listinfo/rum <https://www.ietf.org/mailman/listinfo/rum><https://www.ietf.org/mailman/listinfo/rum <https://www.ietf.org/mailman/listinfo/rum>>
>>> 
>>> --
>>> Rum mailing list
>>> Rum@ietf.org <mailto:Rum@ietf.org>
>>> https://www.ietf.org/mailman/listinfo/rum <https://www.ietf.org/mailman/listinfo/rum>
> 
> -- 
> Rum mailing list
> Rum@ietf.org
> https://www.ietf.org/mailman/listinfo/rum