Closed OR13 closed 9 months ago
Why? I think referencing the framing document is sufficient and providing examples goes a bit too far in terms of the scope of the specification
@Sakurann See this thread: https://github.com/w3c/vc-data-model/issues/831#issuecomment-1284188359
In the context of the core data model, framing allows for a representation of a view on a verifiable credential, for example:
If JSON-LD is assumed in the base media type, then APIs that operate on JSON-LD are also assumed, and yet, we don't provide any meaningful guidance on this front.
The issue was discussed in a meeting on 2023-04-11
The issue was discussed in a meeting on 2023-04-11
The is related to the discussions regarding mappings, since application/n-quads
are frequently MAPPED to vc+ld+json
by applying a JSON-LD frame.
Frames and JSON Pointers should be commented on, people use them for selective disclosure, but that's not defined well anywhere.
See this request to use framing with selective disclosure of application n quads:
https://lists.w3.org/Archives/Public/public-credentials/2023Jun/0164.html
There was a request to change the title on todays call, I will attempt to revise the title and description based on recent announcements in the credentials community group.
@msporny @dlongley I am assigned this issue, but you seem better prepared to address it, would either of you be willing to take it?
The issue was discussed in a meeting on 2023-06-28
Possible text, you don't need to use JSON-LD frame to support selective disclosure, you can simply process and disclose claims as is done in SD-JWT?
@OR13,
I am assigned this issue, but you seem better prepared to address it, would either of you be willing to take it?
Yes, please assign both of us to it so we can drive it forward as we have time. I think we should move this to the data integrity work so when we add some text on how to use framing to do selective disclosure with, e.g., BBS, we will address it.
Possible text, you don't need to use JSON-LD frame to support selective disclosure, you can simply process and disclose claims as is done in SD-JWT?
I'll presume you meant this jokingly since that would be very silly to only say that about framing. In fact, we could simplify selective disclosure further by just using paper and a black marker! :)
I think what you're driving at here is what you mentioned previously on a call: that it would be good to help people understand the advantages of the framing approach over others. That's a good idea and we should, for example, mention that if you have a JSON-LD framing primitive in hand already, then you can use it when doing selective disclosure to leak less relational information without having to remodel your data. This is one privacy advantage over other approaches. This is because framing works with the atomic statements at the core of the VCDM.
@dlongley yes : )
Maybe this doesn't belong in the core data model, if its specific to how data integrity makes use of framing for selective disclosure.
I could see it going in "suites", like BBS... But I think it would be best addressed in data integrity and referenced from the core data model.
I leave it to you and @msporny to address, let me know if you want a review.
Maybe this doesn't belong in the core data model, if its specific to how data integrity makes use of framing for selective disclosure.
Yes, agree.
I could see it going in "suites", like BBS... But I think it would be best addressed in data integrity and referenced from the core data model.
Yes, agree that it should probably go in Data Integrity, don't know if VCDM needs to talk about it at all since it's mostly an implementation detail of specific cryptographic suites.
I leave it to you and @msporny to address, let me know if you want a review.
Ok, will make an attempt at some text in the next few weeks.
@brentzundel @Sakurann -- can we transfer this issue to the VC Data Integrity specification, please?
Marking as after CR since this is just going to be explanatory text on how JSON-LD Framing is used, with references to the normative text in the JSON-LD Framing standard.
Not sure I agree with comment that is is after CR, depends on outcome of https://github.com/w3c/vc-data-model/issues/1227
Folks (@OR13, @msporny, @dlongley) selective disclosure primitives used in VC-DI-ECDSA and VC-DI-BBS haven't used JSON-LD framing for quite some time. They use a JSON pointer based algorithm independent of JSON-LD. Can we close this now.
Yes, +1 to close.
Agreed, no need to document something we don't use.
We should provide some examples of how JSON-LD Frame operation works, relative to the examples in the spec.
Especially in the context of BBS / selective disclosure... see https://w3c-ccg.github.io/ldp-bbs2020/
Even without BBS, I think some examples of how Framing is supposed to work, would be helpful.
Update:
https://lists.w3.org/Archives/Public/public-credentials/2023Jun/0164.html
https://github.com/digitalbazaar/ecdsa-sd-2023-cryptosuite/blob/62c76663f81cb6f836efd5f28109ae3ede113e5d/lib/disclose.js#L141