Re: [media-types] [IANA #1268783] application/prs.implied-executable registration request

Alexey Melnikov <alexey.melnikov@isode.com> Tue, 02 May 2023 12:47 UTC

Return-Path: <alexey.melnikov@isode.com>
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 73866C13AE48 for <media-types@ietfa.amsl.com>; Tue, 2 May 2023 05:47:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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=-0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 (1024-bit key) header.d=isode.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 8-JkW23o_m3l for <media-types@ietfa.amsl.com>; Tue, 2 May 2023 05:47:30 -0700 (PDT)
Received: from waldorf.isode.com (waldorf.isode.com [62.232.206.188]) by ietfa.amsl.com (Postfix) with ESMTP id 89D1AC137397 for <media-types@ietf.org>; Tue, 2 May 2023 05:47:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1683031649; d=isode.com; s=june2016; i=@isode.com; bh=ds42fvskTrboPL2KcF1n7diLiXpZvzh1E2kjS1itfkE=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=RGzFBLsjKiZfH6Wj7WNYrDZeREO6ntQSKqs/kYIhdf4lpvcoSYi0TCiTxiNag8rVxKWWQ2 dUM2YA2kucRwRdTscY+WxzVIIbx2OrJnOFrjrRuEr5X1RLaCvDQkZK44dEwn++LPp4n8v8 6vEp65Jim5s/gr2cKtWXPnfJuFVmIp4=;
Received: from [192.168.1.222] (host31-49-219-112.range31-49.btcentralplus.com [31.49.219.112]) by waldorf.isode.com (submission channel) via TCP with ESMTPSA id <ZFEGYBBhhJaG@waldorf.isode.com>; Tue, 2 May 2023 13:47:29 +0100
Message-ID: <e9deef8c-6d8b-e685-a77f-8054bb37d490@isode.com>
Date: Tue, 02 May 2023 13:47:07 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0
To: iana-mime-comment@iana.org
Cc: media-types@ietf.org
References: <RT-Ticket-1268783@icann.org> <3pbqatgjdj-1@ppa3.lax.icann.org> <rt-5.0.3-3947798-1679094869-1633.1268783-9-0@icann.org>
From: Alexey Melnikov <alexey.melnikov@isode.com>
In-Reply-To: <rt-5.0.3-3947798-1679094869-1633.1268783-9-0@icann.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-transfer-encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/YUiRDZWHQMW6-_t3iVy__YhPg8c>
Subject: Re: [media-types] [IANA #1268783] application/prs.implied-executable registration request
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: Tue, 02 May 2023 12:47:34 -0000

Hi Amanda,

This is approved, but see my comments on the request #1, which apply to 
this one as well.

Best Regards,

Alexey

On 17/03/2023 23:14, Amanda Baber via RT wrote:
> Hi Alexey,
>
> This is #2 of 3.
>
> thanks,
> Amanda
>
> =====
>
> Name: Marek Čermák
>
> Email: cermmarek@gmail.com
>
> Media type name: application
>
> Media subtype name: prs.implied-executable
>
> Required parameters: interpreter: The name of the application or command indicated by the file to open or execute it in.
>
> Optional parameters: args: An arbitrary character sequence used as arguments when executing "interpreter", if present.
> charset: If provided, the character set used by the file, with the same syntax and semantics as for text/plain [RFC 2046]. If omitted, the file MUST NOT be treated as being in any particular character set.
>
> Encoding considerations: binary
>
>
>
> Security considerations: The media type denotes content that may represent executables in various scripting languages, as indicated by "interpreter". When processing this type, applications MUST ensure that "interpreter" matches the information stored in the file, and if they intend to assign a more concrete media type to the file, they SHOULD verify that it is valid. Applications MUST NOT execute files coming from untrusted sources since it may lead to arbitrary code execution.
>
> Interoperability considerations: Applications that accept or produce this type should not be assumed to have knowledge of the particular syntax used by the file. It is not guaranteed that an application offering this type will produce a file in a code that is most commonly associated with the interpreter name, and it is not guaranteed that an application accepting this type will be able to execute it using the specified interpreter or that the interpreter will be able to open the file.
>
> Published specification: N/A
>
> Applications which use this media: This media type is intended for applications that have to guess the media type of a file, but do not contain heuristics that allow to pick a more concrete media type with acceptable confidence.
>
> Fragment identifier considerations: N/A
>
> Restrictions on usage: N/A
>
> Provisional registration? (standards tree only): No
>
> Additional information:
>
> 1. Deprecated alias names for this type: N/A
> 2. Magic number(s): N/A
> 3. File extension(s): N/A
> 4. Macintosh file type code: N/A
> 5. Object Identifiers: N/A
>
> General Comments: This media type identifies a meta-format that encompasses all formats which expose or allow a way to identify the interpreter used to open them, such as via the shebang sequence "#!" on Unix systems. It it intended for use in applications that describe files using media types, but do not have sufficient heuristics to output a more specific media type. In such a case, the application may look for an instruction to use a particular interpreter, and store this information in the "interpreter" and "args" parameters.
>
> Examples:
> application/prs.implied-executable;interpreter=sh;args=-r - An executable file using the "sh -r" command to interpret it, such as shell scripts using the shebang sequence.
>
> Person to contact for further information:
>
> 1. Name: Marek Čermák
> 2. Email: cermmarek@gmail.com
>
> Intended usage: LIMITED USE
>
> It is not recommended to use this media type when a more concrete type is known. Its use beyond automated archival, content negotiation and other purposes in general file hosting is limited. Applications should not advocate themselves as accepting this media type if they require more specific structure or format.
>
> Author/Change controller: Marek Čermák <cermmarek@gmail.com>
> RT Version 5.0.3