trezor / python-trezor

:snake: Don't use this repo, use the new monorepo instead:
https://github.com/trezor/trezor-firmware
GNU Lesser General Public License v3.0
201 stars 194 forks source link

detect old versions of TREZOR Firmware #283

Closed prusnak closed 5 years ago

prusnak commented 6 years ago

We should hardcode the minimum version of supported TREZOR firmware in trezorlib. When working with older than minimum version we should somehow indicate this to upper layers (trezorctl, electrum) so they can show a warning and instruct user to perform a firmware update.

Mininimum version is the last version that has "required: true:" in releases.json (T1 and T2)

matejcik commented 5 years ago

implemented in https://github.com/trezor/python-trezor/commit/d9e5fd2682f68cab09bd7dcf1486cf23368785b5