1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-15 19:08:07 +00:00
Commit Graph

7218 Commits

Author SHA1 Message Date
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
Andrew Kozlik
a7a9eab445
config: Fix pointer arithmetic in config_upgrade_v10(). 2019-02-22 13:45:53 +01:00
Andrew Kozlik
24df1ca2b7 Merge branch 'master' of github.com:trezor/trezor-storage 2019-02-22 11:27:44 +01:00
Andrew Kozlik
1b9329b6fa Fix undefined integer shift. 2019-02-22 11:26:28 +01:00
Pavol Rusnak
62c0e91dd0
firmware: bundle new bootloader 2.0.3 2019-02-21 21:44:11 +01:00
Pavol Rusnak
276cd4b44a
firmware: set NORCOW_HEADER_LEN to 0 2019-02-21 20:40:16 +01:00
Pavol Rusnak
5d645ef61b
bootloader: refactor mpu settings 2019-02-21 19:39:50 +01:00
Pavol Rusnak
08b462b2b9
vendor: update trezor-storage 2019-02-21 17:42:36 +01:00
Pavol Rusnak
80840b2321
firmware: change bootloader 1.8.0 hash in the whitelist 2019-02-21 17:24:58 +01:00
Pavol Rusnak
400ac96873
bootloader: refactor to save space 2019-02-21 17:12:38 +01:00
matejcik
408c6712c1 transport/webusb: reset USB device when connecting
bridge does the same thing
fixes #361
2019-02-21 17:11:13 +01:00