[rtcweb] SRTP - mandatory to implement vs mandatory to use (Re: Let's define the purpose of WebRTC)

Harald Alvestrand <harald@alvestrand.no> Mon, 07 November 2011 09:07 UTC

Return-Path: <harald@alvestrand.no>
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 9D08221F858C for <rtcweb@ietfa.amsl.com>; Mon, 7 Nov 2011 01:07:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.422
X-Spam-Level:
X-Spam-Status: No, score=-110.422 tagged_above=-999 required=5 tests=[AWL=-0.123, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
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 8E+Bwf9Ps+fi for <rtcweb@ietfa.amsl.com>; Mon, 7 Nov 2011 01:07:16 -0800 (PST)
Received: from eikenes.alvestrand.no (eikenes.alvestrand.no [158.38.152.233]) by ietfa.amsl.com (Postfix) with ESMTP id 03E8321F8514 for <rtcweb@ietf.org>; Mon, 7 Nov 2011 01:07:16 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id 44CA039E119; Mon, 7 Nov 2011 10:07:15 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at eikenes.alvestrand.no
Received: from eikenes.alvestrand.no ([127.0.0.1]) by localhost (eikenes.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5rcVUTMOfpIm; Mon, 7 Nov 2011 10:07:14 +0100 (CET)
Received: from hta-dell.lul.corp.google.com (62-20-124-50.customer.telia.com [62.20.124.50]) by eikenes.alvestrand.no (Postfix) with ESMTPS id C74C839E112; Mon, 7 Nov 2011 10:07:14 +0100 (CET)
Message-ID: <4EB79FC2.10400@alvestrand.no>
Date: Mon, 07 Nov 2011 10:07:14 +0100
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15
MIME-Version: 1.0
To: José Luis Millán <jmillan@aliax.net>
References: <CALiegfkVNVAs_MyU_-4koA4zRwSn1-FwLjY9g_oZVkhi9rSK5Q@mail.gmail.com> <8A61D801-D14D-408B-9875-63C37D0CC166@acmepacket.com> <CABw3bnPE=OY_h5bM7GA6wgrXiOBL8P4J0kw1jLv-GSpHAbg=Cg@mail.gmail.com>
In-Reply-To: <CABw3bnPE=OY_h5bM7GA6wgrXiOBL8P4J0kw1jLv-GSpHAbg=Cg@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
Cc: "<rtcweb@ietf.org>" <rtcweb@ietf.org>
Subject: [rtcweb] SRTP - mandatory to implement vs mandatory to use (Re: Let's define the purpose of WebRTC)
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: Mon, 07 Nov 2011 09:07:16 -0000

On 11/06/2011 10:16 AM, José Luis Millán wrote:
> draft-ietf-rtcweb-overview-02 downgraded the SRTP concerns from
> mandatory-to-use to mandatory-to-implement. So if it does not
> downgrade anymore, a WebRTC implementation (game app, greeting cards
> website..) will have to implement SRTP.
>
> IMHO, if a web service doesn't want to take, or cannot take, the hit
> for SRTP, WebRTC is not the appropriate solution for such a service.
>
Forking this thread, since it's actually about a line in the documents....

in draft-ietf-rtcweb-overview-02, I changed this section:

5.  Data framing and securing

    SRTP [RFC3550] is used for transport of all real-time media.

    The detailed considerations for usage of functions from RTP and SRTP,
    as well as for non-media real-time data, are given in <WORKING GROUP
    DRAFT "MEDIA TRANSPORTS">.

into this section:

5.  Data framing and securing

    The format for media transport is RTP [RFC3550].  Implementation of
    SRTP [RFC3711] is required for all implementations.

    The detailed considerations for usage of functions from RTP and SRTP
    are given in [I-D.ietf-rtcweb-rtp-usage].  Key negotiation for SRTP
    is described in <MISSING>.  Transfer of data that is not in RTP
    format is described in <MISSING>.

At the moment, draft-ietf-rtcweb-rtp-usage does not contain any 
requirement on SRTP usage (the security section says "A mandatory to 
implement media security solution will be required to be picked", which 
I think is a bit weak), and the discussion at the time did not seem to 
indicate consensus that SRTP must be used always, so I decided to 
document what we seemed to have consensus on - that SRTP MUST be 
implemented.

If we have consensus to make it stronger again, I'm happy to change it back.

                   Harald