Credential Subject ID Mismatch in Validation Rule with Gaia-X Format (Eclipse MVD) #4965
-
Hi, I'm encountering an issue in Eclipse MVD with a validation rule that checks whether the However, the credentials being sent for validation are using the Gaia-X format, where the
This causes the validation to fail due to a mismatch with the My questions are:
Any help or pointers would be greatly appreciated! Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
the In other words, it asserts, that whoever presents the VP, actually "owns" the credential. Otherwise, what is stopping me from stealing a VC from you, and including it in my VP? As per the Verifiable Credential Spec (1.1 and 2.0), identifiers must be URIs, which DIDs are. The DCP Specification specifically requires the use of DIDs as identifiers (not web urls), and the implementation in EDC is compliant with DCP. Using web urls as So if you want to use Gaia-X credentials for DCP, they have to be compliant with the DCP specification. To answer your questions
Amendment 1if you want to support holder-IDs, that are not identical to credentialSubject IDs, then you will have to plug in your own implementation of the |
Beta Was this translation helpful? Give feedback.
the
HasValidSubjectIds
rule asserts, that thecredentialSubject.id
property is equal to the VP holder. This assertion is not specific to EDC, in fact, it is the only way to assert that a VerifiableCredential was indeed issued to the holder of a VP.In other words, it asserts, that whoever presents the VP, actually "owns" the credential.
Otherwise, what is stopping me from stealing a VC from you, and including it in my VP?
As per the Verifiable Credential Spec (1.1 and 2.0), identifiers must be URIs, which DIDs are. The DCP Specification specifically requires the use of DIDs as identifiers (not web urls), and the implementation in EDC is compliant with DCP.
Using web urls as
credentialSubj…