tjfoc / fabric-ca-gm Goto Github PK
View Code? Open in Web Editor NEW支持国密加密算法的Hyperledger Fabric CA服务
Home Page: http://www.tj-fintech.com
License: Apache License 2.0
支持国密加密算法的Hyperledger Fabric CA服务
Home Page: http://www.tj-fintech.com
License: Apache License 2.0
使用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:
bccsp工厂方法中,已经将ProviderName指定为GM,想要生成rootca证书为ecdsa的
make fabric-ca-server
fails.
证书转换的时候转为x509证书国密算法序号在cryptpo/509中是不存在的所以有待商榷
国密fabric和go-sdk版本,cli测试和go-sdk国密测试功能都通,只剩ca enroll ,但是使用时报错,x509:不识别的曲线,
但是openssl查看证书,算法都是1.2.xx国密,请问怎么回事?不像是证书问题,都是国密,为啥报这个错?
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.