1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-15 10:58:09 +00:00
Commit Graph

102 Commits

Author SHA1 Message Date
Pavol Rusnak
0a9d42981d
tests: fix endiannes in test_apps.ethereum.layout 2018-01-13 15:40:04 +01:00
Tomas Susanka
7d0cafecc3 ethereum/singing: layout seperated 2018-01-11 23:08:35 +01:00
Pavol Rusnak
4a7592d470
trezor.crypto: remove vstr usage, refactor mp_obj_new_str_from_vstr into mp_obj_new_bytes and mp_obj_new_str 2018-01-03 21:53:58 +01:00
Pavol Rusnak
fa95f0a037
trezor.crypto: implement chacha20poly1305 aka rfc7539 2018-01-02 18:57:23 +01:00
Pavol Rusnak
d6593e710b
apps.ethereum: implement SignMessage/VerifyMessage 2017-12-23 15:12:31 +01:00
Tomas Susanka
688b568bd9 ethereum: files rename 2017-12-22 17:10:28 +01:00
Tomas Susanka
dc02b322bf ethereum/signing: basic structure, first test passing
first commit based on the trezor-mcu repo
eth tokens added using the common ethereum_tokens-gen.py script
first device test passing
2017-12-22 17:10:28 +01:00
Pavol Rusnak
fe0534658f
tests: no need to include ubinascii for unit tests 2017-12-19 21:57:42 +01:00
Pavol Rusnak
333c0a633a
trezor.crypto: adopt crc32 function 2017-12-19 21:54:22 +01:00
Pavol Rusnak
a9870b9e0e
tests: update how tests are being run 2017-12-19 19:42:56 +01:00
Pavol Rusnak
965bf84cdb
tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
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