Skip to content
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

Include password instructions under wallet settings #12207

Merged
merged 7 commits into from
Jan 15, 2024

Conversation

Kruwed
Copy link
Collaborator

@Kruwed Kruwed commented Jan 7, 2024

Fixes #11539

@Kruwed
Copy link
Collaborator Author

Kruwed commented Jan 8, 2024

If anyone has an idea an how to make the styling better, feel free to directly push on the PR.

MaxHillebrand
MaxHillebrand previously approved these changes Jan 8, 2024
WalletWasabi.Fluent/Views/Wallets/WalletSettingsView.axaml Outdated Show resolved Hide resolved
Co-authored-by: Max Hillebrand <30683012+MaxHillebrand@users.noreply.github.com>
Copy link
Collaborator

@yahiheb yahiheb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general I think we should change this feature completely, and it probably shouldn't be in the settings view, but meanwhile we can at least improve it.

For the PR I think we should have a separate text block for the password.
If you agree just apply my code suggestions below.

PR:
image

My suggestion:

image

@soosr
Copy link
Collaborator

soosr commented Jan 9, 2024

I don't really understand what is the goal here, because Verify Recovery Words feature is designed to verify only the rec words, it doesn't require the password and it doesn't even ask for it.

If we want to mitigate the 13th word/passphrase issue, which is about highlighting that the password is needed for recovering the wallet, then this is not the right place to mention it.

We tend to keep adding more and more stuff in order to make things better. In this example, I think the only problem is the title that says: Have you checked your wallet backup?
Backup could mean (seed phrase + passphrase), If we made it clear this is only about recovery words, then we wouldn't need to mention the password here.

Also the 13th word/passphrase issue should be really fixed elsewhere because I doubt the majority reads this. Somewhere during wallet creation.

@yahiheb
Copy link
Collaborator

yahiheb commented Jan 9, 2024

I don't really understand what is the goal here

The goal is to educate our users as much as possible that both the recovery words and the passphrase/password are needed to recover their wallet.

because Verify Recovery Words feature is designed to verify only the rec words, it doesn't require the password and it doesn't even ask for it.

Such a feature to verify only half of the backup was a mistake. Some users already don't know that the password is necessary to recover their funds and this feature as it is just adds more confusion.

As I have mentioned above a better solution is to redesign this completely but that would take more time for sure, so at least adding a note about the password is better than doing nothing.

Backup could mean (seed phrase + passphrase), If we made it clear this is only about recovery words, then we wouldn't need to mention the password here.

We should not make a separation between the recovery words and the password when verifying the wallet backup.

@Kruwed
Copy link
Collaborator Author

Kruwed commented Jan 10, 2024

Highly agree with every point made by @yahiheb

Comment from the original PR:

Checking the password is unnecessary IMO. It is checked every time the user opens their wallet.
Emphasizing that the password is required for the recovery? Yes, we could but does it have an advantage? Since we ask for the password every time the user will not forget it. And if they have to recover the wallet they will be asked for the password. Even if they were not aware of it is required, they will be able to recover without any problem.

If a user chooses a secure password like FGHr298ur23g8yXNIOAW$Fh98723 and saves locally to their device so they don't have to remember it, they will be shocked to find they cannot recover their funds using the 12 words they made sure to verify if the device holding their password is broken or stolen.

@soosr
Copy link
Collaborator

soosr commented Jan 10, 2024

because Verify Recovery Words feature is designed to verify only the rec words, it doesn't require the password and it doesn't even ask for it.

Such a feature to verify only half of the backup was a mistake. Some users already don't know that the password is necessary to recover their funds and this feature as it is just adds more confusion.

Okay, than the actual fix would be to add the message that you proposed here, and also to ask for the PW.

Just to be clear... The situation that we have here tends to happen time by time. Someone picks an issue and does a not proper/half work. Then either ask someone else to finish it or not even ask. This is not good.

The other thing that is risky is picking a task from the UX board that is in the triage column. Those items are not even prioritized in terms of when to start the work on them, and moreover, those items do not even have an approved design, so obviously will raise a contradiction that will waste the time of many of us.

Long story short... first the concept needs to be approved, then start to work and implement it completely. Now from my side checking for PW too and adding the extra message is ok. IF you guys are also happy with it, you can start implementing it. If you can't @Szpoti or @adamPetho can give a hand.

@yahiheb
Copy link
Collaborator

yahiheb commented Jan 10, 2024

Such UX issues might never get any priority to get fixed, so while waiting for a redesign of the feature that might take months or even years we can at least improve it a bit, this is the purpose of this small PR I guess.

Kruwed and others added 2 commits January 10, 2024 17:29
Co-authored-by: yahiheb <52379387+yahiheb@users.noreply.github.com>
Co-authored-by: yahiheb <52379387+yahiheb@users.noreply.github.com>
Copy link
Collaborator

@yahiheb yahiheb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK

This is imo good enough as a small step forward.

Copy link
Collaborator

@MaxHillebrand MaxHillebrand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@adamPetho
Copy link
Collaborator

If everyone is satisfied, I will merge the PR this afternoon.

Please scream if you think otherwise.

soosr
soosr previously requested changes Jan 12, 2024
Copy link
Collaborator

@soosr soosr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBH I am not happy with this and I also was thinking about asking for PW when doing the recovery word verification, that doesn't make sense either as I stated here.

Reasoning:

  • The feature was built to only verify the recovery words, and not the recovery words + password. As its button says: Verify Recovery Words.
  • Mentioning that the password is needed for the backup is unnecessary here, because:
    • The feature is only about verifying the recovery words.
    • It does not solve the original issue, if you really want to make the users understand the functionality of password, then it should be explained where they create it!
    • Not all users come here to be educated by this.

The actual fix would be to rephrase the title of the section. #12207 (comment) And then fix the actual issue around password #10408, which is already prioritized in 2.0.7.

By all of these, I am sure this PR just adds unnecessary text to somewhere it doesn't belong to.
I don't want to be a blocker so @MaxHillebrand please read my comment and put an end to this. @adamPetho you can merge after that if needed.

@Kruwed
Copy link
Collaborator Author

Kruwed commented Jan 12, 2024

TBH I am not happy with this and I also was thinking about asking for PW when doing the recovery word verification, that doesn't make sense either as I stated here.

I replied to that comment already: #12207 (comment)

A user should never be able to remember their password. If a password is short and simple enough to be remembered, then it is easy enough to be guessed.

Copy link
Collaborator

@MaxHillebrand MaxHillebrand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At the least this is a good reminder.

@yahiheb yahiheb dismissed soosr’s stale review January 15, 2024 15:38

This review was addressed

@yahiheb yahiheb merged commit e76dc41 into WalletWasabi:master Jan 15, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mention password is required for recovery when verifying recovery words
6 participants