-
Notifications
You must be signed in to change notification settings - Fork 81
Add command 'keys derive' to derive public key from private key #593
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
internal/keys/generate.go
Outdated
| Seed string `flag:"seed" info:"Deterministic seed phrase"` | ||
| KeySigAlgo string `default:"ECDSA_P256" flag:"sig-algo" info:"Signature algorithm"` | ||
| Seed string `flag:"seed" info:"Deterministic seed phrase"` | ||
| FromPrivateKey string `flag:"from-private-key" info:"Use user private key instead of random"` |
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.
It would be nice to also support FromPublicKey which would get private key from public key :D just kidding
|
Thank you, this is great. I was just thinking if it makes sense for this to be under the |
|
Sure I will update the PR, it makes more sense like that |
keys generate command
devbugging
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.
🙏 One last thing to add would be documentation for this. You can just copy this page and make some changes to it https://github.com/onflow/flow-cli/blob/master/docs/generate-keys.md
devbugging
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.
Thank you! Small comment, but LGTM
Co-authored-by: Gregor G. <75445744+sideninja@users.noreply.github.com>
Closes #505
For contributor use:
masterbranchFiles changedin the Github PR explorer