Pavol Rusnak
9f3cb279b3
docs: add memory layout
2016-10-10 12:30:41 +02:00
Pavol Rusnak
c0181b1aec
extract address related stuff into trezor-crypto
2016-10-10 11:26:52 +02:00
Pavol Rusnak
b05776be77
add address related funnctions
2016-10-10 11:22:15 +02:00
Pavol Rusnak
c6094dc9ad
verify_message now requires coin_name
2016-10-10 11:02:04 +02:00
Pavol Rusnak
e70900d49e
don't tie message verification with P2PKH addresses
2016-10-10 10:17:51 +02:00
Pavol Rusnak
3a42032c63
simplify cryptoMessageVerify call
2016-10-10 00:18:57 +02:00
Daira Hopwood
6bfe487f19
Update address prefixes for Zcash.
2016-10-10 00:05:51 +02:00
Daira Hopwood
69d99d202d
Add support for multi-byte address prefixes.
2016-10-10 00:05:45 +02:00
Pavol Rusnak
ad73c0d4e7
fix ecdsa_address_decode
2016-10-09 23:42:21 +02:00
Pavol Rusnak
4fb15a13d8
add hdnode_get_address
2016-10-08 18:18:32 +02:00
Pavol Rusnak
8764e26368
ecdsa_address_decode now needs version
2016-10-08 18:13:23 +02:00
Pavol Rusnak
430a5087c8
introduce MAX_ADDR_RAW_SIZE and MAX_WIF_RAW_SIZE macros
2016-10-08 18:01:44 +02:00
Pavol Rusnak
d10ec230c0
add support for multibyte address versions
2016-10-08 17:56:12 +02:00
slush0
51de3a3d9c
Setting initial brightness to ui.BACKLIGHT_NORMAL
2016-10-08 13:02:02 +02:00
slush0
ac726746b9
Changed dimming constants (tested on hw)
2016-10-08 12:06:56 +02:00
slush0
cf38b58a73
Reworked homescreen (no blinking, only diming)
...
Added ui.alert()
2016-10-08 11:47:28 +02:00
Pavol Rusnak
313b5f92e8
add more info to readme
2016-10-07 14:41:21 +02:00
Pavol Rusnak
3e8b025cbd
use mp_obj_new_str_of_type where it makes sense instead of mp_obj_new_str_from_vstr
2016-10-07 13:57:21 +02:00
Pavol Rusnak
2bba78bf87
fix pbkdf2.key() method
2016-10-07 13:41:25 +02:00
Pavol Rusnak
446ea33dc1
minor changes in modtrezorcrypto docu
2016-10-07 13:27:43 +02:00
Pavol Rusnak
4023b83feb
use mp_raise_ValueError and mp_raise_TypeError functions
2016-10-07 12:09:05 +02:00
Pavol Rusnak
9613b0048f
fix travis.yml
2016-10-06 19:15:27 +02:00
chren
29f4913d30
removed res from assets 2
2016-10-06 19:11:47 +02:00
chren
9c15917dd9
removed duplicated res of logo
2016-10-06 18:53:12 +02:00
chren
78efd4f2e0
minor color changes in pin dialog
2016-10-06 17:59:46 +02:00
Pavol Rusnak
90836621f5
tools: skip hidden files in res_collect
2016-10-06 17:54:57 +02:00
Pavol Rusnak
81a8f0b9bc
hasattr hack for refresh is not needed
2016-10-06 17:41:53 +02:00
Pavol Rusnak
1234ab94d4
update trezor-crypto
2016-10-06 17:01:17 +02:00
Jochen Hoenicke
a0ade6343e
Reworked rfc6979 signing. ( #116 )
...
New parameter is_canonical that allows for generating signatures that
have additional requirements.
2016-10-06 16:58:05 +02:00
Pavol Rusnak
a654b4c17d
stmhal: fix display_raw
2016-10-06 16:56:38 +02:00
Jochen Hoenicke
157caf3763
ecdsa: fix out-of-bounds read in point_multiply ( #71 )
...
Fixes #70 .
2016-10-06 16:54:25 +02:00
Jochen Hoenicke
133c068f37
Reworked rfc6979 signing. ( #72 )
...
This adds an is_canonic parameter to all sign functions. This is a
callback that determines if a signature corresponds to some coin
specific rules. It is used, e. g., by ethereum (where the recovery
byte must be 0 or 1, and not 2 or 3) and or steem signatures (which
require both r and s to be between 2^248 and 2^255).
This also separates the initialization and the step function of the
random number generator, making it easy to restart the signature
process with the next random number.
2016-10-06 16:54:07 +02:00
chren
cb2399197f
fixed wipe device header
2016-10-06 16:35:36 +02:00
chren
5a20a48745
added ui header and icons
2016-10-06 16:17:11 +02:00
Pavol Rusnak
3e9b6c09b0
stmhal: simplify init of display
2016-10-06 15:57:05 +02:00
Jan Pochyla
abd20741f6
add seed module, GetPublicKey now works
2016-10-06 15:05:14 +02:00
Jan Pochyla
d0bb7edbfa
storage: change api to protobuf
2016-10-06 15:05:14 +02:00
Jan Pochyla
6b94511472
LoadDevice: validate mnemonic, import xprv
2016-10-06 15:05:14 +02:00
Jan Pochyla
e62ded3a2f
update micropython submodule
2016-10-06 15:05:14 +02:00
Jan Pochyla
128a4b20b5
crypto: add bip32
2016-10-06 15:05:14 +02:00
Jan Pochyla
71793cc6d1
update trezor-crypto submodule
2016-10-06 15:05:14 +02:00
Jan Pochyla
492e71f147
workflow: less verbose naming
2016-10-06 15:05:14 +02:00
Jan Pochyla
6d5514ac4a
make logging less verbose
2016-10-06 15:05:14 +02:00
Jan Pochyla
c019741c33
wire: fix write_message, pbuf dumps is sync now
2016-10-06 15:05:14 +02:00
Jan Pochyla
4b0da8677a
wire: fix read_message for v1 protocol
2016-10-06 15:05:14 +02:00
Jan Pochyla
c3ee7dd709
loop: refresh display after every step
2016-10-06 15:05:14 +02:00
Jan Pochyla
cc22d59eca
ui: clear the screen before common layouts
2016-10-06 15:05:14 +02:00
Jan Pochyla
b2299c118a
protobuf: fix repeated fields
2016-10-06 15:05:14 +02:00
Jan Pochyla
be069a771b
protobuf: use async/await, make loads/dumps sync
2016-10-06 15:05:14 +02:00
Jan Pochyla
ec412c6da3
protobuf: fix uvarint dumping
...
In python3, chr() is not a proper way to pack an int to bytes.
2016-10-06 15:05:14 +02:00