0.3.0 • Published 3 years ago

@teamjayj/opaque-cloudflare-driver v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@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
);
0.3.0

3 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago