hyperledger-fabric-node-chaincode-utils
hyperledger-fabric-node-chaincode-utils copied to clipboard
What would happen if a user certificate is revoked?
We are using txHelper.getPublicKey function in our token example, but what would happen if a certificate is revoked and the user will not be able to use this certificate in the network anymore.
We may need an additional mechanism using stub.getBinding(), getTransient() inside a transaction in which the invoker can pass an additional cert/public key or a message signed with his private key. This private key would be with the user and this can be independent from the fabric network, we can use this public key to identify the user rather than using his cert provided by the MSP of any organization as this can be revoked anytime.