Re: [Wpack] On double-hashing (was: Re: About content-based origins)

Devin Mullins <twifkak@google.com> Fri, 27 March 2020 20:06 UTC

Return-Path: <twifkak@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 5378D3A09A4 for <wpack@ietfa.amsl.com>; Fri, 27 Mar 2020 13:06:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.599
X-Spam-Level:
X-Spam-Status: No, score=-17.599 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, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 2KhKiUCfxnMr for <wpack@ietfa.amsl.com>; Fri, 27 Mar 2020 13:06:57 -0700 (PDT)
Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (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 9BDA23A0BD8 for <wpack@ietf.org>; Fri, 27 Mar 2020 13:06:57 -0700 (PDT)
Received: by mail-wm1-x32a.google.com with SMTP id b12so12787788wmj.3 for <wpack@ietf.org>; Fri, 27 Mar 2020 13:06:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=G/pYGmjrYfKOTl1G9VmbeIcwWmsnbQRszEJMyL1RQmc=; b=Wql8t3ucAmEW3wNbPn+/JCER7923XV4fm3wXDJgOEmFBOSME3gwFC3bn6Ep3uiq1IU I3KlkXtX2NwLectMblwnmfMPMu4u70zx6lL8VnIajXJko8W5yIyNTJMzbFV39CfkkJOo +lK/mkog4GoZqrP8XD9s+ugj8A856wl9vX/5Sh/UZyb4hfO0qTaebWQiQdrBjdUv+Ght 8Fkqi4FiMWDjMVLgtE6YjVrtlExe4+/OnB57WRCfJEV0ekFKVxqwoOgZAl/55FzZqbuw 0gb6neNWfZGJ9iv2F3XXtLMdOD80o5VyNl9N6cBHiMK+wXUj8w9Wp3E/NugBt9oLK5JA JWZw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=G/pYGmjrYfKOTl1G9VmbeIcwWmsnbQRszEJMyL1RQmc=; b=pwin1AnNBwmntQ6MiR//oTRNez9tkcNJSHI14/m2Wrsbhh5kgFPWbe42320/kWhU+9 duhnTqSgLOZW1y+3hPo2CBu1sC6wVYb2G2nYPnc8QzC3BC400td2FwnAFiObvuvgg5Md V0E5zyEI0F6e1YQ3uNaIj3OQs+PxxhXfwKkUO2GRfInyotpsVJ+oFHqYMi2JegHx6mgk D2cPysz2Uo17VMOxV5V7qMPYVpgZmjYd9tsFqpXdGgrG5VbxkQ3tIOxmrur5pvdD265K Oo+PJickNDIVvBcQxVAwwF2uIPryuUD0Su5Hgjo+stR/lMrHZ4vJ9VGuustHPpASeWo2 UBFg==
X-Gm-Message-State: ANhLgQ0EDI+nZYG9vvt24yYJ8vEZ6NqTuqAEOvMogAGnDgXVGSCiTPxw ZtKv9MpersUMz2XJPoKOXhhCpgYonaSkb90xf82pZCufglw=
X-Google-Smtp-Source: ADFU+vtsnNlNkLAf0Q7VdJqEUQq5bDWJbz3/I81/274XaZfH7n34oUZ4O/6Yvw10E4UzJ9ryFvWqf1zQuuQNA1YqkVM=
X-Received: by 2002:a1c:8008:: with SMTP id b8mr317791wmd.43.1585339615682; Fri, 27 Mar 2020 13:06:55 -0700 (PDT)
MIME-Version: 1.0
References: <260dfc2f-8399-483e-859d-08f92821c823@www.fastmail.com> <CANjwSimZAkAC0JJBjUjZr4k0514QRqDxBReOkq_AGTeGJ2OTzQ@mail.gmail.com> <CANjwSiniWmO+pTfFOdxW9tasy_eQiUiGwWvTsWF2KGR8yGtXqA@mail.gmail.com> <32395446-c14e-4bca-9c09-4804934c487b@www.fastmail.com>
In-Reply-To: <32395446-c14e-4bca-9c09-4804934c487b@www.fastmail.com>
From: Devin Mullins <twifkak@google.com>
Date: Fri, 27 Mar 2020 13:06:29 -0700
Message-ID: <CANjwSikybC7tnkWJVYCGcE=mc9ScM5oFBP5HWjwtd8+-e1EPFg@mail.gmail.com>
To: Martin Thomson <mt@lowentropy.net>
Cc: wpack@ietf.org
Content-Type: multipart/alternative; boundary="000000000000a4a1ab05a1dba47a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/wpack/FzT9VbTCauDH5Hr0VEE2CRvqWmw>
Subject: Re: [Wpack] On double-hashing (was: Re: About content-based origins)
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: Fri, 27 Mar 2020 20:07:00 -0000

On Thu, Mar 26, 2020 at 9:32 PM Martin Thomson <mt@lowentropy.net> wrote:

> Slowly crawling out from a giant pile of email...
>

No worries, understood; my life is a giant pile of email.


> without it being susceptible to making mistakes ... if the bundle and
> origin want to collude I am of the opinion that that is fine


Ah, good to know. To clarify: Am I right in assuming my above proposed
attack is somewhere on the spectrum of
https://github.com/WICG/webpackage/pull/424 ? That is, it requires
publisher server-side work, but is a potential end-run around mitigations
to backchannel sharing such as per-origin IP obfuscation and fingerprint
entropy reduction. If so, then what motivates
https://github.com/martinthomson/wpack-content/issues/1 ?