securekey / fabric-examples

133 stars 58 forks source link

Add support for PKCS11 #19

Closed ahmedsajid closed 5 years ago

ahmedsajid commented 5 years ago

When trying to use pkcs11 as security provider under BCCSP, we get the following error: [fabsdk] 2019/01/07 21:43:33 UTC - defcore.(*ProviderFactory).CreateCryptoSuiteProvider -> WARN default provider factory doesn't support 'pkcs11' crypto provider [fabriccli] 2019/01/07 21:43:33 UTC - chaincode.glob..func2 -> ERRO Error while initializing getAction: a peer must be specified

ahmedsajid commented 5 years ago

https://github.com/securekey/fabric-examples/commit/4d03d1c1e50f0c3fa0a93d8d671e4f89b2201686 Fixed this issue. Thanks @sudeshrshetty