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

"Martin J. Dürst" <duerst@it.aoyama.ac.jp> Fri, 17 June 2022 06:17 UTC

Return-Path: <duerst@it.aoyama.ac.jp>
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 6A7F8C157B3F for <media-types@ietfa.amsl.com>; Thu, 16 Jun 2022 23:17:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.785
X-Spam-Level:
X-Spam-Status: No, score=-3.785 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, NICE_REPLY_A=-1.876, RCVD_IN_DNSWL_BLOCKED=0.001, 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 (1024-bit key) header.d=itaoyama.onmicrosoft.com
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 u3hCHA0aq1U9 for <media-types@ietfa.amsl.com>; Thu, 16 Jun 2022 23:17:48 -0700 (PDT)
Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on20722.outbound.protection.outlook.com [IPv6:2a01:111:f403:700c::722]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 79D26C14CF08 for <media-types@ietf.org>; Thu, 16 Jun 2022 23:17:47 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RBPsunF0mi3frILMrKOnEFgSKMN3n6Mtp04ByPQTZwmyoeS2PC89b1N2UGvKgB6mq2WxOGo1xZYxzQuemLgi9XbS2su4Kj4q+SC5TqJORbz3IF7Rwgv6q9THIZCSZ3TsHyo/0dAykkl4BVm1A8s+pRqdjVNIB87mRBSXkqegN4LyCAW4ckHBJ/eAk1sdp/MPTnf7JS5WasFVJ/XHbswxUQMUp0fYFeu1PrGhfetatrf9Nlz3/7gAPVZpdwfOd1soiVgOp1KpVzBb8ULS7LKvFvY2MD4/1woK4VUNttxXAdlD+uLnxL3MX+ay2zMbt5sPy0M+rs9PkT9+DoiLRpgFUw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=r6UHtf+j+9JiOVLpB+QiLMAE/NJ9Eag7omgNevYoVYU=; b=Qol7jJqoaJbIJljWkF4Ma+Xre88LsqLzSjfYn5oFMvHl3psEby5+8zeg37xhNW7v0/tMiI0gVtPjuXi3eGFEB1ya/ULaG3LXt6GLzC/o4oe++xOXUsKufn3tC6/xPB/QCLDJalLQpCVwudUIsA5arvqnJA6SZOAwFBOQj41C6J4e+Cyzykc5ch0SjDwILG1mI79DvzK4TmojvAY5nNxUAiD1axVT1MTd4pyvhmZXeQ78S79fiPuwAmgPDnL1zBmdoevTQGqjdx8GutojXjX+Aaj3pJUk0acEa8BL6Co7AOI/Oy/A7o7XGevcYv6fPLdfWQm99uKe/Y0bedgvraYSUg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=it.aoyama.ac.jp; dmarc=pass action=none header.from=it.aoyama.ac.jp; dkim=pass header.d=it.aoyama.ac.jp; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=itaoyama.onmicrosoft.com; s=selector2-itaoyama-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r6UHtf+j+9JiOVLpB+QiLMAE/NJ9Eag7omgNevYoVYU=; b=I291LJd5XNN7DHg9t1ph8crAF6iJipKqqRJpm+NXoiy8Jc6FFRVAalNEKsA3ayaT2KkvZ/FkeGKGgxshUKDwHMlvgbJG58n3SaTE8FWFd7tnPIKNRFJUh84WEawPt/QwohPNdOcBDqB3Wp91bK9EhmSfIrqCUNhxPNIdSmTIHhY=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=it.aoyama.ac.jp;
Received: from TYAPR01MB5689.jpnprd01.prod.outlook.com (2603:1096:404:8053::7) by TY2PR01MB3787.jpnprd01.prod.outlook.com (2603:1096:404:d2::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.16; Fri, 17 Jun 2022 06:17:37 +0000
Received: from TYAPR01MB5689.jpnprd01.prod.outlook.com ([fe80::e587:9d9a:d780:ef39]) by TYAPR01MB5689.jpnprd01.prod.outlook.com ([fe80::e587:9d9a:d780:ef39%6]) with mapi id 15.20.5353.016; Fri, 17 Jun 2022 06:17:37 +0000
Message-ID: <ac6c135b-6e1a-8ab8-fe29-2f0abd79b624@it.aoyama.ac.jp>
Date: Fri, 17 Jun 2022 15:17:34 +0900
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0
Content-Language: en-US
To: Phillip Hallam-Baker <phill@hallambaker.com>, media-types@ietf.org
References: <CAMm+Lwh1vAC4HKmKbnHdb0dT-b0yZMAWwURiX5S7beJEg6F2iQ@mail.gmail.com>
From: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
In-Reply-To: <CAMm+Lwh1vAC4HKmKbnHdb0dT-b0yZMAWwURiX5S7beJEg6F2iQ@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-ClientProxiedBy: TYWPR01CA0042.jpnprd01.prod.outlook.com (2603:1096:400:17f::13) To TYAPR01MB5689.jpnprd01.prod.outlook.com (2603:1096:404:8053::7)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 0b46d527-1214-4c62-a74a-08da5029130d
X-MS-TrafficTypeDiagnostic: TY2PR01MB3787:EE_
X-Microsoft-Antispam-PRVS: <TY2PR01MB3787483355802D729CB3C701CAAF9@TY2PR01MB3787.jpnprd01.prod.outlook.com>
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: SXA/j4yHSjNWbDgz1a1LIcs3NPdomUeDqWtAOYViFAy2ofxTCYah64gn2+YY4hT+4fQGn026ii7SE6Ooe64TLLDHt13bDSnzSYkwo3wjIr/Mpo76SLkyr5Nbco0SZ9iU8TgJb5qe5mRWDjHhVownwnUaHpYhOc8DkOozZYv6C0/J6fbtLP9Wa14+40AFHLLxu78caq8nRpWMa9/N3HvL6CfFZbbkipBODGFIUzoT9O9CQT+wvzrIN+UxtyxhzLD7u0qF2PNrsA8beYwmRY5BR3N4naKJuTym8ipg+qtY8ne6cFNe2QkkCMD2tq7bjgM3uu235EHKhEiC/rsVTV7kv9XYVqfG9zfY2VTelcnEIQuvhNMyzOhnEIgpcDAVBT1kVx5Ol3+ciPop5maXauIMVQ/UQke3bDHUlJwWfXm2mQNefAcUgdL0iplmhzSiK897FBRgaFgxaJaXduCpdlbsrA8rvcsEz0XTLzejQ0bpbC/64EfMENL1QfHdfAIkRlQ3l1uTqUzbZ+DW4tVyuahFemXHhXVLRGSi4eJW7zkdh/Ra3I3BUmybrdgF7faFo/vx0J9X3uFD1409XaHa5tqcCf0o/Vz3omunmzHKiMXwKHtWwC/SyV2MAfAwSv2A0lkIt8ogFZPIXA4h9DV9Cs72snRCrkc4zLoUv4W1d98DOSnGtokp8uoqItVKXm2Xjg8G2W90P4EwMwoy4q7CO2mQnuoqwXrArFJumZ/yagblbwwph0sWI8G1FC1owaXQQ4vF2Ssue6tvvHASAMYYW/HKLXS4ByIvq8oa5m1P2u7pgXCBgKQXuGNZaBhY/w51SZPdquW8hB5lXCQ+ogPR7zy87w==
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYAPR01MB5689.jpnprd01.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(39850400004)(366004)(396003)(346002)(136003)(66946007)(8676002)(6512007)(26005)(66556008)(66476007)(508600001)(66574015)(38100700002)(38350700002)(5660300002)(186003)(53546011)(52116002)(41320700001)(2616005)(31696002)(8936002)(6506007)(41300700001)(316002)(6486002)(966005)(36916002)(786003)(6666004)(83380400001)(31686004)(2906002)(86362001)(43740500002)(45980500001); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: QpvzAfQe/BGe1v3eveWVdS2+SH7RsggCUFkrQKeKOPFB57jesvJOWFEJbCuRn0dPd7CNG7kNwQTXcJsHU2YL0WHJWSYKwl71DCZh5eZgj+C21xtHSPHNGkzNibvbC498SXe35Q66UbbZWHyEkBuswnE8AyopYi8UPXKXChBvMFlh7rUGMKl+jXlt6qAgI7mHE3Xrj24RE75d6b2kJOxSxBwYKuivelE/PaN8C/UnKPHr/l0GpqehmU0mF4TgTTfMOd1h0EkGuc1/0gFRhNdV1ex2QU0YAIoFgTGHoeN9sjYKJcSKk/AcIqLgd1dOH9XwHxdxueglFkUaaUdNIhPEP6tVKNA9T6JCKLT+Zpkf0MpsFi+VPXLb+bIbnQMXKzMeGRkCdzTNW1GgvMZOgS+ZiAFRYqjEVKueT9d2Q5qQ3eyMwAu0vjk/UKMTXtTYNxvVLnDNSFwqgKDX9zf38FBCKYz6wCtccb/krpV6iovReIprOFtPZjRogDmJ3lg0hga3Az6wkka+grPufgD6TEDyHYjtLDJk8MPvF5vG9BS3qtRR2Vc7b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kKzzHqMIE3t2Y87K7XH4S00WLF42vEWqF8gVJflIEVu8aH7fCKa40/Brw2sAipcXipnYsema6jE7Gt0OaTo5d/1WKBYXIMOQjcUvqmqUW6xhmSL0B3Eg==
X-OriginatorOrg: it.aoyama.ac.jp
X-MS-Exchange-CrossTenant-Network-Message-Id: 0b46d527-1214-4c62-a74a-08da5029130d
X-MS-Exchange-CrossTenant-AuthSource: TYAPR01MB5689.jpnprd01.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2022 06:17:37.2076 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: e02030e7-4d45-463e-a968-0290e738c18e
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: r5yNnjZM4tJFp5FJIMV9f+JXf5RICbX/plYY7iZvccID3qp8NVJkAQM8cRLKdjP/jZF8Tai8UZNGANzLTVlNIw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY2PR01MB3787
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/sxwAdO0WQY2U6juC36ZiFV2NYBA>
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: Fri, 17 Jun 2022 06:17:52 -0000

On 2022-06-11 01: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.

Graham's proposal for application/extension.foobar looks just a little 
bit less ugly to me.

> 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.

I understand the problems you get with the ambiguity, but what about 
just leaving the media type blank? With your extension, you don't really 
provide information, you just duplicate it.


> 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.

Yes. In that case, the archive tool should just not guess anything.


> 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.

Well, when your archiving tool detects a file with extension .dcat, it 
can just note this extension as part of the file name, because it's all 
it knows. The media type can just stay empty.


Regards,   Martin.

> 
> 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