Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define mapping of AnonCreds v2 into W3C Format Verifiable Credential and Verifiable Presentation format #12

Open
swcurran opened this issue Nov 12, 2023 · 3 comments
Labels
AnonCreds v2 To Do Needed as part of AnonCreds v2

Comments

@swcurran
Copy link
Member

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.

@swcurran swcurran added the AnonCreds v2 To Do Needed as part of AnonCreds v2 label Nov 12, 2023
@swcurran
Copy link
Member Author

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?

@m-rit
Copy link

m-rit commented Jun 6, 2024

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 !

@swcurran
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AnonCreds v2 To Do Needed as part of AnonCreds v2
Projects
None yet
Development

No branches or pull requests

2 participants