Commit Graph

244 Commits (8d4d6b2278191b3ca42db0b06f593e815ce40686)

Author SHA1 Message Date
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
Pavol Rusnak 626a8885ce
trezor.config: add compaction test
7 years ago
Pavol Rusnak f88080b904
Merge branch 'pin_fails'
7 years ago
Jan Pochyla 0f2a82e9f1 tests: remove useless import
7 years ago
Tomas Susanka 09f18bb444 wallet: tx weight calculator is used to determine fee
7 years ago
Tomas Susanka 272d64b9e8 wallet: tx weight exact calculator
7 years ago
Jan Pochyla 7a0bfd289b wallet/get_address: support segwit
7 years ago
Tomas Susanka 0e2bcd64e8 tests: o.address fix
7 years ago
Tomas Susanka d8a884bd87 tests: unit tests signature fixtures for segwit
7 years ago
Jan Pochyla 26265ca511 tests: enable signtx segwit tests
7 years ago
Tomas Susanka aa29667059 common: coins updated
7 years ago
Tomas Susanka 2ebf1cd9f4 trezor/crypto: bech32
7 years ago
Tomas Susanka dc6701af90 wallet/signing: native P2WPKH, P2WPKH in P2SH, scripts
7 years ago
Tomas Susanka b7b46b6980 wallet/signing: amount is checked during witness signature
7 years ago
Tomas Susanka da4bc2dc8b wallet/signing: P2WPKH in P2SH address generation based on BIP-49, PAYTOP2SHWITNESS output type
7 years ago
Tomas Susanka b7f01baf99 wallet/signing: refactoring
7 years ago
Tomas Susanka e63d0adc23 wallet/signing: segwit first test passing
7 years ago
Tomas Susanka bcef961059 wallet/signing: bip143 transactions hashing
7 years ago
Jan Pochyla 40a9ac2e29 tests: fix trezor.config test
7 years ago
Jan Pochyla 88b1222ad0 tests: ignore new segwit tests
7 years ago
Jan Pochyla 8342aa2e7d tests: enable test_msg_resetdevice.py
7 years ago
Jan Pochyla 936487a523 tests: run v1 protocol tests
7 years ago
Jan Pochyla f4ebe368b9 tests: enable load_device test
7 years ago
Jan Pochyla ce3dc61e63 tests: ignore test_cosi.py
7 years ago
Jan Pochyla f093ca23d5 tests: ignore specific tests, testpy -> test_emu
7 years ago
Pavol Rusnak 02fb442fd1
examples: add desc to 2048 source
7 years ago
Pavol Rusnak ed0d18132d
examples: add 2048 game example
7 years ago
Pavol Rusnak 1d9b907342
tests: clear display on production test start
7 years ago
Pavol Rusnak 737dc0159f
tests: implement otp read/write in production test
7 years ago
Jan Pochyla 53d191bdf1 tests/production_tests: use native modules directly
7 years ago
Jan Pochyla 0aa8cbfe51 tests/production_tests: in touch test, wait for TOUCH_START first
7 years ago
Jan Pochyla 49cc4651c2 bunch of api cleanups
7 years ago
Pavol Rusnak 81deb66f29
tests: add production test
7 years ago
Jan Pochyla aae151a0ab tests: skip multisig marker
7 years ago
Jan Pochyla 6814931457 tests: fix permissions
7 years ago
Jan Pochyla 520de105a6 tests: fix wire tests, remove msg
7 years ago
Jan Pochyla 3562ffdc54 wire: pass Context to apps
7 years ago
Jan Pochyla 552444c856 remove src/lib
7 years ago
Jan Pochyla 1f90e781d5 wire: simplify, use async codecs
7 years ago
Jan Pochyla 56ba61cedf fix remaining micropython paths
7 years ago
Jan Pochyla 403e45aacf tests: fix path to unix micropython
7 years ago
Pavol Rusnak 3a35a5a5be
tests: rework device tests to checkout just device_tests subdirectory from python-trezor repo
7 years ago
Pavol Rusnak fe5b5c1940
tests: update to pytest, regenerate protobuf
7 years ago
Pavol Rusnak ce6dca8ed5
trezor.io: rework for new structure
7 years ago
Pavol Rusnak acb68dc429
trezor.config: rework for new structure
7 years ago
Pavol Rusnak fe672fbd09
travis: install trezor from pypi
7 years ago
Pavol Rusnak 0ee67371b8
tests: run tests in python3
7 years ago
Pavol Rusnak 3fcbf7179b
remove trezor.debug usage
7 years ago
Pavol Rusnak 5b56c805ab
tests: fix run_tests_python_trezor.sh
7 years ago
Pavol Rusnak 16c7284e98
apps.common: introduce cache module instead of caching in global variables
7 years ago
Pavol Rusnak 5e410a3b59
apps.wallet: implement GetEntropy
7 years ago
Pavol Rusnak 11154c1ab5
tests: mute both emulator and test in run_tests_python_trezor which were bloating the log extensively
7 years ago
Pavol Rusnak 9e42a45b10
crypto: update trezor-crypto, fix crypto.bip32 test
7 years ago
Pavol Rusnak 87f20bac29
tests: update tests, try running functional tests in travis
7 years ago
Pavol Rusnak a1d04f8b7b
tests: disable trezor.msg test for now
7 years ago
Pavol Rusnak a7e17f07ee
tests: finish sign_identity workflow, update run_tests_python_trezor.sh to reflect current state
7 years ago
Pavol Rusnak 0a7997f798
modtrezorcrypto: add cosi cosigning scheme to ed25519 class
7 years ago
Pavol Rusnak eef147d810
modtrezorcrypto: add crypto.rfc6979 class
7 years ago
Pavol Rusnak 9c3c19959b
modtrezorcrypto: add Blake2b
7 years ago
Jan Pochyla 53c327727f tests: enable test_msg_reset_device.py
7 years ago
Jan Pochyla 96ead03e03 apps: fix for change_pin and debug
8 years ago
Pavol Rusnak 0beb7b19e7
tests: add second vector to trezor.crypto.bip32 tests
8 years ago
Pavol Rusnak 403889f8dd
tests: add test for trezor.crypto.bip32.derive_path
8 years ago
Jan Pochyla b297083e5d tests: fix python-trezor tests
8 years ago
Jan Pochyla e0dfc2ef03 apps: reflect the wire api changes
8 years ago
Jan Pochyla d56dc88861 wire: refactoring
8 years ago
Jan Pochyla 1b27bb480d trezor.wire: rename modules
8 years ago
Pavol Rusnak 918150a3f1
tests: make testpy tries running selected tests from python-trezor
8 years ago
Jan Pochyla 1cd0609ac2 apps.common.signtx: fix test
8 years ago
Jan Pochyla 33f833f40a config: fix test
8 years ago
Jan Pochyla be7ee61ddd config: always use bytes() for default value
8 years ago
Pavol Rusnak c6ea71901d
trezor.config: use norcow
8 years ago
Pavol Rusnak ddd46f6f53
trezor.crypto: add RLP
8 years ago
Pavol Rusnak b09f0eaf4e
tests: add test for apps.common.coins
8 years ago
Pavol Rusnak f7fe5344b8
tests: fix test_apps.common.signtx
8 years ago
Jan Pochyla 31e3aaa23b signtx: add UI instructions, SigningError type
8 years ago
Jan Pochyla 25ab4dd2ea signtx: clean up test
8 years ago
Pavol Rusnak b0fa0466dc
trezor.crypto.curve: implement verify_recover function for ecdsa
8 years ago
Pavol Rusnak c8eb2bf17b
trezor.crypto: prepend recid to ecdsa signatures
8 years ago
Pavol Rusnak a31dba225e
test: add test for trezor.config.wipe
8 years ago
Pavol Rusnak 32e699efdb
trezor.crypto.der: convert -> encode
8 years ago
Pavol Rusnak b3bc71c481
tests: extract micropython binary to variable in run_tests.sh
8 years ago
Jan Pochyla d2c71b3a58 signtx: add first test, make it all work
8 years ago
Pavol Rusnak 9fb6e328a0
trezor.crypto: add der module
8 years ago
Pavol Rusnak 8d1109986c
trezor.crypto: curve.nist256p1 and curve.secp256k1 now sign/verify 256-bit digests, not arbitrary length messages
8 years ago
Pavol Rusnak 161bb90e03
tests: add tests for trezor.msg and trezor.ui.display
8 years ago
Pavol Rusnak 33b5436dcc
tests: move to /tests to avoid freezing
8 years ago