Re: [sipcore] I-D Action: draft-ietf-sipcore-sip-token-authnz-02.txt

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 10 July 2019 12:25 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: sipcore@ietfa.amsl.com
Delivered-To: sipcore@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 51C6C1200FB for <sipcore@ietfa.amsl.com>; Wed, 10 Jul 2019 05:25:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-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=ericsson.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 yJMOdqyjWhlb for <sipcore@ietfa.amsl.com>; Wed, 10 Jul 2019 05:24:59 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130043.outbound.protection.outlook.com [40.107.13.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 935BC120026 for <sipcore@ietf.org>; Wed, 10 Jul 2019 05:24:58 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OzoHy6Sz1044Ef9usG3adC80nG77Wp83IWc83ziv4vDLWyf+bY6rH9fFHn61AZCmU3wcsCCU9ijvI0MMgjpxW08+M5VUrk8od9qCM8rPWEMG7VxRXi4AKMm7PA7KqJpVVOrIAG43qM2l152U7cc4pCGx9BhVprsmhx/Br1mv6K0MrxgEpGTW16KdTZcoRdVQpwigw4WK6MchAe5qe9DEeH70Kg/Tw5LXrUB0O0zOtGCB5FH2WaEIyNwkUylkevNA72zHvXPRcGeo1pwVLHuhmjpFcJUceQfe4GTVLgXc4NOcbsy/M8o1o5wVRJXbz8k6tO4rwmta4ZtO2VOGZ60BUQ==
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=jLpiPtjYkEYLtE74YH1AGsricp3/zvUzIF3oHfyVpA8=; b=icVl2a6u4bkfSpsuO0tmWHWby9I/iM2GXQ7AMal1ifY1X45ghY5ocAVjod13D1FSc74UQNClsiWn2+YEoYlXZIo6XMTeXzN/rrzcmorKcW5jsNFzIhw8zrTwa+UuEiyfQS5x0Oz/aAqyeRB6Qlik9V4vkOZYc4RvnDXRDcA4EqZKKd+MWSS8ImAydHPLTvuJYid8K2oXFHMPFjxxN3zQIME+39/8GuT9Bq7L/avOLdqSldt6GawpIRQm3JpIhpChl4wTR9JS3PW5b559VfBvgmn8YEqf1asS2DGqMNB7j2C9fEe0qQUZSFNHKAp9SQY8KXEt4L1SevFrjLQGEyx9ew==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=ericsson.com;dmarc=pass action=none header.from=ericsson.com;dkim=pass header.d=ericsson.com;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jLpiPtjYkEYLtE74YH1AGsricp3/zvUzIF3oHfyVpA8=; b=e4YII9xe6LdHwVWk8naT/5Sf+p71wiuEqyIkv2LZDGPoSGOvv8PLrtrV1BjT+Bqx6dSU43F11W9QWVbtmyPVRLhSUuAN91ilU65kE3opoUM7n6cY7X6XZ4sNdHiaM71aNUUf8piOOmvtVbvEHlyb21XGznFC9eQ9w6L4F7/iPlo=
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com (10.170.245.23) by HE1PR07MB4220.eurprd07.prod.outlook.com (20.176.166.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.10; Wed, 10 Jul 2019 12:24:55 +0000
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::5050:a3a9:be80:cf43]) by HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::5050:a3a9:be80:cf43%5]) with mapi id 15.20.2073.008; Wed, 10 Jul 2019 12:24:55 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>, "Olle E. Johansson" <oej@edvina.net>
CC: "sipcore@ietf.org" <sipcore@ietf.org>, Roman Shpount <roman@telurix.com>
Thread-Topic: [sipcore] I-D Action: draft-ietf-sipcore-sip-token-authnz-02.txt
Thread-Index: AQHVNLWxruT/m/C2REGBvr04oIfCDqa/Al8AgAHwRACAACa0QIAAOvWAgACKbgCAAH00gIAARqSA///8CoCAAAq/0IAABmoAgAAeAYCAAKVAAIAAT0EAgAAC9gCAAAUVgIAAM4IA
Date: Wed, 10 Jul 2019 12:24:55 +0000
Message-ID: <74F1125E-88B7-46C0-A4FD-F7E38FDD4FEE@ericsson.com>
References: <156249821133.14592.1211919336596009446@ietfa.amsl.com> <CAGL6epLsP_UfZMAcFLsORrR05Enu-vp=jnkgUFuKSttQm8swAw@mail.gmail.com> <c8d5c42e-ab21-80e8-3189-c8592dd02d3a@alum.mit.edu> <HE1PR07MB3161C55955B2FCED2C0F6A9993F60@HE1PR07MB3161.eurprd07.prod.outlook.com> <68ed93ae-57df-6bc7-774b-47959417abda@alum.mit.edu> <HE1PR07MB3161D46B4A44FC7E789ADDB893F10@HE1PR07MB3161.eurprd07.prod.outlook.com> <4a9787e5-b5e2-bc08-0fa0-fae6bd44148d@alum.mit.edu> <527F4C39-F065-4335-A939-6D443F1801E7@ericsson.com> <CAD5OKxuK_2+JcbGvo6LNeRbCYXWXQmhKQPNUzoZvZEOupPWyjw@mail.gmail.com> <HE1PR07MB3161612130F07C8F727A2BB693F10@HE1PR07MB3161.eurprd07.prod.outlook.com> <CAD5OKxtR-WBhfa4msbAfXoK7JowYaKK3fSCbw0cXm6SRGwkLxg@mail.gmail.com> <CAGL6epK8Z938pnMKVyWGBK=6fMzNq6+gmxro-AAO2nzvGT4jeg@mail.gmail.com> <EBC3DB59-FA4A-454A-9EC3-BD3EF52F73A5@edvina.net> <CAGL6epLfiNz6WOjb1RFN2du+aOJOzFK9Z7pN9LogcPpT2xbj6Q@mail.gmail.com> <9AFBBA7B-8B43-4F4B-A704-FB8FF881FA24@edvina.net> <CAGL6ep+-yH34VaULBx5sNot3qp=zek2sqXNVYEB94b=xrzQ79g@mail.gmail.com>
In-Reply-To: <CAGL6ep+-yH34VaULBx5sNot3qp=zek2sqXNVYEB94b=xrzQ79g@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.1a.0.190609
authentication-results: spf=none (sender IP is ) smtp.mailfrom=christer.holmberg@ericsson.com;
x-originating-ip: [89.166.49.243]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 8f12b5da-4c9c-4686-ccfa-08d705319d9e
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:HE1PR07MB4220;
x-ms-traffictypediagnostic: HE1PR07MB4220:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <HE1PR07MB4220CECA6AF73BC25907427A93F00@HE1PR07MB4220.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0094E3478A
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(136003)(346002)(396003)(366004)(39860400002)(199004)(189003)(14454004)(76176011)(66446008)(68736007)(4326008)(25786009)(66556008)(66476007)(64756008)(26005)(186003)(6506007)(53546011)(8676002)(102836004)(53936002)(99286004)(606006)(5660300002)(2906002)(86362001)(966005)(66574012)(3846002)(6116002)(6246003)(8936002)(478600001)(71200400001)(6306002)(256004)(54896002)(58126008)(14444005)(236005)(316002)(33656002)(71190400001)(44832011)(110136005)(6486002)(54906003)(486006)(229853002)(81156014)(11346002)(66946007)(446003)(2616005)(476003)(81166006)(76116006)(7736002)(36756003)(6512007)(66066001)(6436002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB4220; H:HE1PR07MB3161.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: nyNDA1M6cyxWg9/RaD6++kPTsAXcfiHicTlDgQ9ts+d5IyDePxmR7v85Z8gLdRjrB8Ky9Aea/199UGOrt83NmxtZVi8keXmufOanTTIajUHEltfnGQEd+mX2t+PeVvjQ4W5fUfarIJcglKYlhp42+37aq/gJ6m+UFei/BqsYw733vOCt74k+DWBb/Irt2/Qm2s32nwcUM5bzP7wpqtz4Zvr8KAfyJJF97AfoyJmFapqK9qkDzPXTv31eRB00/hw4QLV7rs2Jp8Q658KInXYTusai+tnw6d+ywi61omAVA0ZYjDyH3eGpQyDrVqHhHqBAT2ctlNl2tSufTXFyBkBqnzIXoJ0NgbL4ToRa6IryXb8xj72QyScAZzizdm1wsnxDcMHlQ/jp+AX+8yMalPCe9eGL/BBYWMMEZlutkGQKcTI=
Content-Type: multipart/alternative; boundary="_000_74F1125E88B746C0A4FDF7E38FDD4FEEericssoncom_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 8f12b5da-4c9c-4686-ccfa-08d705319d9e
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jul 2019 12:24:55.0891 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: christer.holmberg@ericsson.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB4220
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/5_JXkqpgw3MFjT0Ci8ydPX4jjXY>
Subject: Re: [sipcore] I-D Action: draft-ietf-sipcore-sip-token-authnz-02.txt
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sipcore>, <mailto:sipcore-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sipcore/>
List-Post: <mailto:sipcore@ietf.org>
List-Help: <mailto:sipcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Jul 2019 12:25:04 -0000

Hi,

>I am fine with referring to the OAuth definition.
>Anybody has an issue with this?

I support your suggestion.

Regards,

Christer



On Wed, Jul 10, 2019 at 8:02 AM Olle E. Johansson <oej@edvina.net<mailto:oej@edvina.net>> wrote:



On 10 Jul 2019, at 13:51, Rifaat Shekh-Yusef <rifaat.ietf@gmail.com<mailto:rifaat.ietf@gmail.com>> wrote:



On Wed, Jul 10, 2019 at 3:08 AM Olle E. Johansson <oej@edvina.net<mailto:oej@edvina.net>> wrote:



On 9 Jul 2019, at 23:16, Rifaat Shekh-Yusef <rifaat.ietf@gmail.com<mailto:rifaat.ietf@gmail.com>> wrote:

This document is specifically focused on confidential UAs.
UAs running in the browser, public UAs, will be addressed in a separate document.
Maybe you should make that more clear, as it is very confusing terminology… I see that section 1..2 in your draft defines theses
types, based on RFC 6749. You apply it to the term “UA” which I think confuses things. A “public UA” may have support
for confidentiality, but not from an Oauth point of view. I think we should look for other terms for this.


Any suggested text?
I carefully avoided any suggestions… Was hoping someone on the mailling list would step forward with
some brilliant new terminology. :-)

