1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-30 03:18:20 +00:00
Commit Graph

536 Commits

Author SHA1 Message Date
Pavol Rusnak
11154c1ab5
tests: mute both emulator and test in run_tests_python_trezor which were bloating the log extensively 2017-05-08 18:11:03 +02:00
Pavol Rusnak
9e42a45b10
crypto: update trezor-crypto, fix crypto.bip32 test 2017-05-08 17:48:22 +02:00
Pavol Rusnak
87f20bac29
tests: update tests, try running functional tests in travis 2017-04-25 16:29:02 +02:00
Pavol Rusnak
a1d04f8b7b
tests: disable trezor.msg test for now 2017-04-21 18:23:39 +02:00
Pavol Rusnak
a7e17f07ee
tests: finish sign_identity workflow, update run_tests_python_trezor.sh to reflect current state 2017-04-16 22:21:21 +02:00
Pavol Rusnak
0a7997f798
modtrezorcrypto: add cosi cosigning scheme to ed25519 class 2017-04-03 22:28:54 +02:00
Pavol Rusnak
eef147d810
modtrezorcrypto: add crypto.rfc6979 class 2017-04-03 21:29:52 +02:00
Pavol Rusnak
9c3c19959b
modtrezorcrypto: add Blake2b 2017-02-28 18:47:27 +01:00
Jan Pochyla
53c327727f tests: enable test_msg_reset_device.py 2017-01-24 14:14:03 +01:00
Jan Pochyla
96ead03e03 apps: fix for change_pin and debug 2016-12-17 13:20:57 +01:00
Pavol Rusnak
0beb7b19e7
tests: add second vector to trezor.crypto.bip32 tests 2016-12-12 14:59:30 +01:00
Pavol Rusnak
403889f8dd
tests: add test for trezor.crypto.bip32.derive_path 2016-12-12 13:38:28 +01:00
Jan Pochyla
b297083e5d tests: fix python-trezor tests 2016-12-08 16:31:25 +01:00
Jan Pochyla
e0dfc2ef03 apps: reflect the wire api changes 2016-12-08 16:19:09 +01:00
Jan Pochyla
d56dc88861 wire: refactoring
- prefer importing modules instead of module members
- session_id is always first argument
- prefer much shorter names, don't expect users to import module members
- shuffle around session-specific code
- reduce allocations
2016-12-08 16:19:09 +01:00
Jan Pochyla
1b27bb480d trezor.wire: rename modules 2016-12-08 16:19:09 +01:00
Pavol Rusnak
918150a3f1
tests: make testpy tries running selected tests from python-trezor
apps.ethereum: fix get address call
2016-11-24 17:16:40 +01:00
Jan Pochyla
1cd0609ac2 apps.common.signtx: fix test 2016-11-23 15:06:39 +01:00
Jan Pochyla
33f833f40a config: fix test 2016-11-23 15:06:39 +01:00
Jan Pochyla
be7ee61ddd config: always use bytes() for default value 2016-11-23 15:06:39 +01:00
Pavol Rusnak
c6ea71901d
trezor.config: use norcow 2016-11-21 19:56:23 +01:00
Pavol Rusnak
ddd46f6f53
trezor.crypto: add RLP 2016-11-18 18:13:24 +01:00
Pavol Rusnak
b09f0eaf4e
tests: add test for apps.common.coins 2016-11-15 11:57:18 +01:00
Pavol Rusnak
f7fe5344b8
tests: fix test_apps.common.signtx 2016-11-15 11:22:07 +01:00
Jan Pochyla
31e3aaa23b signtx: add UI instructions, SigningError type 2016-11-10 15:37:55 +01:00
Jan Pochyla
25ab4dd2ea signtx: clean up test 2016-11-09 12:36:44 +01:00
Pavol Rusnak
b0fa0466dc
trezor.crypto.curve: implement verify_recover function for ecdsa 2016-11-08 23:52:04 +01:00
Pavol Rusnak
c8eb2bf17b
trezor.crypto: prepend recid to ecdsa signatures 2016-11-08 23:10:31 +01:00
Pavol Rusnak
a31dba225e
test: add test for trezor.config.wipe 2016-11-08 21:34:52 +01:00
Pavol Rusnak
32e699efdb
trezor.crypto.der: convert -> encode
small cleanup to new unit test
2016-11-08 20:25:55 +01:00
Pavol Rusnak
b3bc71c481
tests: extract micropython binary to variable in run_tests.sh 2016-11-08 19:05:20 +01:00
Jan Pochyla
d2c71b3a58 signtx: add first test, make it all work 2016-11-08 18:50:13 +01:00
Pavol Rusnak
9fb6e328a0
trezor.crypto: add der module 2016-11-08 16:59:08 +01:00
Pavol Rusnak
8d1109986c
trezor.crypto: curve.nist256p1 and curve.secp256k1 now sign/verify 256-bit digests, not arbitrary length messages 2016-11-08 15:38:45 +01:00
Pavol Rusnak
161bb90e03
tests: add tests for trezor.msg and trezor.ui.display 2016-11-06 17:39:30 +01:00
Pavol Rusnak
33b5436dcc
tests: move to /tests to avoid freezing 2016-11-06 17:04:25 +01:00