[Wpack] Draft WG charter

Jeffrey Yasskin <jyasskin@google.com> Thu, 10 October 2019 17:50 UTC

Return-Path: <jyasskin@google.com>
X-Original-To: wpack@ietfa.amsl.com
Delivered-To: wpack@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 178151200C3 for <wpack@ietfa.amsl.com>; Thu, 10 Oct 2019 10:50:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.5
X-Spam-Level:
X-Spam-Status: No, score=-17.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g3b8x93gaUzW for <wpack@ietfa.amsl.com>; Thu, 10 Oct 2019 10:50:55 -0700 (PDT)
Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 973AA1200F6 for <wpack@ietf.org>; Thu, 10 Oct 2019 10:50:54 -0700 (PDT)
Received: by mail-lf1-x12b.google.com with SMTP id c195so5043836lfg.9 for <wpack@ietf.org>; Thu, 10 Oct 2019 10:50:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=IiFuEM5XAIbgp/+q+M/Ki1vlQrWuqmPDHp60lq+qsJg=; b=iUSjLOOUqxu9ZU8+7WIdZxcs5Lkksxu0i3fMnYJCPhnfazaRqi77WBf7ONVRlRfFwV WF02hSVSgWfAysfXG3O8/WqhoDLibZQeZE1MT0cMCPEALB+FCntUUP2hb+kYk55Ooz6D tPhS+tJ1cHvJyHmpiU7fvmcOVmIFXw8Lg1kmUOS0NMrxF14y3bwQxE6XQry7ce/wm6wc TmtTsBu9DaDX6CoSr3tGLWgonZtAx2smt469yPmVvi7bChH7oQmxlV/gryR01LCMy6Bf MyrUn7zAx+yqyUBU6dA02aIEQzgN18KbXHOQBEmxt+h6g/2bNEURM5qv/w7/aBiBvXV+ O/7w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=IiFuEM5XAIbgp/+q+M/Ki1vlQrWuqmPDHp60lq+qsJg=; b=LDtle7lyynT4wXzrZBnB3ZyZmZbyugurD9lyUcU/vLa2dWqwuOVAUbFUwuBZphk/4W TENLtQ1vK1lJOp/swIPHyN2TtvCp/I0nGGXx/wBcNnqpcv4qzPIdpWlwv+MGjo3EqbOG 2spGha9t2rOCFwuVBEOZQUnFTSIyuX1jl/a22VKTzzTJ8CmM3YWMmVn6sKGpP0N77QYa KuGqRjxjp4EmmtV5tbgZQ/zp5Oe73Xekbn1TIMLk06e9J1JhN815yOLrT1N6nrkYyox5 ZOLuhagQrhWxF6K4wrW7tul3iicYiuX1wB8KQVg6m/X2MsHvc0bCSrwueKX5tqIlQP+y k3UQ==
X-Gm-Message-State: APjAAAUPBRdk9no0h6N3MCNpqRjcujrjplsMRYNB95NMuq4hd6oJdLWd MxedAvCDES6469ztDX9SUe+3QC5cZzUfAkOL9Waja5sxamX/Rw==
X-Google-Smtp-Source: APXvYqwuwyUICwE42aW51W3iPeL4vGxuN4ywbDGo0nuEq/qcwyjCV4f1hk591Fip4eclZkI5tg7VmL1gLEZiWz0xBu0=
X-Received: by 2002:ac2:4a75:: with SMTP id q21mr6557336lfp.94.1570729851881; Thu, 10 Oct 2019 10:50:51 -0700 (PDT)
MIME-Version: 1.0
From: Jeffrey Yasskin <jyasskin@google.com>
Date: Thu, 10 Oct 2019 10:50:40 -0700
Message-ID: <CANh-dX=gTk8u9pBKe3dfLzJ7xvOocA0QF5GVxPYXnj7Fm0R1qA@mail.gmail.com>
To: wpack@ietf.org
Content-Type: multipart/alternative; boundary="000000000000dc913c0594920aae"
Archived-At: <https://mailarchive.ietf.org/arch/msg/wpack/kZT7P4hlvO9KDUj-4yvRuBjVbxQ>
Subject: [Wpack] Draft WG charter
X-BeenThere: wpack@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Web Packaging <wpack.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/wpack>, <mailto:wpack-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/wpack/>
List-Post: <mailto:wpack@ietf.org>
List-Help: <mailto:wpack-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/wpack>, <mailto:wpack-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Oct 2019 17:50:58 -0000

In support of the proposed BoF at IETF 106, I've drafted a possible charter
for a WG at
https://github.com/WICG/webpackage/blob/master/IETF-WG-charter.md, and I've
pasted the current version below. What do you think I should change to
improve the BoF's chances of approving a working group?

