-
Notifications
You must be signed in to change notification settings - Fork 50
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
VerificationError: Document loader unable to load URL #121
Comments
Hi @UBgood, It looks like you'll need a documentLoader that can load the urls that start with |
There is a package we maintain with a https://www.npmjs.com/package/@digitalbazaar/security-document-loader It looks like your p.s. that loader might assume you're using the 2020 version of the keys and not the 2018. You might consider the 2020 versions of ed25519. |
Thanks for the answers. I have tried to use the examples in the links provided by both @JSAssassin and @aljones15 . I came up with some changes and a try-catch block. But it still leads to a similar error.
Which gives me the following error:
|
From the example code above, this is not a valid verification method:
It's instead clearly some kind of conflation of a security vocabulary term ( I suspect that this has already been fixed and the issue is just hanging out here -- so I'm going to close it. Feel free to re-open and re-engage if necessary. |
So I have the following code:
Which gives me the following output:
I am looking for a way to make the verification successful but couldn't find anything useful. It would be great if someone could guide me to what I should do regarding this. I have tried the did-method-key library but I think that is not directly related to the verifiable credentials implementation. Maybe this has something to do with the jsonld-signatures library but I'm not entirely sure about it. I tried to create a custom documentLoader but my code didn't run as expected
Here is the code for the custom document loader:
This doesn't work since it says that extendContextLoader is not a method.
The text was updated successfully, but these errors were encountered: