@cloudflare/privacypass-ts
v0.6.0
Published
privacypass-ts: A TypeScript Library for the Privacy Pass Issuance Protocol
Downloads
5,110
Maintainers
Readme
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
| 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.