Blinded Tokens Microservice
This is a fork of the Challenge Bypass Server, that implements the HTTP REST interface, persistence in Postgresql, multiple issuers, etc.
It also uses cgo bindings to a rust library to implement the cryptographic protocol.
Run/build using docker
This project uses golangci-lint for linting, this is run by CI and should be run before raising a PR.
To run locally use
make lint which runs linting using docker however if you want to run it locally using a binary release (which can be faster) follow the installation instructions for your platform and then run
golangci-lint run -v ./...
For testing purposes this repo can be deployed to Heroku. The settings set in environment variables
DATABASE_URL override other options.