Re: [core] Robert Wilton's No Objection on draft-ietf-core-stateless-06: (with COMMENT)

Klaus Hartke <klaus.hartke@ericsson.com> Mon, 20 April 2020 12:20 UTC

Return-Path: <klaus.hartke@ericsson.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 4D19D3A0C58; Mon, 20 Apr 2020 05:20:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.191
X-Spam-Level:
X-Spam-Status: No, score=-0.191 tagged_above=-999 required=5 tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 1mQrBR3PjKUZ; Mon, 20 Apr 2020 05:20:32 -0700 (PDT)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60058.outbound.protection.outlook.com [40.107.6.58]) (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 D9E0F3A0C04; Mon, 20 Apr 2020 05:11:17 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fw+DXzhOt3k2fqNZqZLZ7KJicxV3BGYXOU5UJUOF0313ca3i3QoOUkfA7+XRXmF/fjq1GUkWz4T/i+MOpImpIueFRbR5KhyTeUGLROz8mL0zoHP9ZPOWUO83dU/iFGqhAkh1UsywXu3/dvi5uU63pupHYMwaANchggtcouYROc0ZeA0Q1OKHemY/eo40lIeSz5oUoJu85UJusImFGG/YEyXpYB3QZCQXcGGkS3DmCAfPMJo2SZFISqynMGwtn0/wnCxLuXGFzCP/lCnSwwwBbyb/thmj9EIetSunSOBLVwso0SVE77/c/ryIBcBOIjlDcBSqL+UxtdoQzGZV3U9zXw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Iyy3RcRoMbagtHdwENVVAN2J2DZegKnty345a+z3QIY=; b=VDM6iK5jgoDdhtay1wwlTMB0ME8mprfYyi/HWdJCm2h29HzXOR+PtSJavpYt6HbiZohZ0UZHvzrlGrnoR9ErXsR29uQ98lHEv2sHQCg//XCq4XnDI1Qm7sxcOrrKbsCJR9t4HxJ/p/Cgn5FpTVusXBd15/IFWQ3vWlTiOutSylxIG9o9euo1rmEX8qlrnoJaiQmrsxzmLFGqEttjMpyk1FrnxybblQ2UX+jcMuM3xlLpOylA1lLT87fcbWfczoK+BecbFmeyg+cLjME3LpZpVmrRoF/UHfLJIuLMnfRbKB7L4/DBxc9RS53xA+1uOzXtuJ8CFwLSV5z8fWKc0gkKXw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Iyy3RcRoMbagtHdwENVVAN2J2DZegKnty345a+z3QIY=; b=iHHmHplLs8nVNc7WXYvc6sazZERzMJcvA8vkktlcTgw9T69SNNl4V/2kCNs80aqw7j4Ud1dQL+I+luaKMohtvzvRQ+o+OkXassq0zpn1mgbBaQbWrCnnnQZ1D30Kq4NxppsMZsHeBD2RBifbK+r4YKYmf2I3+/B+VTvuGKWCMRI=
Received: from HE1PR07MB4346.eurprd07.prod.outlook.com (2603:10a6:7:97::10) by HE1PR07MB3145.eurprd07.prod.outlook.com (2603:10a6:7:31::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.6; Mon, 20 Apr 2020 12:11:14 +0000
Received: from HE1PR07MB4346.eurprd07.prod.outlook.com ([fe80::dd30:592:4d33:3f46]) by HE1PR07MB4346.eurprd07.prod.outlook.com ([fe80::dd30:592:4d33:3f46%5]) with mapi id 15.20.2937.012; Mon, 20 Apr 2020 12:11:14 +0000
From: Klaus Hartke <klaus.hartke@ericsson.com>
To: Robert Wilton <rwilton@cisco.com>, The IESG <iesg@ietf.org>
CC: "draft-ietf-core-stateless@ietf.org" <draft-ietf-core-stateless@ietf.org>, "core-chairs@ietf.org" <core-chairs@ietf.org>, "core@ietf.org" <core@ietf.org>, Carsten Bormann <cabo@tzi.org>
Thread-Topic: Robert Wilton's No Objection on draft-ietf-core-stateless-06: (with COMMENT)
Thread-Index: AQHWFwoVgpQn+9BxpE60ND+V7fscQaiB5yAA
Date: Mon, 20 Apr 2020 12:11:14 +0000
Message-ID: <HE1PR07MB43469E5AAD86BF957460E965E6D40@HE1PR07MB4346.eurprd07.prod.outlook.com>
References: <158738349972.32616.5906857574368739549@ietfa.amsl.com>
In-Reply-To: <158738349972.32616.5906857574368739549@ietfa.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=klaus.hartke@ericsson.com;
x-originating-ip: [145.14.112.90]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 60b299b4-1806-4da6-52d2-08d7e523ec0d
x-ms-traffictypediagnostic: HE1PR07MB3145:
x-microsoft-antispam-prvs: <HE1PR07MB31451106FC4B614C072EABAFE6D40@HE1PR07MB3145.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 03793408BA
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR07MB4346.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(396003)(136003)(346002)(376002)(366004)(9686003)(316002)(26005)(33656002)(54906003)(186003)(2906002)(478600001)(86362001)(55016002)(6506007)(44832011)(4326008)(5660300002)(66556008)(66946007)(76116006)(66476007)(64756008)(66446008)(8676002)(7696005)(52536014)(71200400001)(110136005)(81156014)(8936002); DIR:OUT; SFP:1101;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: jNRtDsCIAjKKC2QcZqTDsvSq3TcXUVysLbrwkcUiBgY4DJ6naX8rSScsIUos+jPsI++8KrZr0EP4qetuBCUqAhU4uhxEdb8gbzwlL2M4EzgTie2ZufWXnjYd6+BAVf7NxDFSurEDnbIXge3QCtIFvlomfFWPN5JV6GBaCYnffcpaixkPpkLEmLz8p3p8mhwvjcNCn9dRsXGu7EuLHWk0yHF6qJtWnCwojyowLghBCqXGsksqkWwQ31NlbXyUx9Z9qYxCsWX5a58Y/xchLYbdkWrpd1g/H4tlYRymuREC6WaIRMZnnNCWlf4kseQZUmDz4A1GvIBMU55U+2jvYsjNiAKHyjuWmDlHzZsrHmGfK5CcZ0CtqJxCwEFhhTe6MJQWrZtYYV4f0/O7ixIXRWJFacEdEWZ06lVs73B69pyltAmMgDYeJ68ckeg1Ps7ntkFY
x-ms-exchange-antispam-messagedata: p/amlsV5Cie0Vz1ZM0lpHY1D2LF5sUFrgWgPFsEFvw5KYTmZY3V7mvn6V+I68SK0BXK3ITZ+g+l3OeFroKB+x52F8dvtLtRTsg1Az63R1erDNndyB+QoYPE/stUeL7MfzNqlBo5tEHKeMsuCK43o4ahQxF7G2xI5dVt0q94N3lfNocpeLLes/9h6gnu1UdSRUw4Y8pY5jM+j4Xy8yqrK1vLv2zxYUIUSmlsAhwFaWgpkg3sKN1kK2A4k3xIf9BccyWtPPwuRqIao5nbK0gz+N2kpTrhbflzU4zXQjvHgK6XKtGdUN4UJmLSzU5nlUD3gXvJLq8fGNraydRpCFjzikmfi7FnyA5qoxJvnPyZTsIklhJlPOYA7SmHeY+cdNyEyg2xAeuCiBuEWSWDlzj731Zu/Y2sea+PGKXA7qnju8RIGophzDUMEMoz5tzRYqkNWMUs9L5nAm2PBf1LCyWutrAFMDBo+5huygxjVDGlMSCb2xxeugRXKl/92FFNwYm6i9ZGZf/mLjGf1NQ0LooK/RZbBtuqcNUuB1yBPhXw3bLgeoqeSiOu36Dnx17r+R0YROQPk+jdeJM0PGxBeow608qqIwb+dVgP1fJGnY1oi8hTuk/HLY3ub6eL1kAWXZW6RMK6A5/ubEF7uf/h02N5SH5iHT9YcUyTPoVsZGo0FoPJ4nnkyBQbP4L19B8J2PqYmobZafXfsVbOVviDUq/Zrmv5AmjZYr/COpE6sSIjrTC83jBzlR2lau57WYV0+1A8sdKGinrZbScyLZlJEGR9HXB73Z+Y5AGRhKy6HiTEiAnU=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 60b299b4-1806-4da6-52d2-08d7e523ec0d
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2020 12:11:14.2077 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: ZeJylOBf0O28BG8+LB4DZIpyVKOwe4H3h0S+pwspxl6oawoRvwZ9kaccZAeMgEYrsda+QIfkF8/qQiL8iPy064abQ8Vf4lnPyqcDSBUMoyA=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3145
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/w1o7qHVm1d1sQ4U3h-ss-BL-7ME>
Subject: Re: [core] Robert Wilton's No Objection on draft-ietf-core-stateless-06: (with COMMENT)
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: Mon, 20 Apr 2020 12:20:46 -0000

Robert Wilton wrote:
> Thanks for this document.  I found the document easy to read and the
> concept described easy to understand.

Thanks a lot for your review!

> 2.1 Extended Token Length (TKL) Field
>
>       13:  An 8-bit unsigned integer precedes the Token field and
>          indicates the length of the Token field minus 13.
>
>       14:  A 16-bit unsigned integer in network byte order precedes the
>          Token field and indicates the length of the Token field minus
>          269.
>
> I wonder whether it would be worth changing "precedes" to "directly
> precedes"
> to avoid any doubt of exactly where the length field appears?  Although I
> note that the updated message formats are in the appendix anyway.

I've changed "precedes" to "directly precedes".

> 2.2.1.  Extended-Token-Length Capability Option
>
>  The draft doesn't suggest whether the Extended-Token-Length capability
> option  should be used when the server only supports a max-length of 8.
> Would it be  useful to give a recommendation for servers in this case, e.g.
> SHOULD they  only include the capability if they support a max token length
> larger than 8  bytes?

IMHO it's already clear from RFC 8323 (which describes capability options in general) that the option does not need to be included if the base value is intended.

So, a good implementation would probably not include the option in this case, but there is no interoperability issue if it does that we'd need to prevent with a SHOULD (or MUST).

> 3.  Stateless Clients
>
>    As servers are just expected to return any token verbatim to the
>    client, this implementation strategy for clients does impact the
>    interoperability of client and server implementations.  However,
>    there are a number of significant, non-obvious implications (e.g.,
>    related to security and other CoAP protocol features) that client
>    implementations need take into consideration.
>
> I found the first sentence somewhat unclear - in that I was wondering if
> "does not impact" was intended instead of "does impact"?  Or otherwise, I
> wasn't quite sure what this sentence was trying to convey.

Good catch! "does not impact" is intended. Fixed.

Klaus