-
Notifications
You must be signed in to change notification settings - Fork 7
ecdsa-jcs-2019 algorithms #102
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
Conversation
BigBlueHat
left a comment
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, @PatStLouis
gannan08
left a comment
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.
1. I don't see where we test this Create Proof
If
unsecuredDocument.@contextis present, setproof.@contexttounsecuredDocument.@context.
During create proof, a compliant cryptosuite should be adding a context to the proof.
2. Nor this Verify Proof
If
proofOptions.@contextexists:
Check that thesecuredDocument.@contextstarts with all values contained in theproofOptions.@contextin the same order. Otherwise, set verified to false and skip to the last step.
SetunsecuredDocument.@contextequal toproofOptions.@context.
During verify proof, a compliant cryptosuite should be matching the context on the secured document with the context on the proof if proofOptions.@context exists.
|
@gannan08 thanks for the review, I can add two tests for the highlighted sections, however I want to point out that they don't contain normative statements. In the Data Model for proof representation:
The later doesn't have any normative statements. Would you suggest to change the text to:
I'm trying to be pragmatic about limiting test cases for normative statements only. Happy to make an exception if there's a specific statement we need tested which isn't normative. |
|
Discussed this further, I will add missing tests. |
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
Signed-off-by: PatStLouis <[email protected]>
b952576 to
60ed0b6
Compare
As discussed in our last meeting, here is the ecdsa-jcs-2019 algorithm file.