trezor-firmware icon indicating copy to clipboard operation
trezor-firmware copied to clipboard

Cardano sign transaction - button request other

Open vladimirvolek opened this issue 4 years ago • 9 comments

Describe the bug All button requests are ButtonRequest_Other In Cardano sing transaction flow. In the same flow in Bitcoin it's ButtonRequest_SignTx and ButtonRequest_ConfirmOutput

Firmware version and revision 2.4.1

Desktop/smartphone setup (please complete the following information):

  • Wallet software: Trezor Suite
  • OS: macOS
  • Browser Chrome
  • Version 92.0.4515.131

Expected behavior No ButtonRequest_Other in the sign flow.

vladimirvolek avatar Aug 17 '21 23:08 vladimirvolek

We want to rework the button requests altogether. How critical is it for you? Also @gabrielKerekes would this be okay on your side?

tsusanka avatar Aug 18 '21 10:08 tsusanka

related: #35

matejcik avatar Aug 18 '21 10:08 matejcik

Also @gabrielKerekes would this be okay on your side?

To be honest, I've never had to deal with the Button requests other than in the tests at some point - but we've already removed the expected responses. I think changing it shouldn't cause any problems on our end.

gabrielKerekes avatar Aug 18 '21 12:08 gabrielKerekes

@vladimirvolek do you think you could open a PR for this? It should be straightforward, just search for .Other inside the cardano app. Example here: https://github.com/trezor/trezor-firmware/blob/395324a8ad9399bacba2ebb8740d72971842d761/core/src/apps/cardano/layout.py#L85

It would be better if you do it, so it fits your needs.

tsusanka avatar Aug 19 '21 14:08 tsusanka

Let's solve this via #35 (the new button requests).

tsusanka avatar Oct 07 '21 12:10 tsusanka

Seems like #35 is not moving forward and this bug is forcing some weird workarounds in Suite. Can someone look into it, @Hannsek?

komret avatar May 30 '23 14:05 komret

Does Suite need this right now or it can wait few weeks?

Hannsek avatar May 30 '23 14:05 Hannsek

Not urgently, we have the workaround, it's just ugly.

komret avatar May 30 '23 16:05 komret

Reopened due to https://github.com/trezor/trezor-suite/pull/18501 which happened as a follow-up of https://github.com/trezor/trezor-firmware/commit/b8e2709ca8f141a5ded1ffdd5d20d4b388fe49d6

ibz avatar Apr 24 '25 07:04 ibz