-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
lncli should ask to repeat passphrase #1507
Comments
We don't use bip38. |
Updated to reflect that |
I've created a PR for this issue, #1540 |
Going to pick this up since it seems like the existing PRs have stalled? Just wondering about UX for this change, in terms of how many times a user should be allowed to re-attempt their password if they get it wrong, and whether to start from scratch with a new password if they fail to match their original entry. Something like this, allowing the use to go through this flow twice then terminate because you don't want people to get confused over which password they've entered?
|
@abrkn if you have an existing seed, it already has a passphrase. you're only entering it to decrypt the seed. |
@carlaKC to me the best approach seems like prompting the user in an infinite loop for the password if the confirmation doesn't match, though there may be differing opinions. So something like:
I believe this would match the behavior of creating new users in a UNIX system. |
Background
lncli
should ask to repeat passphrase for improved user experience/securityYour environment
lnd version 0.4.2-beta commit=a0b2fadea35fa4642daf4e9f56e6ecfe31d22ce1
Steps to reproduce
lncli create
Use existing seed. Add passphrase.
Expected behaviour
Should ask to repeat passphrase
Actual behaviour
Only asks once.
The text was updated successfully, but these errors were encountered: