-
Notifications
You must be signed in to change notification settings - Fork 984
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
add factory reset option on new Keycard account #12055
Conversation
Jenkins BuildsClick to see older builds (24)
|
(js->clj :keywordize-keys true) | ||
(update :key-uid ethereum/normalized-hex))] | ||
(on-success info)))) | ||
(catch on-failure))) |
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.
Does catch
work without a try
block?
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.
Yes the same pattern is used throughout the file and the error handlers are known to work. I would leave it like this for consistency. Thanks for the review!
99% of end-end tests have passed
Failed tests (1)Click to expand
Passed tests (79)Click to expand
|
@bitgamma thank you, works great! One minor remark: The checkbox IMG_0584.mp4 |
@qoqobolo thanks for catching this! it is fixed now |
100% of end-end tests have passed
Passed tests (1)Click to expand
|
31f92fd
to
b32d784
Compare
@bitgamma thanks for the fix! Two sporadically reproducing issues were found in develop. One of them is related to the scenario of this PR but can be reproduced in another flow as well. I will log them separately. |
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
b32d784
to
0b85099
Compare
adds the ability to factory reset the Keycard during account creation and mnemonic import.
Factory reset reinstalls the Keycard applet. The package, NDEF applet and Cash applet are untouched. This makes resetting the card quite fast and does not require to load a cap file.
The card can be in any state (non-initialized, initialized, loaded with keys) before the reset and will always be non-initialized after.