w3c / vc-di-eddsa

EdDSA Data Integrity Cryptosuites Specification
https://w3c.github.io/vc-di-eddsa/
Other
12 stars 10 forks source link

eddsa-rdfc-2022 Transformation passes wrong type to "Deserialize JSON-LD" #87

Closed jyasskin closed 3 months ago

jyasskin commented 4 months ago

https://www.w3.org/TR/vc-di-eddsa/#transformation-eddsa-rdfc-2022 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.

msporny commented 3 months ago

Purely editorial, fixed in 91016be54545682f41da23afdf8b77b90f05c515. /cc @dlongley @davidlehn @gkellogg