Re: [dispatch] Work for IETF114

Mark Nottingham <mnot@mnot.net> Thu, 16 June 2022 01:57 UTC

Return-Path: <mnot@mnot.net>
X-Original-To: dispatch@ietfa.amsl.com
Delivered-To: dispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 65D9DC14CF0B for <dispatch@ietfa.amsl.com>; Wed, 15 Jun 2022 18:57:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.13
X-Spam-Level:
X-Spam-Status: No, score=-2.13 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=wUaAa/Pu; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=RBG/NFcM
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fsUyRBGzugkN for <dispatch@ietfa.amsl.com>; Wed, 15 Jun 2022 18:57:19 -0700 (PDT)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A3EECC14CF16 for <dispatch@ietf.org>; Wed, 15 Jun 2022 18:57:19 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E14735C0468; Wed, 15 Jun 2022 21:57:18 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 15 Jun 2022 21:57:18 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1655344638; x= 1655431038; bh=ePTEyj0a/iJomfoMBqonhAzxsa6LBkJZTIp5HI9Sgmo=; b=w UaAa/PuR8+ZqyYO2Tkuq/D9sGDH6pXm872JYgiNnAk4WY+OFkDv5CjQDkgOSp8Fj oMzWkT3eU1K8JjBDAQ200SOVPPv5Qe6yS0SY0DgIPrldS8HMFWlD4ZEQqj8K+Ih8 Y3gEXJWCXLqddz2R16fl2CjuV0jQ5hm4hOH+MiHNuVDpnS1FjBBsC/dU1kczkFxU m33Pp7ANCdVKewX4sDXfJXJsRGnkuvOSOgSuMIPpApbgeLZjYP9eQbma/2n7zcwe PB3aTMVozVIB7oVmChnkHMI7BudK4IWkQKNTemfcC4FwN+14uHPCf0Sb69H6f1C3 n/UetzDyZUrLUrUDnLPYw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1655344638; x= 1655431038; bh=ePTEyj0a/iJomfoMBqonhAzxsa6LBkJZTIp5HI9Sgmo=; b=R BG/NFcMrELYdiAuQ5HKMLSDOuhPBH0SIGOK7aLr2ZOAbhWYee2Uny3636/f8RoaJ Rr91gF8DaHquATH3JIxcEvQBNUX1tq7e6ru77GzPrwIO76O9gvvIIOVfxpxLq59g 7Tspl1YvBfnxV9Y3tR9ZmA2Ri57Rpwlre146XgLaDm121LFyWL/Y8F6X2qLW3WJc lYOqBaYvqzw+fvZMmpD0fsMMDBxV0D/3CMP6rfoS1juDAMu7Gyvd3lo/574+avts f0NfSAkkY+XxRjqESnkysrgYJK88xfnRdreeJQ6gCTsniiMyU6OT4I61CLOTriXp Y4QjJlb4EvHK7oHSdZdYA==
X-ME-Sender: <xms:_o2qYrhBOpnTNZam4Yhxx29esbi0Jf1e_M8NrRJpNR2ooY3h4FNzRA> <xme:_o2qYoBnbwLf2cfuB97LDAiRpEv5UR8cebK3c85cn7fF_porORwEFoH3fpXZntaso 2jqY5jyokBEjYDdgg>
X-ME-Received: <xmr:_o2qYrFpzIFlkEiPy_MWdG4aByYWIGcAbFgzPyCUkx7xK5pPRZoLqIxU4N6RlUOgySdzoqHvqVYq3iKXBA1dY67te7F1GPQP5jOoOQPGW0MVG83eWk8yCrS1>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddvvddghedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptggguffhjgffvefgkfhfvffosehtqhhmtdhhtddvnecuhfhrohhmpeforghr khcupfhothhtihhnghhhrghmuceomhhnohhtsehmnhhothdrnhgvtheqnecuggftrfgrth htvghrnhepffevkefgvefgueetleejvdfffefguedvlefgudeggeffhffhieelheeiieeu heffnecuffhomhgrihhnpegvgigrmhhplhgvrdgtohhmpdhivghtfhdrohhrghdpvgigrg hmphhlvgdrohhrghdpmhhnohhtrdhnvghtnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepmhhnohhtsehmnhhothdrnhgvth
X-ME-Proxy: <xmx:_o2qYoRyDR1Kc9eoYp_mrBYS-NXbXa4p1LNbSpubw2IZfFxJMTbOCw> <xmx:_o2qYowekLlLhkJaNGrK0euYZd16SQRZuJkAqyYXIic0DazeTKwLMg> <xmx:_o2qYu5lxY_f0N7aRxwJedqkPzuSzSsZtt3d1G6RRvJh1dfgPBB5-Q> <xmx:_o2qYj_xk4mU_r-TcLRhAG8uoVTCZJ5w5b4phhFgCknKi8yDCxcO7g>
Feedback-ID: ie6694242:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 15 Jun 2022 21:57:17 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAHBU6iuKpV-GTyOTHaytg9_MxDtrNNuSF88WWsTp3wfLmpfsQQ@mail.gmail.com>
Date: Thu, 16 Jun 2022 11:57:14 +1000
Cc: DISPATCH list <dispatch@ietf.org>, Tim Bray <tbray@textuality.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <5639B870-AC11-4111-B58A-BC02E7172D7C@mnot.net>
References: <ec38343d-6c89-4c8a-82c0-484375bd89b1@www.fastmail.com> <CAHBU6iuKpV-GTyOTHaytg9_MxDtrNNuSF88WWsTp3wfLmpfsQQ@mail.gmail.com>
To: Gondwana Bron <brong@fastmailteam.com>
X-Mailer: Apple Mail (2.3696.100.31)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/_8Ai0D-rbi7JIwwc4SYFpXvaBas>
Subject: Re: [dispatch] Work for IETF114
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: DISPATCH Working Group Mail List <dispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dispatch>, <mailto:dispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dispatch/>
List-Post: <mailto:dispatch@ietf.org>
List-Help: <mailto:dispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Jun 2022 01:57:24 -0000

