-
Notifications
You must be signed in to change notification settings - Fork 12
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
Ask for wallet file password twice #61
Comments
@lrettig would it be ok to add any kind of notice, that if we want to take the wallet created via smcli and open it in smapp, we should set a password? Otherwise, we better keep the mnemonics safe or there's no chance to open it in smapp without a password. |
Does smapp require a password? It's best to harmonize the behavior of smapp and smcli as much as possible. IMHO a password should be recommended but not required (which is how smcli currently behaves). |
@brusherru @maparr What do you think Guys? |
I think smapp uses passwords too much to now remove this requirement. For example, we have to validate the modifications with password if we want to add additional accounts, rename accounts, add/edit/remove contact etc. Of course restoring/opening wallets from files also requires a password. |
What is the point? I'm afraid that then we'll have a lot of people who may lose their funds and when they discover that this is because they use the empty string as a password — they will be very angry at developers who "do not care enough" (at least from their point of view) about their safety. Especially since Smapp is focused on the common people, that may be not familiar with crypto, encryption, and basic security principles. However, if Due to security reasons, we also do not store a password in the memory and ask for it every time the User wants to change something in the wallet file. |
For smcli, the behavior is similar in that it prompts for a password, which may be empty, and also requests a password during the decryption of the wallet file. I believe this approach is acceptable for smcli, considering it's intended for professional users. However, smapp is designed for a wider range of users, and it would be better to ensure their safety. |
just to be clear, this can only happen if the wallet file itself is leaked. for now let's not overthink it - I think we can leave the behavior of both smapp and smcli as-is. what happens if someone tries to open a passwordless smcli wallet in smapp right now? I think the very best UX pattern here would be:
something like that. |
We could consider enabling users to unlock without a password, although this will lead to a persistent password modal in the Settings tab. However, I am confident that we can effectively resolve this annoying issue in the new version of the app." |
And make sure both match
The text was updated successfully, but these errors were encountered: