Re: [core] Benjamin Kaduk's Discuss on draft-ietf-core-multipart-ct-03: (with DISCUSS and COMMENT)

"Alexey Melnikov" <aamelnikov@fastmail.fm> Mon, 23 September 2019 14:38 UTC

Return-Path: <aamelnikov@fastmail.fm>
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 114B11200D6; Mon, 23 Sep 2019 07:38:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmail.fm header.b=EyVE0643; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=rwnrWtil
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 Ym36QEWKIEaC; Mon, 23 Sep 2019 07:38:03 -0700 (PDT)
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 10B641200C1; Mon, 23 Sep 2019 07:38:03 -0700 (PDT)
Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 68C52223B4; Mon, 23 Sep 2019 10:38:01 -0400 (EDT)
Received: from imap1 ([10.202.2.51]) by compute7.internal (MEProxy); Mon, 23 Sep 2019 10:38:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type:content-transfer-encoding; s=fm1; bh=c5zbo 3kBdVA+4KJj9OdTTCq+XRJjtvLWjIUmPW0HbDk=; b=EyVE0643eLuk3rmAJtgdL QB0y7DzziJYc8apE2JF+NBCjnmvdBWw4tKArXdmdS3HAsYpWiKtqteK8ImgEf/S3 mc32ZGroanRcI5y1mQY2yTFTLoDBLHuvChOZdPTtXanRd2U36ng/MTPdH8+6vCDI 0EJl/t9v5m7UBRw1JYWiOO6n8jEwgvFwHbpbVAuhrVSVQQlCxNqgX2ngjbdEz0Lv NjzyBPd+eqD6Fh9VpMCJiIWAwl0LHoS2b8QPOyoNfxYvIyWY91Fa5G9fD+Dm4daU wILEqgVklhcK1zs6IUeWZUfLMvGNz+YY3oLxhhQ+TFYgknUeCPkay5MHL2BIlHpA Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=c5zbo3kBdVA+4KJj9OdTTCq+XRJjtvLWjIUmPW0Hb Dk=; b=rwnrWtilXAHWGq2KvIZxrOmj10Z5pV6Mthh5FC8ALlWW0Oxp2ONMOhp5w 2h5IT7qHgVpFoEDaW4CL7Om159+1W2TU+AgDXx/TkKeCx5OHhEys3pEc8MoUONg8 zWf+gWZzJZ5Usgn4D2ffocx/Dt0INmK3+moAXVVYzUe7PU5hDCLqvsF0sDeuKxQN +YhElool7ijMUq380Py8zgmG8Tfq2lzCbwzh5VvrAxJnyYoHs3NvJ6N3I56X9RtC VyS6z/MzQLYgDofcpwT2HeE6kx1PcAG/i8bOyGtIINYvh9RVv066804Tl4QGC5Yq /+MW+q1ohYj0ofWT83M9HYz9R+W0g==
X-ME-Sender: <xms:yNiIXS7OVvNMdv9SOrVr696RZh9y9XiK_vjdx-d3WRcOLjv9kotiyw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdekgdejkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtgfesthhqredtreerjeenucfhrhhomhepfdetlhgv gigvhicuofgvlhhnihhkohhvfdcuoegrrghmvghlnhhikhhovhesfhgrshhtmhgrihhlrd hfmheqnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrghmvghlnhhikhhovhesfhgrshht mhgrihhlrdhfmhenucevlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:yNiIXeIhaY58ajpeKgchZrxUqEuTneqa-OfCW897KvmX-syMfJ0u9Q> <xmx:yNiIXTtV0Dq20s4yK2ruohLcQ-9biBnTNTxcl58rDLBNmn7-5wLSCw> <xmx:yNiIXVK6WoIm9gifsINoUegaAmerRg_Hu8Mi66K38qIChmncshfD_Q> <xmx:ydiIXf5yXuifFWIbmb20w4ucSPkek5W9K9SdnBmbUew6x9K-XRxtbg>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id B3CA0C200A5; Mon, 23 Sep 2019 10:38:00 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.1.7-238-g170a812-fmstable-20190913v1
Mime-Version: 1.0
Message-Id: <165f4130-4e77-4259-89c4-41a40905be01@www.fastmail.com>
In-Reply-To: <20190904033200.GR58050@kduck.mit.edu>
References: <155675554069.2851.9351849772053196736.idtracker@ietfa.amsl.com> <459433ef-5cb5-4c3e-a32e-a5d063b1ccf0@www.fastmail.com> <BE1600FF-FBFB-44F4-A405-9C73ADA6E3FC@tzi.org> <20190504232153.GA19805@kduck.mit.edu> <A6EE5F90-391C-487B-A3DD-2193027022C6@tzi.org> <20190826181801.GJ84368@kduck.mit.edu> <79816A1A-7863-47FC-8EF7-B6BB42A49D1E@tzi.org> <20190904033200.GR58050@kduck.mit.edu>
Date: Mon, 23 Sep 2019 15:37:39 +0100
From: Alexey Melnikov <aamelnikov@fastmail.fm>
To: Benjamin Kaduk <kaduk@mit.edu>, Carsten Bormann <cabo@tzi.org>
Cc: The IESG <iesg@ietf.org>, draft-ietf-core-multipart-ct@ietf.org, Jaime Jiménez <jaime.jimenez@ericsson.com>, core-chairs@ietf.org, core@ietf.org
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/yjoqkhTB4KQnLpM3Q9mOl2PMfqI>
Subject: Re: [core] Benjamin Kaduk's Discuss on draft-ietf-core-multipart-ct-03: (with DISCUSS and 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, 23 Sep 2019 14:38:05 -0000

