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

Using id that is not an URI in AnonCreds credential issue due to transformation to/from W3C class #1802

Open
TimoGlastra opened this issue Mar 27, 2024 · 0 comments

Comments

@TimoGlastra
Copy link
Contributor

The W3C credential class validates that credenitalSubject.id is an URI, according to the spec. This is fine if you want to use AnonCred with W3C format, however if you had legacy AnonCreds credentials containing an id property that is not an URI, this is now causing issues as we internally transform the anoncreds credential to w3c format, even if you're not using the w3c format at all.

As reported by @sairanjit in discord

FYI @swcurran interesting edge case we hadn't thought of

@auer-martin is going to pick this up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant