Re: [lp-wan] Erik Kline's No Objection on draft-ietf-lpwan-schc-over-lorawan-13: (with COMMENT)

Erik Kline <ek.ietf@gmail.com> Tue, 03 November 2020 22:02 UTC

Return-Path: <ek.ietf@gmail.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 8EA1C3A122C; Tue, 3 Nov 2020 14:02:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 WDfpCcpQibAu; Tue, 3 Nov 2020 14:02:23 -0800 (PST)
Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::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 B9D913A1226; Tue, 3 Nov 2020 14:02:23 -0800 (PST)
Received: by mail-oi1-x232.google.com with SMTP id s21so20057107oij.0; Tue, 03 Nov 2020 14:02:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=rL9fiwro7aNIm7/A7K4jKGYPUbn7NOFvRmJpl6Ur4ho=; b=bEi3rZA3dhjTtsAEVlxOViNVxG1kciWhNIaZUozgKmFnPdNRFYImzCav0+jGNP2Oui PgIwQcHa3Vys1U0q4FlrXZMp91l1RwoPetFg58laKo1MjbUAGiIAo3CrkX/Sqyt4s/JP bF6AjpKnlijL6QswgtMnEPfbLW26eXnf+Nl58U9Vm4BcIK4D47bZMHgE2I20xTAYoPkz H1/WHJWrqAdOrnxaNlZi1Kenjbq7O7ISNKhfN4SwaSPVPejJ5rD8EyVKBZRoB8S2OJ8T hMRyCg5re0qV8OPqamOmjQk+9woYAYmpi0RvKIf8T4WLcMbv8RibS+LSLXsfACNXc5up E1hQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=rL9fiwro7aNIm7/A7K4jKGYPUbn7NOFvRmJpl6Ur4ho=; b=a8bwX2JgcufMBaDc9IOm0Wbo9oiax5PFC0Eo6b03aPH5233UKVVkvUwwyak91DK3ii nHMSuLpt5CLCsnJrXLAqIHk5lYoqUCsMytiKGeVa395xwwMWQ1Oeh9/Y74zP8QpVInyY Qg6WYN75wpstblGyimpebaQXNP62PB5XgC2WVkZrHeziM6wYftiykrLbdqzxRHS0oj+Q J8N91xjNmC+SScVhieprAxMo+3V6Reg3kwliCXdWALCbhQuH+6jMCJXyZMb88UYuVhNS iQp1+mjir+lvPfdEOvcquMdf5YX/L9DrfK4wBEEA1idoEodDcVLRkmsdIQzQHiOcoDoM SajQ==
X-Gm-Message-State: AOAM531PYQRscHWo+wcnIE+RP+wC98d2xLxhwj6fZQdy1WgSlziTfLwR zeH766hNtiI58jz5wKgPQ84FH5+rZnR3U1KVsUU=
X-Google-Smtp-Source: ABdhPJzyQ9hIKbYaxKnU5U25amkgxM38G8cw85Zl6iSl7Lvx/fImwjFqvmGR/eYPeKbAMGI9wAy3hxM0wGne7oDUPIo=
X-Received: by 2002:aca:6748:: with SMTP id b8mr795122oiy.77.1604440942758; Tue, 03 Nov 2020 14:02:22 -0800 (PST)
MIME-Version: 1.0
References: <160438118107.26914.128782448064274935@ietfa.amsl.com> <347dd68a5ef142f38bcf47793aed3aed@semtech.com>
In-Reply-To: <347dd68a5ef142f38bcf47793aed3aed@semtech.com>
From: Erik Kline <ek.ietf@gmail.com>
Date: Tue, 03 Nov 2020 14:02:11 -0800
Message-ID: <CAMGpriXMXy5fSU0WVPv0ipSdz3hc6CnmJaoyG==c6pDGstHOcw@mail.gmail.com>
To: Olivier Gimenez <ogimenez@semtech.com>
Cc: The IESG <iesg@ietf.org>, "lp-wan@ietf.org" <lp-wan@ietf.org>, "draft-ietf-lpwan-schc-over-lorawan@ietf.org" <draft-ietf-lpwan-schc-over-lorawan@ietf.org>, "lpwan-chairs@ietf.org" <lpwan-chairs@ietf.org>, Dominique Barthel <dominique.barthel@orange.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/4rkkMXjZLLeGHGVW5IhrVcPZT9w>
Subject: Re: [lp-wan] Erik Kline's No Objection on draft-ietf-lpwan-schc-over-lorawan-13: (with COMMENT)
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, 03 Nov 2020 22:02:26 -0000

I don't know enough about the lorawan/lpwan architecture to feel
strongly one way or the other.  FWIW, this text looks fine to me (and
my comment was not a Discuss point).

I just often feel that these "here's how you have to do things"
algorithm recommendations work fine up until they don't (for whatever
reason).  And at that point it's important for implementers to
understand the core requirements so they can (re)derive an
implementation strategy that meets those requirements rather than try
to stick to one implementation approach.  And the core requirement for
address privacy AIUI is non-guessability and to my mind "use a good
PRNG" works and might be simpler.

But I see here that the key changes on re-join and thus the generated
address will change, and so that makes sense.  But if the network
gateway is relying on this address formation trick rather than
learning the address the node has chosen for itself, that would be a
very different architectural problem IMHO.

On Tue, Nov 3, 2020 at 10:05 AM Olivier Gimenez <ogimenez@semtech.com> wrote:
>
> 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>
>
> > Sent: 03 November 2020 06:26
>
> > To: The IESG <iesg@ietf.org>
>
> > Cc: draft-ietf-lpwan-schc-over-lorawan@ietf.org; lpwan-chairs@ietf.org; lp-
>
> > wan@ietf.org; Dominique Barthel <dominique.barthel@orange.com>;
>
> > 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.