-
Notifications
You must be signed in to change notification settings - Fork 37
Description
To fetch a credential via DCQL, it should be identified by a unique identifier like vct or namespace, but not by the structure based on field names. This can be tricky especially when using selective disclosure and increase the risk, that the wrong credential gets shared, I already happened in multiple projects where using a wallet that already included other credentials from other projects.
To avoid this, the meta field that includes the vct value for sd-jwt vc and namespace for mdoc in the credential query should be required than optional.
Todo:
- change from optional to require
- explain that a credential should always be identified by the type and not by the field (maybe added to privacy section or DCQL in general).
There is still the risk that a user will have two credentials with the same type (like club member card), but the verifier is able to limit it down to the issuer value or by defining the trust authorities.
@Sakurann I think this is a 1.0 change that should be included.