Maybe just reverting to OAuth terminology with “public clients and confidential clients” to avoid setting our own terms
and directly refer terminology to Oauth specs. I still don’t like “confidential client” when they really mean “something
that at least doesn’t show what they do in source code but may still be totally insecure”...

Yeah, I know that’s a boring suggestion.

/O :-)



In addition, I don’t find any text in your draft indicating that “Public UAs” is out of scope.


I will fix that..

Thanks,
 Rifaat


/O


Regards,
 Rifaat


On Tue, Jul 9, 2019 at 3:29 PM Roman Shpount <roman@telurix.com<mailto:roman@telurix.com>> wrote:
On Tue, Jul 9, 2019 at 3:11 PM Christer Holmberg <christer.holmberg@ericsson.com<mailto:christer.holmberg@ericsson.com>> wrote:
>> As far as I know, OAuth for SIP has only been used for REGISTER requests, between the UA and the registrar.
>> I have never heard about anyone using it for non-REGISTER authentication, and I wonder whether we even need
>> to cover it in the draft. We could limit the scope the REGISTER requests. Then, if anyone ever needs OAuth for non-REGISTER requests, a separate draft can be written.
>
> Really? Normally, for a secure solution, every SIP request, including requests sent by UA in dialog established from the
> server to the registered end point must be authenticated. OAuth for REGISTRER requests only is kind of useless since it
> does not allow UA to send any messages to the server without some additional authentication mechanism.

Not sure what you mean by "secure solution", but UAs can still use SIP Digest authentication.

What I am saying is that only use-case for SIP OAuth I am aware of is for REGISTER.
How do they get these SIP Digest credentials?

I am looking at a very simple SIP-Over-Websockets client scenario:

User logs into the web site which uses OAuth. UA, running in the browser gets a token which is used to Register UA with a SIP proxy.

What credentials is UA using to place a call (send INVITE to the proxy)?
If a call comes in from the proxy to UA, what credentials is UA using to hang up the call (send BYE message)?

Best Regards,
_____________
Roman Shpount

_______________________________________________
sipcore mailing list
sipcore@ietf.org<mailto:sipcore@ietf.org>
https://www.ietf.org/mailman/listinfo/sipcore
_______________________________________________
sipcore mailing list
sipcore@ietf.org<mailto:sipcore@ietf.org>
https://www.ietf.org/mailman/listinfo/sipcore

_______________________________________________
sipcore mailing list
sipcore@ietf.org<mailto:sipcore@ietf.org>
https://www.ietf.org/mailman/listinfo/sipcore