Blind Signatures, Privacy Pass, OHTTP & PSI
Decouple identity from usage with Privacy Pass blind signatures, separate IP from payload via Oblivious HTTP, and match sets privately using PSI.
In this lesson (4 bite-sized sections)
Breaking the link between who you are and what you do
Conventional API authentication ties every action to an identity: you sign in, receive a session cookie or JWT, and present it on every call. That stops abuse, yet it also lets the backend build a complete behavioral log of every page you fetched or telemetry event you sent. Privacy-enhancing cryptography decouples eligibility (proving you are human, a paid subscriber, or an enrolled device) from linkability (recognizing the same user across requests).
Three production protocols cover the core separation boundaries: Blind Signatures (Privacy Pass) decouple token issuance from redemption, Oblivious HTTP (OHTTP) decouples client IP address from request payload, and Private Set Intersection (PSI) checks set membership without uploading raw lists.
Blind signatures and Privacy Pass tokens
In an RSA Blind Signature scheme (standardized in Privacy Pass, RFC 9576 and RFC 9578), a client picks a random token t, multiplies its hash by a random blinding factor r^e mod N, and asks an Issuer to sign the blinded value after passing an attestation check (such as a device integrity check or CAPTCHA). The Issuer signs without ever seeing t. The client divides out r locally to obtain a valid signature on t, then later redeems (t, sig) at an Origin.
To stop a client from replaying the same unblinded token twice, the Origin stores every redeemed token t in a spent-token set until the Issuer's key expires. Notice also an operational trap: an Issuer must serve a large population under the same signing key, because issuing per-cohort keys shrinks the anonymity set into a tracking tag.
Oblivious HTTP splits IP address from payload
Blind tokens hide account identity, yet the Origin still sees the client's IP address at the TCP layer. Oblivious HTTP (OHTTP, RFC 9458) closes that network leak by splitting the request path across two independently operated hops: an Oblivious Relay (which terminates TLS from the client and sees the client IP, but receives only an HPKE-encrypted HTTP blob) and an Oblivious Gateway (which decrypts the HTTP request and sees the payload, but only sees the Relay's IP). Privacy holds as long as the Relay and Gateway do not collude, which is why production deployments run the Relay on a separate legal entity (such as Fastly or Cloudflare fronting Apple or Mozilla telemetry).
Private Set Intersection matches without uploading raw data
When a client needs to learn which items in its local list appear in a server's database, such as checking saved passwords against a breach corpus or finding which address-book contacts already use a messenger, uploading raw lists exposes every non-matching entry. Private Set Intersection (PSI) protocols (often built on oblivious pseudorandom functions, OPRFs) let both sides learn only the intersection. The client blinds each local item, the server evaluates a keyed PRF H(x)^k over the blinded values without seeing x, and the client unblinds the result to compare against the server's hashed set or bloom filter.
| Protocol | What stays hidden | Core trust assumption | Production uses |
|---|---|---|---|
| Privacy Pass (RFC 9576/9578) | Link between user attestation and API redemption | Large anonymity set per key; spent-token replay store | Anti-abuse without cookies or CAPTCHAs (Cloudflare, Apple PAT) |
| Oblivious HTTP (RFC 9458) | Link between client IP address and HTTP payload | Relay and Gateway operators do not collude | Private DNS, telemetry ingestion, AI prompt relays |
| Private Set Intersection (PSI) | All elements outside the client-server intersection | Server cannot brute-force low-entropy blinded items offline | Password breach checks, private contact discovery, ad attribution |
Assign each requirement or mechanism to the privacy protocol built for it.
Sort 6 more items to check
Sources: RFC 9576, Privacy Pass Architecture · RFC 9578, Privacy Pass Issuance · RFC 9458, Oblivious HTTP
Apply
Your turn
The task this lesson builds to.
Examine the PulseEdge telemetry brief below and specify a privacy-preserving ingestion pipeline combining Privacy Pass blind tokens and Oblivious HTTP, including trust boundaries, replay defense, and latency control.
PulseEdge anonymous telemetry brief (read only)
Workload. PulseEdge ingests 120k crash and performance telemetry events per second from 18M mobile devices.
Abuse problem. Open unauthenticated ingestion suffered bot-poisoned metrics that skewed crash dashboards. Adding standard device JWTs stopped bots, yet privacy auditors flagged that backend logs could join client IP addresses and device IDs to sensitive app-usage payloads.
Constraints.
- PulseEdge's telemetry backend must verify each event came from a genuine attested device without learning which device or which IP address sent it.
- Added end-to-end network latency must stay under 35ms p99.
- Replay of a captured event token must be rejected.
Think about
- Why is Privacy Pass alone insufficient if devices send telemetry straight to PulseEdge?
- Who must operate the OHTTP Relay versus the OHTTP Gateway so the non-collusion assumption is credible?
- How do you store spent token nullifiers at 120k events/sec without unbounded memory growth?
Draft your design answer here Save your draft, compare against the model answer, and track progress.
Practice
Make it stick
A second problem on the same idea, so it survives past today.
Specify a private credential-breach alerting service for 50M browser users that checks saved logins against a 4B-record leaked-password corpus without sending plaintext passwords or learning which exact accounts a user owns.
Think about
- How do bucketed hash prefixes (k-anonymity) combine with an OPRF-based PSI step to stop both server snooping and client corpus scraping?
- What bandwidth and latency tradeoffs appear when tuning prefix bucket size over 4B records?
- Why should the lookup path also strip IP/session metadata via OHTTP?
Draft your design answer here Save your draft, compare against the model answer, and track progress.