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

The default should be verificationMethodSig and not UNKNOWN_VERIFICATION_METHOD. #368

Open
richtera opened this issue Dec 14, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@richtera
Copy link
Collaborator

When reading JSONURL or VerifiableURI we should return unknown verification methods as just their signature. Without doing this the library will not support custom verification methods until they are officially ratified inside of the library. During read Verification.method should be the name if it's known or the signature if not. The data should be forwarded according to the length if it's VerifiableURI or 32 bytes if it's JSONURL.

The default should be verificationMethodSig and not UNKNOWN_VERIFICATION_METHOD.

Originally posted by @richtera in #365 (comment)

@Hugoo Hugoo added the bug Something isn't working label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants