This repo contains the oracle server that helps enforce 3 PIN tentatives on Jade.
The oracle is blind to the pin and should be easy to run an instance of the server over Tor.
In the future we plan to use the pin server in other projects such as Blockstream Green.
python -m venv venv
. venv/bin/activate
pip install --require-hashes -r requirements.txt
PYTHONPATH=.. python -m blind_pin_server.generateserverkey
docker build -f Dockerfile . -t dockerized_pinserver
mkdir pinsdir
docker run -v $PWD/server_private_key.key:/server_private_key.key -v $PWD/pinsdir:/pins -p 8096:8096 dockerized_pinserver