Comments (3)
Looks like it's tied in here: https://github.com/hyperledger/fabric-ca/blob/main/lib/tls/tls.go#L27-L28
and here: https://github.com/hyperledger/fabric-ca/blob/main/tools/tools.go#L15
from fabric-ca.
Here is what fabric-ca uses from Fabric (from modules.txt):
# github.com/hyperledger/fabric v1.4.11
## explicit
github.com/hyperledger/fabric/bccsp
github.com/hyperledger/fabric/bccsp/factory
github.com/hyperledger/fabric/bccsp/pkcs11
github.com/hyperledger/fabric/bccsp/signer
github.com/hyperledger/fabric/bccsp/sw
github.com/hyperledger/fabric/bccsp/utils
github.com/hyperledger/fabric/common/flogging
github.com/hyperledger/fabric/common/flogging/fabenc
github.com/hyperledger/fabric/common/metrics
github.com/hyperledger/fabric/common/metrics/disabled
github.com/hyperledger/fabric/common/metrics/internal/namer
github.com/hyperledger/fabric/common/metrics/metricsfakes
github.com/hyperledger/fabric/common/metrics/prometheus
github.com/hyperledger/fabric/common/metrics/statsd
github.com/hyperledger/fabric/idemix
The largest use is bccsp (and children packages). Here's what is used from bccsp (not exhaustive but pretty close):
bccsp.BCCSP
bccsp.Key
bccsp.KeyGenOpts
bccsp.SHAOpts
bccsp.X509PublicKeyImportOpts
bccsp.ECDSAKeyGenOpts
bccsp.RSA2048KeyGenOpts
cspsigner.New(c.csp, key)
factory.GetDefault()
factory.FactoryOpts
factory.SwOpts
factory.FileKeystoreOpts{}
factory.GetBCCSPFromOpts(opts)
pkcs11.PKCS11Opts
utils.PEMtoPrivateKey(keyBuff, nil)
utils.PrivateKeyToDER(key)
It looks like the main BCCSP interface is the same between fabric release-1.4
and main
branch which is good news. Things in factory and utils package have changed. I'd suggest to review fabric bccsp (and children) package refactoring that took place in the 2020 commits, and then make the corresponding changes in fabric-ca. We could in theory extract bccsp from fabric and push the common code into fabric-lib-go since that was the initial intent of fabric-lib-go, but that is probably a larger refactoring that can be deferred in the first pass.
github.com/hyperledger/fabric/idemix
has been removed from Fabric but I believe the same functions are now available in the standalone github.com/IBM/idemix
that fabric-ca already depends on. There are not many dependencies in fabric-ca to update for idemix.
I don't think flogging or metrics have changed between fabric release-1.4
and main
branch, or if so, only minimally.
from fabric-ca.
@benjsmi All done! Thanks @celder628 !
from fabric-ca.
Related Issues (20)
- Problem building fabric-ca-client on arm64 HOT 1
- Idemix MSP Folder Structure incompatible with what Fabric expects HOT 7
- Issue with re-enrolling certificates HOT 1
- Interoperability tests are failing with latest CA updates HOT 1
- Hyperledger's BCCSP is failing to initialize with our PKCS11 package. HOT 4
- Orderer port number in docker-compose.yaml
- Regiter and enroll all Hypereledger Fabric users and peers on LdapServer
- Expose Postgres database connection configuration properties including max connection lifetime HOT 1
- Fabric CA with postgres DB: register new user fails with Authorization failure HOT 1
- Fix expired testdata certificate
- Possible error on YAML file HOT 1
- documentation contains broken link
- Peer certificate expired HOT 7
- Vulnerable dependencies in CA documentation
- fabric-ca-client and fabric-ca-server build fails on s390x in v1.5.7 - likely due to commit d575f40e HOT 5
- S3 or DB support HOT 2
- When using LDAP to provide the certificates, users are always set to type "client"
- Tls certificate expired
- Fix docs-only vulnerability for Jinja2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fabric-ca.