Tim's approach is the direction I'd encourage you to go in -- being able to reusing an existing scheme has a lot of merit.

Cheers,


> On 11 Jun 2022, at 2:06 am, Tim Bray <tbray@textuality.com> wrote:
> 
> You know, you wouldn't have to invent *that* much new. When you retrieve https://example.com/foo#bar, the "#bar" part isn't sent to the server, and the rules say it is interpreted with respect to the content-type of whatever you get.  It's called the Fragment Identifier (https://datatracker.ietf.org/doc/html/rfc3986#section-3.5) and normally used to identify a fragment within the resource representation, but let's ignore that.  So suppose you invent a new media type, say app/encrypted-file.  Then you invent a tiny little language to go in the fragment identifier. E.g.
> 
> https://example.com/#KeyID=48954289574239
> 
> or possibly even
> 
> https://example.com/#KeyHost=tbray.org&KeyID=48954289574239
> 
> When this thing is retrieved (without the #fragment) you get something with Content-type: app/encrypted-file
> 
> Now, there'd need to be serious thinking about chain of trust.  Obviously you'd require trust and encryption for the channel over which the URI-with-fragment is transmitted.  Then there's the matter of where the key comes from. In the second form, one assumes the key is in example.org//.well-known/something  and the receiver only really needs to decide to trust example.org.  The first form, where there's a pre-existing out-of-band arrangement about where to get keys from, is attractive.  I think you still need the KeyID thing.
> 
> Wouldn't be that hard to implement.
> 
> 
> On Fri, Jun 10, 2022 at 6:22 AM Bron Gondwana <brong@fastmailteam.com> wrote:
> Yep, me again with something new that's bubbling up out of the "large files over email" problem.
> 
> I'm not quite sure the shape of this, but I'd like some time to talk about something which might be a media type, might be a URI scheme, might be... I dunno.  I'm sure the group will have zillions of opinions about both what the work should be, and what it should look like.  I can give you the user experience and use-case that I want anyway.
> 
> ...
> 
> Use case: user wants to store a file encrypted on a server, and provide a link such that their recipient can get the decrypted file, without the server ever seeing the plaintext content.
> 
> Which basically means - the URL/URI that the sender provides to the recipient contains the key data to decrypt the content, encoded into the URI in such a way that it's not provided to the server.  There are pros and cons of different approaches, but ideally the operating system / browser / library transparently does the decryption as part of the fetching such that a piece of client software doesn't care if the data is stored in plaintext and transferred over HTTPS (or whatever), or stored encrypted on the server with zero knowledge - either way the client program / library gets the raw data plaintext and doesn't have to care what the sender intended.
> 
> Obviously, this only works if the recipient supports it, so bootstrapping is going to be a pain.  But I haven't seen something like this existing, and it would be SOOOOOO much nicer to have this transparently able to be embedded in the URI and handled by lower levels rather than having to design and specify an optional encryption layer in the email large file handling stuff.
> 
> ...
> 
> I'll put together a better proposal in the next couple of weeks, but just requesting the agenda time now :)
> 
> And I would LOVE it if someone already knows that such a thing exists and can point me to it instead of having to reinvent the wheel.
> 
> Cheers,
> 
> Bron.
> 
> --
>   Bron Gondwana, CEO, Fastmail Pty Ltd
>   brong@fastmailteam.com
> 
> 
> _______________________________________________
> dispatch mailing list
> dispatch@ietf.org
> https://www.ietf.org/mailman/listinfo/dispatch
> _______________________________________________
> dispatch mailing list
> dispatch@ietf.org
> https://www.ietf.org/mailman/listinfo/dispatch

--
Mark Nottingham   https://www.mnot.net/