trezor / trezor-suite

Trezor Suite Monorepo
https://trezor.io/trezor-suite
Other
674 stars 242 forks source link

connect: webusb: sync broken - bridge started after webusb #13179

Open mroz22 opened 4 days ago

mroz22 commented 4 days ago

similar to #12002 but different reason

  1. start application A using webusb
  2. start suite-desktop using bridge
  3. application A remains using webusb conflicting with suite-desktop using bridge

what is the best solution here?

  1. if using a low priviledged transport (webusb), on any error check if a higher priviledged transport (node-bridge) works and if yes, start using it?
Hannsek commented 3 days ago

Can it be switched unnoticeably for the user?

How about THP? Is the transport type irrelevant or will user has to pair it again when switched to another transport type?