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

jcs-eddsa-2022 review #41

Closed
silverpill opened this issue Apr 21, 2023 · 3 comments
Closed

jcs-eddsa-2022 review #41

silverpill opened this issue Apr 21, 2023 · 3 comments

Comments

@silverpill
Copy link

silverpill commented Apr 21, 2023

The description of jcs-eddsa-2022 cryptosuite (3.2 jcs-eddsa-2022) refers to section 3.1.5 Proof Configuration (eddsa-2022) which contains:

  1. Set proofConfig.context to unsecuredDocument.context

Is this step necessary for jcs-eddsa-2022?

  1. Let canonicalProofConfig be the result of applying the Universal RDF Dataset Canonicalization Algorithm [RDF-CANON] to the proofConfig.

Shouldn't this step be replaced with JCS canonicalization?

(These steps were introduced in #31)

Also, there's an incorrect cryptosuite name in section 3.2 jcs-eddsa-2022, step 4. I made a branch with a fix silverpill#1 (couldn't make a pull request against this repo).

@Wind4Greg
Copy link
Contributor

Yes. Step 8 is unneeded and Step 9 needs to use JCS. That is what I assumed when writing this code to generate test vectors. Did you want to write the PR?
Cheers Greg

@silverpill
Copy link
Author

Thank you for clarification!
Not sure if I'm allowed to make PRs. I would appreciate if you update the spec.

@silverpill
Copy link
Author

The spec has been corrected. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants