kaleido-io / kaleido-iden3-samples

Sample code for using the iden3 protocol to issue verifiable claims
Apache License 2.0
6 stars 4 forks source link

Refactor go code to be identity centric #36

Closed Chengxuan closed 1 year ago

Chengxuan commented 1 year ago

Restructured the go class to have an Identity class:

  1. has a privateKeys map for multiple key support (the example currently still uses a single private key)
  2. has private and public attribute at the top level to indicate the ownership of data ( folder structure also changed to reflect this)
  3. decoupled auth claim proof generation and generic claim proof generation.
Chengxuan commented 1 year ago

Hi @jimthematrix @nedgar , can you please take a look at this PR and add your comment.

Chengxuan commented 1 year ago

@jimthematrix @nedgar thanks for the comments. I realised the readme needs a bit more update, will work on that as well.

Chengxuan commented 1 year ago

I've addressed all of the review comments