Pavol Rusnak
1f7a405cb2
tests: pass branch_id in zcash tests
2019-01-31 21:08:43 +01:00
Pavol Rusnak
6974d037a9
src/apps/wallet/sign_tx: implement tx.branch_id field
2019-01-31 21:03:58 +01:00
Pavol Rusnak
4b41d2e638
protob: add branch_id to SignTx and TransactionType (zcash)
2019-01-31 20:52:38 +01:00
Pavol Rusnak
484c35bb6a
defs: fix permissions on png files
2019-01-31 20:47:45 +01:00
Pavol Rusnak
a37e80905e
defs: add KMD to T1 and T2
2019-01-31 20:43:28 +01:00
Pavol Rusnak
7e3d0a0a77
signing: use the new hasher_InitParam API
2019-01-31 19:20:29 +01:00
Pavol Rusnak
21391dc5be
hasher: add param_size to hasher_InitParam
2019-01-31 19:18:06 +01:00
Pavol Rusnak
8c2bac9594
hasher: don't hardcore zcash stuff into hasher
2019-01-31 19:05:53 +01:00
andrew
2888c11095
Bugfix: Unlock flash when copying sector header.
2019-01-31 17:52:51 +01:00
matejcik
f236eb9cf2
flake8: add typing imports where missing
...
also remove autoflake workarounds from some files, apparently newer
autoflake can recognize them properly
2019-01-31 15:41:25 +01:00
matejcik
68da6881b5
debuglink: add null debuglink, allow running tests interactively
...
run with:
INTERACT=1 pytest <your options here>
2019-01-31 15:30:05 +01:00
andrew
840f7461ee
Add storage_is_unlocked().
2019-01-30 17:36:02 +01:00
andrew
ebe884ab4d
Make storage_pin_fails_increase() public.
2019-01-30 17:33:48 +01:00
andrew
7e8c4e783d
Revert "Add storage_wipe_ex() which allows to specify the new PIN and the PIN fail count."
...
This reverts commit d49e3c9f3c
.
2019-01-30 17:31:51 +01:00
Petr Kracík
178d4fe598
docker: fix broken environment ( #472 )
2019-01-30 17:28:00 +01:00
andrew
7228b299b3
Add storage_lock().
2019-01-30 16:34:57 +01:00
andrew
d49e3c9f3c
Add storage_wipe_ex() which allows to specify the new PIN and the PIN fail count.
2019-01-30 16:22:50 +01:00
matejcik
3db07338ed
burn_tests: ensure burntest does not block pytest
...
pytest discovers test_*.py and *_test.py, so it should be hidden now
in addition, the code should only run when the script is run explicitly,
not when imported
2019-01-29 17:42:54 +01:00
Pavol Rusnak
49b71e8081
tests: rename test_burntest.py to burn_test.py
2019-01-29 17:29:55 +01:00
Pavol Rusnak
ddc762575d
tests: fix flake8 errors in burntest
2019-01-29 17:26:59 +01:00
Tomas Susanka
38b3e44ac9
cardano: send ButtonRequest.Address in get_address
2019-01-29 17:24:25 +01:00
Tomas Susanka
4e9ef09798
eth: modify sign_tx to accept strings as well
2019-01-29 17:19:10 +01:00
Tomas Susanka
1946a9f93e
eth: modify sign/verify functions to accept addresses as strings
2019-01-29 17:19:10 +01:00
Tomas Susanka
3387b157a7
eth: EthereumGetAddress returns address as a string
2019-01-29 17:19:10 +01:00
Tomas Susanka
02abf11798
protobuf: rebuild
2019-01-29 17:19:10 +01:00
Tomas Susanka
b5f6ae52d8
vendor: update trezor-common
2019-01-29 17:19:10 +01:00
Tomas Susanka
f81bc61316
ethereum: update tests to new message format (addresses are strings)
2019-01-29 17:17:05 +01:00
Pavol Rusnak
77a6718f76
ethereum: address in messages is now string
2019-01-29 17:16:14 +01:00
Pavol Rusnak
a19f35747d
tests: add first burntest
2019-01-29 16:52:58 +01:00
Tomas Susanka
015664cc9d
Merge pull request #342 from vacuumlabs/cardano-generalize-network
...
Change network to protocol magic in cardano
2019-01-29 16:47:34 +01:00
Tomas Susanka
20c97e85ad
Merge pull request #417 from vacuumlabs/cardano-improvements
...
Cardano improvements
2019-01-29 16:47:25 +01:00
Jan Pochyla
2c2930c663
utils: fix unimporting partially-imported modules
...
Previously, delattr from the parent package might throw KeyError.
2019-01-29 13:57:24 +01:00
Pavol Rusnak
75e65bbb2d
nix: use python3, not python36
2019-01-29 02:14:34 +01:00
Pavol Rusnak
4fe8c003d1
nix: use python3, not python36
2019-01-29 02:11:48 +01:00
Pavol Rusnak
5d32308dfb
nix: use python3, not python36
2019-01-29 02:10:53 +01:00
Pavol Rusnak
ee25c4a6f4
nix: use python3, not python36
2019-01-29 02:09:20 +01:00
matejcik
e1d1526453
protob: EOS support ( #231 )
2019-01-28 18:49:56 +01:00
Pavol Rusnak
495b35e212
protob: don't use required for eth fields
2019-01-28 18:38:10 +01:00
matejcik
5355ce4879
device_tests: upgrade get_marker to get_closest_marker
...
This bumps pytest requirement to 3.6. But we have that everywhere already.
For bonus points, get_closest_marker still exists in 4.1.
2019-01-28 17:11:37 +01:00
andrew
fc29df6f87
Rename flash_erase_sector() to flash_erase() to resolve name collision with libopencm3 in trezor-mcu.
2019-01-28 16:24:48 +01:00
strmci
4afec2f3f3
trezorctl: use ChoiceType for set_passphrase_source ( #356 )
...
resolves #355
2019-01-28 16:17:02 +01:00
andrew
65fdd53427
Rename flash_unlock() to flash_unlock_write() to resolve name collision with libopencm3 in trezor-mcu.
2019-01-28 16:02:09 +01:00
Pavol Rusnak
299e14ad79
make: add new debugging targets
2019-01-27 16:40:11 +01:00
Pavol Rusnak
98ec2f096c
bootloader: small changes to ui, replace vendor string
2019-01-27 15:06:05 +01:00
refi93
66111121bb
add tests for cardano address validation
2019-01-25 16:59:44 +01:00
refi93
516dc4608d
add cardano output address validation
2019-01-25 16:29:08 +01:00
andrew
7be7709c70
Fix strict-prototypes warnings by explicitly specifying void when a function accepts no arguments.
2019-01-25 16:23:20 +01:00
matejcik
37dfcf90bf
device_tests: clarify input_flow for cardano signing
2019-01-25 16:22:18 +01:00
Tomas Susanka
101242f902
protobuf/eth: also 'to' is string
2019-01-25 16:06:26 +01:00
Tomas Susanka
534d15f208
protobuf/eth: MessageSignature and VerifyMessage have also address as a string
2019-01-25 15:46:26 +01:00