Re: [rtcweb] usability of IdP concepts in draft-ietf-rtcweb-security-arch-07

Wolfgang Beck <wolfgang.beck01@googlemail.com> Tue, 05 November 2013 22:03 UTC

Return-Path: <wolfgang.beck01@googlemail.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 82D7E21E8097 for <rtcweb@ietfa.amsl.com>; Tue, 5 Nov 2013 14:03:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.827
X-Spam-Level:
X-Spam-Status: No, score=-1.827 tagged_above=-999 required=5 tests=[AWL=0.150, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GOV3VMmK0ifJ for <rtcweb@ietfa.amsl.com>; Tue, 5 Nov 2013 14:03:56 -0800 (PST)
Received: from mail-vc0-x234.google.com (mail-vc0-x234.google.com [IPv6:2607:f8b0:400c:c03::234]) by ietfa.amsl.com (Postfix) with ESMTP id 187AB21E8154 for <rtcweb@ietf.org>; Tue, 5 Nov 2013 14:03:54 -0800 (PST)
Received: by mail-vc0-f180.google.com with SMTP id lc6so5973964vcb.39 for <rtcweb@ietf.org>; Tue, 05 Nov 2013 14:03:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=AHtnsPk4IXxse7kvcJuEav/juzvnlVvncsPAfrtwLUs=; b=1FOTWEM7ipqZcPXYhF6Jx5nxTEzQE70kGRr2KPAiihDxU7QYPZ6uxTE29i1Ou5Fvqs 5zjt2r9OMwjFbE4eHBmSEjHDGYvpvQzM7wumv5subT/4mm3N/0khBrP8133lO5X7n6i5 IIPtu4+2NuEEvJ4QaYUwxZpfwJSE8GQWR7iqYq6M3tDcebl0YSemVPQDhTpneL44kygf /D9YKb6nhXwVrxKSp7MTGFeUcVJmApQSVAJmWEKU/hwlRQYzKADCbh44EztH/d0OnClJ BQALlLM6PNwjeZMIpuFngqY+GOJMGwqudpZFMVViHY7n0uSu2ACd3nGRQzzy3RVBWJIb 1pAw==
MIME-Version: 1.0
X-Received: by 10.52.166.200 with SMTP id zi8mr1205052vdb.38.1383689034401; Tue, 05 Nov 2013 14:03:54 -0800 (PST)
Received: by 10.58.45.169 with HTTP; Tue, 5 Nov 2013 14:03:54 -0800 (PST)
Received: by 10.58.45.169 with HTTP; Tue, 5 Nov 2013 14:03:54 -0800 (PST)
In-Reply-To: <52795BF0.1020207@makk.es>
References: <CAAJUQMgRqOggVzviMPnvpkwSzYJeEe_1S5K00chdGq-Hghq3Dg@mail.gmail.com> <52795BF0.1020207@makk.es>
Date: Tue, 05 Nov 2013 23:03:54 +0100
Message-ID: <CAAJUQMj2_sXtyTf=SugJWA81Ho_+G5WJN4QCfv1Z1FQdZL=Reg@mail.gmail.com>
From: Wolfgang Beck <wolfgang.beck01@googlemail.com>
To: Max Jonas Werner <mail@makk.es>
Content-Type: multipart/alternative; boundary="089e01634aa6600d3904ea7535cd"
Cc: "<rtcweb@ietf.org>" <rtcweb@ietf.org>
Subject: Re: [rtcweb] usability of IdP concepts in draft-ietf-rtcweb-security-arch-07
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Nov 2013 22:03:57 -0000

According to the draft and the w3c doc, the Idp exchange is completely
hidden from the JS. I don't see how a web server could use the result to
verify the user without looking at the SDP. Or how the peerconnection could
reuse the result of an Idp exchange that authenticated the user towards the
server. Did I overlook something?

Having to log in twice will only be tolerated by a small minority of
people.

Wolfgang Beck
Am 05.11.2013 12:58 schrieb "Max Jonas Werner" <mail@makk.es>:

> Wolfgang,
>
> On 05.11.2013 18:06, Wolfgang Beck wrote:
> > What I am missing in this draft is the link between authentication
> towards
> > the web server and signing of DTLS info towards the remote party. To
> make a
> > call, a user will have to
> > 1) log into the web server application
> > 2) permit the browser to access camera/mic
> > 3) log into the IdP to sign the DTLS info
> >
> > To receive a call, I will have to
> > 1) log into the web server application
> > 2) permit the browser to access camera/mic when there is a call
> > 3) log into the IdP to sign the DTLS info
> > ..and hope the caller has not given up before I clicked all permission
> > boxes and entered all user credentials.
> >
> > Can 1) and 3) be merged somehow? How would you explain 3) to a user?
>
> 1) and 3) can be merged if
>
> a) the user is already logged from the IdP's point of view prior to even
> visiting the site (using either built-in browser logic or manually)
>
> or
>
> b) the IdP is the able to identify the user from step 1) somehow (e.g.
> when the web server is run by the IdP).
>
> Keep in mind, though, that the user to be able to provide an identity to
> the other WebRTC peer that is different from the identity of step 1) is
> exactly what the user wants sometimes.
>
> Max
>
>