Received: from smtp.lax.icann.org (smtp.lax.icann.org [192.0.33.81])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange x25519 server-signature ECDSA (prime256v1) server-digest
 SHA256)
	(No client certificate requested)
	by mx.ietf.org (Postfix) with ESMTPS id 691384B
	for <media-types@ietf.org>; Fri, 16 Oct 2026 03:57:29 +0000 (UTC)
Authentication-Results: mx.ietf.org;
	dkim=pass header.d=iana.org header.s=202509s header.b="JtaIIs/n";
	spf=pass (mx.ietf.org: domain of iana-shared@iana.org designates 192.0.33.81
 as permitted sender) smtp.mailfrom=iana-shared@iana.org;
	dmarc=pass (policy=none) header.from=iana.org
Received: from request7.lax.icann.org (request1.lax.icann.org [10.32.11.221])
	by smtp.lax.icann.org (Postfix) with ESMTP id 95AAEE0966;
	Fri, 16 Oct 2026 03:57:28 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.lax.icann.org 95AAEE0966
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iana.org; s=202509s;
	t=1792123048; bh=FtnFaG015bKEKOtqz4JgfyU93ommPtAgdVlKgljWPDY=;
	h=Subject:From:Reply-To:In-Reply-To:References:CC:Date:From;
	b=JtaIIs/nPQagwJX3aDXCWJmGKeiADF2bLVmr3k3H7ODjqICc4JUstUPh1DX7r05MD
	 coXr3JAicIRymuU+Pk5o7TAjDocFLFj7kWEkeFMy4rBWTO82ZD/nAUvJ4wvTzW8PIx
	 ix4XhivYpyNadh+R9RiH12FuqWnpGJPlG+ldU2i0=
Received: by request7.lax.icann.org (Postfix, from userid 48)
	id 73D84C17B16A; Fri, 16 Oct 2026 03:57:28 +0000 (UTC)
