-
Notifications
You must be signed in to change notification settings - Fork 9
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
Additional Test Vectors #89
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.
Basically, try not to identify things using strings of 3 or more nouns, which wreak havoc on translation and other tools.
} | ||
}, | ||
"name": "Employment Authorization Document", | ||
"description": "Example Country Employment Authorization Document.", |
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.
"description": "Example Country Employment Authorization Document.", | |
"description": "Employment Authorization Document for Example Country.", |
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.
or maybe
"description": "Example Country Employment Authorization Document.", | |
"description": "Example Employment Authorization Document for Country.", |
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.
@TallTed, @dlongley or @msporny I took the unsigned inputs from the VC playground with some modifications (removed render method, substituted single pixel image for long PNG). Any changes to the input JSON file requires rerunning test vector generation code and changes derived/generated test vectors. Can folks come to an agreement on any changes to inputs (or not) then I will rerun the vectors.
} | ||
}, | ||
"name": "Employment Authorization Document", | ||
"description": "Example Country Employment Authorization Document.", |
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.
as above
} | ||
}, | ||
"name": "Employment Authorization Document", | ||
"description": "Example Country Employment Authorization Document.", |
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.
as above
"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQIW2P4z/DiPwAG0ALnwgz64QAAAABJRU5ErkJggg==" | ||
}, | ||
"name": "Permanent Resident Card", | ||
"description": "Government of Utopia Permanent Resident Card.", |
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.
"description": "Government of Utopia Permanent Resident Card.", | |
"description": "Permanent Resident Card from Government of Utopia.", |
TestVectors/employmentAuth.json
Outdated
} | ||
}, | ||
"name": "Employment Authorization Document", | ||
"description": "Example Country Employment Authorization Document.", |
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.
as above
"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQIW2P4z/DiPwAG0ALnwgz64QAAAABJRU5ErkJggg==" | ||
}, | ||
"name": "Permanent Resident Card", | ||
"description": "Government of Utopia Permanent Resident Card.", |
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.
as above
…ents in description field.
…te all derived test vector files impacted by this change.
Editorial, multiple reviews, changes requested and made, no objections, merging. |
This informative PR adds four additional sets of test vectors:
ecdsa-rdfc-2019
for curves P256 and P384 based on an employment authorization document example.ecdsa-sd-2023
. One based on an employment authorization document and another based on a permanent resident card example.The existing
ecdsa-sd-2023
example was renamed and additional text was added to point out that this example demonstrates handling of arrays and nested objects in an SD situation.Preview | Diff