[lp-wan] SCHC over LoRaWAN - IID algorithm

Olivier Gimenez <ogimenez@semtech.com> Tue, 24 November 2020 14:22 UTC

Return-Path: <ogimenez@semtech.com>
X-Original-To: lp-wan@ietfa.amsl.com
Delivered-To: lp-wan@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9D7D03A0E62 for <lp-wan@ietfa.amsl.com>; Tue, 24 Nov 2020 06:22:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.19
X-Spam-Level:
X-Spam-Status: No, score=-0.19 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, 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=semtech.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 BMzraXz2YeV2 for <lp-wan@ietfa.amsl.com>; Tue, 24 Nov 2020 06:22:15 -0800 (PST)
Received: from mail1.bemta23.messagelabs.com (mail1.bemta23.messagelabs.com [67.219.246.114]) (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 A96683A0E5B for <lp-wan@ietf.org>; Tue, 24 Nov 2020 06:22:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semtech.com; s=k1; t=1606227728; i=@semtech.com; bh=jJm2Bnzttrfg0Bmnxva+6ieYo8j4kyKQjBtWVb+hh1k=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=etEJFHWkwhYsOwWTxmQGnM8EVcKpV+B3zw2bQZ723NhqagmsL0R0gtRaBLjHHFBhg a2DSEuDgUyys1OI0eOC/uGOJXrNOac9XquJlCKNDA1e/p1EIg2p6iwCuLQ9DH7aP5p iUgqtYNdZn7wbahvzefVBjL5gJKIQ6iaUUb/E8uoeFAe8Z3uOLZY2ezmXtwLDll5g5 LokgRoNa3W6Dn25SLGggL8jDNOQxflhP3/RwD/LARsHID4L+1YbmIRtttqm1oPrl3K xK4uJpAXpZONtZuAoWsMAhJzE95gI1hs0C4mAmlcTHws9mqiJMOYc/JeQJiPkSr06f bfEubRFvOt46g==
Received: from [100.112.4.31] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-3.bemta.az-c.us-east-1.aws.symcld.net id C1/4C-48142-0171DBF5; Tue, 24 Nov 2020 14:22:08 +0000
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrEKsWRWlGSWpSXmKPExsXiofbjsS63+N5 4g94/LBZvZtk7MHosWfKTKYAxijUzLym/IoE1Y8mXkywFuycxVsz/uZCxgXHnBMYuRi4OIYEH jBIr105mhnBeMEp0HFoG5exklLixeClbFyMnB5uAjsT/57NYQWwRAXWJLY+a2EFsYQEtiZZNV 9gg4voSd399YIGw9SSeHDgGVs8ioCrxedEFsBpeASuJoy3XmEBsRgExie+n1oDZzALiEreezA ezJQQEJJbsOc8MYYtKvHz8jxXkIAmBacwSC0+eYYNI8EvMO3ydFcJWkJi/4gDUoESJLwsOMEI sE5Q4OfMJ2EFCAooSrdMWMk9gFJmFZN8sJC2zkLTMYuQAimtKrN+lD1GiKDGl+yE7hK0h0Tpn Ljuy+AJG9lWMZklFmekZJbmJmTm6hgYGuoaGRrpmQJaJXmKVbrJeabFuamJxia6hXmJ5sV5xZ W5yTopeXmrJJkZgBKYUsGXsYGx/80HvEKMkB5OSKK8D0954Ib6k/JTKjMTijPii0pzU4kOMMh wcShK87QJAOcGi1PTUirTMHGAygElLcPAoifDeFAVK8xYXJOYWZ6ZDpE4xenNMeDl3ETPHwaP zgOT35oVA8uOqJSA2mDwyd+kiZiGWvPy8VClxXlUxoBECICMySvPgFsCS2iVGWSlhXkYGBgYh noLUotzMElT5V4ziHIxKwrz7QA7hycwrgbvjFdCJTEAnTufcA3JiSSJCSqqBadGjnruWar8LG tT4brIX/yxTK9LUm7vFfOWrDbvvZK44vOecFWvE4ZzV2t4TFgVwP3iepaM497B9+IQzDwVWFm 96v9zK1fQI+5QIAaa150L6Zrl0JEvcyoi5YsibXG8nqfr2nG5P1LwG/nTmRy+6dmhwOnyM3WF 9OclzpTjr9p9OzjU6Cbd22BmVb2vnmhqSd7nnXGgV++3mFrczzPeEuGMdo4ueR+3+NcfO0OhP 0JvM1N93twavfiUtnHwm/8EzfvXjh7b+2vh4q5zotPBXV9jTIg//mp5k//518U0RG7UHa/nm3 793Z1274y7ZgA9PvS38F9/w+RnydMffponCffPWC9g84voU6agqqPj4oxJLcUaioRZzUXEiAJ jfvy/lAwAA
X-Env-Sender: ogimenez@semtech.com
X-Msg-Ref: server-32.tower-405.messagelabs.com!1606227689!1392313!2
X-Originating-IP: [72.38.248.227]
X-SYMC-ESS-Client-Auth: outbound-route-from=pass
X-StarScan-Received:
X-StarScan-Version: 9.60.3; banners=semtech.com,-,-
X-VirusChecked: Checked
Received: (qmail 30106 invoked from network); 24 Nov 2020 14:21:54 -0000
Received: from s72-38-248-227.static.datacom.cgocable.net (HELO ca01exedge1.semnet.dom) (72.38.248.227) by server-32.tower-405.messagelabs.com with ECDHE-RSA-AES256-SHA384 encrypted SMTP; 24 Nov 2020 14:21:54 -0000
Received: from ca01mail2.semnet.dom (10.2.50.41) by ca01exedge1.semnet.dom (10.2.110.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1034.26; Tue, 24 Nov 2020 09:21:09 -0500
Received: from ca01mail2.semnet.dom (10.2.50.41) by ca01mail2.semnet.dom (10.2.50.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.26; Tue, 24 Nov 2020 09:21:13 -0500
Received: from ca01mail2.semnet.dom ([fe80::fdc8:c457:b09e:605d]) by ca01mail2.semnet.dom ([fe80::fdc8:c457:b09e:605d%22]) with mapi id 15.01.1034.026; Tue, 24 Nov 2020 09:21:12 -0500
From: Olivier Gimenez <ogimenez@semtech.com>
To: "lp-wan@ietf.org" <lp-wan@ietf.org>
Thread-Topic: SCHC over LoRaWAN - IID algorithm
Thread-Index: AdbCbQjzz9SvL3/8RLugAyz6ft4oqA==
Date: Tue, 24 Nov 2020 14:21:12 +0000
Message-ID: <a44b76924f8347bbb4e55c95a1ba7009@semtech.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-dg-ref: PG1ldGE+PGF0IG5tPSJib2R5Lmh0bWwiIHA9ImM6XHVzZXJzXG9naW1lbmV6XGFwcGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02Yjg0YmEyOWUzNWJcbXNnc1xtc2ctNGJjZDgxM2UtMmU2MC0xMWViLWI3NmUtYzg1Yjc2MWM1MDU3XGFtZS10ZXN0XDRiY2Q4MTQwLTJlNjAtMTFlYi1iNzZlLWM4NWI3NjFjNTA1N2JvZHkuaHRtbCIgc3o9Ijk4NzYiIHQ9IjEzMjUwNzAxMjY5ODc0NTE5OCIgaD0iRWI3TWo3V3NhSEIyQnVpTEZ4bEtxSFpRRUVVPSIgaWQ9IiIgYmw9IjAiIGJvPSIxIi8+PC9tZXRhPg==
x-dg-rorf: true
x-originating-ip: [10.136.88.44]
Content-Type: multipart/alternative; boundary="_000_a44b76924f8347bbb4e55c95a1ba7009semtechcom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/QpAlCx0Tf76iTNC4pRVElSH5BFw>
Subject: [lp-wan] SCHC over LoRaWAN - IID algorithm
X-BeenThere: lp-wan@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Low-Power Wide Area Networking \(LP-WAN\), also known as LPWA or Low-Rate WAN \(LR-WAN\)" <lp-wan.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lp-wan/>
List-Post: <mailto:lp-wan@ietf.org>
List-Help: <mailto:lp-wan-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Nov 2020 14:22:18 -0000

Hello working group,

I did not got any feedback on the following proposition related to the IID computation algorithm, which is currently mandatory to implement and to use, and we want some implementations to be able to use something else if they need. Any thoughts ?

Thank you
Olivier

From: Olivier Gimenez
Sent: 03 November 2020 19:05
To: 'Erik Kline' <ek.ietf@gmail.com>; The IESG <iesg@ietf.org>; lp-wan@ietf.org
Cc: draft-ietf-lpwan-schc-over-lorawan@ietf.org; lpwan-chairs@ietf.org; Dominique Barthel <dominique.barthel@orange.com>
Subject: RE: Erik Kline's No Objection on draft-ietf-lpwan-schc-over-lorawan-13: (with COMMENT)


Hi Erik,



Thank you for your review, your comment raised some discussions during today's lpwan interim:

First thoughts: it cannot be changed because we want to use the same IID on the device and the gateway, but if it is respected we might be less restrictive as long as all implementation include at least the algorithm written in the draft. So I propose the following changes:



In order to mitigate the risks described in [RFC8064] and [RFC8065], implementation MUST implement the following algorithm and SHOULD use it.



   1.  key = LoRaWAN AppSKey



[...]



   out of scope of this document and left to the implementation.



Note: Implementation also using another IID source MUST have same IID value on both device and SCHC gateway.



> -----Original Message-----

> From: Erik Kline via Datatracker <noreply@ietf.org<mailto:noreply@ietf.org>>

> Sent: 03 November 2020 06:26

> To: The IESG <iesg@ietf.org<mailto:iesg@ietf.org>>

> Cc: draft-ietf-lpwan-schc-over-lorawan@ietf.org<mailto:draft-ietf-lpwan-schc-over-lorawan@ietf.org>; lpwan-chairs@ietf.org<mailto:lpwan-chairs@ietf.org>; lp-

> wan@ietf.org<mailto:wan@ietf.org>; Dominique Barthel <dominique.barthel@orange.com<mailto:dominique.barthel@orange.com>>;

> dominique.barthel@orange.com<mailto:dominique.barthel@orange.com>

> Subject: Erik Kline's No Objection on draft-ietf-lpwan-schc-over-lorawan-13:

> (with COMMENT)

>

> Warning - External Email

> ________________________________

>

> Erik Kline has entered the following ballot position for

> draft-ietf-lpwan-schc-over-lorawan-13: No Objection

>

> When responding, please keep the subject line intact and reply to all email

> addresses included in the To and CC lines. (Feel free to cut this introductory

> paragraph, however.)

>

>

> Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html

> for more information about IESG DISCUSS and COMMENT positions.

>

>

> The document, along with other ballot positions, can be found here:

> https://datatracker.ietf.org/doc/draft-ietf-lpwan-schc-over-lorawan/

>

>

>

> ----------------------------------------------------------------------

> COMMENT:

> ----------------------------------------------------------------------

>

> [[ questions ]]

>

> [ section 5.3 ]

>

> * Is this MUST really necessary?  If an implementation wanted to, say, read

>   8 bytes from a good /dev/urandom source wouldn't that also be okay?  Seems

>   like SHOULD would suffice (with a MUST NOT comment about not just using

>   DevEUI etc).

>

>



To view our privacy policy, including the types of personal information we collect, process and share, and the rights and options you have in this respect, see www.semtech.com/legal.