1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 17:38:39 +00:00
Commit Graph

7278 Commits

Author SHA1 Message Date
Jan Pochyla
3f0e3a334e fido_u2f: properly close u2f layout when other layout starts
As it's currently impossible to close() the layout generator from the outside, loop.signal() was added, and any started layout signals to terminate.
2019-03-05 13:49:42 +01:00
代码脸
e8db62a5f5 Add Qtum support (#287) 2019-03-05 12:58:08 +01:00
Jan Pochyla
9b97b9e840 Revert "scons: disable bip39 seed cache"
This reverts commit 34f499fc04.
2019-03-04 17:31:58 +01:00
matejcik
1d177ed831 defs: update README with wallets.json 2019-03-04 14:43:36 +01:00
Tomas Susanka
84f5a0e393 protob: set PublicKey's node to optional to be consistent with other coins 2019-03-04 12:53:39 +01:00
Pavol Rusnak
a30586647a
tools: add trezor-otp.py 2019-03-01 12:39:35 +01:00
Pavol Rusnak
f40219dbb6
fsm: correctly set node in EthereumPublicKey response 2019-02-28 16:38:48 +01:00
Pavol Rusnak
61f403c421
tests: update test_msg_ethereum_getpublickey to test node field 2019-02-28 16:38:33 +01:00
Pavol Rusnak
79664a4d08
burntest: add test for T1/T2 2019-02-28 16:29:06 +01:00
Andrew Kozlik
c23ad89ee1 storage: Fix bug in U2F counter upgrade. 2019-02-27 18:27:09 +01:00
leoreinaux
f5e5516ed2 Adding SmartCash wallet (#282) 2019-02-27 15:48:02 +01:00
matejcik
3e294cc339 changelog: update release date and tag 2019-02-27 13:25:56 +01:00
matejcik
b441ea7c3b build: properly clean generated files from setup.py prebuild 2019-02-27 13:22:48 +01:00
matejcik
12c0e78e3d trezorctl: ALLOWED_FIRMWARE_FORMATS should be lists (well tuples) 2019-02-27 13:12:18 +01:00
matejcik
a2f1dad3d4 docs: python -> python3 in readme 2019-02-27 13:09:47 +01:00
brianddk
96ce34b276 Fix incompatibilities with v0.11 movement of methods to misc library.
- pwd_reader.py
    - Moved encrypt/decrypt calls to misc module from client.
    - Corrected key to encode in binstr for Py3.7 hmac functions.
    - Added ui to client.

- pwd_reader.py
    - Moved entropy calls to misc module from client.
    - Added ui to client.
2019-02-27 13:07:51 +01:00
Tomas Susanka
a96c39a9d1 mocks: generate 2019-02-27 11:30:58 +01:00
matejcik
972b47c8e1 docs: update README with more installation instructions 2019-02-26 18:29:22 +01:00
matejcik
697f86210f revert usb reset related commits
As it stands, they cause more harm than good for a point release.
This code will be returned later, when it is more mature
2019-02-26 18:01:19 +01:00
matejcik
0a8b5a08c2 trezorlib: workaround for a problem with Trezor One webusb
when webusb version of T1 is wiped, the usb device changes serial
immediately (unlike TT, which changes it after reconnect).

That confuses libusb on linux, and next time the device is reset, it
will insist on re-enumeration.

To solve this, we leave some explanatory comments, and trigger the
device reset through opening the device right after a wipe.
The client instance is unusable after that, but not much we can do about
it, and on next run trezorctl will behave as if nothing bad happened.
2019-02-26 17:35:25 +01:00
matejcik
18eab21932 changelog: update changes for v0.11.2 2019-02-26 15:22:57 +01:00
matejcik
fa5734a2a8 trezorctl: firmware tweaks, add dry_run mode 2019-02-26 14:46:12 +01:00
matejcik
302f2589a0 firmware: fix digest for OneV1, disallow unsigned by default 2019-02-26 14:06:56 +01:00
matejcik
cfb19dfb15 firmware: recognize, verify and handle firmware v1.8.0 and up
Also reorganize firmware validation code somewhat, so that trezorctl
consumes a unified interface.
2019-02-25 19:40:26 +01:00
matejcik
77b8545c8b defs: ignore duplicity of Binance token 2019-02-25 14:04:29 +01:00
Luke Plaster
1b12183d25 Add Binance Chain (#264) 2019-02-25 14:00:27 +01:00
Andrew Kozlik
b65f61650a config: Set usbTiny whenever there is a possibility that protectPinUiCallback() may be called. 2019-02-25 13:54:44 +01:00
Pavol Rusnak
b457797c55
changelog: update 2019-02-25 12:44:38 +01:00
Pavol Rusnak
bac8d9d531
changelog: update 2019-02-25 12:28:06 +01:00
Pavol Rusnak
964a622bb5
bootloader: fix typo 2019-02-24 17:42:01 +01:00
Pavol Rusnak
2311465fdd
firmware: update embedded bootloader 2019-02-24 17:22:10 +01:00
Pavol Rusnak
222c9ea46c
bootloader: compatibility with old bootloaders 2019-02-24 14:01:33 +01:00
Pavol Rusnak
7baa8c29fc
bootloader: move timer_init to jump_to_firmware 2019-02-24 12:24:40 +01:00
Pavol Rusnak
6cda903a1d
setup: change mpu definition for bootloader, fix typo 2019-02-23 20:47:49 +01:00
Pavol Rusnak
91d9bd28c2
build: don't try to sign emulator build 2019-02-23 19:02:40 +01:00
Andrew Kozlik
f05664fdf3
config: Avoid unlocking storage after wipe. 2019-02-23 17:55:49 +01:00
Andrew Kozlik
b62ab43b95
config: Avoid wiping storage twice. 2019-02-23 17:55:49 +01:00
Andrew Kozlik
db47ff4e51
config: Auto-unlock storage if no PIN is set. Update trezor-storage with improved ui_callback() reporting. 2019-02-23 17:55:49 +01:00
Andrew Kozlik
2482e11112
protect: check old PIN before requesting new PIN 2019-02-23 17:55:42 +01:00
Andrew Kozlik
ae0395f0f4
protect: Update protectPinUiCallback() to show arbitrary message. 2019-02-23 17:55:16 +01:00
Andrew Kozlik
edae40e22c
pin: do not allow the user to enter an empty PIN
An empty PIN is used to signify PIN removal and T1 does not allow entering an empty PIN neither via web-wallet nor via trezorctl.
2019-02-23 17:50:39 +01:00
Andrew Kozlik
e60914e30f
pin: avoid changing PIN unnecessarily 2019-02-23 17:50:28 +01:00
Andrew Kozlik
456a2c68d6
pin: change show_pin_timeout() to display arbitrary message
Don't pre-check old PIN when removing PIN protection.
2019-02-23 17:50:20 +01:00
Andrew Kozlik
511fc205b2 Improve the information which gets passed to ui_callback(). Exact total remaining time, smooth progress and better messages. 2019-02-23 01:52:25 +01:00
Andrew Kozlik
0e897f673a In unlock() show 'Processing' instead of 'Verifying PIN' if the PIN is empty. 2019-02-22 19:04:14 +01:00
Andrew Kozlik
cf9e276c6e In derive_kek() show 'Processing' instead of 'Verifying PIN' if the PIN is empty or the device is not being unlocked. 2019-02-22 18:45:49 +01:00
Pavol Rusnak
3d82cca381
trezorhal: refactor erasing sectors 2019-02-22 17:22:46 +01:00
Pavol Rusnak
cbe8320d96
vendor: update trezor-storage 2019-02-22 16:22:40 +01:00
Pavol Rusnak
806f943116
bootloader: require only left button to start the bootloader 2019-02-22 15:47:34 +01:00
Pavol Rusnak
99c6777c7c
vendor: update trezor-storage 2019-02-22 13:47:43 +01:00