arj03 / ssb-browser-demo

A secure scuttlebutt client interface running in the browser
Other
58 stars 11 forks source link

Load mnemonic key from onboarding screen #255

Closed KyleMaas closed 3 years ago

KyleMaas commented 3 years ago

Probably would be a good option to allow for onboarding to take in a mnemonic key to restore an account rather than having users set up a new profile and then go to the profile page to load in a key. I've done it a bunch of times, but thinking about it, it's a non-obvious UI flow.

Implementation-wise, it's not the easiest thing to do, since IIRC the new key is actually generated before the onboarding screen is shown. So we'd need to generate a new key, show the onboarding screen, replace the key, then reload the page.

Not difficult. Wouldn't be a bad first project for somebody.