metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

[Bug]: Onboarding - Reloading the page on the Confirm Secret Recovery Phrase leaves it as a 1 empty word and cannot do any action

Open seaona opened this issue 1 year ago • 1 comments

Describe the bug

If I refresh the browser when I'm on the Confirm Secret Recovery Phrase I get stuck in this page and cannot perform any action. I see 1 empty input. The only option is to click the Reload button from the Extension page.

Screenshot from 2024-06-10 17-19-11

Expected behavior

No response

Screenshots/Recordings

https://github.com/MetaMask/metamask-extension/assets/54408225/0d6c90f9-b9ef-40d0-9df9-3a26c47a2d7f

Steps to reproduce

  1. Start the Onboarding flow
  2. Create Wallet
  3. Click Secure your wallet
  4. Reveal your secret recovery phrase
  5. Go to Confirm Secret Recovery phrase
  6. Refresh the page
  7. See just 1 empty input and cannot perform any action + several errors in the ui console

Error messages or log output

No response

Version

11.16.8 but seems an old issue

Build type

None

Browser

Chrome

Operating system

Linux

Hardware wallet

No response

Additional context

No response

Severity

No response

seaona avatar Jun 10 '24 15:06 seaona

This may be a side effect of a previous security PR to clear password from memory. We should investigate how/if we can even restore the UI once there's a refresh, or if we should take another strategy

darkwing avatar Aug 27 '24 20:08 darkwing

Plausable solution could be to make the user start onboarding over again since the generated SRP would've been cleared from memory

darkwing avatar Oct 22 '24 17:10 darkwing