Pavol Rusnak
68d490917f
trezorctl: accept also m/a/b/c as get_address path
2016-10-29 14:59:57 +02:00
Pavol Rusnak
ae37ea8a9a
bump version, add changelog
2016-10-26 18:06:13 +02:00
Jan Pochyla
b3c03496e4
streams: minor API change
...
with_limit suggests that the method returns a new StreamReader, instead of mutating self.
2016-10-26 17:36:11 +02:00
Jan Pochyla
83043f7aef
wire: update to latest changes in protobuf
2016-10-26 17:36:11 +02:00
Jan Pochyla
a16e02a3d8
messages: regenerate
2016-10-26 17:36:11 +02:00
Jan Pochyla
20b612f8c1
pb2py: use new protobuf message format
2016-10-26 17:34:07 +02:00
Jan Pochyla
36784bf0f5
protobuf: refactoring, remove default values and required fields
...
Logic of default values and required fields is better handled on the
application layer, not in the protobuf codec. Also, protobuf v3
removed support for both.
Since now, messages are defined by subclassing protobuf.MessageType:
class Example(protobuf.MessageType):
FIELDS = {
1: ('field', protobuf.UVarintType, protobuf.FLAG_REPEATED),
}
2016-10-26 17:34:07 +02:00
Pavol Rusnak
43a224b091
new unit test for zcash testnet
2016-10-26 14:53:00 +02:00
Karel Bílek
c638245e4d
Confused zcash and test-zcash
2016-10-25 18:24:05 +02:00
Karel Bílek
f0100b6e96
Zcash testnet genesis block change
2016-10-25 18:03:02 +02:00
Pavol Rusnak
592f3c9afe
lock screen after 10 minutes of inactivity
2016-10-25 17:45:30 +02:00
Pavol Rusnak
eff303cecc
fix test_protection_levels
2016-10-25 17:06:11 +02:00
Pavol Rusnak
f8ad9fc742
fix Verify (by introducing coinExtractAddressType)
2016-10-25 17:02:02 +02:00
Saleem Rashid
0b51d060d8
allow ClearSession purely via confirm button
...
Holding confirm button at home screen asks user whether they wish to
lock the TREZOR (clear the cached PIN and passphrase and show the
screensaver). This is identical behaviour to the ClearSession message.
2016-10-25 15:21:56 +02:00
Pavol Rusnak
df5e770dec
trezor.crypto: refactor base58; allow custom digest function
2016-10-25 14:22:35 +02:00
Pavol Rusnak
1259c36f80
change shebang for test_curves.py
2016-10-24 21:43:33 +02:00
Roman Zeyde
5ecb8574cc
tests: fix curve25519 unittests ( #78 )
2016-10-24 21:35:30 +02:00
Pavol Rusnak
9d5fe82b45
vendor: update trezor-crypto
2016-10-24 21:00:21 +02:00
Pavol Rusnak
ea35b4bfe7
update trezor-crypto
2016-10-24 20:55:45 +02:00
Pavol Rusnak
fa8772dfee
include options.h to base58.h
2016-10-24 20:54:29 +02:00
Pavol Rusnak
0abc61f672
use curve25519-donna from floodyberry
2016-10-24 20:51:57 +02:00
Pavol Rusnak
bede439a62
remove unused macros in test-openssl.c
2016-10-24 20:39:55 +02:00
Pavol Rusnak
b617568068
add curve25519 multiply to test_speed
2016-10-24 20:27:48 +02:00
Pavol Rusnak
965a6e653a
apps.common.coins: throw exceptions when coin is not found instead of returning None
2016-10-24 18:27:03 +02:00
Pavol Rusnak
a8c7e5ef20
gui: fix build
2016-10-24 17:24:31 +02:00
Pavol Rusnak
2ede564cbd
trezor.crypto: regenerate documentation mocks
2016-10-24 15:45:05 +02:00
Pavol Rusnak
6e658ff2f1
trezor.messages: regenerate classes
2016-10-24 15:45:05 +02:00
Jan Pochyla
507d9bdf68
wire: add tests for v1 codec
2016-10-24 15:40:34 +02:00
Pavol Rusnak
7404a76aeb
modtrezorcrypto: add test_sign_verify_random to curve unit tests
2016-10-24 13:46:59 +02:00
Pavol Rusnak
9c921c073f
modtrezorcrypto: add generate_secret methods to curves
2016-10-24 13:23:10 +02:00
Pavol Rusnak
ce9022ad5d
fix tests.c when USE_GRAPHENE=0
2016-10-24 12:44:25 +02:00
Roman Zeyde
0bb7f16b78
crypto: allow Ed25519 signing larger digests ( #124 )
2016-10-24 12:41:10 +02:00
Roman Zeyde
420c71992a
tests: add BIP32 ECDH ( #76 )
...
* tests: add BIP32 ECDH
* tests: BIP32 ECDH errors
2016-10-24 12:40:00 +02:00
Pavol Rusnak
3c5c685b8c
add curve25519.publickey and unittest for randomized multiply
2016-10-23 22:39:11 +02:00
Pavol Rusnak
7f5fa78f35
modtrezorcrypto: add ECDH for nist256p1, secp256k1, curve25519 (multiply method)
2016-10-22 00:51:52 +02:00
Pavol Rusnak
6d08eb99b8
add ECDH to readme
2016-10-22 00:29:14 +02:00
Roman Zeyde
228f9425d1
Fix small typo in return value checking ( #75 )
2016-10-22 00:26:29 +02:00
Pavol Rusnak
cf21bb2fbf
refactor ECDH multiplication into ecdh_multiply function
2016-10-21 18:19:01 +02:00
Pavol Rusnak
86d05ac9ee
bump version
2016-10-21 15:25:32 +02:00
Pavol Rusnak
22faa4cafa
add msg_signtx_zcash unittest
2016-10-21 15:25:24 +02:00
Jan Pochyla
4216e6f544
tests: remove old wire_codec test example
2016-10-21 15:07:31 +02:00
Jan Pochyla
d0b29d4caa
wire: add tests, fix missing 0-padding
2016-10-21 15:02:20 +02:00
Pavol Rusnak
e9f0706c2e
fix prevtx hashing when input count is 0
2016-10-21 13:20:57 +02:00
Pavol Rusnak
e62e8dbe6f
tools: move coins-gen tool to /tools
2016-10-20 17:07:56 +02:00
Pavol Rusnak
1420ad591b
apps: add apps.common.coins (+generator)
2016-10-20 16:40:57 +02:00
Pavol Rusnak
2daab8cf02
add coins-gen.py script and generate coins.c using that script
2016-10-20 15:27:34 +02:00
Pavol Rusnak
815f0057dd
bootloader: fix build
2016-10-20 15:25:26 +02:00
Jan Pochyla
688d293b01
wire: use memoryview() asap in the parsing process
2016-10-20 15:14:40 +02:00
Jan Pochyla
67ac47f087
apps.homescreen: respond with ~correct data, handle GetFeatures
2016-10-20 15:14:40 +02:00
Jan Pochyla
ad2955aaab
ui: code style, make header icon optional
2016-10-20 15:14:40 +02:00