anoncreds-v2-rs
anoncreds-v2-rs copied to clipboard
Define mapping of AnonCreds v2 into W3C Format Verifiable Credential and Verifiable Presentation format
Define and implement the formatting of AnonCreds v2 credentials and presentation into W3C Verifiable Credentials Data Model Standard format.
In doing that, consider adding to the data model the additional fields of the VC Data Model (e.g., issuance_date) as fields included in AnonCreds.
In implementing this, consider:
- automating the flattening of complex JSON (beyond the simple attribute list in AnonCreds v1) to enable support for nested JSON structures.
- extending the flattening to include support for arrays in AnonCreds v2 credentials. Such support would have to include defining how to selectively disclose arrays of data, such as permitting disclosing all rows of an array, but only select items per row. The challenge in such support is how to request the data.
This part of the work gets into the always "interesting" area of canonicalization schemes. For example, should JSON-LD canonicalization be used, and if so, how?
Hi @swcurran, can I work on this issue if noone is assigned to it ? I have used this repo for some personal projects, and I would love to contribute to the issues !
Feel free to submit a pull request to the repo — contributions are welcome. In this case, the work would be a markdown document defining the proposal. Or perhaps just comments on this issue with the proposal. There would not be any coding at this point.
If you do a PR, please keep in mind to sign off on all commits for DCO — DCO - Developer Certificate of Origin - https://github.com/apps/dco.