@teamjayj/opaque-cloudflare-driver
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

@teamjayj/opaque-cloudflare-driver

An opaque-starter driver for the @cloudflare/opaque-ts implementation.

NPM

Warning

This package is currently at an unstable release and only suited for experimentation. Use at your own risk.

Details

The @cloudflare/opaque-ts implementation adheres to the draft-irtf-cfrg-opaque-07 specification.

Usage

This driver is meant to used by an opaque-starter client or server such as @teamjayj/opaque-express-server.

Server driver

Instantiate the server driver with a specified server ID and cipher suite used for OPAQUE authentication.

const serverDriver = new OpaqueCloudflareServerDriver(
    'server-id',
    OpaqueCipherSuite.P256_SHA256
);

Client driver

Instantiate the client driver with a specified cipher suite used for OPAQUE authentication.

const clientDriver = new OpaqueCloudflareClientDriver(
    OpaqueCipherSuite.P256_SHA256
);

Readme

Keywords

Package Sidebar

Install

npm i @teamjayj/opaque-cloudflare-driver

Weekly Downloads

6

Version

0.3.0

License

MIT

Unpacked Size

26.8 kB

Total Files

6

Last publish

Collaborators

  • jgrivera