-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarification on multiple items inside BitstringStatusListCredential.credentialSubject
#184
Comments
Hey @antonio-ivanovski thank you for your interest in the specification. You are correct that an issuer could list multiple entries in the
The
Yes, that is also true.
At present, the behavior is undefined and is therefore implementation dependent. If we wanted to say something normative in the specification, we could say that only the first entry in the array that matches the We could also require that verifiers scan the entire array to ensure that there are no duplicate statusPurposes in the array, but at the expense of having to do that check (implementation complexity where the upside of the check isn't really valuable -- you're dealing w/ an issuer that has a malformed array). @antonio-ivanovski did you have any suggestions on what you'd like to see us do in the specification before we try to address your concern? |
Thanks for the response @msporny. From specification perspective for now could be useful for everyone to be aware of such scenario by:
As for a way to make this work better, I don't see another path forward as for adding additional binding identification parameter both to |
@msporny wrote:
Hmm, I looked at your initial question and my answer again, and I think I misinterpreted what you were asking. The credential status entries apply to ALL Another way to put it is that the Sorry for my confusion in my initial analysis of your question. Does what I say above make sense? If so, does that change the text you would like to see in the specification? Maybe we can just clearly state that |
I'll suggest some text to clarify that the revocation applies to the entire credential, not just one subject. |
The issue was discussed in a meeting on 2024-12-11
View the transcript2.2. Clarification on multiple items inside
|
@jandrieu still looking forward to seeing your PR |
The issue was discussed in a meeting on 2024-12-18
View the transcript3.2. Clarification on multiple items inside
|
PR #196 was raised to address this issue. It has been merged, closing. |
The
credentialSubject
property of a document can contain a one or more items inside. The https://www.w3.org/TR/vc-bitstring-status-list/ document is taking the assumption that there will be only a single credential subject item, and that item can be used for further status check.It is not possible to use the
credentialSubject.id
as it is in no way linked to the VC'scredentialStatus
that is being checked.It is no possible to use
credentialSubject.statusPurpose
as there might be multiple credential subject with the samestatusPurpose
.How to pick the correct credential subject for the given credential status check?
The text was updated successfully, but these errors were encountered: