matejcik
6efe4e4418
trezorlib/messages: regenerate messages with new pb2py
...
drop `from future import`
in __init__.py, import just the name, not *
2018-03-15 19:55:57 +01:00
matejcik
61a2ab4303
pb2py: keep imports sorted
2018-03-15 19:55:26 +01:00
matejcik
e7a01b827b
build_protobuf: fix paths for protoc
2018-03-15 19:55:06 +01:00
matejcik
2375a8f516
fix merge conflicts with updated python-trezor
2018-03-15 19:28:34 +01:00
Pavol Rusnak
dbe444029a
bootloader: guard signatures_ok calls with firmware_present (or !brand_new_firmware)
2018-03-15 04:15:41 +01:00
Pavol Rusnak
816b4e0f72
bootloader: process WipeDevice
2018-03-15 03:15:08 +01:00
Pavol Rusnak
b933e292db
bootloader: fix signatures_ok usage in usb.c after refactoring
2018-03-15 03:03:05 +01:00
Pavol Rusnak
9ace6dbb99
src/apps/wallet: remove unused import in sign_identity
2018-03-14 12:52:11 +01:00
Roman Zeyde
a93e745532
apps/wallet/{sign_identity, ecdh}: show protocol as part of the header
2018-03-14 12:50:31 +01:00
Pavol Rusnak
b20336e82d
Revert WinUSB feature
...
This reverts the following range of commits:
68168393b9ea61328f4bb43bc3059ab32c4be2e9..ab76828e16b552c82f468e5d89f1af0645258995
Revert "update usb descriptors"
This reverts commit ab76828e16
.
Revert "trezorhal: reply with winusb guid just for the main interface (0)"
This reverts commit 6acfc5d1b3
.
Revert "winusb: fix WINUSB_EXTRA_STRING"
This reverts commit 966d8cb4ce
.
Revert "winusb: cleanup DeviceInterfaceGUIDs usage"
This reverts commit 56c5a46095
.
Revert "make winusb_string_descriptor const"
This reverts commit 132cc4b474
.
Revert "webusb: remove unused constants"
This reverts commit 38b4d507bc
.
Revert "bootloader: remove debug"
This reverts commit 56d3cbe2e9
.
Revert "Bootloader - Switch from HID to WebUSB"
This reverts commit a22abfe90b
.
Revert "Switch from HID to WebUSB"
This reverts commit cb067bd14c
.
Revert "Add WinUSB, WebUSB, USB2.1 to build"
This reverts commit 05e218bcb8
.
Revert "Add WebUSB descriptors"
This reverts commit a062127cef
.
Revert "Add WinUSB (WebUSB preparation)"
This reverts commit e6981e85cd
.
2018-03-14 00:37:08 +01:00
Roman Zeyde
e444dadbb2
storage: next firmware version would be 1.7.0
2018-03-13 21:49:29 +01:00
Pavol Rusnak
5ad53e99c3
bootloader: bump version to 1.4.0
2018-03-13 15:42:31 +01:00
Pavol Rusnak
4af78f06a3
bootloader: refactor signatures_ok return value
2018-03-13 15:41:42 +01:00
Pavol Rusnak
167411c6ed
src/apps/homescreen: change wording for unfinished backup to "failed"
2018-03-12 17:01:15 +01:00
Pavol Rusnak
00fd918661
src/apps/homescreen: change wording for unfinished backup to "interrupted"
2018-03-12 16:32:18 +01:00
Pavol Rusnak
b83ffee3af
src/apps/common: implement unfinished_backup flag in the storage
2018-03-12 16:22:56 +01:00
Pavol Rusnak
35aadfd32f
update protobuf
2018-03-12 16:21:45 +01:00
Pavol Rusnak
d83bb5464c
add {Storage,Features}.unfinished_backup
2018-03-12 16:11:27 +01:00
Pavol Rusnak
e6bfd192e5
src/apps/common: implement passphrase_source and use it
2018-03-12 15:27:30 +01:00
Pavol Rusnak
a0dd3ee502
trezorctl: add passphrase_source handling to apply_settings
2018-03-12 15:25:52 +01:00
Pavol Rusnak
3ac96f5b00
update protobuf
2018-03-12 15:10:17 +01:00
Pavol Rusnak
6cf9bb1d93
src/apps/common: refactor new_device_id function
2018-03-12 15:01:13 +01:00
Pavol Rusnak
998eb4c7a7
add ApplySettings.passphrase_source
2018-03-12 14:50:20 +01:00
Pavol Rusnak
cda9ae3be7
src/apps/wallet/ecdh: fix serialize_identity import path
2018-03-11 22:59:50 +01:00
Pavol Rusnak
2f440f17d3
Revert "trezor/utils: refactor 'serialize_identity()'"
...
This reverts commit de217f75df
.
2018-03-11 22:57:39 +01:00
Pavol Rusnak
45b7a472c5
src/apps/wallet: make flake8 happy
2018-03-11 22:54:32 +01:00
Roman Zeyde
e925baaf08
apps/wallet/ecdh: support decryption (for GnuPG)
2018-03-11 22:53:47 +01:00
Roman Zeyde
de217f75df
trezor/utils: refactor 'serialize_identity()'
2018-03-11 22:53:47 +01:00
Roman Zeyde
ab5e4eee34
tests: add test_msg_getecdhsessionkey.py ( #233 )
2018-03-11 22:51:14 +01:00
Roman Zeyde
cfb50f751e
docs: fix 'vendorheader' to 'vendor' at build.md
2018-03-10 21:17:29 +01:00
Tomas Susanka
2dec30828b
wallet/signing: segwit has priority over force_bip143
...
This commit only rearranges the `if` main branch, so the segwit branch
has priority over bip143. Since Bitcoin Gold is allowing both segwit and
forcing bip143, the bitcoin gold segwit transactions were failing.
updates #147
2018-03-09 18:31:31 +01:00
Tomas Susanka
c827607eec
tests: ethereum format_address takes int as an input
...
fixing 8cdec0652e
2018-03-09 17:42:28 +01:00
matejcik
bd32e1e3b3
tests: set default TREZOR_PATH to the emulator
...
(so you can run `make test_emu` with a physical Trezor connected)
2018-03-09 15:19:54 +01:00
matejcik
5b9b904198
Makefile: pass TESTOPTS to test runners (and use them in run_tests_device_emu.sh
2018-03-09 15:19:53 +01:00
matejcik
2a3e336b21
travis: add rlp requirement
2018-03-09 15:19:49 +01:00
matejcik
6b51228090
use binascii.hexlify instead of bytearray.hex (which doesn't exist in python < 3.5)
2018-03-09 14:38:04 +01:00
matejcik
5edcea9ba6
transport: fix all_transports when required modules are missing ( #232 )
...
This lets the library work without libusb or hidapi (`--disable-libusb`, `--disable-hidapi`).
2018-03-09 10:58:24 +01:00
Pavol Rusnak
0484f599fd
src/apps/common: introduce limit for homescreen size
2018-03-08 23:49:09 +01:00
Jochen Hoenicke
8cdec0652e
Ethereum: Fix fee computation.
...
- Gas is always in ether, even when sending tokens.
- Fee is computed by multiplying gas limit with gas price.
- Parse numbers already in sign_tx.
- Made rlp.encode non-recursive (also fixes not passing include_length).
2018-03-08 18:49:28 +01:00
Roman Zeyde
8a8b66c9cb
src/protobuf: fix small typo in docstring
2018-03-08 18:37:45 +01:00
Tomas Susanka
89eac8f157
tests/device: more Bitcoin Gold tests
...
including segwit and multisig
updates https://github.com/trezor/trezor-core/issues/147
2018-03-08 14:35:56 +01:00
Tomas Susanka
869af4498b
tests/device: Bitcoin Gold tests
2018-03-07 16:43:01 +01:00
Pavol Rusnak
683f383e90
tests: fix test_msg_getpublickey_curve.py (don't try public derivation for ed25519)
2018-03-07 15:46:09 +01:00
matejcik
d8c9c970f5
flake8: clean up imports from last commit
2018-03-07 15:28:35 +01:00
matejcik
dd052d07b0
better getch() functions, fixed windows version ( fixes #207 )
2018-03-07 15:18:32 +01:00
Pavol Rusnak
3971f4bf13
src/apps/wallet: fix ed25519 pubkey prefix
2018-03-07 14:22:57 +01:00
Pavol Rusnak
e0b5526f27
bootloader: react to GetFeatures too
2018-03-07 14:16:24 +01:00
Pavol Rusnak
2a4a298d58
firmware: refactor fsm_getDerivedNode to include fingerprint
2018-03-07 14:04:37 +01:00
Pavol Rusnak
7e61f37038
protob: change comment for tx_type
2018-03-07 12:18:26 +01:00
Peter van Mourik
42e2f494b2
Changed tx_type to uint32
2018-03-07 12:17:52 +01:00