GijsWeterings / IdentityChain

GNU General Public License v3.0
6 stars 0 forks source link

MetaData for zkp in attestation #6

Open LiamClark opened 6 years ago

LiamClark commented 6 years ago

When generating a zkp with a third party, they generate the zkp for us. We can publish (for the range proof) the SQR and EL proofs.

However to respond to the challenge we need the random numbers that they generated, to calculate the response. These should also be transferred over the network so we can save them.

To do this we need to change their protobuffer structure and their networking. This is now done through plain sockets and is rather hacky with no routing.

We think using: https://grpc.io/docs/tutorials/basic/java.html would be our best bet in cleaning up this code, as it still allows us to use protobuffers easliy