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
Remove the unnecessary Create Verify Hash Algorithm. #63
Conversation
Hmm, is there a way we can keep this function so it can be reused by cryptosuites? It will be commonly reused and it would be a shame if every cryptosuite had to redefine it or cross link to some other cryptosuite that it would otherwise not depend on. |
Every cryptosuite is going to have to define the cryptosuite-specific What parts of the algorithm do you think are going to be common to most cryptosuites? If I had to guess, it would be the part of the algorithm that transform + hashes the proof graph? I was going to try specifying that in the |
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.
A couple of words...
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.
Thanks! We don't need to hold this up based on the concern I raised, we'll figure out the right way to deal with it as we move forward.
The issue was discussed in a meeting on 2022-10-19
View the transcript2.2. Remove the unnecessary Create Verify Hash Algorithm. (pr vc-data-integrity#63)See github pull request vc-data-integrity#63. Manu Sporny: still trying to figure out what the text might be for this. Markus Sabadello: might fit into RCH working group. Manu Sporny: we will remove the wrong text now. Worst case is that every crypto algorithm might have to use same text. |
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
b150567
to
8aeba01
Compare
Normative, multiple reviews, changes requested and made, no objections, merging. |
This PR removes the unnecessary Create Verify Hash Algorithm, which was hard coded to presume digital signatures only. The hashing algorithm is now defined by cryptosuites, which greatly simplifies how much bouncing around is done between the algorithms in the Data Integrity specification and the cryptosuite specifications.
All of the text being removed here has been replaced with a single sentence in step 3 of section 4.1 Generate Proof: https://pr-preview.s3.amazonaws.com/w3c/vc-data-integrity/pull/63.html#generate-proof
Preview | Diff