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

Additional Test Vectors #89

Merged
merged 4 commits into from
Jan 2, 2025
Merged

Conversation

Wind4Greg
Copy link
Collaborator

@Wind4Greg Wind4Greg commented Dec 17, 2024

This informative PR adds four additional sets of test vectors:

  • More elaborate test vectors for ecdsa-rdfc-2019 for curves P256 and P384 based on an employment authorization document example.
  • Two simpler test vector sets for 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

Copy link
Member

@TallTed TallTed left a 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.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"description": "Example Country Employment Authorization Document.",
"description": "Employment Authorization Document for Example Country.",

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or maybe

Suggested change
"description": "Example Country Employment Authorization Document.",
"description": "Example Employment Authorization Document for Country.",

Copy link
Collaborator Author

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.",
Copy link
Member

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.",
Copy link
Member

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.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"description": "Government of Utopia Permanent Resident Card.",
"description": "Permanent Resident Card from Government of Utopia.",

}
},
"name": "Employment Authorization Document",
"description": "Example Country Employment Authorization Document.",
Copy link
Member

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.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as above

@msporny
Copy link
Member

msporny commented Jan 2, 2025

Editorial, multiple reviews, changes requested and made, no objections, merging.

@msporny msporny merged commit 67bfafe into w3c:main Jan 2, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants