slush0
64fadde3e0
Passes first unit tests (against trezor-emu over transport_pipe).
...
WIP: Issue with console printing of protobuf messages (probably bug in protobuf for python3 itself).
WIP: Disabled Bridge transport because of json_protobuf incompatibility with python3.
WIP: Broken expectations of returned objects in unit tests
2016-05-20 13:46:51 +02:00
slush0
6ec2ff3eac
Preparation for python3 support (WIP)
2016-05-20 13:46:51 +02:00
Pavol Rusnak
79a64abd24
Merge branch 'master' of github.com:trezor/python-trezor
2016-05-20 13:31:22 +02:00
Jochen Hoenicke
96f30a0ba7
Don't ask for passphrase with u2f.
2016-05-20 01:49:20 +02:00
slush0
ab514b6bb5
Fixed UDP transport
2016-05-19 18:59:23 +02:00
Pavol Rusnak
828026dd40
Merge branch 'segwit' of github.com:jhoenicke/python-trezor
2016-05-19 11:59:19 +02:00
Pavol Rusnak
ec870f3a57
update protobuf, disable filecache
2016-05-19 11:50:33 +02:00
Jochen Hoenicke
a0571e02a7
Removed more magic numbers.
...
`KEY_PATH_LEN`: length of the derivation path in the key handle
`KEY_PATH_ENTRIES`: number of entries in derivation path including
initial BIP-43 selector.
`KEY_HANDLE_LEN`: length of key handle (derivation path + HMAC checksum)
2016-05-18 03:05:04 +02:00
Alex Beregszaszi
7d68a6ee17
Add ecdsa_uncompress_pubkey()
...
Code based on @Arachnid's PR, but has more strict checks
2016-05-17 19:38:14 +01:00
Alex Beregszaszi
d68906ec4e
Use proper option for USE_KECCAK via options.h
2016-05-17 18:45:08 +01:00
Pavol Rusnak
d20671b517
handle various signed_message_headers correctly
2016-05-17 18:13:08 +02:00
Pavol Rusnak
36a574056d
add coin to VerifyMessage
2016-05-17 18:06:00 +02:00
Pavol Rusnak
85e1c80cfc
fix last commit
2016-05-17 18:00:03 +02:00
Pavol Rusnak
70482c82ac
add CoinType.signed_message_header
2016-05-17 17:35:03 +02:00
Pavol Rusnak
041eaa5e4b
refactor u2f dialogs into a separate function
2016-05-16 18:58:13 +02:00
Pavol Rusnak
ad2bab0186
Merge branch 'u2f' of github.com:jhoenicke/trezor-mcu into u2f
2016-05-16 18:22:03 +02:00
Pavol Rusnak
c123db71b9
Merge branch 'master' into u2f
2016-05-16 18:19:31 +02:00
Pavol Rusnak
9006c90a59
use MEMSET_BZERO and U2F_APPID_SIZE macros
2016-05-16 18:18:21 +02:00
Pavol Rusnak
23590c05c6
rename index to idx in sha3 to avoid collision with index function in strings.h
2016-05-16 16:59:05 +02:00
Pavol Rusnak
f60cd681f6
fix sign-compare warning
2016-05-16 16:42:34 +02:00
Pavol Rusnak
49691c2436
fix demo
2016-05-16 16:41:09 +02:00
Pavol Rusnak
fd519eae68
add node_modules to .gitignore
2016-05-16 15:29:29 +02:00
Pavol Rusnak
31e05edca7
add script parsing functions
2016-05-16 14:45:09 +02:00
Jochen Hoenicke
2ab950555e
Fixed u2f reentry
2016-05-15 10:44:57 +02:00
Jochen Hoenicke
eb2ef2464c
CID hacks, not yet finished
2016-05-15 10:44:57 +02:00
Jochen Hoenicke
450a277f45
Only compile debugInt when debugging
2016-05-15 10:44:57 +02:00
Jochen Hoenicke
117d261a38
Script to generate key and certificate
2016-05-15 10:44:57 +02:00
Jochen Hoenicke
55fe98ccd1
Fix USB HID descriptor
2016-05-15 10:44:40 +02:00
Pavol Rusnak
aae96e8285
add mnemonic generation methods with indexes option
2016-05-13 19:46:12 +02:00
Pavol Rusnak
e1fa896d6c
disable ECIES
2016-05-12 21:09:34 +02:00
Pavol Rusnak
7201545cfc
update submodule
2016-05-12 21:05:37 +02:00
Pavol Rusnak
def4a9a02c
fix pbkdf2 usage in storage.c
2016-05-12 21:05:17 +02:00
Pavol Rusnak
51c0bb09d8
make salt constant in pbkdf2
2016-05-12 20:57:55 +02:00
Pavol Rusnak
0e876bcec2
update submodules
2016-05-12 20:28:14 +02:00
Pavol Rusnak
75f2396624
fix makefile for emscripten
2016-05-12 19:57:22 +02:00
Pavol Rusnak
110965f31d
further optimize emscripten
2016-05-12 19:29:24 +02:00
Pavol Rusnak
6dd9ed0756
add hdnode_public_ckd_address_optimized
2016-05-12 17:19:42 +02:00
Jan Pochyla
3c335be049
fix typo
2016-05-12 16:18:35 +02:00
Jan Pochyla
07200a30e6
upgrade bitcoinjs-lib, rename params
2016-05-12 16:18:35 +02:00
Jan Pochyla
3c0176a304
move interface fns to post.js, add web worker & browserify test
2016-05-12 16:18:34 +02:00
Jan Pochyla
da0a2f8662
add npm install to emscripten Makefile
2016-05-12 16:18:34 +02:00
Jan Pochyla
3f4e50ba22
add package.json for emscripten test
2016-05-12 16:18:34 +02:00
Jan Pochyla
778d1b2476
emcripten skeleton for address derivation
...
See [https://kripken.github.io/emscripten-site/index.html ] for a guide.
2016-05-12 16:18:34 +02:00
Pavol Rusnak
9e5d03a1fc
fix alignment in sha functions
2016-05-12 16:16:01 +02:00
Pavol Rusnak
008da6c089
Merge pull request #82 from jhoenicke/pinarea
...
Don't reflash storage after each PIN entry
2016-05-12 15:40:09 +02:00
Pavol Rusnak
454bebc162
update readme
2016-05-11 21:15:48 +02:00
Pavol Rusnak
146ff56253
add link to gitter
2016-05-11 21:15:22 +02:00
Pavol Rusnak
87a451d9a4
update readme
2016-05-11 21:07:56 +02:00
Pavol Rusnak
e27dc48a3a
add make vendor
2016-05-11 14:38:04 +02:00
Pavol Rusnak
5430c82b2b
use the latest ubuntu lts in docker build
2016-05-08 14:26:21 +02:00