What is Nostr?
silverpill /
npub1df0…7gmw
2023-12-21 19:36:21

silverpill on Nostr: Important information for FEP-8b32 and FEP-c390 implementers: ...

Important information for FEP-8b32 and FEP-c390 implementers:
https://github.com/w3c/vc-data-integrity/issues/231

It was reported that context injection is a necessary step for eddsa-jcs-2022 cryptosuite. It is necessary even if secured object is nested inside an object with @context property (as in FEP-c390).

This means FEP-c390 feature file is wrong, because I assumed that context injection is not needed. What's worse, it is not even clear how context injection must be done in this case (should we inject a string, or an array?).

In cases where top-level object is being signed, the context injection is not needed, so existing FEP-8b32 implementations are probably correct.
Author Public Key
npub1df0nthpgzfmvxrzj0cfypmmt45l0y770j260auqhm3l45hp3uhkqx27gmw