Re: [Privacy-pass] Updated WG charter text

Steven Valdez <svaldez@google.com> Wed, 06 May 2020 14:06 UTC

Return-Path: <svaldez@google.com>
X-Original-To: privacy-pass@ietfa.amsl.com
Delivered-To: privacy-pass@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0E6943A0774 for <privacy-pass@ietfa.amsl.com>; Wed, 6 May 2020 07:06:02 -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 QAZecTb_1-47 for <privacy-pass@ietfa.amsl.com>; Wed, 6 May 2020 07:05:59 -0700 (PDT)
Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) (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 487F13A076C for <privacy-pass@ietf.org>; Wed, 6 May 2020 07:05:59 -0700 (PDT)
Received: by mail-ot1-x32f.google.com with SMTP id m18so1412405otq.9 for <privacy-pass@ietf.org>; Wed, 06 May 2020 07:05:59 -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=tqiJZpN7YPXWtYOehXewbM6tHYEZhqAmvUXmK9NFBCg=; b=h6r2KK08A6og7VtZ9ogVw9Wd1TD3RIPVm0xX59Q1C79Vj1/an5zBXgt/Mqp5bxEJuA Q1U4Os+q2hATWXKClbZ2qQZL4fAazF3PyAQVf0qvRmfNmnt35viXx/ThcjTix0cpXMXt Hq4ZDNF8NWOAYXSAy7Be+hF2xJC7McHux/612a4YgoK9A3NExcEEj6mOcYVdIbFd+nWf GzUl9e2v/6+gF3uaNpks0iyYhJP8l4pUUTaiD8hwT/kmy2W40CAMfgqSSvYLBJaF0LZi +cjSKXkzyIVHuHtvUJ0HMigZ0lZ/dn/u1NiqVIU3CCO8gsAY8vOnSNgOKlfx36HibrUJ Wprw==
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=tqiJZpN7YPXWtYOehXewbM6tHYEZhqAmvUXmK9NFBCg=; b=DItIIMAkr0ThNYqAq+LRUkyaGdidL+eRBaLlUfJqDO9gLm6RxUvIpDBHkA4tUX0+zN u7FCA/ciRFj7y9IDoQ3X5e2enyIEOVSYWXVJR0HKvlXIh+VGc6H9s3PkVwYZ8DQPHRQ+ NP0p/0t26Q3BoG8iLZJ1PyEpqU2ZC9LFU6skBacAtes28wT29tC+Eff2uaSp6I1LK0KU evfF0UXSbmQpcN789CGQX4eyN1qMbBCsdTbB0+SXDLd91PIA1bwvGzxma4KbM1HZ1d/F BL3xYxElU0nfI8W0s/bwrHESZxQ7fTJ+4jRqHCkHomInuOERx2v2gYN1t9J89pdJ3ZU+ rTxA==
X-Gm-Message-State: AGi0PubDj12JFG1xX/Lsz8/SMz8LEE1LZxw0ip91h3RwMqghwn7d9+DQ wdt++mBgLgPfqoZId5/eO8MrYq3UX9RUfQF2thg5+/Hj
X-Google-Smtp-Source: APiQypL4KHEzlGne0QKvGUv7rOJRECrEPQUAifJVi2IOba3PEyHlLvEFHlFbaXL/uCKZ2tByxMMzjvSat6hXMO+m3+Q=
X-Received: by 2002:a05:6830:4c8:: with SMTP id s8mr6758054otd.198.1588773957896; Wed, 06 May 2020 07:05:57 -0700 (PDT)
MIME-Version: 1.0
References: <40600024-A6F1-41D7-B7A8-4B4D7D48201B@cloudflare.com> <4239f287-9a96-4700-ac32-8583ca451115@www.fastmail.com> <a469cd36-dcae-4d15-8b7b-a86071ea6d3d@www.fastmail.com> <E574167C-92BD-48B1-8BE3-9BE67F401ECE@cloudflare.com> <427CC8A8-F741-4E63-89E3-28B361A06F68@cloudflare.com>
In-Reply-To: <427CC8A8-F741-4E63-89E3-28B361A06F68@cloudflare.com>
From: Steven Valdez <svaldez@google.com>
Date: Wed, 06 May 2020 10:05:44 -0400
Message-ID: <CANduzxAamgX2hnrKA7AxSQDMJ=78gCVed+7tVEaSMLbkgywpMQ@mail.gmail.com>
To: Alex Davidson <adavidson=40cloudflare.com@dmarc.ietf.org>
Cc: privacy-pass@ietf.org
Content-Type: multipart/alternative; boundary="00000000000064068f05a4fb4391"
Archived-At: <https://mailarchive.ietf.org/arch/msg/privacy-pass/FbT7YkgaheNUQ50VBGmwDTm74dg>
Subject: Re: [Privacy-pass] Updated WG charter text
X-BeenThere: privacy-pass@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <privacy-pass.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/privacy-pass>, <mailto:privacy-pass-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/privacy-pass/>
List-Post: <mailto:privacy-pass@ietf.org>
List-Help: <mailto:privacy-pass-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/privacy-pass>, <mailto:privacy-pass-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 May 2020 14:06:02 -0000

One distinction possibly worth making for milestones is that there are two
sorts of HTTP-level APIs.

There's the wrapping for communication between client and issuers, the
headers/endpoints/HTTP requests/responses made as part of issuance and
redemption requests, as well as the key management story/recommendations
for how to distribute key materials and configuration information.

Then there's the API that HTTP consumers/websites/etc would be using to
call into the protocol, the JS/HTML attributes that you might need to hook
into PrivacyPass, allow a website to include tokens or request tokens.

I think the first is probably more important initially to provide some sort
of API that can be used for implementations of the protocol. But also
shouldn't require much (if any) W3C coordination.

The second one is more important for building use cases on top of and
seeing what interfaces to expose to developers/consumers and will likely be
the HTTP-level API that will need more coordination with the W3C
specs/Fetch/etc.

On Wed, May 6, 2020 at 5:40 AM Alex Davidson <adavidson=
40cloudflare.com@dmarc.ietf.org> wrote:

> It has been mentioned off-list that the charter would benefit from having
> explicit milestones laid out in the document. To this end, here are the key
> tasks that need to be completed by the WG (in my opinion):
>
> - Specification of protocol & protocol architecture.
> - Specification of HTTP API (in coordination with W3C).
> - Formal analysis of protocol.
> - Concrete implementations.
> - Any protocol extensions.
>
> I think getting the first two milestones done for the core instantiation
> of the protocol (currently documented) will be important in facilitating
> the three steps afterwards. The final three steps can be done in parallel,
> since they do not depend on each other. In terms of a rough timeline, I
> would expect that achieving the first step would be doable by Spring 2021,
> and then the HTTP API could follow in mid-2021. The rest of the steps are
> slightly variable, but I would expect that the rest of the work could
> completed in a further 6-12 months.
>
> Questions: Do these milestones reflect the scope of required work to
> everyone else? Does the proposed timeline make sense?
>
> Next steps: Once we have agreement (/if no-one disagrees with what is
> written), then I’ll add it to the charter. We will then take this version
> of the charter forward in the WG formation process.
>
> On 28 Apr 2020, at 11:47, Alex Davidson <adavidson@cloudflare.com> wrote:
>
> Thanks all for the feedback! I’ve pushed updated wording to the GitHub PR (
> https://github.com/alxdavids/privacy-pass-ietf/pull/12/commits/e987d2ba60fa7b0ba986a65c29214ce893d7b667)
> and also added it at the bottom of this email. I’ve inlined some responses
> to the specific points explaining the changes below.
>
> On 23 Apr 2020, at 17:52, Christopher Wood <caw@heapingbits.net> wrote:
>
> On Wed, Apr 22, 2020, at 5:32 PM, Martin Thomson wrote:
>
> First, specify an extensible protocol for creating and redeeming
> anonymous and transferrable tokens. The protocol should permit suitable
> cryptographic ciphersuites and security parameterization for
> cryptographic agility. Negotiation of cryptographic parameters is an
> application-specific property and thus out of scope for the Working
> Group. Specification of the underlying cryptographic algorithms or
>
>
> This bit about choosing parameters seems to be in tension with the
> previous sentence.  One of the problems with a system like this is
> coordinating algorithm changes.  I think that we need a plan, not a big
> punt.
>
>
> I'm thinking about this more like the DoH effort, which focused first and
> foremost on the protocol itself and punted other concerns such as discovery
> and whatnot.
>
>
> Due to the restrictions on key material updates for client privacy, the
> ciphersuite is determined explicitly by the key that the server is
> currently using. Moreover, the supported ciphersuites should be specified
> by the underlying cryptographic protocol that is being used. Therefore, I
> think the choice of ciphersuite is a unilateral decision made by the
> server, and so the negotiation framework does not really belong to the
> protocol description.
>
> protocols is also out of scope. The Working Group will specify a
> preliminary set of extensions, including Issuer-supplied metadata and
> public verifiability, as well as any additional extensions that may
>
>
> What does "public verifiability" mean here?
>
>
> I think it means that someone beyond the party which issued the token (and
> holds the OPRF private key) can verify the authenticity of a token. As an
> example, blind signatures have this property.
>
>
> Yes, this is what we were alluding to. I’ve updated the wording to be more
> explicit on this.
>
>
> 1. Describing use cases and interfaces that allow the protocol to be
> used for those use cases.
> 2. Defining the privacy goals for each Client during protocol execution,
> along with expectations placed on the Issuers and the ecosystem at
> large.
> 3. Describing parameterizations that control the Client privacy budget
> and Issuer security parameters.
>
>
> What is a "privacy budget"?  To be clear, I think that I know, and my
> opinion is that it is not a good framing for this.  I also think that
> it is not a good reference model to use in general.
>
>
> This makes sense, I’ve changed the wording to directly refer to the size
> of the client’s anonymity set, which is what we were implicitly referring
> to here and is also used elsewhere in the charter.
>
> 4. Describing verification mechanisms for sanctioning or trusting
> Issuers and their corresponding keying material.
>
>
> Sanctioning implies punishment, which we can't write a protocol for.
>
>
> That's a good point. Maybe we should just say, "Describing verification
> mechanisms for trusting Issuers and their corresponding keying material”?
>
>
> Agree, incorporated this wording.
>
> If this is about providing technical safeguards against the potential
> for issuers to abuse key management for a covert channel, then say that.
>
> 5. Describing where key material is stored and how it is accessed.
>
>
> I don't think that we need this in a charter.
>
>
> Removed this point.
>
> 6. Specifying mechanisms for ensuring that Issuers are not acting
> maliciously.
>
>
> This seems a bit open-ended.  Will this extend to audits of their
> processes?  I don't think we have a protocol for that either.
>
>
> Maybe we could refine this by specifying particular attacks we're
> concerned about, such as key tagging?
>
>
> I removed this point as I think it is now covered by what is written in
> point 4. However, I mentioned specifically the attack surface that is being
> considered with the verification mechanisms that we will specify.
>
> Thanks,
> Alex
>
> Updated Charter text
> ================
>
> The Privacy Pass protocol provides a performant, application-layer
> mechanism for anonymous token creation and redemption. Servers (Issuers)
> create and later verify tokens that are redeemed by an ecosystem of
> clients, such that:
>
> - Any token granted by a given Issuer is unlinkable with all other
>   tokens granted by the same Issuer.
> - Clients can verify that a token granted by an Issuer corresponds to a
>   committed keypair.
> - Tokens are unforgeable.
> - The token issuance and redemption mechanisms are efficient.
>
> The primary purpose of the Privacy Pass Working Group is to develop and
> standardize a protocol that meets these requirements, influenced by
> applications that have arisen from the wider community. The aims of the
> Working Group can be split into three distinct goals:
>
> First, specify an extensible protocol for creating and redeeming
> anonymous and transferrable tokens. The protocol should permit suitable
> cryptographic ciphersuites and security parameterization for
> cryptographic agility. Negotiation of cryptographic parameters during
> the protocol is an application-specific property and thus out of scope
> for the Working Group. Specification of the underlying cryptographic
> algorithms or protocols is also out of scope. The Working Group will
> specify a preliminary set of extensions, including Issuer-supplied
> metadata and alternative cryptographic instantiations that support
> public verifiability of Issued tokens, as well as any additional
> extensions that may arise in the future. Security and privacy properties
> of the protocol shall be well-documented.
>
> Second, describe and develop protocol use cases and properties thereof.
> This includes, though is not limited to:
>
> 1. Describing use cases and interfaces that allow the protocol to be
>    used for those use cases.
> 2. Defining the privacy goals for each Client during protocol execution,
>    along with expectations placed on the Issuers and the ecosystem at
>    large.
> 3. Describing recommended parameterizations of variables associated with
>    the protocol ecosystem that control the size of the anonymity set
>    that the client belongs to.
> 4. Describing verification mechanisms for trusting Issuers and their
>    corresponding keying material. Such mechanisms should prevent Issuers
>    from presenting any key material that could be used to deanonymize
>    clients.
> 5. Describing the procedure for including small amounts of metadata with
>    Issued tokens, as well as the associated impacts on privacy.
> 6. Describing the risk and possible ramifications of Issuer
>    centralization, and exploring possible mechanisms to mitigate these
>    risks.
>
> Third, and finally, specify a HTTP-layer API for the protocol. This
> includes a common understanding of how Privacy Pass is integrated with
> HTTP requests and responses for web-based applications.
>
> Note that the specifications developed by this working group will be
> informed by the following initial drafts:
>
> - draft-davidson-pp-protocol-00;
> - draft-davidson-pp-architecture-00;
> - draft-svaldez-pp-http-api-00.
>
> These existing drafts may be further developed into the core
> deliverables of the working group, supplemented by any additional
> extensions. Alternatively, they may contribute indirectly to a future
> set of documents that meet the core goals of the working group.
>
>
>
> --
> Privacy-pass mailing list
> Privacy-pass@ietf.org
> https://www.ietf.org/mailman/listinfo/privacy-pass
>


-- 

Steven Valdez |  Chrome Privacy Sandbox |  svaldez@google.com |
 210-692-4742