-
Notifications
You must be signed in to change notification settings - Fork 42
BBS deriveProof modifies credentialSubject of the src document #219
Comments
Hi, i'm struggling to follow this test case, it appears the input document you have signed is malformed e.g some of the terms in the document are undefined (no term expansion possible) and there is a |
Apologies for this @tplooker, now corrected. There is an end-to-end runnable testcase in this repo that demonstrates the issue. For context, the original set of issues we raised with the transmute libraries team are here:
The test demonstrating these are here. As a point of interest, please see in the comment in the 230 by @ipbyrne referring to w3c/vc-di-bbs#62 and stating they are planning to deprecate support for BBS.
We have tried various options here, moving context from the credentialSubject in to the VC context resolved the problem with name mapping, but the collision of names still seems to occur because of their '@id' in the '@context' |
@anvabr, looking at your test cases, the field you are checking for in the credentialSubject |
@tplooker thank you for your comments, we are experimenting with the formatting and may have found a work around. |
Problem description
Please see the test code here.
It appears that BBS
deriveProof
changes credentialSubject in the vc-document substituting the source field for their @id from context? The output VC looks like this:Steps
Please see the test here
The text was updated successfully, but these errors were encountered: