This is a Python wrapper for Hyperledger Ursa's C callable BBS+ package.
- Python
- Pip
- Optional:
- If you'd like to run the python tests
- Install Pipenv
- If you'd like to build the BBS+ library yourself
- Install Rust
- Follow installation instructions at https://github.com/mattrglobal/ffi-bbs-signatures
- If you'd like to run the python tests
pip install ursa-bbs-signatures- Build the Rust BBS+ library as described here
- Place the resulting library (located in the
target/debugdirectory) into thewrappers/python/ursa_bbs_signaturesdirectory - Install the package into your environment by running
python -m pip install <PATH TO THIS REPOITORY>/wrappers/python
- Make sure you have Pipenv installed
- This project uses
Pytestfor testing, so make sure to install it by runningpipenv install --devin thewrappers/pythondirectory - Run the tests using
pipenv run test