THCLab / oca-parser-xls

European Union Public License 1.2
1 stars 2 forks source link

OCA for Aries needs in creating an OCA Bundle generation process #5

Open swcurran opened 1 year ago

swcurran commented 1 year ago

We've done more work on the OCA for Aries RFC for using OCA to "make verifiable credentials beautiful" in Aries agents. This ticket is to express the needs we have in creating OCA Bundles from source for use in Aries.

What we need is a way to manage the OCA Source so that it can be put into version control (e.g., GitHub) such that a CI/CD pipeline task (likely a GitHub Action) can be used to automatically create the OCA Bundle for the given source.

The source needs to come from two places:

What is needed is a utility that operates essentially like the current Excel parser, but that includes a generic way to pull in additional overlays before producing a complete, valid OCA Bundle, with all of the SAIDs in the Bundle accurate.

Here are the ideas that I have for managing the second source (or more) overlays:

swcurran commented 1 year ago

I have documented the current "recommended" way to generate an OCA Bundle for Aries. The full detail is in this section of the RFC. Here is the short version:

While this works, the capture_base item in the Branding Overlay must be manually updated each time it changes, and I don't know of a way to update the digest item in the Branding Overlay.

FYI - I experimented with using the saidify command in the keripy CLI to create the Branding Overlay digest, and it seemed to create a different SAID. Any ideas why?