Re: [rtcweb] Retransmit: Summary of Alternatives for media keying

Matthew Kaufman <matthew.kaufman@skype.net> Fri, 29 July 2011 14:30 UTC

Return-Path: <matthew.kaufman@skype.net>
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 0F04D21F8560 for <rtcweb@ietfa.amsl.com>; Fri, 29 Jul 2011 07:30:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.473
X-Spam-Level:
X-Spam-Status: No, score=-2.473 tagged_above=-999 required=5 tests=[AWL=0.126, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bBtg0l8m9MtQ for <rtcweb@ietfa.amsl.com>; Fri, 29 Jul 2011 07:30:39 -0700 (PDT)
Received: from mx.skype.net (mx.skype.net [78.141.177.88]) by ietfa.amsl.com (Postfix) with ESMTP id F17E921F855C for <rtcweb@ietf.org>; Fri, 29 Jul 2011 07:30:38 -0700 (PDT)
Received: from mx.skype.net (localhost [127.0.0.1]) by mx.skype.net (Postfix) with ESMTP id 45B737FD; Fri, 29 Jul 2011 16:30:38 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=skype.net; h=subject :mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=mx; bh=ts 42jUUThoflSW/QHopRyU4bveE=; b=k8GkLg6KHsoTqwBjRHepf48HvTa4DUkoPI USLv7Tqccz4zvVAtLfhAouokgWopGPClrt8oZ6fi+AABvb0IW5DPRv2XguOQtDVp 9B17TthgLKi16eDIlE/ftwFN103h72hUg/b6c278SjGjWVABE4JJLhdxIbe1XGIJ Ry+/m9Fcc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=skype.net; h=subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to; q=dns; s=mx; b=bbIDR4RsUUN0Hm8bw8lZng uaMvmATkDy8N140fNLqDLKugN9AXFgZyX1hLYj11m5gSpZVspTRSIuaUuoSLUn32 +hvLGmMIL55XdcaaeHQ8xouSkkEeF1P4OzsZo5T90P7E1YI+rIAkiwu6UFx/siog 6DkX7/qGx+oXVvpzjR8iw=
Received: from zimbra.skype.net (zimbra.skype.net [78.141.177.82]) by mx.skype.net (Postfix) with ESMTP id 43FB77F8; Fri, 29 Jul 2011 16:30:38 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by zimbra.skype.net (Postfix) with ESMTP id 2B67935079F3; Fri, 29 Jul 2011 16:30:38 +0200 (CEST)
X-Virus-Scanned: amavisd-new at lu2-zimbra.skype.net
Received: from zimbra.skype.net ([127.0.0.1]) by localhost (zimbra.skype.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gSmDN8ZrMedE; Fri, 29 Jul 2011 16:30:37 +0200 (CEST)
Received: from dhcp-4649.meeting.ietf.org (dhcp-4649.meeting.ietf.org [130.129.70.73]) by zimbra.skype.net (Postfix) with ESMTPSA id D8DF3350739B; Fri, 29 Jul 2011 16:30:36 +0200 (CEST)
Mime-Version: 1.0 (Apple Message framework v1082)
Content-Type: text/plain; charset="us-ascii"
From: Matthew Kaufman <matthew.kaufman@skype.net>
In-Reply-To: <32007816-40BF-49AA-9275-0A9A4B51B52D@acmepacket.com>
Date: Fri, 29 Jul 2011 10:30:35 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <7CC0E354-685D-47BB-9426-AE5B4CC9DD4F@skype.net>
References: <12BF9E55-662F-4762-9E47-2BBD3FA5FD93@acmepacket.com> <A444A0F8084434499206E78C106220CA08F1D75CF0@MCHP058A.global-ad.net> <2E6CBDE0-DA10-4792-8059-A01F554DB370@skype.net> <E1963869-9E21-4F1F-AB4A-E5D070CCA581@acmepacket.com> <55C78CA7-292C-4E0E-901B-83B7614C2F32@skype.net> <4E31DAAB.5030606@jesup.org> <2BE95AAB-722C-472C-B624-CF91AE7D75EF@skype.net> <4E32AEC3.8080804@jesup.org> <32007816-40BF-49AA-9275-0A9A4B51B52D@acmepacket.com>
To: Hadriel Kaplan <HKaplan@acmepacket.com>
X-Mailer: Apple Mail (2.1082)
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>, Randell Jesup <randell1@jesup.org>
Subject: Re: [rtcweb] Retransmit: Summary of Alternatives for media keying
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: Fri, 29 Jul 2011 14:30:40 -0000

On Jul 29, 2011, at 10:17 AM, Hadriel Kaplan wrote:

> 
> On Jul 29, 2011, at 8:59 AM, Randell Jesup wrote:
> 
>> No disagreement at all.   I'm discussing that DTLS-SRTP is vulnerable 
>> (to a degree) to MITM
>> attacks, which is well-known, if you don't have a known-secure signaling 
>> channel.  I'm not making the
>> argument that Hadriel is.
>> 
> 
> But that *is* the argument I was making. (or at least trying to :)  
> I certainly wasn't claiming SDES nor RTP are as secure as DTLS-SRTP could be.

We agree here.

> 
> What I said to start this whole thing was: the two alternatives should not be described as choosing between secure and insecure.  BOTH alternatives require the user to verify something for the call to be secure.  BOTH alternatives have the potential to be very secure.  That is all.

I suppose that depends on what you mean by "the potential to be very secure"... certainly plain RTP *might* be secure, if it never leaves your desktop.

DTLS-SRTP + a security inspection UI gives the user a way to verify something *independently of the service provider* to see if the call is secure. SDES does not. The only way to be sure the service provider isn't colluding with someone to tap your call when you use SDES is to agree with the other party to mangle the key you receive from the service provider. (The "pessimist" approach to trust in this environment.)

> 
> BTW, I am assuming of course that even if we choose the alternative of DTLS+SDES+RTP, that DTLS would always be preferred, and if the peer cannot do it then SDES, and if the peer can't do that then RTP. (assuming the human has set whatever browser knobs are necessary to enable/disable this stuff)

Agree. Though the human needs to be able to see a lot more about what is going on if we allow all three.

> So between two RTCWEB browsers it would always be DTLS-SRTP.

Agree.

Matthew Kaufman