vc-data-integrity icon indicating copy to clipboard operation
vc-data-integrity copied to clipboard

Explain that data integrity secures underlying RDF graph

Open Sakurann opened this issue 2 years ago • 3 comments

This article explains it much better, but please add to the document (probably introduction?) that "data integrity" secures an RDF graph underlying the JSON document, as opposed to securing the JSON document itself and that it is an expected behavior that "the signature value does not change even if the JSON document changes as long as an underlying RDF graph does not change". https://medium.com/@markus.sabadello/json-ld-vcs-are-not-just-json-4488d279be43

Sakurann avatar Oct 18 '23 08:10 Sakurann

I agree that this should be done.

selfissued avatar Oct 18 '23 13:10 selfissued

"data integrity" secures an RDF graph ...

When using a cryptosuite that uses RDFC. You could also use one that uses JCS -- or both at the same time (two data integrity proofs on the same document).

dlongley avatar Oct 18 '23 15:10 dlongley

I also agree this should be explained.

And conversely, the "other effort" over at IETF should also explain that an SD-JWT/JWS can only secure the JSON document, not the underlying data of a JSON-LD document.

peacekeeper avatar Oct 19 '23 23:10 peacekeeper

PR #271 has been raised to address this issue. This issue will be closed once PR #271 has been merged.

msporny avatar Jun 21 '24 15:06 msporny

PR #271 has been merged, closing.

msporny avatar Jun 27 '24 22:06 msporny