-
Notifications
You must be signed in to change notification settings - Fork 25
PEX and jwt-vc general question #45
Comments
Good one. Just to give you some insight/background first. Current PEX implementation supports V1 and partial V2 of the spec. But v2 support is not complete, as the spec was only ratified yesterday. So we have waited for this to happen, before we would finish V2 support. Otherwise we would be continuously updating our implementation. Work on completing V2 will go hand in hand with some refactoring that we wanted to do anyway. We do indeed create an internal representation of JWT VCs. In case of a JWT VC we should however ensure for the JSON path matching that we are aware of the required The above example would for sure work, because it lists paths for both LDP and JWT, but if it would only contain the path for JWTs our PEX lib for sure should match it for a JWT VC and not for an LDP VC. |
And to add, since you posted this in our SIOP repo. We are currently working on an updated SIOPv2 version that is more in line with latest SIOPv2 specs, but also aligns with the JWT VC Interop Profile for instance. Work on that can be found in the https://github.com/Sphereon-Opensource/did-auth-siop/tree/release/v2.0.0 branch. |
Actually something I will bring up in the DIF WG: It is debatable whether the .vc examples for JWTs should be in there to begin with. If you look at the W3C VC Datamodel basically the So if everyone follows these encoding/decoding rules to the letter, then JSON path matching should not include the |
Perfect! yes I am aware of the v2 branch and that's what I am using for my tests. |
It seems that the current behavior for the PEX implementation is to wrap jwt-vcs and execute the filter on the wrapped version.
It is not clear to me from the spec if this should be the case.
For instance, this example seems to target the jwt-decoded version of a jwt-vc:
Anyways, I am just looking for your thoughts on this.
Thank you very much
The text was updated successfully, but these errors were encountered: