A simple Python implementation of threshold BLS signatures.
A link to the full paper is available at the following address: https://iacr.org/archive/asiacrypt2001/22480516.pdf
This implementation is built on top of petlib and bplib, make sure to follow these instructions to install all the pre-requisites.
If you have pip
installed, you can install bls with the following command:
$ pip install bls-lib
otherwise, you can build it manually as below:
$ git clone https://github.com/asonnino/bls
$ cd bls
$ pip install -e .
Tests can be run as follows:
$ pytest -v --cov=bls tests/
or simply using tox:
$ tox