bcgov / aries-oca-bundles

aries-oca-bundles
Apache License 2.0
8 stars 20 forks source link

Discussion: What would be in an AnonCreds "presentation request" OCA Bundle consist? #73

Open swcurran opened 1 year ago

swcurran commented 1 year ago

We talked about what would be in an AnonCreds "presentation request" OCA Bundle such that the presentation request UX can be improved -- particularly in the areas of:

This issue is written in the form of a spec (as if decisions have been made), but all aspects are open to discussion.

Context

A holder will receive a presentation request from a verifier. Before any UI is presented to the user, the holder's wallet will look into the holder storage to find the credentials that could be used to satisfy the presentation request. Once that is done, the possible response to the presentation request is put on the screen for the user. At that point the state of the flow could be:

Further, for each credential that the Holder has, assume that they also have access to the OCA Bundle associated with that credential. As such, the Holder will already have access to a lot of OCA for Aries Bundles and the data therein. Of course, where there is no credential, or where there is no OCA Bundle, the holder would not have any extra information, other than perhaps the OCA Bundle from the presentation request.

OCA Presentation Request Data

We propose that the following OCA Overlays be included in the OCA Bundle for Presentation Requests. To help in understanding these, please see this set of Presentation Request templates that are currently in the BC Wallet.

There is no need for the other overlays that are used in OCA for Aries credentials because

swcurran commented 1 year ago

@amanji -- does this look right from our discussion? Please share with others that are interested.