RT-Owner: amanda.baber
From: "Amanda Baber via RT" <iana-mime-comment@iana.org>
In-Reply-To: <4fbecc9afk-1@ppa2.lax.icann.org>
References: <RT-Ticket-1456008@icann.org> <4fbecc9afk-1@ppa2.lax.icann.org>
Message-ID: <rt-5.0.3-760703-1792123048-1612.1456008-9-0@icann.org>
X-RT-Loop-Prevention: IANA
X-RT-Ticket: IANA #1456008
X-Managed-BY: RT 5.0.3 (http://www.bestpractical.com/rt/)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Precedence: bulk
Date: Fri, 16 Oct 2026 03:57:28 +0000
MIME-Version: 1.0
X-Spamd-Bar: -----------------------
Message-ID-Hash: 6DWM6UEAUDTZ64YD4XJMV2EXAPC7RYDY
X-Message-ID-Hash: 6DWM6UEAUDTZ64YD4XJMV2EXAPC7RYDY
X-MailFrom: iana-shared@iana.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop;
 banned-address; header-match-media-types.ietf.org-0;
 header-match-media-types.ietf.org-1; emergency; member-moderation;
 nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size;
 news-moderation; no-subject; digests; suspicious-header
CC: media-types@ietf.org, darrel@tavis.ca
X-Mailman-Version: 3.3.10
Reply-To: iana-mime-comment@iana.org
Subject: [media-types] [IANA #1456008] application/prs.ktb+zip registration request
List-Id: "IANA mailing list for reviewing Media Type (MIME Type,
 Content Type) registration requests." <media-types.ietf.org>
Archived-At: 
 <https://mailarchive.ietf.org/arch/msg/media-types/o9fxjYraykpyxtScWO3LSLTM7Lo>
List-Archive: <https://mailarchive.ietf.org/arch/browse/media-types>
List-Help: <mailto:media-types-request@ietf.org?subject=help>
List-Owner: <mailto:media-types-owner@ietf.org>
List-Post: <mailto:media-types@ietf.org>
List-Subscribe: <mailto:media-types-join@ietf.org>
List-Unsubscribe: <mailto:media-types-leave@ietf.org>

Hi Darrel,

Resending this revised sec cons section from September 29th.

thanks,
Amanda

On Tue Sep 29 19:24:18 2026, amanda.baber wrote:
> Hi Darrel,
>=20
> Does this updated sec cons section work?
>=20
> =3D=3D=3D
>=20
> Security considerations:
>=20
> (1) the format contains html which can contain embedded javascript,
> the applications that implement it should ignore embedded javascript
> and only parse html and css.
>=20
> (2) The format does not use privacy or integrity services by itself
> internally, because documents can contain private information,
> ensuring the privacy and security of the documents is the
> responsibility of the implementing applications and end users.
>=20
> (3) It inherits all security considerations of JSON and ZIP archives.
> Implementing apps should use robust json parsers and guard against
> malicious attacks like zip bombs and path traversal attacks.
>=20
> (4) The document may contain html hyperlinks, it is the apps
> responsibility to make accidental opening of the links less common
> like using ctrl + left mouse click to enter the link, showing a
> confirmation dialog, or both, and it is the end user's responsibility
> to not enter malicious links.
>=20
> =3D=3D=3D
>=20
> thanks,
> Amanda
>=20
> On Sun Sep 20 15:27:20 2026, darrel@tavis.ca wrote:
> > Sorry for the delay. I thought I had sent the response to this but I
> > guess I did not hit send and then I got sick for a while.
> >
> > Hi,
> >
> > The  application/prs.ktb+zip  registration is basically sound =E2=80=94
> > correct  prs.  tree,  +zip  suffix, LIMITED USE, concrete change
> > controller. One fix before I can recommend it.
> >
> > Security considerations. The current wording ("contains html which
> > can
> > contain javascript but ... execution of malware is impossible") isn't
> > actionable. Since the HTML comes from an untrusted file, please
> > phrase
> > it as consumer obligations. Something like:
> >
> > =E2=80=A2 Consumers MUST treat the HTML as untrusted and MUST NOT execu=
te
> > embedded active content (scripts, event handlers, auto-loaded
> > external
> > resources), regardless of file contents.
> > =E2=80=A2 Consumers SHOULD sanitize the HTML to the expected Qt HTML-4 =
subset
> > before rendering.
> > =E2=80=A2 As a ZIP, implementations MUST guard against decompression bo=
mbs
> > (bound uncompressed size) and path traversal (reject absolute paths
> > and  .. ).
> >
> > With that revised, I'm happy to recommend registration.
> >
> > Thanks,
> > Darrel
> >
> >
> > ________________________________________
> > From: Amanda Baber via RT <iana-mime-comment@iana.org>
> > Sent: September 19, 2026 1:11 AM
> > Cc: Darrel Miller; media-types@ietf.org
> > Subject: [IANA #1456008] application/prs.ktb+zip registration request
> >
> > Hi Darrel,
> >
> > The applicant is pinging us for this request from July 21st.
> >
> > thanks,
> > Amanda
> >
> > On Tue Aug 25 19:21:37 2026, amanda.baber wrote:
> > > Hi Darrel,
> > >
> > > Sending a reminder for this request from July 21st.
> > >
> > > Thanks,
> > > Amanda
> > >
> > > On Tue Jul 21 09:47:44 2026, amanda.baber wrote:
> > > > Hi Darrel,
> > > >
> > > > Here's an updated version of the form that includes a Windows
> > > > clipboard name field.
> > > >
> > > > thanks,
> > > > Amanda
> > > >
> > > > Name: Abdulrahman Waleed
> > > >
> > > > Email: abdulrahman103@proton.me
> > > >
> > > > Media type name: application
> > > >
> > > > Media subtype name: prs.ktb+zip
> > > >
> > > > Required parameters: N/A
> > > >
> > > > Optional parameters: N/A
> > > >
> > > > Encoding considerations: binary
> > > >
> > > > Security considerations:
> > > >
> > > > (1) the format contains html which can contain javascript but the
> > > > application that uses it should be a word processor and html
> > > > should
> > > > be
> > > > used only to embed text into the pages so that the execution of
> > > > malware is impossible.
> > > > (2) The format does not privacy services, it is a document file
> > > > that
> > > > if the user wants it private it is the user's responsibility to
> > > > store
> > > > it safely or encrypt it.
> > > > (3) It inherits all security considerations of JSON and ZIP
> > > > archives.
> > > > (4) The file type may contain standard HTML hyperlinks. These
> > > > links
> > > > are not structurally required to render or interpret the core
> > > > text
> > > > of
> > > > the document.
> > > >
> > > > Interoperability considerations: Interoperability is limited to
> > > > applications that implement support for this specific archive
> > > > structure.
> > > >
> > > > Software must be able of decompressing a standard ZIP and parsing
> > > > the
> > > > internal HTML content (A subset of HTML 4 https://doc.qt.io/qt-
> > > > 6/richtext-html-subset.html) and custom JSON metadata files.
> > > >
> > > > Published specification: https://github.com/abdulrahman-103/Kitab
> > > >
> > > > Applications which use this media: The "Kitab" word processor
> > > > uses
> > > > .ktb files where it is a ZIP containing an HTML file for pages
> > > > content
> > > > and a JSON file for document metadata such as page size and
> > > > margins.
> > > > https://github.com/abdulrahman-103/Kitab
> > > >
> > > > Fragment identifier considerations: Fragment identifiers are not
> > > > used
> > > > or defined for this file format.
> > > >
> > > > Restrictions on usage: There are no restrictions.
> > > >
> > > > Provisional registration? (standards tree only): No
> > > >
> > > > Additional information:
> > > >
> > > > 1. Deprecated alias names for this type: N/A
> > > > 2. Magic number(s): 50 4B 03 04
> > > > 3. File extension(s): .ktb
> > > > 4. Macintosh file type code: N/A
> > > > 5. Object Identifiers: N/A
> > > > 6. Windows clipboard name: Kitab Document
> > > > 7. MacOS Uniform Type Identifier: org.kitab.document
> > > >
> > > > Person to contact for further information:
> > > >
> > > > 1. Name: Abdulrahman Waleed
> > > > 2. Email: abdulrahman103@proton.me
> > > >
> > > > Intended usage: LIMITED USE
> > > >
> > > > This file format is for the Kitab word processor and it is
> > > > currently
> > > > the only app and word processor that uses this file extension.
> > > >
> > > > Author/Change controller: Abdulrahman Waleed,
> > > > abdulrahman103@proton.me
> > > >
> > > > On Fri Jul 17 01:11:00 2026, david.dong wrote:
> > > > > Hi Darrel,
> > > > >
> > > > > Can you review this new request for us by July 30th?
> > > > >
> > > > > Thank you.
> > > > >
> > > > > Best regards,
> > > > >
> > > > > David Dong
> > > > > IANA Services Sr. Specialist
> > > > >
> > > > > --
> > > > >
> > > > > Name: Abdulrahman Waleed
> > > > >
> > > > > Email: abdulrahman103@proton.me
> > > > >
> > > > > Media type name: application
> > > > >
> > > > > Media subtype name: prs.ktb+zip
> > > > >
> > > > > Required parameters: N/A
> > > > >
> > > > > Optional parameters: N/A
> > > > >
> > > > > Encoding considerations: binary
> > > > >
> > > > >
> > > > >
> > > > > Security considerations: (1) the format contains html which can
> > > > > contain javascript but the application that uses it should be a
> > > > > word
> > > > > processor and html should be used only to embed text into the
> > > > > pages
> > > > > so
> > > > > that the execution of malware is impossible.
> > > > > (2) No, the format does not privacy services, it is a document
> > > > > file
> > > > > that if the user wants it private it is the user's
> > > > > responsibility
> > > > > to
> > > > > store it safely or encrypt it.
> > > > > (3) N/A
> > > > > (4) It inherits all security considerations of JSON and ZIP
> > > > > archives.
> > > > > (5) The file type may contain standard HTML hyperlinks. These
> > > > > links
> > > > > are not structurally required to render or interpret the core
> > > > > text of
> > > > > the document.
> > > > >
> > > > > Interoperability considerations: Interoperability is limited to
> > > > > applications that implement support for this specific archive
> > > > > structure.
> > > > > Software must be able of decompressing a standard ZIP and
> > > > > parsing
> > > > > the
> > > > > internal HTML content (A subset of HTML 4 https://doc.qt.io/qt-
> > > > > 6/richtext-html-subset.html) and custom JSON metadata files.
> > > > >
> > > > > Published specification: https://github.com/abdulrahman-
> > > > > 103/Kitab
> > > > >
> > > > > Applications which use this media: The "Kitab" word processor
> > > > > uses
> > > > > .ktb files where it is a ZIP containing an HTML file for pages
> > > > > content
> > > > > and a JSON file for document metadata such as page size and
> > > > > margins.
> > > > > https://github.com/abdulrahman-103/Kitab
> > > > >
> > > > > Fragment identifier considerations: Fragment identifiers are
> > > > > not
> > > > > used
> > > > > or defined for this file format.
> > > > >
> > > > > Restrictions on usage: There are no restrictions.
> > > > >
> > > > > Provisional registration? (standards tree only): No
> > > > >
> > > > > Additional information:
> > > > >
> > > > > 1. Deprecated alias names for this type: N/A
> > > > > 2. Magic number(s): 50 4B 03 04
> > > > > 3. File extension(s): .ktb
> > > > > 4. Macintosh file type code: N/A
> > > > > 5. Object Identifiers: N/A
> > > > >
> > > > > General Comments: N/A
> > > > >
> > > > > Person to contact for further information:
> > > > >
> > > > > 1. Name: Abdulrahman Waleed
> > > > > 2. Email: abdulrahman103@proton.me
> > > > >
> > > > > Intended usage: LIMITED USE
> > > > >
> > > > > This file format is for the Kitab word processor and it is
> > > > > currently
> > > > > the only app and word processor that uses this file extension.
> > > > >
> > > > > Author/Change controller: Abdulrahman Waleed,
> > > > > abdulrahman103@proton.me
