Replies: 3 comments 1 reply
-
The context must be available somehow to the verifier to be able to perform the verification. Another problem is that these context URLs are not mandated to resolve to a machine readable file, which makes things even more annoying for developers.. (Lots of credentials use
To overcome these issues, the JSON-LD bunch recommend that the context files be cached, or pre-loaded instead of downloaded from the URL. For the pre-loading workaround, this means that verifiers kinda need to know in advance what kinds of credentials they need to verify, or what kinds of DIDs and crypto suites they will accept. |
Beta Was this translation helpful? Give feedback.
-
Thanks, @mirceanis, I did the following test: Initially, I used some URLs to generate the proof for VC. then after that I modified my VC by removing the old URL, and using a new URL: https://www.w3.org/2018/credentials/v1 then I tried to verify the VC and I found it was working and verified. Do you know if this behavior is correct? And will changing the context URLs affect the verification process? |
Beta Was this translation helpful? Give feedback.
-
Veramo automatically adds the default credential context, so if you changed the URL to the default one (meaning that the only remaining context was the default one), this means that your credential did not need the additional context to begin with. This is all speculation, of course, until you share some examples. The general idea remains: every property of the credential must be defined in one of the context entries. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Let's assume I made my own JSON-LD schema and then hosted it under some public URL, then I start using that URL as a context to issue VC and VP.
Then for some reason, the URL is not valid anymore (Down or URL changed), in that case, what will happen to the old VCs that were generated with the old URL, still being able to be verified? or the old URL should be active and running to get the VCs verified?
Beta Was this translation helpful? Give feedback.
All reactions