hyperledger / fabric-gateway

Go, Node and Java client API for Hyperledger Fabric v2.4+
https://hyperledger.github.io/fabric-gateway/
Apache License 2.0
143 stars 87 forks source link

Idemix signer for Gateway SDK Go client #242

Open bestbeforetoday opened 2 years ago

bestbeforetoday commented 2 years ago

As a Golang application developer I want to use an Idemix signer implementation So that client permission to transact with the network can be verified while maintaining anonymity

Golang Idemix implementation supported by current Fabric nodes here:

https://github.com/IBM/idemix

See this comment for pointers on integration:

https://github.com/hyperledger/fabric/pull/2955#issuecomment-933313041

pmuls99 commented 1 year ago

Hi @bestbeforetoday , I am interested in working on this issue. Should I take it up ?

bestbeforetoday commented 1 year ago

If you are happy to work on it then yes, please do pick it up. You might want to refer to the existing private key and HSM signer implementations and unit tests as a style guide:

An implementation will certainly also need some scenario test coverage to confirm it works with a real running Fabric deployment, although just a simple evaluate and submit call should be sufficient. As a guide, see:

There was talk a while back of using alternative (faster) curves for Idemix signing in Fabric, although I don’t think anything has actually been implemented. It might be good to allow flexibility when creating an Idemix signer for the client to allow similar configuration so that it could be used with any future Fabric updates. Fabric discussion in issue hyperledger/fabric#3356.

pmuls99 commented 1 year ago

Thank for the resources @bestbeforetoday . I will get back to you soon.

bestbeforetoday commented 1 year ago

@bugslayer-332 Please let me know if you want to share any early code as you progress on this, or if you want to discuss approaches. I am happy to help by providing feedback or suggestions.

pmuls99 commented 1 year ago

Hi @bestbeforetoday, I have my end semester going on now and will get back to the issue as I am done with them.

bestbeforetoday commented 1 year ago

Sure, no hurry. I just wanted to make sure you were getting any support you might need. 😄