-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
solana-keygen doesn't generate keys from keys (BIP32 support) #5246
Comments
Just a short warning that the combination of bip32 and ed25519 can be vulnerable to certain attacks. Details can be found here and here. I'm not an expert on the topic, but maybe something like this is worth a look: https://github.com/w3f/hd-ed25519 |
@fkbenjamin, thank you so much!! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Un-staling. This would actually be nice to address sometime soon-ish. With more wallet adoption, we're getting a lot of support questions about how to derive keypairs that match those of other wallets. |
I've got an eye on https://github.com/jpopesculian/ed25519-dalek-bip32. Unfortunately it's not quite flexible enough for our usage in its current form. I'll try to get some issues up to their repos this week |
any update on this issue? |
Hi @antoineherzog , just an fyi that we're actively working on this now! Keep an eye on this issue for updates. |
I'm going to consider this issue completed by #16942 -- bip32 HD from seed phrase and pass phrase is now supported in solana command-line tools! |
Problem
A user may prefer to only hold one private key and want to generate more private keys deterministically from that first one (typically called an HD wallet).
Proposed Solution
Add a bip32 implementation to solana-keygen. Consider if it should be in
solana-wallet
as well.https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki
Some options:
The text was updated successfully, but these errors were encountered: