-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
Warn in Suite if Trezor has safety checks enabled #2282
Comments
After a brief discussion, we came to a conclusion (or rather hypothesis that needs to be verified) that since the safety checks Settings automatically reset with device reconnect, we don't need the banner notification.
cc @goodhoko |
@mmilata it is true that when safety_checks are set to Prompt they will default to Strict on next Trezor replug, correct? Only PromptTemporarily does not do that but we have decided not to have that in Suite for now. |
They are two distinct values, In
i.e. |
@tsusanka by "enabled" you mean set to something else then "strict", right? |
Good point! We definitely want to show the warning when The remaining question is: should the warning appear for I'll assign this to myself to do it along #2242. Hope that's ok. .) |
Let's do it. Here is the notification design: Zeplin
|
The SafetyCheckLevel is deserialized as a string by the Link. Patch it's type via the existing patching mechinery. The type `Features.ssafety_checks` field is emitted as optional (ie. is typed as `undefined | SafetyCheckLevel`) but in runtime, it's absence is designated by `null` rather than `undefined`. Patch this manually too. Prerequisite for trezor/trezor-suite#2242 and trezor/trezor-suite#2282
The SafetyCheckLevel is deserialized as a string by the Link. Patch it's type via the existing patching mechinery. The type `Features.ssafety_checks` field is emitted as optional (ie. is typed as `undefined | SafetyCheckLevel`) but in runtime, it's absence is designated by `null` rather than `undefined`. Patch this manually too. Prerequisite for trezor/trezor-suite#2242 and trezor/trezor-suite#2282
(1) Agreed — priority #6 sounds reasonable with respect to the scale of other items on the list. Many thanks! |
When SafetyChecks are not "Strict" display a warning banner that points the user to Safety Checks settings. If the Safety Checks are "PromptTemporarily" allow the waring to be dismissed and not being displayed until either the Suite is restarted/reloaded or the Safety Checks are changed.
|
When SafetyChecks are not "Strict" display a warning banner that points the user to Safety Checks settings. If the Safety Checks are "PromptTemporarily" allow the waring to be dismissed and not being displayed until either the Suite is restarted/reloaded or the Safety Checks are changed.
Thanks! |
When SafetyChecks are not "Strict" display a warning banner that points the user to Safety Checks settings. If the Safety Checks are "PromptTemporarily" allow the waring to be dismissed and not being displayed until either the Suite is restarted/reloaded or the Safety Checks are changed.
When safety_checks are not "Strict" display a warning banner that points the user to safety_checks settings. If the safety_checks are "PromptTemporarily" allow the waring to be dismissed and not being displayed until either the Suite is restarted/reloaded or the safety_checks are changed.
When safety_checks are not "Strict" display a warning banner that points the user to safety_checks settings. If the safety_checks are "PromptTemporarily" allow the waring to be dismissed and not being displayed until either the Suite is restarted/reloaded or the safety_checks are changed.
When safety_checks are not "Strict" display a warning banner that points the user to safety_checks settings. If the safety_checks are "PromptTemporarily" allow the waring to be dismissed and not being displayed until either the Suite is restarted/reloaded or the safety_checks are changed.
When safety_checks are not "Strict" display a warning banner that points the user to safety_checks settings. If the safety_checks are "PromptTemporarily" allow the waring to be dismissed and not being displayed until either the Suite is restarted/reloaded or the safety_checks are changed.
When safety_checks are not "Strict" display a warning banner that points the user to safety_checks settings. If the safety_checks are "PromptTemporarily" allow the waring to be dismissed and not being displayed until either the Suite is restarted/reloaded or the safety_checks are changed.
Done in #3681. Closing. |
QA OK Info:
|
QA OK Info:
|
QA OK
Info:
|
Let's add a warning similar to "backup needed" that informs the user that they have "safety checks" enabled.
Related to #2242. Needs trezor/trezor-firmware#1133 and trezor/trezor-firmware#1193.
The text was updated successfully, but these errors were encountered: