Privacy Pass

term

privacycryptographysecurity

Kept in this browser · My desk

A protocol, standardized by the IETF in June 2024 (RFC 9576 to 9578), in which a client that has passed some check receives cryptographically blinded tokens and later spends them to prove it, without the token being linkable to the check or to the client.

It was invented for the people CAPTCHAs punish most, users of Tor and of virtual private networks (VPNs) behind addresses with bad reputations, and is the basis of Apple's Private Access Tokens. A token carries a yes-or-no from an issuer, not an identity.

The paper and the extension. Alex Davidson, Ian Goldberg, Nick Sullivan, George Tankersley and Filippo Valsorda described Privacy Pass in the Proceedings on Privacy Enhancing Technologies in 2018: honest users behind shared addresses, including Tor, virtual private network (VPN) and Invisible Internet Project (I2P) users, were unfairly targeted by catch-all reputation rules, so a solved challenge should earn a batch of anonymous tokens redeemable later, using an oblivious pseudorandom function. Cloudflare supported it from 9 November 2017 with a browser extension issuing thirty passes per solved challenge; by 28 November 2017 it had 8,499 Chrome and 3,489 Firefox users.

The standard. RFC 9576 (Informational) defines four roles (Client, Origin, Issuer and Attester) and deployment models, and states the motive: authorizing clients with cookies lets servers track them, so clients present unlinkable proofs instead; attestation can be a solved Completely Automated Public Turing test to tell Computers and Humans Apart (CAPTCHA) or a device check. RFC 9577 defines the PrivateToken HTTP authentication scheme. RFC 9578 defines two token types: privately verifiable, built on a VOPRF over P-384, and publicly verifiable, built on 2048-bit blind RSA. The World Wide Web Consortium (W3C) note on CAPTCHA accessibility praised it for "meaningful privacy protection, even anonymity". Google's Private State Tokens, formerly Trust Tokens, apply a related idea in Chrome.

The cryptography underneath. The two token types rest on primitives documented by the Crypto Forum Research Group of the Internet Research Task Force (IRTF). RFC 9497 (December 2023), by Alex Davidson, Armando Faz-Hernandez, Nick Sullivan and Christopher Wood, specifies oblivious pseudorandom functions (OPRFs) over prime-order groups: the client blinds its input, the server evaluates the function with its private key without seeing the input, and the client unblinds the result; the verifiable variant (VOPRF) adds a proof that the server used the key it committed to. RFC 9474 (October 2023), by Frank Denis, Fredrik Jacobs and Christopher Wood, specifies RSA (Rivest-Shamir-Adleman) blind signatures and recalls that blind signatures were introduced by David Chaum in 1983 for untraceable digital cash. Privacy Pass reuses that old idea: the issuer signs or evaluates something it cannot see, so it cannot later recognize the token when it is spent.

On the wire. RFC 9577 makes the exchange ordinary HTTP authentication. An origin that wants proof answers with a WWW-Authenticate header carrying the PrivateToken scheme, a challenge and the issuer's token-key, optionally with a max-age; the client fetches a token from the issuer and retries with Authorization: PrivateToken token="...". The default token is a fixed structure: a 2-byte token type, a 32-byte client nonce, a 32-byte digest of the challenge, a 32-byte identifier of the issuer key and the authenticator itself, whose length depends on the type. RFC 9578 registers the two types: 0x0001, VOPRF(P-384, SHA-384), with a 48-byte authenticator that only the issuer can verify, and 0x0002, Blind RSA (2048-bit), with a 256-byte authenticator that anyone holding the issuer's public key can verify. Issuers publish their keys and endpoints in a directory at the well-known uniform resource identifier (URI) private-token-issuer-directory.

Who learns what. RFC 9576 describes four deployment models (Origin, Attester and Issuer shared; Attester and Issuer joint; Origin and Issuer joint; all three split) and states the goals in terms of unlinkability between Origin and Client, Issuer and Client, and Attester and Origin. It also says where the guarantee weakens: the value of unlinkability depends on the size of the anonymity set, and if a client holds tokens from many issuers, each one is "essentially" a bit of information about the client, so privacy falls exponentially with the number of issuers; clients should therefore bound the issuance configurations they accept. Apple's deployment shows the attester's other job: in Apple's WWDC22 session the iCloud attester checks the device and also rate-limits, to recognize a device that may have been compromised or "used as part of a farm of devices".

What goes wrong and what it is not. A token is a bearer credential, so RFC 9577 asks origins to implement some form of double-spend prevention, which needs state shared by every server that accepts the token. A token proves only that some attester was satisfied; it does not say who the user is, and a weak attester weakens every origin that trusts its issuer. Rate-limited issuance, a separate draft cited by RFC 9576, is meant to stop one client from hoarding tokens. Privacy Pass is not the same as Google's Private State Tokens: those, formerly called Trust Tokens, let one site issue tokens that other sites later redeem through a browser API, a related idea under a different design. Neighbours in this glossary: CAPTCHA, Turnstile, Private Access Tokens, proof of work, Tor and the CAPTCHA farm, whose existence is the reason attesters rate-limit.

Also known as: PrivateToken, Privacy Pass tokens, RFC 9576, RFC 9577, RFC 9578, Private State Tokens, Trust Tokens

Sources

← Back to P Back to the glossary