gwanted / fabric-gm Goto Github PK
View Code? Open in Web Editor NEWfabric with GM crypto.Changed from http://github.com/hyperledger/fabric
License: Apache License 2.0
fabric with GM crypto.Changed from http://github.com/hyperledger/fabric
License: Apache License 2.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
错误如下:
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
opt/gopath/src/github.com/hyperledger/fabric/vendor/golang.org/x/crypto/sha3/keccakf_amd64.go:13:6: missing function body
opt/gopath/src/github.com/hyperledger/fabric/vendor/golang.org/x/crypto/poly1305/sum_amd64.go:11:6: missing function body
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
麻烦兄弟看下是啥原因?
大佬!
我用 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")
请问你们有遇到过类似情况吗?
生成的证书和私钥我已经验证过了, 是没有问题的。
请问大佬有什么建议吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.