Skip to content

Credential Subject ID Mismatch in Validation Rule with Gaia-X Format (Eclipse MVD) #4965

Discussion options

You must be logged in to vote

the HasValidSubjectIds rule asserts, that the credentialSubject.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…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Zhipeng-lin1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants