kaleido-io / kaleido-iden3-samples

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

Add makefile to create identities and issue/receive claim #11

Closed nedgar closed 1 year ago

nedgar commented 1 year ago

Adds a Makefile to:

One related Q: should we rename received-claims to just claims, so that verification can be done against directly issued claims, not just received claims?

FYI @jimthematrix @Chengxuan

nedgar commented 1 year ago

I changed the claim-related targets to be less declarative (more imperative) so they can be run again as needed, and more easily interleaved with other steps e.g. publishing on-chain.

Example usage:

nedgar commented 1 year ago

Suggestion: The makefile uses jq to extract the public ID for a given a name, to avoid hardcoding IDs into the makefile. This could be simplified if the claim subcommand supported a --holder-name arg (in addition to --holder).

Edit: nm, this would simplify the claim command a bit, but wouldn't help beyond that given the use of IDs in the claim filenames.