OpenMined / PyDentity

A repository for leveraging Self-Sovereign Identity in applications
65 stars 25 forks source link

Create Builder class for Proof Request #58

Open wip-abramson opened 3 years ago

wip-abramson commented 3 years ago

Description

The proof request object required by the Swagger-API is a large JSON object specifying the attributes their constraints that a verifier will accept. E.g. attribute x from schema y and issuer did z. Currently, the basic controller provides no support to help the application developer construct these proofs.

The design of a Builder class should be explored and developed to make this easier.

Are you interested in working on this improvement yourself?

Additional Context

If unfamiliar with the present proof protocol then the following tutorial notebook should help - https://github.com/OpenMined/PyDentity/blob/master/tutorials/aries-basic-controller/notebooks/alice/Part%206%20-%20Present%20Proof.ipynb

Running through the aries-fl project should give some more context to how this will add value - https://github.com/OpenMined/PyDentity/tree/master/projects/aries-fl