1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-23 21:02:23 +00:00
Commit Graph

7326 Commits

Author SHA1 Message Date
Pavol Rusnak
ac5e3f200a
src: rename wire_types to MessageType, drop copy in tools/build_protobuf 2018-07-02 20:40:51 +02:00
matejcik
28e2970cfb vendor: update trezor-common, regenerate messages 2018-07-02 20:19:16 +02:00
matejcik
2091ae97bf tools: use pb2py from trezor-common 2018-07-02 20:19:16 +02:00
matejcik
c4420e41d3 protob: add a smart pb2py builder
Now we don't need build_protobuf anymore and this is usable
by both core and python-trezor
(as well as generating custom protobufs from other sources)

We still need protoc, unfortunately, but pb2py now calls it
by itself. (little more robustly; instead of generated
python classes, it uses the FileDescriptorSet output which
is parsable by a built-in protobuf class)

To support the script, messages.proto and types.proto must
set a common package. Also there is currently no support for
compiling more than one proto file, we depend on the fact
that messages.proto import types.proto.
(if this is needed, it should be relatively simple to add,
simply pass more than one file to the embedded protoc call)
2018-07-02 18:37:56 +02:00
Pavol Rusnak
657de0274d
embed/unix: save only cropped part of the screenshot 2018-07-02 17:10:18 +02:00
Pavol Rusnak
35dcd917dd
embed/unix: save screenshot on "P" press in emulator 2018-07-02 16:31:24 +02:00
Jan Pochyla
6e13a1475b ui: introduce LazyWidget
Used in Button and Text.
2018-07-02 15:30:32 +02:00
Jan Pochyla
f9d77479d4 fido_u2f: wait until previous u2f workflow ends 2018-07-02 15:30:32 +02:00
Pavol Rusnak
9f90ca21a9
src/apps/wallet/sign_tx: fix bip115 code in last commit 2018-07-02 14:29:58 +02:00
idimon4uk
3b345f3c76 src/apps/wallet/sign_tx: add Zencash support (#252) 2018-07-02 14:16:26 +02:00
Yura Pakhuchiy
2865c9853c Docker: support local build and build from other gh repos
Similar to recent trezor-mcu changes
2018-07-01 20:35:22 +02:00
HackyMiner
dc024ad2d2 Ethersocial Network(ESN) support added (#149) 2018-06-29 12:40:06 +02:00
Pavol Rusnak
e8224f5522
defs: update zencash icon 2018-06-28 14:54:30 +02:00
Pavol Rusnak
e7b36ec860
defs: add bip115 to coindef 2018-06-28 14:52:53 +02:00
Pavol Rusnak
4b58162b54
vendor: update trezor-common, enable Zencash 2018-06-28 14:15:28 +02:00
Pavol Rusnak
ef306159aa
defs: add bip115 to coins 2018-06-28 14:12:19 +02:00
Pavol Rusnak
6e169d6f18
defs: enable Zencash for T2 2018-06-28 14:04:34 +02:00
Pavol Rusnak
6ab2b5d6ee
vendor: update trezor-common 2018-06-28 14:00:53 +02:00
Yura Pakhuchiy
5d61471108 Add Electrum-GRS to coin_details.json (#151) 2018-06-28 13:54:51 +02:00
matejcik
ad16588171 stellar: update T1 tests 2018-06-28 12:40:49 +02:00
ZuluCrypto
b2f35de8b8 stellar.py - do not alias trezorlib.messages import to "proto" 2018-06-28 11:57:56 +02:00
ZuluCrypto
cd7189839c stellar - return addresses as utf-8 strings 2018-06-28 11:57:56 +02:00
ZuluCrypto
2549eaf5a6 test_stellar.py - split imports into two lines and do not alias messages to "proto" 2018-06-28 11:57:56 +02:00
ZuluCrypto
05afd986c1 test_stellar.py - fix style issues 2018-06-28 11:57:56 +02:00
ZuluCrypto
af38407a43 stellar - add unit tests for parsing XDR 2018-06-28 11:57:56 +02:00
ZuluCrypto
96f0801b90 stellar.py - fix missing destination_amount when parsing path payment 2018-06-28 11:57:56 +02:00
ZuluCrypto
dd324a99c5 stellar.py - fix mising str() cast on type 2018-06-28 11:57:56 +02:00
ZuluCrypto
8a284c03d1 stellar.py - fix incorrect constants 2018-06-28 11:57:56 +02:00
ZuluCrypto
4628327789 fix comment 2018-06-28 11:57:56 +02:00
ZuluCrypto
188178a438 stellar - add test for setting inflation destination 2018-06-28 11:57:56 +02:00
ZuluCrypto
6afaa41616 stellar - _xdr_read_address now returns string instead of bytes 2018-06-28 11:57:56 +02:00
Ilan
9ba3f3f28d RSK checksum address encoding (#376) 2018-06-28 11:27:27 +02:00
Yura Pakhuchiy
aa5fbca84c Add Zcoin wallets to coin_details.json (#150) 2018-06-28 11:22:22 +02:00
Pavol Rusnak
3d796b971a
src/apps/wallet/sign_tx: refactor address_short function 2018-06-28 11:21:07 +02:00
Jochen Hoenicke
37ae7c06a4 signtx layout: check if address starts with prefix
Only addresses starting with bitcoincash: should get their prefix
skipped. This fixes a bug where it skips the first bytes of legacy
addresses.
2018-06-28 11:07:38 +02:00
HackyMiner
ffa6567125 Ethersocial Network (ESN) support added (#377) 2018-06-28 11:00:20 +02:00
Pavol Rusnak
18f8c0a173
firmware: use full 1M flash 2018-06-27 18:21:36 +02:00
Pavol Rusnak
632e55b190
script: fix whitespace 2018-06-27 18:12:18 +02:00
Saleem Rashid
7949911748
Makefile.include: Hide command invocation unless V=1 2018-06-27 18:09:40 +02:00
Saleem Rashid
67852dcaba
script: Add toolchain-{download,run}
Add scripts to download, verify and use GNU Arm Embedded 5 2016q2.

2016q2 (SVN revision 237715) generates identical output to Debian
Stretch used by Docker build (SVN revision 241155).
2018-06-27 18:09:05 +02:00
Saleem Rashid
8f6a2045e6
build: Refactor Docker build 2018-06-27 18:09:05 +02:00
Pavol Rusnak
cc6cc49999
tests: re-enable Stellar for T1 2018-06-27 17:42:11 +02:00
ZuluCrypto
d1a48f32ce Stellar: use strings instead of bytes for addresses (#372)
* Use the new protobuf messages that send accounts as strings (fixes #367)
 * `stellar_signingAbort()` now takes an error message
 * Operations now check if a transaction is being signed (fixes #368)
 * Operations now return false on error or if the user cancels
 * Stellar `fsm_*` methods now check operation result and return early if the operation fails

This PR also re-enables the stellar code in the firmware.
2018-06-27 17:36:51 +02:00
Pavol Rusnak
e8a46d46c2
ethereum: update to new API 2018-06-27 17:00:39 +02:00
Pavol Rusnak
3e8974ff88
address: fix ethereum address computation, chain_id is uint32 2018-06-27 16:53:18 +02:00
Ilan
4153e662b6 Implement RSKIP-60 checksum address encoding 2018-06-27 16:44:38 +02:00
Saleem Rashid
a19d7c64ca types: Add wire_no_fsm (#146) 2018-06-27 15:17:19 +02:00
Pavol Rusnak
9491cd4b9e
defs: add blockbook field to build_coins script 2018-06-26 21:30:54 +02:00
JOSEPH NICHOLAS R. ALCANTARA
3f55a0cff7 Zencash support (#140) 2018-06-26 21:18:27 +02:00
Travis Reeder
e16e58442a Adds GoChain network (#147) 2018-06-26 21:09:23 +02:00