Re: [media-types] New toplevel type - extension

Graham Klyne <gk@ninebynine.org> Thu, 16 June 2022 11:53 UTC

Return-Path: <gk@ninebynine.org>
X-Original-To: media-types@ietfa.amsl.com
Delivered-To: media-types@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6C071C14F728 for <media-types@ietfa.amsl.com>; Thu, 16 Jun 2022 04:53:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.003
X-Spam-Level:
X-Spam-Status: No, score=-4.003 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, NICE_REPLY_A=-1.876, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ninebynine.org header.b=lzlZWj2N; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=bymi0tOw
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 oUkHxLlvuLuo for <media-types@ietfa.amsl.com>; Thu, 16 Jun 2022 04:53:47 -0700 (PDT)
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (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 C3C38C14F741 for <media-types@ietf.org>; Thu, 16 Jun 2022 04:53:44 -0700 (PDT)
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D74155C0371; Thu, 16 Jun 2022 07:53:36 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 16 Jun 2022 07:53:36 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ninebynine.org; h=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=fm2; t=1655380416; x= 1655466816; bh=QWDnUC6o0gnW+MkLAav05i7QXVFHua2bw/0cu3sF/G8=; b=l zlZWj2Nh9hYJVYNJYVflyeNWO64Ovb1FyLtSM0n5UskvjqlDykXE9/bAQjCUr6+l rIakW3fMH5NqJRJ6xYLjyV6AD0o3kfcszAYO2rkZPns8z1K8On2Fh8JJ9rD3KRrX 4xLrahcPhR5QNlKhZSjnSTJ5e1yS2rmQRoTrKIV/sdvS3HNcxlEL0+hIChCNtr0M Sp8CzojArYrY+2VnEOywx4zBi8quDqR8hYmApzzR6IvAmTm29/u+6A5JT9ZJQhte QFx5Mc7rjbFltbZgAu8oa/ly6Y8QQ0H5vTpmwmdZdABpTgiPa151AObovv1qMyKx rLNpI7Cjagd6exVrOZ21Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=1655380416; x=1655466816; bh=Q WDnUC6o0gnW+MkLAav05i7QXVFHua2bw/0cu3sF/G8=; b=bymi0tOwY8gqzfpSr G+seACtmgz+MiMNdFQ17gFNuFUzK/Pv7Y6BTgZLks4aRmSyqndBP/GHDVZWSfhyZ QzSbQYJ6bJUvARSIy47YQJ+AvfrY9b6z4tYLnIhVLXNKa/DjS2wjjHFd4h4WEdna loiIIBfQwloua5jHmE0kpnFTjmbBIi7yEH7PbzQBiFQKCxbapGYqleIfBjF610l0 UVCIpAell6ZjAsrIfZGmHmc2BZ0M1hjb1edC68ym6i+rOz1H9RkStlycCmwoOxSH N6CHN6EK5I0GnNdll083k4CtUq4KsS6V5yD6RKSaR6Wzc1a9rhob37fdGJw+MF1r eg7iw==
X-ME-Sender: <xms:wBmrYp2tif30UxkeAGQ1e5YbNNDHERlOEGs16wnDa5Zl4vZH6b2fUg> <xme:wBmrYgEWTCBXN8CejbYt8FHGxynfDH-ZVRvrTYQcjIss2dUE0HpN4UUVX_MJS6GfM eEDqRr1tJNb_3fMiy4>
X-ME-Received: <xmr:wBmrYp6cdjpUslUWYCY-G3XW_afDg8PU2ex2Yl93DystSWQqRar7GJvT6-EFp4ZWFMuf1YlL3Dd-62NM2g>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddvfedggedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomhepifhrrghh rghmucfmlhihnhgvuceoghhksehnihhnvggshihnihhnvgdrohhrgheqnecuggftrfgrth htvghrnhepudehueefgedtkeefudefveegveekgefgledvhfdtuefggeelueefvdeuudeu iedunecuffhomhgrihhnpehrfhgtqdgvughithhorhdrohhrghdpihgvthhfrdhorhhgpd hnihhnvggshihnihhnvgdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgr mhepmhgrihhlfhhrohhmpehgkhesnhhinhgvsgihnhhinhgvrdhorhhg
X-ME-Proxy: <xmx:wBmrYm0Pwh9qQEz7ODqKwGNtjzQPthk1FUW8o2XaPJecYRQD_-MF2w> <xmx:wBmrYsFDPNpzPJyId5MF6glJngqyiE_QmwmzoVVQSTzebxcn0d6KYw> <xmx:wBmrYn_bWmUYAGab_SzJnVB-VSv_LORdQ30JKtQ1UMtnd59UMzvumg> <xmx:wBmrYnNvsyFkK3P1uewGhLFamdT2IczFKCa2o07BrAaH8R2xJLf0Lw>
Feedback-ID: i3b414768:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 Jun 2022 07:53:36 -0400 (EDT)
Message-ID: <a931be82-53d9-2aeb-b3ad-6f7e528ac74b@ninebynine.org>
Date: Thu, 16 Jun 2022 12:53:34 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.9.1
Content-Language: en-GB
To: Phillip Hallam-Baker <phill@hallambaker.com>, media-types@ietf.org
References: <CAMm+Lwh1vAC4HKmKbnHdb0dT-b0yZMAWwURiX5S7beJEg6F2iQ@mail.gmail.com>
From: Graham Klyne <gk@ninebynine.org>
In-Reply-To: <CAMm+Lwh1vAC4HKmKbnHdb0dT-b0yZMAWwURiX5S7beJEg6F2iQ@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/hFIlYBgj3iw1Xjv-pnJLrK_xyP8>
Subject: Re: [media-types] New toplevel type - extension
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "IANA mailing list for reviewing Media Type \(MIME Type, Content Type\) registration requests." <media-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/media-types>, <mailto:media-types-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/media-types/>
List-Post: <mailto:media-types@ietf.org>
List-Help: <mailto:media-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/media-types>, <mailto:media-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Jun 2022 11:53:51 -0000

Hi!

A thought:

Rather than a new top-level media type, how about a new tree under 
"application", such as:

     application/extension.foobar

to be established per https://www.rfc-editor.org/rfc/rfc6838.html#section-3.5 ?

It feels to me that your general goal sits more comfortably with an 
"application" top-level type than as something new.

#g
--


On 10/06/2022 17:21, Phillip Hallam-Baker wrote:
> I am not going to defend the aesthetics of this proposal. But it definitely has 
> utility.
> 
> The proposal is for a new toplevel type extension where the subtype is the file 
> extension used to announce the type to the operating system.
> 
> Yes, I know it is ugly. But it would be damned useful when writing an archiving 
> tool. At the moment, I have to record both the original file extension and the 
> inferred media type. And this results in a whole rack of ambiguity and mess 
> because having two ways to describe the same thing inevitably results in ambiguity.
> 
> Consider the case that Alice saves her html document out to a DARE archive from 
> a html editor. In this case the content is definitely text/html.
> 
> But what happens when Alice zips a set of files on disk and the archive tool 
> infers the content types? Well obviously file.html is almost certainly html but 
> that is an inference and when the archive tool guesses the type of less well 
> known file types it can easily get it wrong.
> 
> So in the spirit of 'describe exactly what you know', extension/dcat seems to be 
> the way forward for when my archive tool detects a file of extension .dcat.
> 
> 
> Thoughts?
> 
> [The use case that brought this up is that I threw together a little Web browser 
> that can surf a Web site published as a set of static encrypted files. So all 
> the content is encrypted end to end.
> 
> If a threshold encryption scheme is used, the administrator of the group can add 
> and remove decryption rights from users without changing the encrypted content 
> or compromising the end-to-end encryption.
> 
> One consequence of this approach is that the media type to be reported to the 
> browser is only known after the browser attempts decryption. If Alice attempts 
> to read a file encrypted to a group she has not been read into, she will see a 
> HTML warning page telling her she is not allowed access.
> 
> Oh and my very ad hoc usability study strongly suggests that when a user is 
> surfing the Web and suddenly hits an Orange Page shouting TOP SECRET they do 
> actually take notice. But even if they don't the data is still encrypted.]
> 
> 
> _______________________________________________
> media-types mailing list
> media-types@ietf.org
> https://www.ietf.org/mailman/listinfo/media-types

-- 
Graham Klyne
mailto:gk@ninebynine.org
http://www.ninebynine.org
Skype/Twitter: @gklyne