RepoCloudflare (Workers AI)Cloudflare (Workers AI)published Aug 10, 2023seen 5d

cloudflare/privacypass-ts

TypeScript

Open original ↗

Captured source

source ↗
published Aug 10, 2023seen 5dcaptured 12hhttp 200method plain

cloudflare/privacypass-ts

Description: A TypeScript Library for the Privacy Pass Issuance Protocol

Language: TypeScript

License: NOASSERTION

Stars: 44

Forks: 15

Open issues: 3

Created: 2023-08-10T15:55:19Z

Pushed: 2026-06-05T12:21:55Z

Default branch: main

Fork: no

Archived: no

README:

![NPM](https://www.npmjs.com/package/@cloudflare/privacypass-ts)

privacypass-ts: A TypeScript Library for the Privacy Pass Issuance Protocol

Specification: Compliant with IETF RFC9578, draft-hendrickson-privacypass-public-metadata-03 and draft-ietf-privacypass-batched-tokens-06.

Support:

  • Public-Verifiable tokens (Blind-RSA)
  • Public-Verifiable tokens with Metadata (Partially-Blind-RSA)
  • Private-Verifiable tokens (VOPRF)
  • Generic tokens batched issuance

Usage:

We provide examples in the [examples folder](examples).

Limitations

  • Public-Verifiable tokens with Metadata verification is not supported in browser environments. This is due to @cloudflare/blindrsa-ts not supporting them.

Development

| Task | NPM scripts | |-----------------|----------------------| | Installing | $ npm ci | | Building | $ npm run build | | Unit Tests | $ npm run test | | Examples | $ npm run examples | | Benchmarking | $ npm run bench | | Code Linting | $ npm run lint | | Code Formatting | $ npm run format |

License

The project is licensed under the [Apache-2.0](LICENSE.txt) License.