-
Notifications
You must be signed in to change notification settings - Fork 1k
Keycard account recovery #12115
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
Keycard account recovery #12115
Conversation
Jenkins BuildsClick to see older builds (3)
|
src/status_im/keycard/recovery.cljs
Outdated
[{:keys [db] :as cofx}] | ||
(fx/merge cofx | ||
{:db (-> db | ||
(assoc-in [:keycard :pin :enter-step] :login) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can probably do as well:
(update-in [:keycard :pin] assoc :enter-step :login
:status nil
:login [])
Which is a bit neater
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the review! fixed
99% of end-end tests have passed
Failed tests (1)Click to expand
Passed tests (69)Click to expand |
awesome work @bitgamma !
Found one edge case, but don't think it is worth fixing. Devices:
|
4c2e84f
to
5b51806
Compare
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
5b51806
to
72df44d
Compare
Allow the creation of recovery/backup Keycard from the login interface. It requires the mnemonic and either a new or frozen Keycard (or actually a Keycard in any state, since you can factory reset).
Screenshots for localization