Skip to content
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

Fix variable reference to "selectedIndexes". Add information on public key. #167

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

Wind4Greg
Copy link
Collaborator

@Wind4Greg Wind4Greg commented May 30, 2024

This editorial PR addresses issue #166 by fixing the name of the variable used and adding information on how to obtain information on the public key used in the signature.


Preview | Diff

index.html Outdated
@@ -1710,7 +1718,7 @@ <h4>Verify Derived Proof (bbs-2023)</h4>
disclosed_messages, disclosed_indexes)` of [[CFRG-BBS-SIGNATURE]] with `PK` set
as the public key of the original issuer, `proof` set as `bbsProof`, `header`
set as `bbsHeader`, `disclosed_messages` set as `disclosedMessages`, `ph` set as
`presentationHeader`, and `disclosed_indexes` set as `selectiveIndexes`.
`presentationHeader`, and `disclosed_indexes` set as `selectedIndexes`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, we might want to go the other way to be consistent with selectivePointers.

The indexes and pointers are ultimately used to select messages (or the information in them) -- so the "selective" terminology works that way. And while the indexes are "selected" that's really via the algorithm based on the selectivePointers -- the real target for selection / disclosure is the messages (or information in them). Either term could probably be used and people wouldn't care that much, so I'd prefer we just be consistent and go with selective.

Presumably this means there's some other location that needs to be changed instead, so I can't make a direct suggestion.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Variable naming issue selectedIndexes use three times, selectiveIndexes used 25 times. Will make consistent. Good catch.

@Wind4Greg Wind4Greg requested a review from dlongley May 31, 2024 18:12
@msporny
Copy link
Member

msporny commented Jun 17, 2024

Debatably normative, multiple reviews, changes requested and made, no objections, merging.

@msporny msporny merged commit e7aa6c6 into w3c:main Jun 17, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants