-
Notifications
You must be signed in to change notification settings - Fork 1
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
ecdsa-multikey v1.0.0 #1
Conversation
…d missing secret and public keys in createSigner and createVerifier respectively; incorporated EcdsaCurve and EcdsaHash enums;
… errors for importing and exporting key pairs; incorporated constants
…ixed call to createSigner and createVerifier
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.
Please also fix issues from npm run lint
.
…library; updated mock key data; updated package.json
@gannan08 The Codecov CI job is failing because of issues with the uploader, per this job run result. From my research, this may have to do with an outdated Codecov token. Have we encountered this error in the past? |
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, this is looking really good! I just have a few simplifications / nits to apply.
…tes to uint8arrays
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.
Looks like a couple of suggestions were missed from before, but then we should be good to go!
lib/constants.js
Outdated
export const MULTICODEC_P256_SECRET_KEY_HEADER = 0x8626; | ||
// Multicodec p384-priv header (0x1307 varint -> 0x8726 hex) | ||
export const MULTICODEC_P384_SECRET_KEY_HEADER = 0x8726; | ||
// Multicodec p521-priv header (0x1308 varint -> 0x8826 hex) | ||
export const MULTICODEC_P521_SECRET_KEY_HEADER = 0x8826; |
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.
This looks like it wasn't applied yet.
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! @gannan08 let me know if you need me to merge and release this or if you will.
@dlongley Can you please merge and release. |
Version 1.0.0 of
ecdsa-multikey
:P-256
,P-384
, andP-521
P-256
,P-384
, andP-521