trezor / trezord-go

:smiling_imp: Trezor Communication Daemon (written in Go)
GNU Lesser General Public License v3.0
241 stars 147 forks source link

Expand README with information why Trezor Bridge exists #218

Closed kucharskim closed 1 year ago

kucharskim commented 3 years ago

I find documentation about Trezor Bridge very terse.

prusnak commented 3 years ago
  1. Because Firefox and other browsers do not support WebUSB (as opposed to Chrome which supports it).
  2. We need to offer a way how a website such as wallet.trezor.io can communicate with the USB device such as Trezor.
  3. It scans USB for devices that match Trezor devices VendorIDs/ProductIDs and exposes a HTTP server running on localhost that provides a way how to communicate with these devices via REST API.
  4. It's needed for any OS, any browser except Chrome (which supports connecting to USB devices via WebUSB).
kucharskim commented 3 years ago

Ok, I've looked at OpenBSD chromium port and as of today (January 2021, chromium-88.0.4324.96) WebUSB is disabled on OpenBSD. In other words, having Chrome web browser doesn't guarantee that WebUSB works.

Your above clarification is very helpful. Thanks.

igor-hnizdo commented 1 year ago

Just a note - it also helps with old devices (pre-2018-ish) that still run on HID.

In order to migrate them to WebUSB.

igor-hnizdo commented 1 year ago

I wrote something in this PR #279

tsusanka commented 1 year ago

Merged via https://github.com/trezor/trezord-go/commit/39d21970aae9f130b42c496f12fe11a6dfe5b7ae.