Open jyasskin opened 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.
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.