Git Product home page Git Product logo

fabric-sm-patch's Introduction

Hyperledger Fabric 国密补丁

用于Hyperledger Fabric项目支持国密算法,支持V1.1.x以上版本

cryptogen工具配套支持

当前版本采用非插件方式

准备条件


  • 可以编译fabric的主机环境,如ubuntu或者osx

  • 安装git环境

  • 拉取并且切换到所需要的fabric版本

安装步骤


在fabric主目录下

  • git clone https://github.com/flyinox/fabric-sm-patch.git

  • git am ./fabric-sm-patch/fabric-sm-patch

  • make [docker | native]

    使用make编译国密版native或者docker镜像

    推荐使用docker镜像方式,其中自带bccsp密码插件

    若使用native方式运行,请注意在peer或者orderer启动时,配置config文件中bccsp密码插件的位置(peer对应core.yaml, orderer对应orderer.yaml),更改方式参见下一章节

    (注意,当前dep 和 test 跑不过,所以make docker的时候最后会报错,不影响使用)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.