Open nop33 opened 1 year ago
Thanks for opening this issue. This is obviously something to consider carefully. Let's try to see what others do :)
The easy way is the metamask way. We could add a "forgot your password" button, which triggers the import flow. The previous wallet is deleted after the mnemonic is entered. Same as Metamask, we should add a big disclaimer explaining what this process does. This reset is used wether the password has been forgotten or not.
Now, a better UX would be to actually allow updating the password (if the old password is known), without reimporting everything. User would need to re-enter the mnemonic and the previous password to proceed to the update. This would require a re-encryption of the local storage files : I'm curious to discuss the downsides of this approach.
@mvaivre , as you mentioned, this could be split into 2 tasks:
This is still a good idea to implement. I would focus on the "Forgot password" rather than the "Change password". Forgot password would be a shortcut to the following operations:
As @MaudSimon mentioned in https://github.com/alephium/desktop-wallet/pull/557#issuecomment-1458064102, users are requesting the ability to change their password. Currently, the only way to do that is:
TBD