cbs-client
A node.js client for testing the functionality of challenge-bypass-server using the scripts from challenge-bypass-extension.
Currently I've had to take the methods that are required by hand from the extension. I know this is terrible practice and it also requires that this is kept manually up-to-date with the current version of the extension. For now, however it works and is able to showcase compatibility with the server.
Quickstart
-
yarn build
-
Run an instance of the challenge-bypass-server
go run server/main.go -key testdata/p256-key.pem -comm testdata/test-p256-commitment
-
Run index.js (for signing only)
yarn run:sign
-
Run index.js (with redemption as well)
yarn run:redeem
-
Run index.js (with two-key redemption)
yarn run:twokey
-
Rebuild challenge-bypass-extension (after making changes)
yarn build