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 16:53 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 0C1231200F4; Mon, 23 Sep 2019 09:53:00 -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=aRXlZz0T; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=EiQRYfEW
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 9n-V0SAcKxef; Mon, 23 Sep 2019 09:52:58 -0700 (PDT)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C82351200CC; Mon, 23 Sep 2019 09:52:57 -0700 (PDT)
Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id A163F22007; Mon, 23 Sep 2019 12:52:56 -0400 (EDT)
Received: from imap1 ([10.202.2.51]) by compute7.internal (MEProxy); Mon, 23 Sep 2019 12:52:56 -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=jBXyJ Du8kqaTUxnvNCQoxvGrKO4XUv+2d5Rktd6cL4k=; b=aRXlZz0TmS+BTRYNtDK1E XlVabMTP2m8gtgdEye5yreM0qNOSFe3G8jrkVq9b1XR0fAcy0amABqX2vwSlvpwZ xrh1VIGCKDQRPNdPKdDibvSwX9jkh3YrlaLRTHHgdle56MMwwoFpQJsnR+SioMa/ H0nbkzPFInBFMbYDBZuPDBWxJ+JQsEoroyZYIOyy8bf4OAxTkde1NGC0TfWXRlEt EeQt9F9hd1TtLo+gShFjieHX8iiCSg53K8hosGkXWnnXqI+JA3S6bQDlzV7P8caT fNAaloG1ebq5qtvZzTFdgNqFxnpCBrfbLfrIIia3tleeBs2h+BmUII5Ccna1QLOK A==
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=jBXyJDu8kqaTUxnvNCQoxvGrKO4XUv+2d5Rktd6cL 4k=; b=EiQRYfEWJVW+K/BEJ6XxfHtlrkyDTuhBPLB6cFFAVYeSc/0heB+EeOtZ2 lJK8+B2o4p2Bmqq/Rd1Rh1l6juq+KEnFaLVtt+/qHBCacRt7tIMNZLeo0XjojjXZ CTQTSv3wpstbWw/D0GG4vC/y++Fxf/MqRd7G2wWB6ryC8c9UwFn4MhBzituRp1m4 CTG3FkRox/49vT0gDH7cX/usrSceR6wPNFOAURR5iHv52TYVBWPDGi5teQEARhR/ 4ehWcGGlIStACGa3QedpTUuL6346nhe1zbHqaOQX1vJLJ2ShQSuVgFnmuDp9BCF5 DSVDK8F50zKEesfFiIwNOuezKJqZg==
X-ME-Sender: <xms:Z_iIXdBVMOgiuTFOvLWKRGvVyhZhi3HWiB9wmUV-gdnWQAJHtyzILA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdekgddutdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedftehl vgigvgihucfovghlnhhikhhovhdfuceorggrmhgvlhhnihhkohhvsehfrghsthhmrghilh drfhhmqeenucfrrghrrghmpehmrghilhhfrhhomheprggrmhgvlhhnihhkohhvsehfrghs thhmrghilhdrfhhmnecuvehluhhsthgvrhfuihiivgeptd
X-ME-Proxy: <xmx:Z_iIXWeInVQ1K0OM6SmREbpbKSCisMSQERfZBCx2OMOq9jFLqe2MqA> <xmx:Z_iIXXkUnK6wnne8o6rVrDmADtmK40RAOCxCU2TLZUGb5uztl3bD6Q> <xmx:Z_iIXdFxM18UihRjf7p2Mju3QFvuiKv32Dk9PGAX_lPUXxkiOqfLHw> <xmx:aPiIXSjo1xul5kkBNI-bLl6wgMYC_y-phTR-msmARKBxJc8U_LGHOA>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 93717C200A6; Mon, 23 Sep 2019 12:52:55 -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: <afdef3ae-d14d-47e1-abc1-e2f3a067ecaa@www.fastmail.com>
In-Reply-To: <20190923164507.GH6424@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> <165f4130-4e77-4259-89c4-41a40905be01@www.fastmail.com> <20190923164507.GH6424@kduck.mit.edu>
Date: Mon, 23 Sep 2019 17:52:35 +0100
From: Alexey Melnikov <aamelnikov@fastmail.fm>
To: Benjamin Kaduk <kaduk@mit.edu>
Cc: Carsten Bormann <cabo@tzi.org>, 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/NDVhj0F8vRcYnusa-BAjVjbX8N0>
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 16:53:01 -0000

Hi Benjamin,
I've added the long version as an RFC Editor note. If you can clear your DISCUSS, that would be much appreciated!

Thank you,
Alexey

On Mon, Sep 23, 2019, at 5:45 PM, Benjamin Kaduk wrote:
> On Mon, Sep 23, 2019 at 03:37:39PM +0100, Alexey Melnikov wrote:
> > 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?
> 
> Both the "short version" and the "long version" look great to me.
> 
> Thanks,
> 
> Ben
>