-
Notifications
You must be signed in to change notification settings - Fork 986
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
Reset Keycard functionality #11803
Reset Keycard functionality #11803
Conversation
Jenkins BuildsClick to see older builds (21)
|
96% of end-end tests have passed
Failed tests (3)Click to expand
Passed tests (77)Click to expand |
97% of end-end tests have passed
Failed tests (2)Click to expand
Passed tests (75)Click to expand
|
100% of end-end tests have passed
Passed tests (2)Click to expand
|
@@ -74,6 +39,6 @@ | |||
:puk [] | |||
:status nil | |||
:error-label nil | |||
:on-verified :keycard/remove-key-with-unpair})} | |||
:on-verified (if keep-keys-on-keycard? :keycard/unpair-and-delete :keycard/remove-key-with-unpair)})} |
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.
Could you please make it three lines expression? It won't fit 80 chars anyway but this way it is too long
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.
Done. Thanks for the review!
@bitgamma Thank you for the great work! Testing is still ongoing. ISSUE 1: No message "2 attempts left" when entering invalid passcode (PIN) during profile deleting. Android onlyReproduction
Expected behaviorMessage about how many attempts are left for each input of an incorrect PIN ("2 attempts left", "1 attempt left") Actual behaviorNo messages. The PIN screen is closed just after entering an invalid PIN and tapping the keycard video_2021-03-03_14-19-41.mp4 |
@qoqobolo Thanks for the report! Is there any particular prerequisite to reproduce this? I tried on a OnePlus 6 and Xiaomi Redmi Note 8T (both Android 10), and I cannot reproduce it, the number of remaining attempts is shown correctly. |
@bitgamma hmm.. Well, now I can't reproduce it too. My test device is Google Pixel 2 (Android 11). |
ISSUE 2/QUESTION: Can't use keycard after reset.@bitgamma But when I try to generate a new multiaccount after reset and choose my card as key storage, after getting a new seed phrase, I am asked to confirm my passcode and after I get this message: Steps:
video_2021-03-03_17-26-06.mp4Also, I get the same screen and pop-up if I try to restore my multi-account with seed phrase and chose key storage on my keycard. Steps:
video_2021-03-03_17-28-45.mp4If I go through the third flow and try to recover my multiaccount with keycard I get this screen Could you clarify if this behavior is expected (the first two cases)? |
@qoqobolo Thanks a lot for catching this! Your assumption are absolutely correct, you should be able to load a new account or enter an existing seed. If you restart Status it works, but if you try to create a new account immediately after deleting it doesn't. I will fix this and ping you. |
@qoqobolo issue 2 is fixed now |
@bitgamma could you rebase this to the latest develop, please? |
64103d1
to
094e0a1
Compare
93% of end-end tests have passed
Failed tests (11)Click to expand
Passed tests (148)Click to expand
|
@bitgamma thanks for the great work! |
094e0a1
to
de847d8
Compare
Signed-off-by: Michele Balistreri <[email protected]>
de847d8
to
5fecdd7
Compare
Implements Keycard account removal with (optional) card reset.
Closes #9229
Screenshot with highlighted new strings for localization
status: ready