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/debug
directory) into thewrappers/python/ursa_bbs_signatures
directory - 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
Pytest
for testing, so make sure to install it by runningpipenv install --dev
in thewrappers/python
directory - Run the tests using
pipenv run test