Re: [Perc] PERC LIte

Alexandre GOUAILLARD <agouaillard@gmail.com> Wed, 24 May 2017 21:51 UTC

Return-Path: <agouaillard@gmail.com>
X-Original-To: perc@ietfa.amsl.com
Delivered-To: perc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4D2C9129BF7 for <perc@ietfa.amsl.com>; Wed, 24 May 2017 14:51:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.688
X-Spam-Level:
X-Spam-Status: No, score=-2.688 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=ham 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 fzImP4acK9UT for <perc@ietfa.amsl.com>; Wed, 24 May 2017 14:51:42 -0700 (PDT)
Received: from mail-vk0-x232.google.com (mail-vk0-x232.google.com [IPv6:2607:f8b0:400c:c05::232]) (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 7EEE1129494 for <perc@ietf.org>; Wed, 24 May 2017 14:51:42 -0700 (PDT)
Received: by mail-vk0-x232.google.com with SMTP id p85so82641197vkd.3 for <perc@ietf.org>; Wed, 24 May 2017 14:51:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=h/pBBTw+2LH0e7dAAAA0427wW9L2f+xHF0J8xVo3COk=; b=Rz+YRmPrTaXGk23h3uKde9uEiUgL14bZHE90yOdFonwS+AKZLLs2PJ3IgKcE2ha1Bd TjkdBvRgr5GpujrJY7Y/wo9HudCRqgd907KWQ4nuQbmAltRP+pG5F22wB2oNmmsc59y8 xHRxFMrcBpeIZfWfumdyvVogT7genJFfJfrP3J/L5Z+tyOpsCOfuvJCBJwONtThjBxt1 +Vo1/82xjhIdChGGst+yXaGHZs+XT7J/Uo7AcRspimjagzek4TUAdNHHeyyo5rH9iPUk aU2TDRDUlGw4kifMCGH3o696CvI6glQBT2VKKzm1azygAQzvZCAf0O8w9U654jf3akK1 cMog==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=h/pBBTw+2LH0e7dAAAA0427wW9L2f+xHF0J8xVo3COk=; b=XozRFzEKD6oc2i+IEGL7i5KbBc93X5sc9Gm1ORzZIVK24LWAl4TExv/yepqUary4T5 Cerng39ZyweRJAnZ2KJOE1Sdqpwi23mu02c1HqQV9N1h7LXhiFsRvmoVOUbqR1paGSvm pJDQwaYZKpeAuOGdViHe3e0s5saQg9+W9FhVSZEiTVA44oltl3s8O8orMSlcgQmCd4QW XZ5ovDUbXut2lY4megevRC0gY3yMU2XTTEoty7xa4sW5b4T62fZZFYGI5eJzbU6o0JyV 0jT7O6qVcIU8AoVKOfEOPJitCE7B+eJEraBpq6dqEE78PzHtayUXrJdmJAMAs0wA4RR4 zgfg==
X-Gm-Message-State: AODbwcBO11gIg5B8PiApyOCCPiRE+k4uxw0V13yh2Lqtr1XaaQciFP0J QCPGCQ5c425e+sXwTZLMZ6NGe1nZww==
X-Received: by 10.31.76.132 with SMTP id z126mr8587111vka.137.1495662701580; Wed, 24 May 2017 14:51:41 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.159.49.73 with HTTP; Wed, 24 May 2017 14:51:40 -0700 (PDT)
In-Reply-To: <CAHgZEq4fNmF4WBzfcUVcVyN=5ywjaCYbBz4i+xzVAoDK8E9BqA@mail.gmail.com>
References: <9d1552b8-b69f-ac14-e28b-2905bd5e5692@gmail.com> <CAOW+2dtRYXcnzUnP3cZKKNXJ1FxJPwMw3hmb349KpbLJwQD5FA@mail.gmail.com> <1adbb700-b61e-b283-6e29-ff3b5fd0d5ee@gmail.com> <CAHgZEq46mBQMEcQY-EM36s5_8FWCLJx9nrDo6FX4DA6COmmUYA@mail.gmail.com> <D54B71A7.6E93C%mzanaty@cisco.com> <CAHgZEq4fNmF4WBzfcUVcVyN=5ywjaCYbBz4i+xzVAoDK8E9BqA@mail.gmail.com>
From: Alexandre GOUAILLARD <agouaillard@gmail.com>
Date: Thu, 25 May 2017 07:51:40 +1000
Message-ID: <CAHgZEq7htYkOG8aq_vsLyg1sQHLQyj109AKum0vNpiUmpskjFQ@mail.gmail.com>
To: "Mo Zanaty (mzanaty)" <mzanaty@cisco.com>
Cc: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>, "perc@ietf.org" <perc@ietf.org>, Bernard Aboba <bernard.aboba@gmail.com>
Content-Type: multipart/alternative; boundary="001a114dc2d408194105504c1c75"
Archived-At: <https://mailarchive.ietf.org/arch/msg/perc/wNUKFD0IJT79HmWcCI55UN2DSX8>
Subject: Re: [Perc] PERC LIte
X-BeenThere: perc@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Privacy Enhanced RTP Conferencing <perc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/perc>, <mailto:perc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/perc/>
List-Post: <mailto:perc@ietf.org>
List-Help: <mailto:perc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/perc>, <mailto:perc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 21:51:45 -0000

also, it would only be the E2E keys. so it does not change anything to
existing DTLS-SRTP / webrtc mechanisms.

On Thu, May 25, 2017 at 7:51 AM, Alexandre GOUAILLARD <agouaillard@gmail.com
> wrote:

> you re' right, those API are not to be exposed to the pass-by internet.
>
> <rant> Alas, as Martin and ear stated in 2014 when asking about making the
> screensharing mechanism consistant across browsers, "it's a security
> matter, and the security matters are the prerogative of the browser
> vendors". So we might end up with extensions in chrome, and profile in
> Firefox. </rant> But normal webpages' JS won't have the capacity to set
> keys.
>
> The security aspects are not forgotten, and were/are included in the
> proposal that was circulated to Chrome and Mozilla teams back in November
> last year.
>
> I just wanted to give an heads-up to Bernard about it coming his way in
> the immediate future.
>
> ;-)
>
> On Thu, May 25, 2017 at 7:42 AM, Mo Zanaty (mzanaty) <mzanaty@cisco.com>
> wrote:
>
>> Keys in JS app signaling/APIs??? Have we come full circle back to SDES???
>>
>> Seems like PERC lite would weaken not strengthen the security of
>> DTLS-SRTP / WebRTC apps, if JS can inject keys to ignore DH, defeat PFS,
>> etc.
>>
>> Confused,
>> Mo
>>
>> From: Perc <perc-bounces@ietf.org> on behalf of Alexandre GOUAILLARD <
>> agouaillard@gmail.com>
>> Date: Wednesday, May 24, 2017 at 5:14 PM
>> To: Sergio Murillo <sergio.garcia.murillo@gmail.com>
>> Cc: "perc@ietf.org" <perc@ietf.org>, Bernard Aboba <
>> bernard.aboba@gmail.com>
>> Subject: Re: [Perc] PERC LIte
>>
>> bernard,
>>
>> Good point.
>>
>> i'm discussing with peter T, and proposal for webrtc WG and ORTC CG API
>> extensions are coming your way this week.  Sergio did it at the
>> PeerConnection level while peter is advocating an Api at the
>> RTPSender/Receiver level. Of course, the crypto-algorithm needs to be an
>> input variable as well.
>>
>> On Thu, May 25, 2017 at 5:46 AM, Sergio Garcia Murillo <
>> sergio.garcia.murillo@gmail.com> wrote:
>>
>>> Hi Bernard,
>>>
>>> Yes, the example API is just the lazy approach I have taken on my
>>> modified chromium, hardcoding the key to AES-GCM 256 so I didn't have
>>> to add an object to the IDL and worry about how to retrieve later on the
>>> c++ code.
>>>
>>> The API should allow to set the key and look more like:
>>>
>>> * const pc = new RTCPeerConnection({ mediaCrypto : { key :
>>> 'VEhJUyBJUyBUSEUgMzIgS0VZIFdJVEggMTIgU0FMVCBET1VCTEUgUEVSQyE=', suite  :
>>> 'AEAD_AES_256_GCM' } });*
>>>
>>> Anticipating the security comments, I don't expect that to be the final
>>> API for WebRTC, which IMHO should be a similar mechanism as the one in
>>> place for IdP (or even integrated with it), but I feel that that discussion
>>> should take place on the RTCWeb group and not here.
>>>
>>> Best regards
>>> Sergio
>>>
>>>
>>> On 24/05/2017 19:56, Bernard Aboba wrote:
>>>
>>> Thanks for posting this.
>>>
>>> Question:  In terms of API support, how is the crypto-algorithm
>>> specified?  So far, the proposed API just has the key.
>>>
>>> On Wed, May 24, 2017 at 10:11 AM, Sergio Garcia Murillo <
>>> sergio.garcia.murillo@gmail.com> wrote:
>>>
>>>> Hi all again,
>>>>
>>>> Also to start the discussion about 5), I would like to introduce again
>>>> my proposal for a "PERC Lite" approach.
>>>>
>>>> The main objectives and key points of this proposal are:
>>>>
>>>>    - Minimum viable PERC implementation
>>>>    - Minimize impact on both endpoints and MD
>>>>    - OHB is carried in the RTP payload (Encrypted Payload Header).
>>>>    - No changes to the DTLS/SRTP code/api/standards
>>>>    - No RTP E2E Header extensions
>>>>    - RTX/FEC/RED is supported HBH without any change to current
>>>>    standards/implementations.
>>>>
>>>> Best regards
>>>>
>>>> Sergio
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Perc mailing list
>>>> Perc@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/perc
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> Perc mailing list
>>> Perc@ietf.org
>>> https://www.ietf.org/mailman/listinfo/perc
>>>
>>>
>>
>>
>> --
>> Alex. Gouaillard, PhD, PhD, MBA
>> ------------------------------------------------------------
>> ------------------------
>> President - CoSMo Software Consulting, Singapore
>> ------------------------------------------------------------
>> ------------------------
>> sg.linkedin.com/agouaillard
>>
>>    -
>>
>>
>> _______________________________________________
>> Perc mailing list
>> Perc@ietf.org
>> https://www.ietf.org/mailman/listinfo/perc
>>
>>
>
>
> --
> Alex. Gouaillard, PhD, PhD, MBA
> ------------------------------------------------------------
> ------------------------
> President - CoSMo Software Consulting, Singapore
> ------------------------------------------------------------
> ------------------------
> sg.linkedin.com/agouaillard
>
>    -
>
>


-- 
Alex. Gouaillard, PhD, PhD, MBA
------------------------------------------------------------------------------------
President - CoSMo Software Consulting, Singapore
------------------------------------------------------------------------------------
sg.linkedin.com/agouaillard

   -