-
Notifications
You must be signed in to change notification settings - Fork 18
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
Updates to proof syntax #30
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM -- solid direction... thank you!
What’s the order of which the bytes are being concatenated in the proofValue? I didn’t see a mention of that in there, but might have just missed it. |
@kdenhartog our intention at this stage is to not define that in this spec but instead in the IETF draft for BBS signatures and then point this spec at that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@tplooker -- would the other tweak we discussed: expressing 2-tuples of (blank node ID/index from full data, blank node ID/index from disclosed data) to eliminate the need for special skolem URIs ( |
@dlongley, was just about to document that idea you suggested in #10, r.e where the BN mapping algorithm should live, IMO right now I would say the definition of that algorithm would still be in this spec (or a section of the linked data proof spec?) as it is an algorithm that is applied specifically to preparing the "verify data" for a linked data proof. Different assertion formats such as JWS CWS would perhaps not have the concept of this type of mapping? Essentially the proposed crypto API for verifyProof is
E.g here is a little runnable sample of a reference implementation https://github.com/mattrglobal/node-bbs-signatures#usage |
@tplooker -- ok, sounds good. |
This PR updates the following
revealedIndicies
andtotalStatements
as this information is going to be embedded into the proofValue now following the proposal in Revealed statements representation #22Fixes #25, Fixes #22