We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The stellar keys add <name> --seed-phrase command accepts a seed phrase, but does not validate it.
stellar keys add <name> --seed-phrase
You can pass it an 11 word phrase, or a malformed string, and it'll accept it.
For example, you can enter gibberish:
$ stellar keys add a4 --seed-phrase Type a 12 word seed phrase: asdflkjaslkdfjklasdjflk
$ cat ~/.stellar/identity/a4.toml seed_phrase = "asdflkjaslkdfjklasdjflk"
The add command when used with the seed phrase should only allow entering a valid 12 or 24 word key phrase.
The text was updated successfully, but these errors were encountered:
keys: add does not validate keys
7a79181
Close #1805
leighmcculloch
Successfully merging a pull request may close this issue.
The
stellar keys add <name> --seed-phrase
command accepts a seed phrase, but does not validate it.You can pass it an 11 word phrase, or a malformed string, and it'll accept it.
For example, you can enter gibberish:
The add command when used with the seed phrase should only allow entering a valid 12 or 24 word key phrase.
The text was updated successfully, but these errors were encountered: