ssi icon indicating copy to clipboard operation
ssi copied to clipboard

Verify proof-embedded capability delegation RDF consistency

Open clehner opened this issue 2 years ago • 0 comments

The verify_proof_consistency function (added in #241) calls match_list_property to check that a proof object's JSON(-LD) corresponds to its RDF data: https://github.com/spruceid/ssi/blob/3fc36d8ca412135a0664ac39b78003868ba54850/src/vc.rs#L2269-L2276

But this expects that the capabilityChain proof property if present contains an array of URIs (IRIs). The check fails when an embedded delegation object exists in the array. To allow embedded delegations in the capabilityChain array, the check in verify_proof_consistency needs to be relaxed or improved to handle this case.

clehner avatar May 13 '22 16:05 clehner