Re: [core] draft-ietf-core-echo-request-tag -14 and Block2

Christian Amsüss <christian@amsuess.com> Mon, 31 January 2022 17:00 UTC

Return-Path: <christian@amsuess.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 25D823A0D8A for <core@ietfa.amsl.com>; Mon, 31 Jan 2022 09:00:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 sV3KYUGkmXpx for <core@ietfa.amsl.com>; Mon, 31 Jan 2022 09:00:39 -0800 (PST)
Received: from smtp.akis.at (smtp.akis.at [IPv6:2a02:b18:500:a515::f455]) (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 626C43A0D87 for <core@ietf.org>; Mon, 31 Jan 2022 09:00:39 -0800 (PST)
Received: from poseidon-mailhub.amsuess.com ([IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bd]) by smtp.akis.at (8.17.1/8.17.1) with ESMTPS id 20VH0ZQa092230 (version=TLSv1.2 cipher=ECDHE-ECDSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 31 Jan 2022 18:00:35 +0100 (CET) (envelope-from christian@amsuess.com)
X-Authentication-Warning: smtp.akis.at: Host [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bd] claimed to be poseidon-mailhub.amsuess.com
Received: from poseidon-mailbox.amsuess.com (poseidon-mailbox.amsuess.com [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bf]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id AE61FD7; Mon, 31 Jan 2022 18:00:30 +0100 (CET)
Received: from hephaistos.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:7392:7a6c:9059:fa6b]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id 73D337F; Mon, 31 Jan 2022 18:00:30 +0100 (CET)
Received: (nullmailer pid 2489000 invoked by uid 1000); Mon, 31 Jan 2022 17:00:30 -0000
Date: Mon, 31 Jan 2022 18:00:30 +0100
From: Christian Amsüss <christian@amsuess.com>
To: Jon Shallow <supjps-ietf@jpshallow.com>
Cc: 'Carsten Bormann' <cabo@tzi.org>, core@ietf.org
Message-ID: <YfgVrpzo4qjkjJPU@hephaistos.amsuess.com>
References: <269201d7f5be$c94dcef0$5be96cd0$@jpshallow.com> <8E42CD49-27E0-4537-9E09-19469EDCADB7@tzi.org> <297301d7f5d6$ed3a33e0$c7ae9ba0$@jpshallow.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="g3iIpZ7eT5kdmHt3"
Content-Disposition: inline
In-Reply-To: <297301d7f5d6$ed3a33e0$c7ae9ba0$@jpshallow.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/JrYawurrVHKU4QzJFA7s-pGOiwA>
Subject: Re: [core] draft-ietf-core-echo-request-tag -14 and Block2
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, 31 Jan 2022 17:00:43 -0000

Hello Jon, hello CoRE

On Mon, Dec 20, 2021 at 07:22:28PM -0000, Jon Shallow wrote:
> Thanks for this.  I will go ahead using the Request-Tag in the request
> in the potential case there is a response requiring Block2.

I've asked that this be altered in the currently open AUTH48 process;
quoting:

> I support that change. The concrete text change I suggest is:
> 
> OLD:
> Note that Request-Tag options can be present in request messages that
> carry no Block options (for example, because a proxy unaware of
> Request-Tag reassembled them) and MUST be ignored in those.
> 
> NEW:
> Note that Request-Tag options can be present in request messages that
> carry no Block options (for example, because a proxy unaware of
> Request-Tag reassembled them). Clients may set them for purposes not
> further discussed in this document.
> 
> (The "MUST" was also slightly inexact; the server would still have used
> them as part of the block-wise key in any later Block2 phase, but it
> must not do anything more with it, as 3.3 already describes).
> 
> OLD:
> The Request-Tag option is only used in requests that carry the Block1
> option and in Block2 requests following these.
> 
> NEW:
> The Request-Tag option is mainly used in requests that carry the Block1
> option and in Block2 requests following these.
> 
> (The reader might follow with a thought like "although it may later turn
> out that the operation was not as block-wise as the client had
> anticipated", or even "and if it's only to disambiguate with a request
> that is still ongoing and known to be block-wise", but that does not
> need to be put in the document IMO).

Thanks for pointing this out, it's a valuable change for a use case I
did not consider.

BR
c

-- 
To use raw power is to make yourself infinitely vulnerable to greater powers.
  -- Bene Gesserit axiom