w3c / vc-di-ecdsa

Data Integrity specification for ECDSA using NIST-compliant curves
https://w3c.github.io/vc-di-ecdsa/
Other
9 stars 9 forks source link

ecdsa-rdfc-2019 Transformation passes wrong type to "Deserialize JSON-LD" #66

Open jyasskin opened 2 days ago

jyasskin commented 2 days ago

https://www.w3.org/TR/vc-di-ecdsa/#transformation-ecdsa-rdfc-2019 takes a map that is not the result of the Node Map Generation algorithm and passes it to https://www.w3.org/TR/json-ld11-api/#deserialize-json-ld-to-rdf-algorithm, which expects "a map node map, which is the result of the Node Map Generation algorithm".

https://github.com/w3c/json-ld-api/issues/579 reports that this type requirement is unclear, but the discussion there indicates that you're expected to do the extra step in callers.