Trezor

Latest version: v0.13.7

Safety actively analyzes 621924 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.11.3

Added

- trezorctl can now send ERC20 tokens
- trezorctl usb-reset will perform USB reset on devices in inconsistent state
- set-display-rotation command added for TT firmware 2.1.1

Changed

- Minimum firmware versions bumped to 1.8.0 and 2.1.0

Fixed

- Ethereum commands in trezorctl now work

0.11.2

Added

- full support for bootloader 1.8.0 and relevant firmware upgrade functionality
- trezorctl: support fully offline signing JSON-encoded transaction data
- trezorctl: dry-run for firmware upgrade command
- client: new convenience function `get_default_client` for simple script usage
- Dash: support DIP-2 special inputs [351]
- Ethereum: add get_public_key methods

Changed

- coins with BIP-143 fork id (BCH, BTG) won't require prev_tx [352]
- device recovery will restore U2F counter
- Cardano: change `network` to `protocol_magic`
- tests can run interactively when `INTERACT=1` environment variable is set
- protobuf: improved `to_dict` function

Deprecated

- trezorctl: interactive signing with `sign-tx` is considered deprecated

0.11.1

Fixed

- crash when entering passphrase on device with Trezor T
- Qt widgets should only import QtCore [349]

0.11.0

Incompatible changes

- removed support for Python 3.3 and 3.4
- major refactor of `TrezorClient` and UI handling. Implementers must now provide a "UI" object instead of overriding callbacks [307], [314]
- protobuf classes now use a `get_fields()` method instead of `FIELDS` field [312]
- all methods on `TrezorClient` class are now in separate modules and take a `TrezorClient` instance as argument [276]
- mixin classes are also removed, you are not supposed to extend `TrezorClient` anymore
- `TrezorClientDebugLink` was moved to `debuglink` module
- changed signature of `trezorlib.btc.sign_tx`
- `field` decorator was replaced by an argument to `expect`

Added

- trezorlib now has a hardcoded check preventing use of outdated firmware versions [283]
- Ripple support [286]
- Zencash support [287]
- Cardano support [300]
- Ontology support [301]
- Tezos support [302]
- Capricoin support [325]
- limited Monero support (can only get address/watch key, monerowallet is required for signing)
- support for input flow in tests makes it easier to control complex UI workflows [314]
- `protobuf.dict_to_proto` can create a protobuf instance from a plain dict
- support for smarter methods in trezord 2.0.25 and up
- support for seedless setup
- trezorctl: firmware handling is greatly improved [304], [308]
- trezorctl: Bitcoin-like signing flow is more user-friendly
- `tx_api` now supports Blockbook backend servers

Changed

- better reporting for debuglink expected messages
- replaced Ed25519 module with a cleaner, optimized version
- further reorganization of transports makes them more robust when dependencies are missing
- codebase now follows [Black](https://github.com/ambv/black) code style
- in Qt modules, Qt5 is imported first [315]
- `TxApiInsight` is just `TxApi`
- `device.reset` and `device.recover` now have reasonable defaults for all arguments
- protobuf classes are no longer part of the source distribution and must be compiled locally [284]
- Stellar: addresses are always strings

Removed

- `set_tx_api` method on `TrezorClient` is replaced by an argument for `sign_tx`
- caching functionality of `TxApi` was moved to a separate test-support class
- Stellar: public key methods removed
- `EncryptMessage` and `DecryptMessage` actions are gone

Fixed:

- `TrezorClient` can now detect when a HID device is removed and a different one is plugged in on the same path
- trezorctl now works with Click 7.0 and considers "`_`" and "`-`" as same in command names [314]
- bash completion fixed
- Stellar: several bugs in the XDR parser were fixed

0.10.2

Added

- `stellar_get_address` and `_public_key` functions support `show_display` parameter
- trezorctl: `stellar_get_address` and `_public_key` commands for the respective functionality

Removed

- trezorctl: `list_coins` is removed because we no longer parse the relevant protobuf field
(and newer Trezor firmwares don't send it) [277]

Fixed

- test support module was not included in the release, so code relying on the deprecated `ckd_public` module would fail [280]

0.10.1

Fixed

- previous release fails to build on Windows [274]

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.