Giter Club home page Giter Club logo

fabric-gm's People

Contributors

gwanted avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fabric-gm's Issues

v1.1.0

v1.1.0是基于fabric1.1进行的国密改造么?

验证签名出错

panic: Failed to setup local msp with config: admin 0 is invalid: could not obtain certification chain: failed getting validation chain: the supplied identity is not valid: x509: certificate signed by unknown authority (possibly because of "x509: SM2 verification failure" while trying to verify candidate authority certificate "ca.example.com")

在这里看到有人问了一样的问题,解决方案是换了一个全新的ubuntu18,请问下原因是什么?
我现在用的环境是 mac
https://www.gitmemory.com/issue/gwanted/fabric-gm/5/497224556

运行1.4的分支,报错

错误如下:
Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error starting container: error starting container: Failed to generate platform-specific docker build: Error returned from build: 2 "# github.com/hyperledger/fabric/vendor/github.com/tjfoc/gmsm/vendor/golang.org/x/crypto/sha3
opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/tjfoc/gmsm/vendor/golang.org/x/crypto/sha3/keccakf_amd64.go:13:6: missing function body

github.com/hyperledger/fabric/vendor/golang.org/x/crypto/sha3

opt/gopath/src/github.com/hyperledger/fabric/vendor/golang.org/x/crypto/sha3/keccakf_amd64.go:13:6: missing function body

github.com/hyperledger/fabric/vendor/golang.org/x/crypto/poly1305

opt/gopath/src/github.com/hyperledger/fabric/vendor/golang.org/x/crypto/poly1305/sum_amd64.go:11:6: missing function body

github.com/hyperledger/fabric/vendor/golang.org/x/crypto/curve25519

opt/gopath/src/github.com/hyperledger/fabric/vendor/golang.org/x/crypto/curve25519/mont25519_amd64.go:15:6: missing function body
opt/gopath/src/github.com/hyperledger/fabric/vendor/golang.org/x/crypto/curve25519/mont25519_amd64.go:19:6: missing function body
opt/gopath/src/github.com/hyperledger/fabric/vendor/golang.org/x/crypto/curve25519/mont25519_amd64.go:23:6: missing function body
opt/gopath/src/github.com/hyperledger/fabric/vendor/golang.org/x/crypto/curve25519/mont25519_amd64.go:27:6: missing function body
opt/gopath/src/github.com/hyperledger/fabric/vendor/golang.org/x/crypto/curve25519/mont25519_amd64.go:31:6: missing function body
麻烦兄弟看下是啥原因?

1.4 error : x509: sm2 verification failure

大佬!
我用 fabric-gm 这个项目(1.4分支) make docker,并使用 make release 后的 cryptogen 工具对原有的进行替换后, 总是无法正常启动 orderer 和 peer,下面是报错信息:

跑的是 e2e

orderer log:

Failed to initialize local MSP: admin 0 is invalid: could not obtain certification chain: failed getting validation chain: the supplied identity is not valid: x509: certificate signed by unknown authority (possibly because of "x509: sm2 verification failure" while trying to verify candidate authority certificate "ca.example.com")

peer log:

Cannot run peer because error when setting up MSP of type bccsp from directory /etc/hyperledger/fabric/msp: admin 0 is invalid: could not obtain certification chain: failed getting validation chain: the supplied identity is not valid: x509: certificate signed by unknown authority (possibly because of "x509: sm2 verification failure" while trying to verify candidate authority certificate "ca.org2.example.com")

请问你们有遇到过类似情况吗?
生成的证书和私钥我已经验证过了, 是没有问题的。

请问大佬有什么建议吗?

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.