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

[VDG] Auto login after Create New Wallet / Recover Wallet #11390

Merged
merged 12 commits into from
Sep 5, 2023

Conversation

ichthus1604
Copy link
Collaborator

…del.cs

Co-authored-by: Roland Soós <soos.roland93@gmail.com>
Copy link
Collaborator

@MarnixCroes MarnixCroes left a comment

Choose a reason for hiding this comment

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

This concept requires the user to really understand the password, and could lead to (more) loss of funds:
Use creates a wallet -> gets logged in and receives bitcoin.
Then some time later launches Wasabi again and doesn't know the password.

Requiring the user to enter the password before login is somewhat of a feature imo, to double check knowledge of the password.

I'm not here to nack to, but I'm not sure if the "gain" is bigger than the potential loss.

@Szpoti
Copy link
Collaborator

Szpoti commented Aug 30, 2023

I'm not here to nack to, but I'm not sure if the "gain" is bigger than the potential loss.

Not sure how much better this option would be, IDK how many users actually use a password, but maybe we can auto-login on wallets which doesn't have a password?

@soosr
Copy link
Collaborator

soosr commented Aug 30, 2023

Currently, we are asking for the password 3 times within 15 seconds. I am doubting that the 3rd one makes the user remember it.
Moreover, most people have a usual password, and not like they use a totally different one each time they register somewhere.
They won't forget it.

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.

Maybe this is not related to this PR but I experienced the following while testing this.

  • Started with a fresh Wasabi data folder
  • Recovered a wallet (empty)
  • Waited for the filters to finish downloading (which took ~1h and 40min)
  • Now the wallet is stuck for over 30 minutes

image

Note that I still didn't get to see the Terms and Conditions dialog.

2023-08-31 11:00:08.448 [50] INFO       FilterProcessor.ProcessAsync (54)       Downloaded filters for blocks from 803825 to 804824.
2023-08-31 11:00:54.290 [31] INFO       FilterProcessor.ProcessAsync (54)       Downloaded filters for blocks from 804825 to 805568.
2023-08-31 11:02:29.118 [51] INFO       HybridFeeProvider.OnAllFeeEstimateArrived (132) Accurate fee rates are acquired from WasabiSynchronizer ranging from target 2 blocks at 17 sat/vByte to target 72 blocks at 7 sat/vByte.
2023-08-31 11:07:44.818 [49] INFO       HybridFeeProvider.OnAllFeeEstimateArrived (132) Accurate fee rates are acquired from WasabiSynchronizer ranging from target 2 blocks at 17 sat/vByte to target 72 blocks at 7 sat/vByte.
2023-08-31 11:11:57.205 [30] INFO       HybridFeeProvider.OnAllFeeEstimateArrived (132) Accurate fee rates are acquired from WasabiSynchronizer ranging from target 2 blocks at 20 sat/vByte to target 72 blocks at 7 sat/vByte.
2023-08-31 11:19:51.998 [50] INFO       HybridFeeProvider.OnAllFeeEstimateArrived (132) Accurate fee rates are acquired from WasabiSynchronizer ranging from target 2 blocks at 20 sat/vByte to target 72 blocks at 7 sat/vByte.

@soosr
Copy link
Collaborator

soosr commented Aug 31, 2023

Maybe this is not related to this PR but I experienced the following while testing this.

  • Started with a fresh Wasabi data folder
  • Recovered a wallet (empty)
  • Waited for the filters to finish downloading (which took ~1h and 40min)
  • Now the wallet is stuck for over 30 minutes

Not related.

Note that I still didn't get to see the Terms and Conditions dialog.

If it is not downloaded when the wallet is being logged in, it won't show up.
On the second login, it will.

yahiheb
yahiheb previously approved these changes Aug 31, 2023
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

@yahiheb
Copy link
Collaborator

yahiheb commented Aug 31, 2023

One thing that would improve the wallet creation/recovery workflow further is to remove this dialog.
It doesn't add any real value and just adds an extra step, the user would know that their wallet was added once it is automatically logged in.
This can be done in a follow up PR if it is complex.

1111

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.

tACK

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

@soosr soosr merged commit 7da894e into WalletWasabi:master Sep 5, 2023
5 of 6 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.

[VDG] password input three times at wallet generation
5 participants