-
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
Selective Disclosure Test Vectors #38
Conversation
Note that the code used to generate the test vectors can be found at: https://github.com/Wind4Greg/ECDSA-SD-TestVectors |
Note: Preview doesn't properly pull in separate test vector files into HTML 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.
Thanks! These test vectors will be very helpful.
Non-normative re-grouping and renaming of key parameters used in test vector. Co-authored-by: Dave Longley <dlongley@digitalbazaar.com>
}, | ||
"proofKeyPair": { | ||
"publicKeyMultibase": "zDnaeTHfhmSaQKBc7CmdL3K7oYg3D6SC7yowe2eBeVd2DH32r", | ||
"privateKeyMultibase": "z42tqvNGyzyXRzotAYn43UhcFtzDUVdxJ7461fwrfhBPLmfY" |
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.
Oh, and "secretKeyMultibase" is the terminology here, not private key.
Non-normative change to rename privateKeyMultibase to secretKeyMultibase in line with recent agreements. Co-authored-by: Dave Longley <dlongley@digitalbazaar.com>
Editorial, multiple reviews, changes requested and made, no objections, merging. |
This non-normative PR provides an initial set of selective disclosure test vectors along with commentary on the procedures used to generate them. These vectors demonstrate the following key features of ECDSA-SD:
Note that there are different procedures (sets of test vectors) for the issuer (creating a base proof) and the holder (creating a derived proof). Some of the procedures/descriptions are in different orders or presented in different way than the algorithms in the specification for clarity purposes.
Preview | Diff