Re: [core] Updated CoAP option template and OSCORE handling
supjps-ietf@jpshallow.com Thu, 10 December 2020 13:31 UTC
Return-Path: <jon.shallow@jpshallow.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 427723A0B18 for <core@ietfa.amsl.com>; Thu, 10 Dec 2020 05:31:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 EGaXE6T3jaIx for <core@ietfa.amsl.com>; Thu, 10 Dec 2020 05:31:29 -0800 (PST)
Received: from mail.jpshallow.com (mail.jpshallow.com [217.40.240.153]) (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 0284C3A0DF3 for <core@ietf.org>; Thu, 10 Dec 2020 05:31:28 -0800 (PST)
Received: from mail2.jpshallow.com ([192.168.0.3] helo=N01332) by mail.jpshallow.com with esmtp (Exim 4.92.3) (envelope-from <jon.shallow@jpshallow.com>) id 1knM2Y-0006A9-JA; Thu, 10 Dec 2020 13:31:26 +0000
From: supjps-ietf@jpshallow.com
To: mohamed.boucadair@orange.com, 'Christian Amsüss' <christian@amsuess.com>, 'Core WG mailing list' <core@ietf.org>
References: <X9DfB12PZe2/08F2@hephaistos.amsuess.com> <17546_1607591353_5FD1E5B9_17546_51_1_787AE7BB302AE849A7480A190F8B93303159AF5A@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
In-Reply-To: <17546_1607591353_5FD1E5B9_17546_51_1_787AE7BB302AE849A7480A190F8B93303159AF5A@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
Date: Thu, 10 Dec 2020 13:31:20 -0000
Message-ID: <0ce601d6cef8$bf298970$3d7c9c50$@jpshallow.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQFCNREOfCAO1F1yAxTC4MquBsQ1FAGhVCaUqwx7DfA=
Content-Language: en-gb
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/Wx9OW4gjYl6LmtuXHblJ_i93X30>
Subject: Re: [core] Updated CoAP option template and OSCORE handling
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Dec 2020 13:31:31 -0000
Hi Christian, Med's suggestion looks good to me - especially as there is potential for lines being too long in the existing table if that was extended. Regards Jon > -----Original Message----- > From: mohamed.boucadair@orange.com [mailto:mohamed.boucadair@orange.com] > Sent: 10 December 2020 09:09 > To: Christian Amsüss; Core WG mailing list > Subject: Re: [core] Updated CoAP option template and OSCORE handling > > Hi Christian, > > As we need to capture both E ad U for OSCORE and the need for consistent use > of "x" to tag a given characteristic, another approach would be: > > +--------+---+---+---+---+-----------+--------+--------+---------+---+ > | Number | C | U | N | R | Name | Format | Length | Default | O | > | | | | | | | | | +-+-+ > | | | | | | | | | |E|U| > +========+===+===+===+===+===========+========+========+========= > +===+ > | 16 | | | | | Hop-Limit | uint | 1 | 16 | |x| > +--------+---+---+---+---+-----------+--------+--------+---------+---+ > > But given the conflict with the already used "Unsafe" column, I tend to prefer > not overloading the existing table, but have a dedicated table that mimics Figure > 5 of RFC8613: > > +------+-----------------+---+---+ > | No. | Name | E | U | > +------+-----------------+---+---+ > | 16 | Hop-Limit | | x | > +------+-----------------+---+---+ > > If this approach is followed, we will update the new-block draft to include this > NEW table: > > +------+-----------------+---+---+ > | No. | Name | E | U | > +------+-----------------+---+---+ > | TBA1 | Q-Block1 | x | x | > | TBA2 | Q-Block2 | x | x | > +------+-----------------+---+---+ > Table 2: Protection of Q-Block1 and Q-Block2 Options > > Cheers, > Med > > > -----Message d'origine----- > > De : core [mailto:core-bounces@ietf.org] De la part de Christian > > Amsüss > > Envoyé : mercredi 9 décembre 2020 15:28 > > À : Core WG mailing list <core@ietf.org> > > Objet : [core] Updated CoAP option template and OSCORE handling > > > > Hello CoRE, > > > > it is custom so far with all RFCs that introduce CoAP options to > > summarize their options in a table like > > > > > > +--------+---+---+---+---+-----------+--------+--------+---------+ > > | Number | C | U | N | R | Name | Format | Length | Default | > > > +========+===+===+===+===+===========+========+========+========= > + > > | 16 | | | | | Hop-Limit | uint | 1 | 16 | > > +--------+---+---+---+---+-----------+--------+--------+---------+ > > > > With OSCORE, its [table 5] introduces two more columns that, when > > plainly added, but their naming conflicts on "U" as noted in the > > Genart review[1]. > > > > As "how is this handled with object security" is a good thing to > > have at hand, I propose > > > > +--------+---+---+---+---+-----------+--------+--------+---------+- > > --+ > > | Number | C | U | N | R | Name | Format | Length | Default | > > O | > > > > > +========+===+===+===+===+===========+========+========+========= > +== > > =+ > > | 16 | | | | | Hop-Limit | uint | 1 | 16 | > > U | > > +--------+---+---+---+---+-----------+--------+--------+---------+- > > --+ > > > > annotated as "O: OSCORE classification (U: unprotected)", and intend > > to use this with echo-request-tag (ERT). > > > > The practical alternative is to leave that information out of the > > table, and only have it present textually; I think that would make > > it harder for an implementer to grasp at one look how the option is > > supposed to behave. > > > > > > KR > > Christian > > > > PS. Yeah I know this is not something that needs WG-wide agreement > > on or > > would be binding for anyone registering an option, but still we > > can > > contribute to a consistent ecosystem here. > > > > [table 5]: https://tools.ietf.org/html/rfc8613#page-17 > > [1]: https://datatracker.ietf.org/doc/review-ietf-core-echo-request- > > tag-11-genart-lc-robles-2020-12-02/ > > > > -- > > To use raw power is to make yourself infinitely vulnerable to > > greater powers. > > -- Bene Gesserit axiom > > _________________________________________________________________ > ________________________________________________________ > > Ce message et ses pieces jointes peuvent contenir des informations > confidentielles ou privilegiees et ne doivent donc > pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce > message par erreur, veuillez le signaler > a l'expediteur et le detruire ainsi que les pieces jointes. Les messages > electroniques etant susceptibles d'alteration, > Orange decline toute responsabilite si ce message a ete altere, deforme ou > falsifie. Merci. > > This message and its attachments may contain confidential or privileged > information that may be protected by law; > they should not be distributed, used or copied without authorisation. > If you have received this email in error, please notify the sender and delete this > message and its attachments. > As emails may be altered, Orange is not liable for messages that have been > modified, changed or falsified. > Thank you. > > _______________________________________________ > core mailing list > core@ietf.org > https://www.ietf.org/mailman/listinfo/core
- [core] Updated CoAP option template and OSCORE ha… Christian Amsüss
- Re: [core] Updated CoAP option template and OSCOR… mohamed.boucadair
- Re: [core] Updated CoAP option template and OSCOR… supjps-ietf