-
-
Notifications
You must be signed in to change notification settings - Fork 239
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
Suite reacts poorly to unknown ButtonRequests #1642
Comments
Responding to |
Noting that in the long run, we want to replace reliance on ButtonRequest codes with something smarter. So this is probably low priority. |
suite it self doesn't touch transport/protobuf layer at all, it's a trezor-connect job, suite is just a consumer.
That's what is happening, every ButtonRequest gets Ack back: The problem is that |
Can we modify this that trezor-link does not fail on parsing in such case but only logs some warning and sends |
sure we can, but this project needs a massive refactoring. |
This breaks forward compatibility: I won't be able to use a newer fw with older Suite, if the new FW contains new
ButtonRequestType
s (or possibly other enums too)I implemented
ButtonRequestType.PinEntry
and send it for PIN entry dialogs. Can provide FW with this.Now when I go to change PIN, after confirming "do you really want to enable PIN", Trezor freezes (because it does not receive a reply) and Suite shows:
Presumably some call somewhere is trying to resolve the ButtonRequestType and fails.
No errors in console, nothing relevant in "show log"
The text was updated successfully, but these errors were encountered: