Commit Graph

91 Commits

Author SHA1 Message Date
Pavol Rusnak ea404b53ee
tests: simplify hashlib tests, fix trezor.config test 2017-12-16 01:24:40 +01:00
Pavol Rusnak 5e476b856e
unix: implement sdcard, add unit test 2017-12-15 01:00:00 +01:00
Pavol Rusnak e8f70ed4af
pin: implement graphics pin timeout 2017-12-14 19:01:41 +01:00
Pavol Rusnak 70ac202d7a
modtrezorcrypto: add trezor.crypto.hashlib.blake256 2017-12-13 20:47:12 +01:00
Jan Pochyla 58e4a5546f wallet/signing: implement extra data hashing
TODO: zcash test
2017-12-08 17:25:28 +01:00
Pavol Rusnak 626a8885ce
trezor.config: add compaction test 2017-12-08 16:46:13 +01:00
Pavol Rusnak f88080b904
Merge branch 'pin_fails' 2017-12-07 15:29:47 +01:00
Jan Pochyla 0f2a82e9f1 tests: remove useless import 2017-11-24 15:13:19 +01:00
Tomas Susanka 09f18bb444 wallet: tx weight calculator is used to determine fee 2017-11-24 15:02:37 +01:00
Tomas Susanka 272d64b9e8 wallet: tx weight exact calculator 2017-11-24 15:02:37 +01:00
Jan Pochyla 7a0bfd289b wallet/get_address: support segwit 2017-11-23 17:35:31 +01:00
Tomas Susanka 0e2bcd64e8 tests: o.address fix 2017-11-23 16:34:15 +01:00
Tomas Susanka d8a884bd87 tests: unit tests signature fixtures for segwit
this fixes broken unit tests introduced by a3d1bdbb862eb2db978115e9e533da81d46a350d
2017-11-23 16:30:11 +01:00
Jan Pochyla 26265ca511 tests: enable signtx segwit tests 2017-11-23 16:30:11 +01:00
Tomas Susanka aa29667059 common: coins updated 2017-11-23 16:30:11 +01:00
Tomas Susanka 2ebf1cd9f4 trezor/crypto: bech32
taken from https://github.com/sipa/bech32/tree/master/ref/python
2017-11-23 16:30:11 +01:00
Tomas Susanka dc6701af90 wallet/signing: native P2WPKH, P2WPKH in P2SH, scripts 2017-11-23 16:30:11 +01:00
Tomas Susanka b7b46b6980 wallet/signing: amount is checked during witness signature
with test
2017-11-23 16:30:11 +01:00
Tomas Susanka da4bc2dc8b wallet/signing: P2WPKH in P2SH address generation based on BIP-49, PAYTOP2SHWITNESS output type 2017-11-23 16:30:11 +01:00
Tomas Susanka b7f01baf99 wallet/signing: refactoring 2017-11-23 16:30:11 +01:00
Tomas Susanka e63d0adc23 wallet/signing: segwit first test passing 2017-11-23 16:30:11 +01:00
Tomas Susanka bcef961059 wallet/signing: bip143 transactions hashing 2017-11-23 16:30:09 +01:00
Jan Pochyla 40a9ac2e29 tests: fix trezor.config test 2017-11-10 15:18:43 +01:00
Jan Pochyla 88b1222ad0 tests: ignore new segwit tests 2017-11-06 18:36:05 +01:00
Jan Pochyla 8342aa2e7d tests: enable test_msg_resetdevice.py 2017-10-31 17:07:13 +01:00
Jan Pochyla 936487a523 tests: run v1 protocol tests 2017-10-31 13:55:51 +01:00
Jan Pochyla f4ebe368b9 tests: enable load_device test 2017-10-31 13:55:36 +01:00
Jan Pochyla ce3dc61e63 tests: ignore test_cosi.py 2017-10-30 23:48:09 +01:00
Jan Pochyla f093ca23d5 tests: ignore specific tests, testpy -> test_emu 2017-10-30 18:52:10 +01:00
Pavol Rusnak 02fb442fd1
examples: add desc to 2048 source 2017-10-06 01:38:02 +02:00
Pavol Rusnak ed0d18132d
examples: add 2048 game example 2017-10-06 01:33:28 +02:00
Pavol Rusnak 1d9b907342
tests: clear display on production test start 2017-10-05 08:27:41 +02:00
Pavol Rusnak 737dc0159f
tests: implement otp read/write in production test 2017-09-27 13:32:55 +02:00
Jan Pochyla 53d191bdf1 tests/production_tests: use native modules directly 2017-09-20 14:47:07 +02:00
Jan Pochyla 0aa8cbfe51 tests/production_tests: in touch test, wait for TOUCH_START first 2017-09-20 14:05:03 +02:00
Jan Pochyla 49cc4651c2 bunch of api cleanups 2017-09-19 23:47:35 +02:00
Pavol Rusnak 81deb66f29
tests: add production test 2017-09-08 02:16:16 +02:00
Jan Pochyla aae151a0ab tests: skip multisig marker 2017-08-15 18:14:14 +02:00
Jan Pochyla 6814931457 tests: fix permissions 2017-08-15 18:14:14 +02:00
Jan Pochyla 520de105a6 tests: fix wire tests, remove msg 2017-08-15 18:14:14 +02:00
Jan Pochyla 3562ffdc54 wire: pass Context to apps 2017-08-15 18:14:14 +02:00
Jan Pochyla 552444c856 remove src/lib 2017-08-15 18:14:14 +02:00
Jan Pochyla 1f90e781d5 wire: simplify, use async codecs 2017-08-15 18:14:14 +02:00
Jan Pochyla 56ba61cedf fix remaining micropython paths 2017-08-07 16:56:41 +02:00
Jan Pochyla 403e45aacf tests: fix path to unix micropython 2017-08-07 12:41:00 +02:00
Pavol Rusnak 3a35a5a5be
tests: rework device tests to checkout just device_tests subdirectory from python-trezor repo 2017-07-28 19:45:58 +02:00
Pavol Rusnak fe5b5c1940
tests: update to pytest, regenerate protobuf 2017-07-28 18:58:31 +02:00
Pavol Rusnak ce6dca8ed5
trezor.io: rework for new structure 2017-06-20 14:14:47 +02:00
Pavol Rusnak acb68dc429
trezor.config: rework for new structure 2017-06-20 13:30:02 +02:00
Pavol Rusnak fe672fbd09
travis: install trezor from pypi 2017-06-19 00:28:48 +02:00