Re: [Lake] Zaheduzzaman Sarker's No Objection on draft-ietf-lake-edhoc-20: (with COMMENT)

Zaheduzzaman Sarker <zahed.sarker.ietf@gmail.com> Fri, 25 August 2023 08:31 UTC

Return-Path: <zahed.sarker.ietf@gmail.com>
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 77EDEC14CE55; Fri, 25 Aug 2023 01:31:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.107
X-Spam-Level:
X-Spam-Status: No, score=-7.107 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IoHf0fhswpuu; Fri, 25 Aug 2023 01:31:21 -0700 (PDT)
Received: from mail-oa1-x32.google.com (mail-oa1-x32.google.com [IPv6:2001:4860:4864:20::32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 41CF9C14CE54; Fri, 25 Aug 2023 01:31:21 -0700 (PDT)
Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-1c4d8eaa8ebso442635fac.0; Fri, 25 Aug 2023 01:31:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692952280; x=1693557080; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=7W3i1rD8/EW7GuSSL4gwaQrQGJgsxj8+Sf7MxJXMyfw=; b=KfBfUPWfr8p8sKZuhiAePqLqjc7m0DvLtykW+cYGoa0EXVn3jfmox02ZiGYp/RjcEJ VvuBowhiKEs4cDuVIFPMLQ0RAjuOx+Ehjj75zdYoO6PXq1yxOZ8D78YGk+SW+CEbZRdV +eUkXIB1NAoYtsCZjYXDGQ7K91CBtxJQSa+Ai72p3MUr/zPuvVAXXcgzjgSO6IuBiqEM 9uLmgxcCmRs+i+8W1ME/zFkz4ix8OANb/w4a/iLu5H5BDyiUKCAFT495sIRorBlWh5Pg NJ9JT257BF8z9wg720gQwjv2smca1Gzvj1WCmlTWaR+3OrH1nQGEUhXXiAR8tU6CQpSs gMig==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692952280; x=1693557080; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7W3i1rD8/EW7GuSSL4gwaQrQGJgsxj8+Sf7MxJXMyfw=; b=QlKJCZq4lzR6x0NXfKjOC7acm6ZGYCGQAoAPED8ONoMiGhTIU0L6p6P1Tsa15b5w7O dIU8CPVlN721lq7QI/9/GSeYusgQLvfA8OMYsmv6xsZ5BMgG2efNlSoJTuJvCzl/Q5bB Avfm6t91V0QZ0lVZgjpOxSK6TwRszQm/vPR4pcCYB/NRTxoxweXWUFMhaJ5M76JLrLlw /FNsQhZz0SFcDyhwK6T8nEngJ5ghfZ8aSaBEKno/keOksW07mTX4da0la80C7r61s8gU UptpYqYZKKGD4ekNfFlD8bdf+l8CxroGjfr6VNrDDuBrgIakmDMiKBrb84qcx59282gf De1w==
X-Gm-Message-State: AOJu0Yz6DIQkqpyWV3MpLk10VUnzj83oilcFB/zRxqWerHVP/2cOQLH+ dDaopy3EpZq82uYzScVSqNpVDUxZmkfpwTYHBvU=
X-Google-Smtp-Source: AGHT+IFWD7wK6K3upx1FOVhYcwKexBOU5ybpasq+8vVa2lEYkZQCQyRLcJbA9uvt1AfJEaKP+Fhsopa1mWmF0Eeyf0o=
X-Received: by 2002:a05:6870:209:b0:19f:6711:8e0a with SMTP id j9-20020a056870020900b0019f67118e0amr2635189oad.32.1692952279775; Fri, 25 Aug 2023 01:31:19 -0700 (PDT)
MIME-Version: 1.0
References: <169271555219.5723.8616031040868994897@ietfa.amsl.com> <PAXPR07MB884467F6BD8B342AB46730D3F41CA@PAXPR07MB8844.eurprd07.prod.outlook.com> <CAEh=tcfaABK+d5+kKq62GbOZnKkL2vV_L6chEd9NLkkfj1FSgQ@mail.gmail.com> <PAXPR07MB8844A494FB7FE3868A130F8DF41DA@PAXPR07MB8844.eurprd07.prod.outlook.com> <PAXPR07MB8844D6FEC406380F4E0A0DCBF4E3A@PAXPR07MB8844.eurprd07.prod.outlook.com>
In-Reply-To: <PAXPR07MB8844D6FEC406380F4E0A0DCBF4E3A@PAXPR07MB8844.eurprd07.prod.outlook.com>
From: Zaheduzzaman Sarker <zahed.sarker.ietf@gmail.com>
Date: Fri, 25 Aug 2023 10:31:09 +0200
Message-ID: <CAEh=tccqxSFxeeTeefEfomzG1xo9nUEU4hu9mjG1dpsT9Hm3iA@mail.gmail.com>
To: Göran Selander <goran.selander@ericsson.com>
Cc: "lake@ietf.org" <lake@ietf.org>, The IESG <iesg@ietf.org>, "draft-ietf-lake-edhoc@ietf.org" <draft-ietf-lake-edhoc@ietf.org>, "lake-chairs@ietf.org" <lake-chairs@ietf.org>, "malisa.vucinic@inria.fr" <malisa.vucinic@inria.fr>
Content-Type: multipart/alternative; boundary="00000000000041fe270603bb2b2e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lake/pxyZHFYhJDnTBXtbYr7FqdR379c>
Subject: Re: [Lake] Zaheduzzaman Sarker's No Objection on draft-ietf-lake-edhoc-20: (with COMMENT)
X-BeenThere: lake@ietf.org
X-Mailman-Version: 2.1.39
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: Fri, 25 Aug 2023 08:31:22 -0000

Hi Göran,

I have left my suggestion as a comment in the github PR.

//Zahed

On Fri, Aug 25, 2023 at 10:12 AM Göran Selander <goran.selander@ericsson.com>
wrote:

> Hi Zahed, and all,
>
>
>
> We made a small PR on top of -21 clarifying the preference for reliable
> transport:
>
> https://github.com/lake-wg/edhoc/pull/434/files
>
>
>
> Please let us know if this change is preferred and if there is anything
> missing.
>
>
>
> Thanks,
>
> Göran
>
>
>
>
>
>
>
> *From: *Göran Selander <goran.selander@ericsson.com>
> *Date: *Thursday, 24 August 2023 at 13:08
> *To: *Zaheduzzaman Sarker <zahed.sarker.ietf@gmail.com>
> *Cc: *The IESG <iesg@ietf.org>, draft-ietf-lake-edhoc@ietf.org <
> draft-ietf-lake-edhoc@ietf.org>, lake-chairs@ietf.org <
> lake-chairs@ietf.org>, lake@ietf.org <lake@ietf.org>,
> malisa.vucinic@inria.fr <malisa.vucinic@inria.fr>
> *Subject: *Re: Zaheduzzaman Sarker's No Objection on
> draft-ietf-lake-edhoc-20: (with COMMENT)
>
> Hi Zahed, and all,
>
>
>
> Thanks for quick response. Inline.
>
>
>
> *From: *Zaheduzzaman Sarker <zahed.sarker.ietf@gmail.com>
> *Date: *Thursday, 24 August 2023 at 10:59
>
>
>    - I also like section 3.4, however, it is not clear to me if the list
>    provided, is a "must to meet" criteria for any transport or fulfilling
> any
>    subset of features is good enough. If the later then this specification
>    should describe how the missing criteria should be fulfilled or ignore
> or
>    describe the impact.
>
> [GS] The security protocol does not depend on any of the transport
> criteria listed in section 3.4. The consequence of the transport producing
> something else than the next message according to protocol state is that
> the session will be aborted.
>
> OK.
>
>
>
> The application decides on transport to use and which criteria in the list
> to fulfil, and thereby what risks it is prepared to take for potential
> termination of the protocol due to shortcomings of the transport.
>
> This is however, still not clear in the text in 3.4. Lets say, for some
> reasons the application just opens up an UDP socket to send the EDHOC
> messages, in that case the transport protocol would not be able to provide
> those listed as expect in the specification - "In order to avoid
> unnecessary message processing or protocol termination, the transport is
> responsible to handle", so either the application take cares of all the
> transport responsibilities or does not select UDP, but there is nothing in
> the specification that prohibits the application to pick UDP in the socket.
> This is to me is not a good situation and need clarification. (As I wrote
> in the my previous comment, the specification seems to prefer reliable
> transport and may be that should be default ask).
>
>
>
> [GS] I’m open for guidance here (from IESG, LAKE WG/chairs,  or others).
>
>
>
> Section 3.4 in #429 is intended to explain (may be improved!) that
>
> ·         if you just run UDP then your EDHOC session may be aborted,
> because the message received is not always the expected next message
> according to protocol state.
>
> ·         If you add CoAP in reliable mode it should work just fine.
>
> ·         If you don’t use CoAP then you need to use something else that
> handles the listed transport properties or risk the session unnecessarily
> being aborted.
>
>
>
> In A.2 we recommend using CoAP in reliable mode. We could make that
> recommendation more general. Not sure how to best do that in the context of
> the existing list.
>
>
>
> Is your view of the problem with the current text that people may get
> wrong expectations, or that we allow settings where the EDHOC session
> sometimes doesn’t complete due to limitations in the transport?
>
>
>
> Thanks,
>
> Göran
>
>
>