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

[Wallet] Confirm seed via BrowserView dialog #3521

Merged
merged 3 commits into from Jul 1, 2021

Conversation

matheusd
Copy link
Member

@matheusd matheusd commented Jun 29, 2021

Requires #3519

This adds a final confirmation window to the wallet creation flow which displays the seed that is about to be used to create the wallet via the recently introduced, BrowserView based confirmation dialog.

This prevents UI code from tampering with the seed without user acknowledgement.

Seeds that are exactly 256 bits long (standard decred seeds) are displayed with the usual 33 word mnemonic sequence. Seeds of different length are displayed as raw hexadecimal.

Please note that rejecting the seed currently breaks wallet setup. This is not specifically related to this PR, but rather the fact that any errors during the final wallet setup aren't being correctly handled right now. This will need to be fixed in a separate PR.

Thanks to @vctt94 for some help in fixing the reject flow.

@alexlyp alexlyp merged commit 65158a1 into decred:master Jul 1, 2021
@matheusd matheusd deleted the confirm-seed branch July 3, 2021 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants