-
Notifications
You must be signed in to change notification settings - Fork 7
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
Should the JWT StatusList encoded 1-bit bytearray map to W3C StatusList 2021 bitstring? #68
Comments
The status list under development in the W3C VCWG has evolved significantly since StatusList2021 was adopted. It now matches even more closely the work happening here. I believe it would be incredibly valuable for the underlying status bytestrings in each approach to be identical. I have also opened an issue in the related W3C repository to track this concern. |
as in, keep this issue open and remember to check for newest draft on the other side before shipping? |
I might be misreading this. But I believe "entries" are counted from left to right, not right to left: https://www.w3.org/TR/vc-status-list/#bitstring-encoding This approach was chosen after some discussion and data collection around implementations, some of this can be seen in this PR or issues linked to it: w3c/vc-bitstring-status-list#45 |
Thanks for the reference. My initial read on this issue seems to confirm our choice that a byte array seems like a good approach to describe the content, because it is less ambiguous? |
In terms of ambiguity, we've found that there are lots of ways people can get confused here. So plenty of text, descriptions, and pictures -- all internally consistent with one another -- are helpful. I don't think simply saying "byte array" (or "byte sequence" for that matter) instead of "bitstring" (or whatever else) is sufficient to alleviate misunderstanding -- and I'd even say the name choice won't move the needle very much. |
Thats true, I was only stating my opinion and we should probably get more feedback on this. |
Editors Call:
|
This came up twice now, so I think it makes sense to open this issue.
The StatusList2021 "counts" entries from right to left.
As our goal is to support multi-bit support for status types and bits are usually "counted" from right to left, we envision this more of a byte array, therefore counting indices and bits from right to left.
Therefore, the 1-bit strings do not match. Is this a problem? What are the consequences?
The text was updated successfully, but these errors were encountered: