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

Rifaat Shekh-Yusef <rifaat.ietf@gmail.com> Wed, 10 July 2019 12:20 UTC

Return-Path: <rifaat.ietf@gmail.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 067D3120026 for <sipcore@ietfa.amsl.com>; Wed, 10 Jul 2019 05:20:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.702
X-Spam-Level:
X-Spam-Status: No, score=-0.702 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_NO_HELO_DNS=1.295, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 Z72tiwdVPOsI for <sipcore@ietfa.amsl.com>; Wed, 10 Jul 2019 05:20:45 -0700 (PDT)
Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A9D381200FB for <sipcore@ietf.org>; Wed, 10 Jul 2019 05:20:45 -0700 (PDT)
Received: by mail-io1-xd32.google.com with SMTP id j5so4189576ioj.8 for <sipcore@ietf.org>; Wed, 10 Jul 2019 05:20:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xG2h81aRncvZ83QF09a+Wv8P/nqeyI7qjpJMAaKkdlU=; b=HYVsF1qiE8QA0sPXTZC/ob6AoJUptP6pFKEPWR5vb7vSGzIQ2R2Zz5SQPFpDf6u+Tk VMsk3j6/Gtgw8VYW+ACuQ0p1WlRsfFs69I/N185AnvXp6PHu3OUnX6HgNq7GnR6sYKJf V0L5iZX4GsUCDmmdLhX3d+9YRAjkArH0Mzjt9Zr9Ru2A6Sf6f60K8MDDJnzh8S8PGhVe A2eZNSxnmfjyiJxJGibvHC/2RolH9YgJ3rsxjkeCbZZeq8Lw3sGxuYzJ549wKBZecLwm ORDXfDUCNPl74wBeGo6RyHZa8dxry8vBOoFfaNUvckFRNCEv2SC4LRN8rcUzVXCr/Jsg cLgA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xG2h81aRncvZ83QF09a+Wv8P/nqeyI7qjpJMAaKkdlU=; b=eDgmXYSX1VJo1RLYPTUMJjYUnfN+FCaAtap3np+zAwVVMT8sSFfDMTKYZbE+IsaEg0 lJjlW8ZOvGyxOQL6jtQlxW9iz6WzBucL/OH7tIWSjPUzXESuyWsaYX00XBIQHsInwH5q Z87GWfxchCrhnpjw4FxNqnhpO2RNmYyMYNKaBZpZzqRnga3XYuR/rdalohbSxjT3d853 RX2jDeMY8a7q6DmtxmwZHxC9VhEp/yKqw9So1fsWrOXkPA+4HDTH1FZ0lylKIaJxzF6J tIsEkycaJGnYl2KYtVnVlXZ1U3a8RKhoCgwpJ8zZPsnqiUSALDVJsIOlRwTUWGP4okPX 7VAg==
X-Gm-Message-State: APjAAAUHVu7k8BI7uzerXfomRkNWMbh3QNR563xrWD0q4FGUbKssGl12 6Y/Nzq6t2NkdfhLYhkd0z7dhuGSyG0AP84bOfZw=
X-Google-Smtp-Source: APXvYqxBHKmVSWorA09jYJS5yI7VR2p1tjwO6fyeyDtGlBijnwK1TF0PoP5AtFlofR0ZVecXoIN2qh8pViKh8Ae11PU=
X-Received: by 2002:a5d:9642:: with SMTP id d2mr13911067ios.278.1562761244676; Wed, 10 Jul 2019 05:20:44 -0700 (PDT)
MIME-Version: 1.0
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>
In-Reply-To: <9AFBBA7B-8B43-4F4B-A704-FB8FF881FA24@edvina.net>
From: Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>
Date: Wed, 10 Jul 2019 08:20:33 -0400
Message-ID: <CAGL6ep+-yH34VaULBx5sNot3qp=zek2sqXNVYEB94b=xrzQ79g@mail.gmail.com>
To: "Olle E. Johansson" <oej@edvina.net>
Cc: "sipcore@ietf.org" <sipcore@ietf.org>, Roman Shpount <roman@telurix.com>
Content-Type: multipart/alternative; boundary="000000000000db97e9058d52b419"
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/Va3dW0hB7nEk837O80-lMke8JZY>
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:20:48 -0000

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

Regards,
 Rifaat


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

>
>
> On 10 Jul 2019, at 13:51, Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>
> wrote:
>
>
>
> On Wed, Jul 10, 2019 at 3:08 AM Olle E. Johansson <oej@edvina.net> wrote:
>
>>
>>
>> On 9 Jul 2019, at 23:16, Rifaat Shekh-Yusef <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> wrote:
>>
>>> On Tue, Jul 9, 2019 at 3:11 PM Christer Holmberg <
>>> 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
>>> https://www.ietf.org/mailman/listinfo/sipcore
>>>
>> _______________________________________________
>> sipcore mailing list
>> sipcore@ietf.org
>> https://www.ietf.org/mailman/listinfo/sipcore
>>
>>
>> _______________________________________________
> sipcore mailing list
> sipcore@ietf.org
> https://www.ietf.org/mailman/listinfo/sipcore
>
>
>