-
-
Notifications
You must be signed in to change notification settings - Fork 629
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
Soft-locking for Trezor T #958
Commits on Jun 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 94ad9bd - Browse repository at this point
Copy the full SHA 94ad9bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8040dc2 - Browse repository at this point
Copy the full SHA 8040dc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb27bdb - Browse repository at this point
Copy the full SHA bb27bdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5b841b - Browse repository at this point
Copy the full SHA d5b841bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9198f9 - Browse repository at this point
Copy the full SHA e9198f9View commit details -
core: use wire.PinCancelled/PinInvalid instead of custom versions
also refactor show_pin_invalid and its usages so that it raises directly note that we are now using PinCancelled instead of ActionCancelled where appropriate
Configuration menu - View commit details
-
Copy full SHA for 30a5c23 - Browse repository at this point
Copy the full SHA 30a5c23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8427673 - Browse repository at this point
Copy the full SHA 8427673View commit details -
Configuration menu - View commit details
-
Copy full SHA for e89c618 - Browse repository at this point
Copy the full SHA e89c618View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5149d41 - Browse repository at this point
Copy the full SHA 5149d41View commit details -
Configuration menu - View commit details
-
Copy full SHA for afcdecd - Browse repository at this point
Copy the full SHA afcdecdView commit details -
Configuration menu - View commit details
-
Copy full SHA for bcf6194 - Browse repository at this point
Copy the full SHA bcf6194View commit details -
core: consider lockscreen to be a separate homescreen
this involves some changes to the workflow defaults: * workflow.start_default() takes no arguments * workflow.set_default() (originally replace_default) configures the default that will be started by next call to start_default(). The intended usecase is to set_default() first and then start it separately. * apps.base.set_homescreen() factors out the logic originally in main.py, that decides which homescreen should be launched. This uses set_default() call. start_default() is then used explicitly in main.py
Configuration menu - View commit details
-
Copy full SHA for c5bf806 - Browse repository at this point
Copy the full SHA c5bf806View commit details -
Configuration menu - View commit details
-
Copy full SHA for 614af52 - Browse repository at this point
Copy the full SHA 614af52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4507254 - Browse repository at this point
Copy the full SHA 4507254View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9387f2b - Browse repository at this point
Copy the full SHA 9387f2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dd4518 - Browse repository at this point
Copy the full SHA 3dd4518View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78c475a - Browse repository at this point
Copy the full SHA 78c475aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bf45bb - Browse repository at this point
Copy the full SHA 8bf45bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc8f029 - Browse repository at this point
Copy the full SHA dc8f029View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdd0dae - Browse repository at this point
Copy the full SHA bdd0daeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1211528 - Browse repository at this point
Copy the full SHA 1211528View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a4e590 - Browse repository at this point
Copy the full SHA 8a4e590View commit details -
Configuration menu - View commit details
-
Copy full SHA for 174c888 - Browse repository at this point
Copy the full SHA 174c888View commit details -
core: refactor usage of input_signals
this prevents a certain class of UI test failure. It also localizes the use of debuglink signals into the layout classes instead of call sites, which is a design we were already using for confirm_signals
Configuration menu - View commit details
-
Copy full SHA for 56c32cb - Browse repository at this point
Copy the full SHA 56c32cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9508ab2 - Browse repository at this point
Copy the full SHA 9508ab2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d5b26d - Browse repository at this point
Copy the full SHA 7d5b26dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6840cf0 - Browse repository at this point
Copy the full SHA 6840cf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b38a5e6 - Browse repository at this point
Copy the full SHA b38a5e6View commit details -
core/webauthn: Allow confirm_dialog() to return a new state as an alt…
…ernative to the user response.
Configuration menu - View commit details
-
Copy full SHA for 6ca645e - Browse repository at this point
Copy the full SHA 6ca645eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0751369 - Browse repository at this point
Copy the full SHA 0751369View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26c2a94 - Browse repository at this point
Copy the full SHA 26c2a94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8995ccb - Browse repository at this point
Copy the full SHA 8995ccbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61be017 - Browse repository at this point
Copy the full SHA 61be017View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4242a69 - Browse repository at this point
Copy the full SHA 4242a69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65c9281 - Browse repository at this point
Copy the full SHA 65c9281View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1980f3 - Browse repository at this point
Copy the full SHA f1980f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ad7139 - Browse repository at this point
Copy the full SHA 6ad7139View commit details -
Configuration menu - View commit details
-
Copy full SHA for d99bdbc - Browse repository at this point
Copy the full SHA d99bdbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7709a9d - Browse repository at this point
Copy the full SHA 7709a9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88fa079 - Browse repository at this point
Copy the full SHA 88fa079View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ca167e - Browse repository at this point
Copy the full SHA 7ca167eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5835d0b - Browse repository at this point
Copy the full SHA 5835d0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b0e7c4 - Browse repository at this point
Copy the full SHA 9b0e7c4View commit details -
tests: rename test_address to get_test_address
so that pytest doesn't think it is a testcase
Configuration menu - View commit details
-
Copy full SHA for 92a5ea9 - Browse repository at this point
Copy the full SHA 92a5ea9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36d4927 - Browse repository at this point
Copy the full SHA 36d4927View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4cb1d4 - Browse repository at this point
Copy the full SHA f4cb1d4View commit details -
The original wait_layout was unreliable, because there are no guarantees re order of arrival of the respective events. Still, TT's event handling is basically deterministic, so as long as the host sent its messages close enough to each other, the order worked out. This is no longer the case with the introduction of loop.spawn: TT's behavior is still deterministic, but now ButtonAck is processed *before* the corresponding wait_layout, so the waiting side waits forever. In the new process, the host must first register to receive layout events, and then receives all of them (so the number of calls to wait_layout must match the number of layout changes). DebugLinkWatchLayout message must be version-gated, because of an unfortunate collection of bugs in previous versions wrt unknown message handling; and this interests us because upgrade-tests are using wait_layout feature.
Configuration menu - View commit details
-
Copy full SHA for 4be66fc - Browse repository at this point
Copy the full SHA 4be66fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a2f742 - Browse repository at this point
Copy the full SHA 3a2f742View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44ddba8 - Browse repository at this point
Copy the full SHA 44ddba8View commit details -
core: call close_others() in place of ButtonRequest
this makes sense, really: close_others() requests UI exclusivity, and that is something that generally happens at the same places we emit a ButtonRequest
Configuration menu - View commit details
-
Copy full SHA for ac4fa36 - Browse repository at this point
Copy the full SHA ac4fa36View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4f5719 - Browse repository at this point
Copy the full SHA c4f5719View commit details -
Configuration menu - View commit details
-
Copy full SHA for f53a103 - Browse repository at this point
Copy the full SHA f53a103View commit details -
Configuration menu - View commit details
-
Copy full SHA for a433b89 - Browse repository at this point
Copy the full SHA a433b89View commit details -
core: debuglink interface avoids workflow management
This will have unintended consequences if you call a wirelink function on the debulink interface. TT allows this ... and will behave badly.
Configuration menu - View commit details
-
Copy full SHA for c736eeb - Browse repository at this point
Copy the full SHA c736eebView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6a98b7 - Browse repository at this point
Copy the full SHA d6a98b7View commit details -
core: start USB after booting apps
This prevents a race condition where sometimes an Initialize message could arrive before the homescreen was fully booted -- and Recovery homescreen would cancel it as part of its bootup sequence.
Configuration menu - View commit details
-
Copy full SHA for 61e8b9c - Browse repository at this point
Copy the full SHA 61e8b9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bee7a7 - Browse repository at this point
Copy the full SHA 6bee7a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f43220b - Browse repository at this point
Copy the full SHA f43220bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ccf0b5 - Browse repository at this point
Copy the full SHA 3ccf0b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfb4acc - Browse repository at this point
Copy the full SHA cfb4accView commit details -
core: lower scheduler resolution to milliseconds
This avoids problems with large timeouts causing the scheduler queue to think the time counter has overflown, and ordering the autolock task before immediate tasks. The maximum reasonable time difference is 0x20000000, which in microseconds is ~8 minutes, but in milliseconds a more reasonable ~6 days.
Configuration menu - View commit details
-
Copy full SHA for 2dde7f3 - Browse repository at this point
Copy the full SHA 2dde7f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c63b5e5 - Browse repository at this point
Copy the full SHA c63b5e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for caf7a87 - Browse repository at this point
Copy the full SHA caf7a87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38bb3ff - Browse repository at this point
Copy the full SHA 38bb3ffView commit details