Skip to main content

Python wrapper for the Indy BLS signatures implementation

Project description

indy-bls-wrapper-python

A Python wrapper for Hyperledger Indy BLS Signatures Rust as used by Hyperledger Indy Node.

This package implements a version of the BLS signature scheme. The implementation doesn't match up with the BLS signatures specification at the IETF. It uses the BN254 curve defined here (sometimes called BN254N), and should not to be confused with the one used in Ethereum.

This package is NOT recommended for new projects. It would be preferable to use a BLS signatures implementation based on the IETF draft, on a curve with a stronger security estimation (such as BLS12-381).

Installation

The package may be installed by using:

pip install indy_bls

No additional dependencies are required for installation. Python 3.6 and higher are currently supported.

Building

The primary build dependency is the Rust crate: Hyperledger Indy BLS Signatures Rust, which requires a Rust compiler toolchain. Python packaging requires setuptools and wheel.

Contributing

Pull requests are welcome! Please read our contributions guide and submit your PRs. We enforce developer certificate of origin (DCO) commit signing. See guidance here.

We also welcome issues submitted about problems you encounter in using indy_bls.

Acknowledgements

This code is based on the original Ursa Python wrapper contributed by Cam Parra.

License

Licensed under the Apache License, Version 2.0. (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

indy_bls-0.1.0-py3-none-win_amd64.whl (689.7 kB view hashes)

Uploaded Python 3 Windows x86-64

indy_bls-0.1.0-py3-none-manylinux2014_x86_64.whl (1.7 MB view hashes)

Uploaded Python 3

indy_bls-0.1.0-py3-none-macosx_10_9_universal2.whl (1.7 MB view hashes)

Uploaded Python 3 macOS 10.9+ universal2 (ARM64, x86-64)

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page