trezor-firmware
trezor-firmware copied to clipboard
Boot sequence in rust
This PR reimplements boot sequence in rust.
Includes pin input, sd card salt validation, lockscreen including users avatar,+name, pin callback from storage, storage unlock.
~~Storage handling builds on #2536 , some other helper methods are implemented and should be usable like this, but when some complex storage solution is merged (e.g. #2214 ), this should be redone.~~
This unfortunately duplicates some python code, that is right now needed in both rust and python.
rebased onto #2536 and done some cleaning
rebased on top of #2571 , so that new homescreen is shown
rebased onto current homescreen implementation
rebased on current master and added support for T2B1. Few open issues in todo
s still.
I believe this is now ready to review.
The UI changes are caused by the different pin callback implementation, the remaining seconds message is shown earlier, which is likely more correct.
Merging this would probably make implementing stuff like https://github.com/trezor/trezor-firmware/issues/2110 more difficult, as the USB is handled by python which is not running yet when unlocking the device for first time.
core UI changes | master diff | ||
---|---|---|---|
Model T | device test | click test | persistence test |
Model Safe 3 | device test | click test | persistence test |