Re: [Lake] proposed scoping text

Mališa Vučinić <malisa.vucinic@inria.fr> Mon, 20 April 2020 12:26 UTC

Return-Path: <malisa.vucinic@inria.fr>
X-Original-To: lake@ietfa.amsl.com
Delivered-To: lake@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8687F3A0BE9 for <lake@ietfa.amsl.com>; Mon, 20 Apr 2020 05:26:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.003
X-Spam-Level:
X-Spam-Status: No, score=0.003 tagged_above=-999 required=5 tests=[RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 uqNT6LjnaRES for <lake@ietfa.amsl.com>; Mon, 20 Apr 2020 05:25:54 -0700 (PDT)
Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 311A43A0BF9 for <lake@ietf.org>; Mon, 20 Apr 2020 05:25:51 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="5.72,406,1580770800"; d="scan'208";a="346424542"
Received: from clt-128-93-179-33.vpn.inria.fr ([128.93.179.33]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Apr 2020 14:25:42 +0200
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
From: Mališa Vučinić <malisa.vucinic@inria.fr>
In-Reply-To: <B620C5B0-8DE0-489F-B0B0-2548F3C83B49@ericsson.com>
Date: Mon, 20 Apr 2020 14:25:41 +0200
Cc: Eric Rescorla <ekr@rtfm.com>, "lake@ietf.org" <lake@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <F3B1DD90-2ACB-41FA-9A41-4ADE2D929A7A@inria.fr>
References: <3780afd5-7012-d808-9584-07e04913cd19@cs.tcd.ie> <239BEC0D-240F-4830-A7A4-0172B62BD6AC@ericsson.com> <B620C5B0-8DE0-489F-B0B0-2548F3C83B49@ericsson.com>
To: Göran Selander <goran.selander@ericsson.com>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lake/YZLlC7A0uByhlzDnpOBsW88V7yQ>
Subject: Re: [Lake] proposed scoping text
X-BeenThere: lake@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Lightweight Authenticated Key Exchange <lake.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lake>, <mailto:lake-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lake/>
List-Post: <mailto:lake@ietf.org>
List-Help: <mailto:lake-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lake>, <mailto:lake-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Apr 2020 12:26:02 -0000

Hi all,

This is a kind reminder to take a look at the proposed PR and provide feedback, especially if you disagree with the proposed text. With the remaining issues on the requirements documents resolved, we would like to converge on the best way forward for the working group, so please provide your comments by the end of this week, Friday the 24th.

Mališa

> On 15 Apr 2020, at 14:19, Göran Selander <goran.selander=40ericsson.com@dmarc.ietf.org> wrote:
> 
> Hi,
> 
> Here is a proposal how to formulate the scoping in the requirements draft:
> https://github.com/lake-wg/reqs/pull/26
> 
> Göran
> 
> 
> On 2020-04-09, 12:09, "Lake on behalf of Göran Selander" <lake-bounces@ietf.org on behalf of goran.selander=40ericsson.com@dmarc.ietf.org> wrote:
> 
>    All,
> 
>    TL;DR: I propose LAKE to initially focus on RPK, and certificate by reference.
> 
>    =========
> 
>    Apologies for a long mail. Comments on Ben's proposal for a way forward at the end, but first we need to take a step back and try to understand what we are discussing.
> 
>    We are working on requirements for an AKE for OSCORE. We require a lightweight AKE, since OSCORE may be applied in constrained IoT applications. Now there is a discussion about restricting the functionality of LAKE to address only the most lightweight scenarios, so that another AKE should be used in non-lightweight settings. While this may be an economy of standardization, this does not make sense for many reasons.
> 
>    * Note that OSCORE is expected to be applied in both in constrained and non-constrained environments. OSCORE works whereever CoAP does, and CoAP is expected to be applied in PSK, RPK and certificate settings.
> 
>    * Implementation-wise OSCORE is more or less integrated with CoAP, because it reuses CoAP processing. A combined OSCORE/AKE implementation will thus be more or less integrated in CoAP. So how should a developer handle the situation that there is a specification of AKE1 addressing part of the credential space and another completely incompatible specification AKE2 addressing another part? 
> 
>    * OSCORE is designed for end-to-end security from constrained device to cloud. To be sure to support OSCORE based security you need to implement both AKE1 and AKE2.
> 
>    * How could it be better security-wise to have two different AKEs for one security protocol? Twice the number of security analyses, etc. are needed. 
> 
>    * Many companies want to move away from symmetric-key based IoT deployments to public key based, ideally to device certificates. If their current technology does not support transport of certificates, but maybe will later,  should they implement AKE1 or AKE2?
> 
>    * etc.
> 
>    Summarizing: At some point in time there needs to be one single AKE for OSCORE that is sufficiently lightweight to perform well in the most constrained settings but also has the functionality to protect CoAP for whatever settings it is expected to be deployed in, and that involves PSK, RPK and certificates.
> 
>    =======================================
> 
>    Having said this, it may still be relevant to discuss which cases are most important right now, bearing in mind that this scoping should not prevent later adding the remaining components.  
> 
>    One way to prioritize the scope of the first work on the AKE is to address a) the needs from current use cases, and b) the potential to provide something useful that is not already available:
> 
>    a) There is a general request to deploy a lightweight AKE with OSCORE targeting general CoAP use cases 
>    i.e. based on PSK, RPK as well as certificates. More specific work items I'm aware of include RPK-based solutions (e.g. LoRa Alliance) and mixed RPK/certificate based solution (e.g. draft-selander-ace-ake-authz). As mentioned in my previous email, a PKI-based solution is necessary to handle IoT deployments with a large number of devices and many manufacturers, but the certificate does not necessarily have to be transported.
> 
>    b) It is possible to do PSK and RPK by reference for the most constrained benchmark (1,1,1). RPK by value and certificate by reference can also be very lightweight, but may require more than one fragment per message. However, in case of transporting a chain of X.509 certificates, or even a single X.509 certificate, it is not clear that a lightweight AKE performs significantly better. 
> 
>    The intersection of a) and b) correspond to where there is an active interest in a solution and where the solution can be made lightweight: RPK (by reference and value) and certificate by reference. 
> 
>    This restricted scope leaves out the most lightweight and the least lightweight options. Removing symmetric key based authentication from first scope is a significant simplification since this is a different protocol in many respects compared to the asymmetric version. Moreover, since PSK and RPK by reference can be handled with the same transmission cost, there is less motivation for using PSK ECDHE as an intermediate deployment step.
> 
>    Now for Ben's proposal:
> 
>    On 2020-04-08, 17:41, "Lake on behalf of Stephen Farrell" <lake-bounces@ietf.org on behalf of stephen.farrell@cs.tcd.ie> wrote:
> 
>        Ben's proposal is:
> 
>        "
>        Strip down the requirements document a lot, to have a
>        qualitative sense of "these are the combinations of crypto
>        primitives that we consider important *right now*" (e.g.,
>        PSK and RPK). Have an acknowledgment that extensibility is
>        inevitable, but disclaim that we are focusing on getting it
>        right for these narrow cases right now, and if someone
>        wants to do a broader case in the future, then more
>        analysis will need to be done at that time.  
> 
>        But for now,
>        we focus on getting RPK and PSK into:
> 
>         3 flights, 51-byte messages, and do that well.
> 
>    [GS] Focus on RPK (by value and by reference) and certificate by reference, and do that well. For RPK by reference: 3 flights in (1,1,1) fragments. For RPK by value and certificate by reference the number of fragments should be kept at a minimum.
> 
> 
>        If we end up with protocol X that does RPK well and
>        someone has it deployed but wants to expand their
>        deployment to also use certificates, they can extend
>        protocol X to do that and have a fairly homogeneous
>        deployment, vs. having to have a mix of protocol X
>        and TLS.  It may well be that TLS would do fine for
>        their extended use case, but not the original use
>        case, and having a homogeneous deployment is valuable."
> 
>    [GS] Agree.
> 
>    Göran 
> 
> 
> 
>    -- 
>    Lake mailing list
>    Lake@ietf.org
>    https://www.ietf.org/mailman/listinfo/lake
> 
> 
> -- 
> Lake mailing list
> Lake@ietf.org
> https://www.ietf.org/mailman/listinfo/lake