Re: [Rum] Configuration file

Paul Kyzivat <pkyzivat@alum.mit.edu> Thu, 22 October 2020 16:04 UTC

Return-Path: <pkyzivat@alum.mit.edu>
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 D67663A044E for <rum@ietfa.amsl.com>; Thu, 22 Oct 2020 09:04:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.248
X-Spam-Level:
X-Spam-Status: No, score=-2.248 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, NICE_REPLY_A=-0.247, RCVD_IN_MSPIKE_H2=-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=alum.mit.edu
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 73VMrXunItgs for <rum@ietfa.amsl.com>; Thu, 22 Oct 2020 09:04:03 -0700 (PDT)
Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2057.outbound.protection.outlook.com [40.107.92.57]) (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 513E03A0317 for <rum@ietf.org>; Thu, 22 Oct 2020 09:04:02 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GzMer9FXCieckjw9yfar5o/kvTWH3Zvv7k8yCUdXOJLJhKPNGvwMtbv+V7WP9EyUnFbJI0RTLjthhw3OF2zSqqqcVgq25WmLAONP4UVBm35OH7oeEweVKf2k82ewTCKmQgQ2LWFEO4EfjFyHJGp0eZo98wAvmuyCOPhr4mWJc3zEilRkRF/bX0GFRTdYOUqRQUlH95TdFc9gHHu/EcJAmTr4tLIuyOTBpIxMZjOOKsNMJTkm+ZhyMScQMFCbCw/3skQDGmVHYfrnYIdUAgwbOFLf8Guu84KGo8SS2jXBjD+5p2DH4PbecjN5e8WAZKpp+EKeL/5PcRTbdLnJ0+8HIA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RfhtV/HbaHwEveT9kOehc0Xoeq9aXp4pz2ICKwTcYPg=; b=FgFjSY8QrYDjcX8akrDNtsYn5S0RItics/PwcRiCtq3dxO8e2Y9ZQaHppDfbRu8Yx7y0ZXNBI4PGGwtUaX0JYhtyzbI8l/V7u1UBlGAoN5+Eni7q7Zn6j0VEkDwORu0UuXVG6Ap+KUkFxKCxHTyijZIP92Y5OfLdcYSQ9ejfwkTZv6LhtFN8cYx+aiUJAwRWiPphPRF/0qSmGUYFIbyHimS1SC0Vw3w2s5rT1/mjIPqRwvZyh4nCP6dYkIkpsS6p3XLK7NWNH54h5oO5MDvx9vihsRUeHIIsgosv8/Njrvh5+CdVr/dOj77+0ItwRaqO6e1yPyX6dhb4fVOOAPwdlw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 18.7.68.33) smtp.rcpttodomain=brianrosen.net smtp.mailfrom=alum.mit.edu; dmarc=bestguesspass action=none header.from=alum.mit.edu; dkim=none (message not signed); arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alum.mit.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RfhtV/HbaHwEveT9kOehc0Xoeq9aXp4pz2ICKwTcYPg=; b=jfR7pkklC1B+DH7M5V8HtCZFcefHKhQcyRACHNDcbPBqzlpMSrqxgrk0CGNXpiM9i2YkqZIkOvRvm5QONHoVHh2UssKFIGZv8Grw0Spt1USnzvjOIj5P2ZrbVeYsE2GtMzoO7AO53CVF0KjzDzZAHNYBM8DC8vXZUXKfQhrBaqU=
Received: from CY4PR07CA0014.namprd07.prod.outlook.com (2603:10b6:903:165::24) by DM5PR12MB1945.namprd12.prod.outlook.com (2603:10b6:3:10f::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18; Thu, 22 Oct 2020 16:04:00 +0000
Received: from CY1NAM02FT003.eop-nam02.prod.protection.outlook.com (2603:10b6:903:165:cafe::d7) by CY4PR07CA0014.outlook.office365.com (2603:10b6:903:165::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18 via Frontend Transport; Thu, 22 Oct 2020 16:04:00 +0000
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 18.7.68.33) smtp.mailfrom=alum.mit.edu; brianrosen.net; dkim=none (message not signed) header.d=none;brianrosen.net; dmarc=bestguesspass action=none header.from=alum.mit.edu;
Received-SPF: Pass (protection.outlook.com: domain of alum.mit.edu designates 18.7.68.33 as permitted sender) receiver=protection.outlook.com; client-ip=18.7.68.33; helo=outgoing-alum.mit.edu;
Received: from outgoing-alum.mit.edu (18.7.68.33) by CY1NAM02FT003.mail.protection.outlook.com (10.152.74.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.20 via Frontend Transport; Thu, 22 Oct 2020 16:04:00 +0000
Received: from PaulKyzivatsMBP.localdomain (c-24-62-227-142.hsd1.ma.comcast.net [24.62.227.142]) (authenticated bits=0) (User authenticated as pkyzivat@ALUM.MIT.EDU) by outgoing-alum.mit.edu (8.14.7/8.12.4) with ESMTP id 09MG3vMj004564 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 22 Oct 2020 12:03:58 -0400
To: Brian Rosen <br@brianrosen.net>
Cc: rum@ietf.org
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>
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
Message-ID: <d7ca28d6-cf7d-6879-4da8-577e53802898@alum.mit.edu>
Date: Thu, 22 Oct 2020 12:03:57 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:78.0) Gecko/20100101 Thunderbird/78.3.3
MIME-Version: 1.0
In-Reply-To: <8047B5E7-D235-446E-9B9C-E0B871C6E48C@brianrosen.net>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-EOPAttributedMessage: 0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: f84d66a9-5c06-4737-c007-08d876a416ee
X-MS-TrafficTypeDiagnostic: DM5PR12MB1945:
X-Microsoft-Antispam-PRVS: <DM5PR12MB19454084C052328439388DEFF91D0@DM5PR12MB1945.namprd12.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: Jb3eBoeZVPNR4hzJudLex3xeH7MtdPy71du4eswlc2ofwVboI2krlqZmvDraaJ0+61Noz1frFqT9T6AxfNN1SHUIT7tv7bP3JwjslpNn3z4HNxWgC0EjY/zTC6B/VKGewJ7EtCgg+4Q7MwMkv67PBBBE5vO/LQtHWw8uqIeLPS8x3BQfb2wGRo9tB34aOTwsxhAlGqxlqDCNEm3KXJCSb+H/ZP2y2266f0r1UTG42Dj0sYQEe3cDVKaWsUNAbVaqlel2xd3AamN7626cTM+A15uDLZppL3p+5ged01BI2hC9f/QfpX96k+vX8/1OJO9/mTsEa3EbW3QZky2ZxNLTohhF8aiT8BvM1uK/tBRH9HKJT0U52QG3kacs8f7sv1eTBqVl1S+g71i20BYtfvl4zlA5xsOYzGioipTTro6mfnaR8057uU47U8wH7wX+XNpmizavkbWBRtVsPgRHOoy0fkpDVdehiWgeEi+xjB8FCNzJFcTXQ/2GQdUVvqFU+aFS
X-Forefront-Antispam-Report: CIP:18.7.68.33; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:outgoing-alum.mit.edu; PTR:outgoing-alum.mit.edu; CAT:NONE; SFS:(376002)(136003)(39860400002)(396003)(346002)(46966005)(786003)(2616005)(478600001)(966005)(26005)(82740400003)(316002)(6916009)(82310400003)(83380400001)(66574015)(8676002)(7596003)(36906005)(186003)(31686004)(8936002)(47076004)(356005)(956004)(70586007)(53546011)(2906002)(86362001)(31696002)(4326008)(75432002)(5660300002)(336012)(70206006)(43740500002); DIR:OUT; SFP:1101;
X-OriginatorOrg: alum.mit.edu
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2020 16:04:00.2493 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: f84d66a9-5c06-4737-c007-08d876a416ee
X-MS-Exchange-CrossTenant-Id: 3326b102-c043-408b-a990-b89e477d582f
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3326b102-c043-408b-a990-b89e477d582f; Ip=[18.7.68.33]; Helo=[outgoing-alum.mit.edu]
X-MS-Exchange-CrossTenant-AuthSource: CY1NAM02FT003.eop-nam02.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1945
Archived-At: <https://mailarchive.ietf.org/arch/msg/rum/HOnxthVrDkFsI7qXIdKhUyAI-FY>
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:04:06 -0000

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>
>