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

Roman Shpount <roman@telurix.com> Tue, 09 July 2019 19:29 UTC

Return-Path: <roman@telurix.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 DF7F5120362 for <sipcore@ietfa.amsl.com>; Tue, 9 Jul 2019 12:29:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.592
X-Spam-Level:
X-Spam-Status: No, score=-0.592 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, PDS_NO_HELO_DNS=1.295, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=telurix-com.20150623.gappssmtp.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 fSeZqg1EDAwW for <sipcore@ietfa.amsl.com>; Tue, 9 Jul 2019 12:29:28 -0700 (PDT)
Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) (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 D778D12012A for <sipcore@ietf.org>; Tue, 9 Jul 2019 12:29:28 -0700 (PDT)
Received: by mail-pg1-x52e.google.com with SMTP id w10so9948491pgj.7 for <sipcore@ietf.org>; Tue, 09 Jul 2019 12:29:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telurix-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MSam9XvUh4V5J7Kt74pcQ6HcC3MtUvGgoLtLbNIWSjE=; b=IjcJI9lp+UcRoW0mbyTMFDLhwXYCEwEtBuS5rUiLJESKnVRQYBA9Vs7rHOPGU8sn75 PGWq00ic0mEjz9YreZvS4Ju0JDRlCRTIwmp/EwOP/rfiwbkKraCTW1kDtJ0zqED2tzWe OKB7bXfYdY49zdiVcXO6Z67rscMrU3ag/MSQTFDuovogTG3LlxnDg8peTeXcewW2lCOs 25MxHHhkvIa2RI9mba5nFVNCHQwIObyLoAZYgEEMMvHYMJKJbx0c8UsxjHFvTripWRwv ZpIGVoHnYctSICM7mDvlS3gYIFMaVwpGLP8Ka86RUrM/iDiNKunTbjIhPoA8Tv/IqljT f9VQ==
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=MSam9XvUh4V5J7Kt74pcQ6HcC3MtUvGgoLtLbNIWSjE=; b=Ikrvq0sbk8wFitOBH5SDTRH2keCE+hNzPw67Udmmh/KUiX5mwBli5Rw43iRIsjwLR9 jsRW0RbRoEcWPVfPZheEYPgmml9g8iSEIgYQqZtZcsbvVy9fPtY/IaRzAbFc6k5fJt9l iKk7JjjQYYnJhUC2WmobJyiiKASgQX7RaZvabAGyn2XqCVj0a0gN1je/FCDR0FdXsvSR GscpANQwwAcoCVS04bkKzeVwxXliwTmAqIljuJOOcecgVyq/zbAs5w/j1FjZc7O+MAwy zwAbFsz+64Q0a2HP6CF7sTpz+dTsKHeVtwz0VxhuKBFsLnXT1OKe1fv3DeHm1KKFM3nX vDHA==
X-Gm-Message-State: APjAAAVbkwXg6ie1/Sj3D5UNjt6UmAowuMua9222t5O60h2ohYsgjEsf lq4BFPpnUQOXYa1Hur6lC+toysHSBIE=
X-Google-Smtp-Source: APXvYqy1D6n8XBTxpDkr4k1Scl/QTU4fdoWB81T4XhoxmoOnxVPDvbFw8yc75b2SpsF2MdNSdo/CiQ==
X-Received: by 2002:a63:460c:: with SMTP id t12mr32343468pga.69.1562700567958; Tue, 09 Jul 2019 12:29:27 -0700 (PDT)
Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com. [209.85.214.175]) by smtp.gmail.com with ESMTPSA id a15sm17922835pgw.3.2019.07.09.12.29.26 for <sipcore@ietf.org> (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jul 2019 12:29:27 -0700 (PDT)
Received: by mail-pl1-f175.google.com with SMTP id a93so10604275pla.7 for <sipcore@ietf.org>; Tue, 09 Jul 2019 12:29:26 -0700 (PDT)
X-Received: by 2002:a17:902:a413:: with SMTP id p19mr28636244plq.134.1562700566671; Tue, 09 Jul 2019 12:29:26 -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>
In-Reply-To: <HE1PR07MB3161612130F07C8F727A2BB693F10@HE1PR07MB3161.eurprd07.prod.outlook.com>
From: Roman Shpount <roman@telurix.com>
Date: Tue, 09 Jul 2019 15:29:16 -0400
X-Gmail-Original-Message-ID: <CAD5OKxtR-WBhfa4msbAfXoK7JowYaKK3fSCbw0cXm6SRGwkLxg@mail.gmail.com>
Message-ID: <CAD5OKxtR-WBhfa4msbAfXoK7JowYaKK3fSCbw0cXm6SRGwkLxg@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Cc: Paul Kyzivat <pkyzivat@alum.mit.edu>, "sipcore@ietf.org" <sipcore@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000002ab6dd058d449487"
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/3aRwL6BCB1JYaC6GTaTJyUGRFe4>
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: Tue, 09 Jul 2019 19:29:30 -0000

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