Hi all,
To get closure on this:

On Wed, Sep 4, 2019, at 4:32 AM, Benjamin Kaduk wrote:
> On Tue, Aug 27, 2019 at 09:43:55PM +0200, Carsten Bormann wrote:
> > Hi Benjamin,
> > 
> > I completely agree that signed security assertions need to be interpretable without external context.  But that is a very different world from the media type being defined here.
> > 
> > In a CoAP interaction, the response might be (literally)
> > 
> > 	33.5
> > 
> > to tell you the temperature in my room.  SenML can be used to include more context, but often the request context is really needed to make sense of the response (here probably something like “GET /temp1”, translated into a CoAP request), and additional information may only be available through the installation context (e.g., that this temperature is in °C and not in °F, or that the above request to [2001:db8::1]:5683 actually leads to the temperature sensor for the room to right of the corridor, second door).
> > 
> > (OSCORE protects the relationship between the request context and the response, but cannot really protect the external context except by relating the key of the server with its function/installation location.  Where the latter is really hard to protect, and then somebody can still come with a lighter and heat up the sensor, leading to incorrect temperature measurements just for fun.)
> > 
> > This is the reason why the ambiguities incurred by using this media type are really on the mild side.
> 
> I don't disagree with any of what you say.  I'm currently coming at this
> from a perspective of "there's a mismatch between what's being described as
> use cases and what's being cited for how it works" (a progression from the
> previous "this doesn't say precisely what it means, whether directly or by
> reference").  Alexey's followups seem to suggest that the issue is just
> that the thing "being cited for how it works" (i.e., traditional
> multipart/mixed) doesn't quite reflect reality, in which case it seems
> fairly straightforward to just note the disparity/divergence-from-reference
> and move on.

I suggest to do the following change in the 3rd paragraph of the introduction:

   As the name of the media-type suggests, it is inspired by the
   multipart media types that started to be defined with the original
   set of MIME specifications [RFC2046].  However, while those needed to
   focus on the syntactic aspects of integrating multiple
   representations into one e-mail, transfer protocols providing full
   data transparency such as CoAP as well as readily available encoding
   formats such as the Concise Binary Object Representation (CBOR)
   [RFC7049] shift the focus towards the intended use of the combined
   representations.  In this respect, the basic intent of the
   application/multipart-core media type is like that of multipart/mixed
   (Section 5.1.3 of [RFC2046]). 

I suggest changing the last sentence of the above quoted text to read:

   In this respect, the basic intent of the
   application/multipart-core media type is like that of multipart/mixed
   (Section 5.1.3 of [RFC2046]), however the semantics is relaxed to
   allow for both ordered and unordered collections of media types.

If you think this needs to be explained further, something like the following
can be added after that or inserted as a "historic note":

   Experience with multipart/mixed in email has shown that recipients
   that care about order of included body parts will process them
   in the order they are listed inside multipart/mixed and recipients
   that don't care about the order will ignore it anyway. multipart/parallel
   that was intended for unordered collections didn't deploy.

Does this work for people?

Thank you,
Alexey