Commit Graph

136 Commits (7f36185ab31157effc6f3fc2ce373058096a6679)

Author SHA1 Message Date
Pavol Rusnak 7f36185ab3
tests: fix segwit tests using preimage_hash
6 years ago
Pavol Rusnak 307f7baecf
fix flake8 issues
6 years ago
Tomas Susanka bb57000449
src/trezor/crypto: add trezor.crypto.base32
6 years ago
matejcik 7b06a802bb
tests: drop nonexistent fields from TxOutputBinType
6 years ago
Pavol Rusnak 90975f6b6e
embed/extmod/modtrezorcrypto: add support to variable outlen for Blake2{b,s}
6 years ago
Pavol Rusnak 577cb361dc
src/trezor/crypto: add cashaddr support
6 years ago
matejcik 003d77b209 testing: configure pytest.ini and update testing documentation
6 years ago
Tomas Susanka 55de110ee9 eth: unknown token changed to (None, None..)
6 years ago
Tomas Susanka 2d0d360944 eth: unknown token transfer is recognized and displayed as unknown
6 years ago
Jan Pochyla 3b67cb6bea tests: fix loop.select usage
6 years ago
Jan Pochyla e223173b4e loop: wait -> spawn, select -> wait
6 years ago
Tomas Susanka c827607eec tests: ethereum format_address takes int as an input
6 years ago
matejcik bd32e1e3b3 tests: set default TREZOR_PATH to the emulator
6 years ago
matejcik 5b9b904198 Makefile: pass TESTOPTS to test runners (and use them in run_tests_device_emu.sh
6 years ago
Pavol Rusnak 611d374bbd
embed: rename TREZOR_STM32/UNIX to TREZOR_MODEL_T/EMU, introduce trezor.utils.model()
6 years ago
Pavol Rusnak c7c5f55508
src/apps/ethereum: fix layout for values around 1e9 Wei
6 years ago
Tomas Susanka 20456a263a tests/unit: wire missing ubinascii import
6 years ago
Pavol Rusnak 9c7ddba217
src+tests: use flake8 F401 to detect unused imports
6 years ago
Jan Pochyla 323714dc61 src/trezor/wire: disable v2 codec
6 years ago
Pavol Rusnak be79a8cff4
src+tests: make flake8 happy; explicitly mark E722 ignores (bare excepts)
6 years ago
Jan Pochyla b88e4e5d5a signing: rely on address_n being always list
6 years ago
Jan Pochyla fa5dbadc93 src/apps/wallet/sign_tx: cleanup and split scripts/addresses
6 years ago
Tomas Susanka fb7a315208 tests: note on missing native p2wsh test
6 years ago
Tomas Susanka b7e4fe02a9 tests: multisig field set to None
6 years ago
Tomas Susanka e4423567cb signing: multisig addresses (p2sh, p2wsh in p2sh)
6 years ago
Tomas Susanka 8fbf89b7f3 signing: p2sh and witness native addresses
6 years ago
Tomas Susanka 901b0a53a1 tests/signing: threshold test fix
6 years ago
Jan Pochyla e888b6b967 apps/wallet/sign_tx: fix sighash
6 years ago
Pavol Rusnak 800c2c64c8
tests: fix trezor.config test by changing PYOPT to 1
6 years ago
Pavol Rusnak b0242d3a3e
tests: fix test_apps.ethereum.layout
6 years ago
Pavol Rusnak 585e9842f8
src/apps+tests: use TODO consistently across whole codebase
6 years ago
Tomas Susanka a306ce60c2 tests: small note at the end of output with the tests outcome
7 years ago
Pavol Rusnak 739e4f2e45
fix release_num values
7 years ago
Pavol Rusnak 27d9abe883
trezor.config: add public values (readable without unlock)
7 years ago
Pavol Rusnak 0a9d42981d
tests: fix endiannes in test_apps.ethereum.layout
7 years ago
Tomas Susanka 7d0cafecc3 ethereum/singing: layout seperated
7 years ago
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
7 years ago
Pavol Rusnak fa95f0a037
trezor.crypto: implement chacha20poly1305 aka rfc7539
7 years ago
Pavol Rusnak d6593e710b
apps.ethereum: implement SignMessage/VerifyMessage
7 years ago
Tomas Susanka 688b568bd9 ethereum: files rename
7 years ago
Tomas Susanka dc02b322bf ethereum/signing: basic structure, first test passing
7 years ago
Pavol Rusnak fe0534658f
tests: no need to include ubinascii for unit tests
7 years ago
Pavol Rusnak 333c0a633a
trezor.crypto: adopt crc32 function
7 years ago
Pavol Rusnak a9870b9e0e
tests: update how tests are being run
7 years ago
Pavol Rusnak 965bf84cdb
tests: cleanup flake8 warnings
7 years ago
Pavol Rusnak ea404b53ee
tests: simplify hashlib tests, fix trezor.config test
7 years ago
Pavol Rusnak 5e476b856e
unix: implement sdcard, add unit test
7 years ago
Pavol Rusnak e8f70ed4af
pin: implement graphics pin timeout
7 years ago
Pavol Rusnak 70ac202d7a
modtrezorcrypto: add trezor.crypto.hashlib.blake256
7 years ago
Jan Pochyla 58e4a5546f wallet/signing: implement extra data hashing
7 years ago