w3c / vc-extensions

Verifiable Credential Extensions
https://w3c.github.io/vc-extensions/
Other
12 stars 14 forks source link

Securing Mechanisms section should require that its entries are actually securing mechanisms #37

Open jyasskin opened 4 months ago

jyasskin commented 4 months ago

https://w3c.github.io/vc-data-model/#verification says to look up a media type in https://w3c.github.io/vc-specs-dir/#securing-mechanisms (or other mechanisms known to the implementation) and that the result "MUST implement the interface described in [5.12 Securing Mechanism Specifications]." But nothing in this registry constrains the editors to only accept specs that implement that interface. This puts an unnecessary burden on implementations to check every entry in the registry themselves and only use it if it implements the interface.

I don't think the editors should need to check the quality of the securing mechanisms, just that they provide the right interface.