Feature/update python, libs, protobufs and fix CA 1.5.15 header authentication (#199)
- fix: docker lib bumb and test fixes for fabric 1.4.6
Signed-off-by: David Reis davidfdr@gmail.com
- fix: check environment scripts
Signed-off-by: David Reis davidfdr@gmail.com
- Update auth header token for CA
Signed-off-by: Muthu muthu.sundaravadivel@in.ibm.com
- fix: pytho 3.12, regen protobufs and other python libs
Signed-off-by: David Reis davidfdr@gmail.com
- Updated the method
Signed-off-by: Muthu muthu.sundaravadivel@in.ibm.com
- Update the Header
Signed-off-by: Muthu muthu.sundaravadivel@in.ibm.com
- reade.md
Signed-off-by: David Reis davidfdr@gmail.com
- feature: debug information
Signed-off-by: David Reis davidfdr@gmail.com
- feature: update full path parameter for auth
Signed-off-by: David Reis davidfdr@gmail.com
- feature: debu
Signed-off-by: David Reis davidfdr@gmail.com
- feature: update string_to_sign
Signed-off-by: David Reis davidfdr@gmail.com
- feature: update string_to_sign
Signed-off-by: David Reis davidfdr@gmail.com
- feature: update string_to_sign
Signed-off-by: David Reis davidfdr@gmail.com
- feature: update string_to_sign
Signed-off-by: David Reis davidfdr@gmail.com
- fix: added full parh to generateAuthToken method
Signed-off-by: David Reis davidfdr@gmail.com
- fix: added full parh to generateAuthToken method - b64encode fullpath
Signed-off-by: David Reis davidfdr@gmail.com
- fix: debug
Signed-off-by: David Reis davidfdr@gmail.com
- fix: debug 2
Signed-off-by: David Reis davidfdr@gmail.com
- fix: debug 3
Signed-off-by: David Reis davidfdr@gmail.com
- fix: debug 4
Signed-off-by: David Reis davidfdr@gmail.com
- fix: debug 5
Signed-off-by: David Reis davidfdr@gmail.com
- fix: remove host from fullpath string
Signed-off-by: David Reis davidfdr@gmail.com
- fix: genCRL sent path
Signed-off-by: David Reis davidfdr@gmail.com
- feature: flake8 test warnings
Signed-off-by: David Reis davidfdr@gmail.com
- feat: testing with CA version 1.5.15
Signed-off-by: David Reis davidfdr@gmail.com
Signed-off-by: David Reis davidfdr@gmail.com Signed-off-by: Muthu muthu.sundaravadivel@in.ibm.com Co-authored-by: David Reis david@gmail.com Co-authored-by: Muthu muthu.sundaravadivel@in.ibm.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
Fabric-SDK-Py
Fabric-SDK-Py is the Python 3.x implementation of Hyperledger Fabric SDK!
Currently, it mainly supports Fabric 1.4.x version.
pyenv instructions
Pre-requisite
The SDK requires the
Python3andLibsslpkgs.Run the following cmd to install the pre-requisites if you do not have:
sudo apt-get install python-dev python3-dev libssl-devsudo yum install python-devel python3-devel openssl-develbrew install python python3 opensslMore details to build the crypto lib, can be found at Install Python Cryotography Lib.
Tutorial
Read the Tutorial (Source) to get familiar with the APIs. A jupyter notebook explaining the sample code can be found here.
Quick Testing
Use Virtual Env
virtualenv helps provide a clean environment, suggest to use it to test.
Run Integration Testing
The following command will run the testing.
Generating Docker images
The following command will build the Docker image
hyperledger/fabric-sdk-py.Regenerating protos
Make sure you have
grpcio-toolsinstalled (pip install grpcio-tools)Change Logs
See Change Log for the commit logs. Run
make changelogto update the changelog before new release.Bug, Question and Code Contributions
Welcome for any kind of contributions, e.g., bugs, questions and documentation!
Recommend to read How to Contribution before taking action.
Other Important Links
License
The Hyperledger Fabric-SDK-Py software uses the Apache License Version 2.0 software license.
This document is licensed under a Creative Commons Attribution 4.0 International License.