matejcik
db92b13f97
cosi: move things around
...
ed25519raw is moved back to trezorlib
ed25519cosi is renamed to cosi, and has a couple more functions,
with the expectation that TrezorClient.cosi_* methods will move there.
Also most code shouldn't need ed25519raw for anything, so it might get
renamed to "_ed25519" to indicate that it's a private implementation.
For now, I added a "verify" method to cosi, so that you don't need to
call into ed25519raw.checkvalid. But trezor-core's keyctl is also
using ed25519raw.publickey. I'm not sure if that's worth replicating
in cosi, or whether to just leave it be, so I'm leaving it be for now.
Importantly, new function "sign_with_privkey" does that math thing that
was part of the selftest and is also explicitly listed in keyctl.
(it's called sign_with_privkey because I expect to have a "sign" method
here that calls into Trezor)
2018-05-17 12:53:01 +02:00
matejcik
123aec5d7d
tests/device_tests: remove all star imports
2018-05-11 15:29:38 +02:00
matejcik
266e34eec4
tests/device_tests: disable protobuf outputs unless run with -v
2018-05-11 15:29:38 +02:00
matejcik
579adb1871
tests: update to use parse_path
2018-05-11 15:29:38 +02:00
matejcik
4f66b37f25
tests: update imports after tests.support move
2018-05-11 15:29:37 +02:00
Tomas Susanka
18adf6cc4d
tests/stellar: marked as passing on T1
2018-05-09 16:34:51 +02:00
matejcik
5329bc9463
Merge pull request #167 from zulucrypto/stellar
...
[Stellar] [WIP] Add Stellar support to trezorctl
2018-05-07 14:23:56 +02:00
Tomas Susanka
6f032456fc
tests/device/nem: mosaic with levy test
2018-05-03 14:03:38 +02:00
ZuluCrypto
7128347975
stellar tests - added missing pytest import
2018-04-28 13:06:13 -06:00
ZuluCrypto
5fccc4381b
fix style to match flake8
2018-04-28 12:59:08 -06:00
ZuluCrypto
200b5a71df
Merge remote-tracking branch 'upstream/master' into stellar
2018-04-28 12:54:32 -06:00
Tomas Susanka
7cfbe689e8
tests/device/nem: different amounts; note about what is displayed
2018-04-27 17:39:04 +01:00
Tomas Susanka
50e755be46
tests/device/nem: known/unknown mosaics test
2018-04-27 17:37:29 +01:00
Aleksey Popov
8f31422adf
lisk: Fix wrong signature in tx tests
2018-04-23 16:47:15 +02:00
ZuluCrypto
49025aad2b
stellar tests - fix imports and indicate that tests are currently expected to fail
2018-04-20 10:35:01 -06:00
matejcik
1008c45100
tests: xfail Lisk tests until trezor-core#90 is merged
2018-04-18 15:46:10 +02:00
Aleksey Popov
45cca15e5f
lisk: Add lisk_sign_tx
2018-04-18 12:09:09 +02:00
Aleksey Popov
5e1168c48d
lisk: Add lisk_get_publickey
2018-04-18 12:09:09 +02:00
Aleksey Popov
514e808b56
lisk: Add lisk_verify_message
2018-04-18 12:09:09 +02:00
Aleksey Popov
d3685639f9
lisk: Add lisk_sign_message
2018-04-18 12:09:09 +02:00
Aleksey Popov
3e742177d2
lisk: Add lisk_get_address method
2018-04-18 12:09:09 +02:00
Tomas Susanka
fd16bbfc8e
tests: nem mosaics fix
2018-04-16 12:39:17 +02:00
Tomas Susanka
767330aea0
tests: multisig fixes
2018-04-16 12:24:55 +02:00
Roman Zeyde
892eb41837
tests: add device test for auto-lock delay
2018-04-11 11:17:17 +02:00
matejcik
ab62f5db6f
flake8: delete trailing lines
2018-04-10 16:01:22 +02:00
matejcik
bd43363b1c
coins: refactor, use data from coins.json instead of hardcoded lists
2018-04-10 15:58:34 +02:00
Tomas Susanka
edbcd2012d
tests/device/nem: multisig tests
2018-04-10 14:50:01 +02:00
Tomas Susanka
891865f948
tests/device/nem: tests fixes due to layout changes
2018-04-09 13:40:23 +02:00
Pavol Rusnak
24dc617f36
disable bcash tests for T2
2018-04-05 17:03:36 +02:00
Jochen Hoenicke
e43a62cb03
Updated unit tests for cashaddr. ( #195 )
2018-04-05 11:20:08 +02:00
Tomas Susanka
0631a0a5b1
tests/device/nem: transfer multiple mosaics
2018-04-04 15:18:21 +02:00
Tomas Susanka
51d9a809bc
tests: pytest xfail is used instead of skipping
2018-04-04 13:18:22 +02:00
ZuluCrypto
7eef1df6b0
stellar - added some unit tests
2018-04-03 19:50:38 -06:00
matejcik
020b298020
tests/device: autodetect Trezor version and skip the appropriate tests automatically
2018-04-03 18:56:18 +02:00
Tomas Susanka
7c08800cb9
tests/device/nem: test files seperated; swiping for t2
2018-04-03 14:16:49 +02:00
Tomas Susanka
6935c0ee7d
tests/device/nem: importance transfer test
2018-03-29 12:43:54 +02:00
Tomas Susanka
5ce254c535
tests/device/nem: aggregate modification test
2018-03-29 11:46:29 +02:00
Tomas Susanka
326056b968
tests/device/nem: mosaic supply change test; const fixes
2018-03-29 10:52:18 +02:00
Tomas Susanka
48cb8d0216
tests/device/nem: mosaic creation levy test
2018-03-29 10:41:49 +02:00
Tomas Susanka
3248b47e5b
tests/device/nem: mosaic creation properties test
2018-03-29 10:41:49 +02:00
Tomas Susanka
0e108a662f
tests/device/nem: mosaic_creation basic test
2018-03-29 10:41:49 +02:00
Tomas Susanka
ac51c73365
tests/device/nem: provision_namespace test
2018-03-29 10:41:49 +02:00
Tomas Susanka
c4dc6e2c93
tests/device/nem: constants used
2018-03-27 16:06:49 +02:00
Jan Pochyla
8d296ed4c1
tests: add T2 RecoveryDevice test
2018-03-22 15:28:04 +01:00
Tomas Susanka
e435175d79
tests/device: nem encrypted payload doesn't ask for confirmation
2018-03-21 15:16:09 +01:00
Tomas Susanka
333343224b
tests/device: typos in nem tests
2018-03-21 15:16:09 +01:00
Tomas Susanka
93dbdb14c1
tests/device: nem encrypted payload
2018-03-21 13:29:23 +01:00
Jan Pochyla
71dd003637
tests: add T2 ResetDevice test
2018-03-20 16:47:11 +01:00
Tomas Susanka
a5e3d50fb0
tests/device: nem bytes assert
2018-03-19 14:52:50 +01:00
Roman Zeyde
ab5e4eee34
tests: add test_msg_getecdhsessionkey.py ( #233 )
2018-03-11 22:51:14 +01:00