bcgov / bc-wallet-mobile

BC Wallet to hold Verifiable Credentials
Apache License 2.0
60 stars 46 forks source link

Add OCA Bundle handling in the Aries Bifold wallet (or AFJ?) such that it can be exposed and used in the BC Wallet #411

Closed swcurran closed 1 year ago

swcurran commented 2 years ago

This is a large task to implement Overlays Capture Architecture (OCA) in the wallet that will take some coordination and breaking down into smaller chunks. Putting this out here to get the thinking started. The user stories are:

As a wallet user I want to be able to see a beautiful presentation of the credentials in my wallet in the language of my choice so I can understand what the credential is for and how I should use it.

As a Schema Publisher or Issuer I want to be able to define details (attribute labels, help text, etc.) about how a wallet should present a credential to users so that my intentions for the use of the credential is understood by the user.

The long term (a few months, I hope) is outlined in this presentation about OCA and AnonCreds verifiable credentials -- a general purpose approach to using OCA for any verifiable credential issued to a holder using BC Wallet. This issue assumes the goals and approach from that presentation are understood. Although we won't be implementing all that is outlined in the presentation in the first cut, the Wallet work should be done with idea of being able to be extended when the additional components are implemented.

This issue focuses on the Wallet part of the solution. In particular:

The following are things to consider in starting this work:

Happy to discuss your ideas in getting this going. I'm sure I've missed things or there are mistakes in what I've proposed above. It should not be consider gospel!

cvarjao commented 1 year ago

Most of the OCA implementation is now in Bifold. We sill need to figure out how to discover bundles.