



Network Working Group                                           P. Murad
Internet-Draft                                               Independent
Intended status: Informational                          24 November 2026
Expires: 28 May 2027


                      Really Small Web Core Format
                        draft-murad-rsw-core-00

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on 28 May 2027.

Copyright Notice

   Copyright (c) 2026 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents (https://trustee.ietf.org/
   license-info) in effect on the date of publication of this document.
   Please review these documents carefully, as they describe your rights
   and restrictions with respect to this document.

Table of Contents

   1.  Abstract  . . . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   3.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   2
   4.  Technical Specification . . . . . . . . . . . . . . . . . . .   2
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .   2
   6.  Privacy Considerations  . . . . . . . . . . . . . . . . . . .   3
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   3
   8.  Test Vectors  . . . . . . . . . . . . . . . . . . . . . . . .   3
   9.  Normative References  . . . . . . . . . . . . . . . . . . . .   3



Murad                      Expires 28 May 2027                  [Page 1]

Internet-Draft                  RSW Core                   November 2026


   Appendix A.  Author's Address . . . . . . . . . . . . . . . . . .   3
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   3

1.  Abstract

   Really Small Web (RSW) cartridges are portable publications stored in
   a constrained PNG container.  This editorial proposal describes the
   binary envelope, manifest, hashes, and Ed25519 signature profile.

2.  Introduction

   A cartridge is an ordinary PNG image with one rsWT chunk containing a
   bounded ZIP package.  It supports offline preservation and
   independent verification without a central service.

3.  Terminology

   The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD,
   SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL are to be interpreted as
   described in BCP 14 (RFC 2119 and RFC 8174).

4.  Technical Specification

   PNG uses only IHDR, consecutive IDAT, one rsWT, and IEND.  All
   lengths and CRCs are validated.  The ZIP is single-disk classic ZIP
   with Store or Deflate [RFC1951], contiguous records, bounded
   expansion, regular files, and safe lowercase paths.  The complete PNG
   is limited to 2 MiB.

   manifest.json is strict UTF-8 JSON with unique fields and integer-
   only numbers.  Required fields are format=1, protocol=rsw/1, name,
   title, profile, type, version, entrypoint, cover_hash, and files.
   Every resource and the cover are hashed with SHA-256.

   Signed messages are RSW/1:cartridge-manifest followed by NUL and
   JCS(manifest) [RFC8785].  Signatures are pure Ed25519 [RFC8032] with
   canonical point/subgroup checks and S below the group order.  Public
   keys use canonical Base32 [RFC4648].  Verification proves key
   control, not civil identity or safe content.  PNG and ZIP formats
   follow [PNG] and [ZIP].

5.  Security Considerations

   Inputs are untrusted even when signed.  Readers MUST apply
   structural, size, path, inventory, and signature checks before
   rendering.  No script, remote resource, or automatic network access
   is authorized by a cartridge.  Private keys MUST NOT appear in
   packages, indexes, logs, or web endpoints.



Murad                      Expires 28 May 2027                  [Page 2]

Internet-Draft                  RSW Core                   November 2026


6.  Privacy Considerations

   Local processing avoids uploads, but public URLs, indexes, and
   network timing can expose reading metadata.  No anonymity guarantee
   exists.

7.  IANA Considerations

   No assignment is requested by this editorial draft.  A provisional
   rsw scheme is a separate owner-review proposal.

8.  Test Vectors

   Public RSW-0001/0002/0003 and consolidated vectors include valid,
   invalid, and historical cartridges with expected hashes, canonical
   bytes, and states.

9.  Normative References

   [RFC8032]  IETF, "Edwards-Curve Digital Signature Algorithm (EdDSA)",
              2017, <https://www.rfc-editor.org/rfc/rfc8032>.

   [RFC8785]  IETF, "JSON Canonicalization Scheme (JCS)", 2020,
              <https://www.rfc-editor.org/rfc/rfc8785>.

   [RFC4648]  IETF, "Base-N Encodings", 2006,
              <https://www.rfc-editor.org/rfc/rfc4648>.

   [RFC1951]  IETF, "DEFLATE Compressed Data Format Specification",
              1996, <https://www.rfc-editor.org/rfc/rfc1951>.

   [PNG]      W3C, "Portable Network Graphics (PNG) Specification, Third
              Edition", 2021, <https://www.w3.org/TR/png-3/>.

   [ZIP]      PKWARE, "ZIP File Format Specification",
              <https://support.pkware.com/pkzip/appnote>.

Appendix A.  Author's Address

   Pablo Murad, Independent
   Email: kontakt@pablomurad.com
   URI: https://pablomurad.com

Author's Address

   Pablo Murad
   Independent
   Email: kontakt@pablomurad.com



Murad                      Expires 28 May 2027                  [Page 3]

Internet-Draft                  RSW Core                   November 2026


   URI:   https://pablomurad.com


















































Murad                      Expires 28 May 2027                  [Page 4]
