Coder Social home page Coder Social logo

tjfoc / fabric-ca-gm Goto Github PK

View Code? Open in Web Editor NEW
71.0 3.0 44.0 9.06 MB

支持国密加密算法的Hyperledger Fabric CA服务

Home Page: http://www.tj-fintech.com

License: Apache License 2.0

Makefile 1.25% Go 79.60% Shell 19.15%
blockchain hyperledger fabric ca gm sm2 sm3 sm4

fabric-ca-gm's Issues

有人测试通么

国密fabric和go-sdk版本,cli测试和go-sdk国密测试功能都通,只剩ca enroll ,但是使用时报错,x509:不识别的曲线,
但是openssl查看证书,算法都是1.2.xx国密,请问怎么回事?不像是证书问题,都是国密,为啥报这个错?

根证书和签发的子证书验证问题

使用fabric-ca生成了根证书,并使用该根证书签发一个子证书,使用 openssl verify -CAfile root.pem child.pem 显示是 ok的。可是使用国密时,openssl 和gmssl 都无法检验通过,报错:
crypto/sm2/sm2_sign.c 504: sm2_do_verify
C = US, ST = North Carolina, O = Hyperledger, OU = client, CN = admin
error 7 at 0 depth lookup: certificate signature failure
error signcerts/cert.pem: verification failed
4497929664:error:0D0C5006:asn1 encoding routines:ASN1_item_verify:EVP lib:crypto/asn1/a_verify.c:188:

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.