Thanks,
Jeffrey

# Background

There is a long history of webpages grouping multiple subresources into a
single
combined resource because this allows cross-resource compression and because
HTTP/1 made requests expensive. This encouraged the W3C TAG (Technical
Architecture Group) to propose a web packaging format based on multipart/*
to
give web browsers visibility into the substructure of these combined
resources.
HTTP/2 was expected to make these bundles unnecessary, but that hasn't
panned
out.

In countries with expensive and/or unreliable mobile data, there is an
established practice of sharing content and native applications peer-to-peer
using SD cards, WiFi Direct, and similar transmission channels. Untrusted
web
content could already be shared, albeit awkwardly, using existing formats.
However, with the web's move to HTTPS, it became impossible to share web
apps
over these channels, so a team within Google Chrome began adding an index
and
origin-trusted signatures to the TAG's packaging format.

The AMP project realized that this new format could solve the problem that
pages
served by the AMP cache got the wrong URLs. This eventually led to Google
Chrome
shipping an evolution of the format and Google Search using it in search
results.

# WPACK

The WPACK working group will develop a specification for a web packaging
format
that efficiently bundles multiple HTTP resources. It will also specify a
way to
optionally sign these resources such that a user agent can trust that they
came
from their claimed web origins. Key goals for WPACK are:

* Efficiently storing a few or many, small or large resources, whose URLs
are
  from one to many origins. Three examples of the sets of resources that
should
  be supported are: a client-generated snapshot of a complete web page, a
web
  page's tree of JavaScript modules, and El Paquete Semanal from Cuba.
* Allowing web apps to be safely installed after having been retrieved from
a
  peer.
* Minimizing the latency to load a subresource from a package, whether the
  package is signed or unsigned, and whether the package is streamed or
loaded
  from random-access storage.
* Being able to smoothly migrate to support future requirements such as
random
  access within subresources, larger numbers of subresources, or avoidance
of
  obsolete cryptography.
* Losing as little security and privacy as practical relative to TLS 1.3 and
  documenting exactly what is lost and how content authors can compensate.
Part
  of this is analyzing how the shift from transport security to object
security
  changes the security properties of the web's existing features.
* Minimizing the likelihood that the new format increases centralization or
  power imbalances on the web.

The packaging format will also achieve the following secondary goals as
long as
they don't compromise or delay the above properties.

* Support more-efficient signing of a single, possibly same-origin HTTP
  resource.
* Support signed statements about subresources beyond just assertions that
  they're accurate representations of particular URLs. For example, that
they
  appear on a transparency log, that they have passed a certain kind of
static
  analysis, that a particular real-world entity vouches for them, etc.
* Address the threat model of a website whose frontend might be compromised
  after a user first uses the site.
* Support books being published in the format.
* Support long-lived archival storage.
* Optimize transport of large numbers of small same-origin resources.
* Allow the format to be used in self-extracting executables.
* Allow publishers to efficiently combine sub-packages from other
publishers.

The following potential goals are out of scope under this charter:

* DRM
* A way to distribute the private portions of a website. For example, WPACK
  might define a way to distribute Gmail's application but wouldn't define
a way
  to distribute individual emails without a direct connection to Gmail's
origin
  server.
* Defining the details of how web browsers load the formats and interact
with
  any protocols we define here. Other standards bodies are more appropriate
fora
  for this.
* A way to automatically discover the URL for an accessible package that
  includes content for a blocked or expensive-to-access URL that the user
wants
  to browse.

Note that consensus is required both for changes to the current protocol
mechanisms and retention of current mechanisms. In particular, because
something
is in the initial document set (consisting of
draft-yasskin-webpackage-use-cases, draft-yasskin-wpack-bundled-exchanges,
and
draft-yasskin-http-origin-signed-responses) does not imply that there is
consensus around the feature or around how it is specified.

# Relationship to Other WGs and SDOs

WPACK will work with the W3C and WHATWG to identify the existing security
and
privacy models for the web, and to ensure those SDOs can define how this
format
is used by web browsers.

# Milestones

* Chartering + 3 Months: Working group adoption of use cases document
* Chartering + 3 Months: Working group adoption of bundling document
* Chartering + 3 Months: Working group adoption of security analysis
document
* Chartering + 3 Months: Working group adoption of privacy analysis document
* Chartering + 3 Months: Working group adoption of signing document
* Chartering + 18 Months: Use cases document to IESG
* Chartering + 18 Months: Bundling document to IESG
* Chartering + 24 Months: Security analysis document to IESG
* Chartering + 24 Months: Privacy analysis document to IESG
* Chartering + 24 Months: Signing document to IESG