0.6.0 • Published 1 year ago

@cloudflare/privacypass-ts v0.6.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

NPM NPM

NPM

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

Specification: Compliant with IETF draft-ietf-privacypass-protocol, draft-hendrickson-privacypass-public-metadata-03 and tests vectors match with draft v11.

Support:

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

Usage:

We provide examples in the examples folder.

Limitations

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

Development

TaskNPM 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.