1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 11:28:14 +00:00
Commit Graph

258 Commits

Author SHA1 Message Date
Tomas Susanka
debd6871d6 cardano: SignedTransaction -> SignedTx to match other coins 2018-08-21 11:57:08 +02:00
Tomas Susanka
564310d34d protob: cardano's GetPublicKey has show_display arg
updates https://github.com/trezor/trezor-core/issues/324
2018-08-20 15:49:53 +02:00
Pavol Rusnak
21b3cd4352
protob: fix whitespace and order in messages-monero.proto 2018-08-15 11:44:43 +02:00
Dušan Klinec
1ef050fb15 xmr: protob protocol improvements (#192)
- uses protobuff messages only for the transaction construction data - forward compatible. Not stable on Monero side, serialization format of the cryptonote serialization could be changed in the future (new fields), CN serialization does not support versioning, thus it is not forward compatible.
- MoneroTransactionDestinationEntry, MoneroTransactionSourceEntry have to be defined in the root level as they are used in various protocol messages
2018-08-15 11:39:06 +02:00
Pavol Rusnak
d3989c68d6
protob: fix whitespace in Ontology messages 2018-08-14 20:59:00 +02:00
Pavol Rusnak
a6a53441f5
protob: fix Ontology message ids (closes #191) 2018-08-14 20:53:02 +02:00
Pavol Rusnak
390b0272e8
protob: reorder Ontology messages/fields 2018-08-14 15:25:42 +02:00
Matus Zamborsky
18739987ee protob: Add Ontology support (#184) 2018-08-14 15:23:07 +02:00
Adrián Matejov
13f2f0042d tezos: field updates and added reveal operation (#170)
Signed-off-by: Adrian Matejov <adrian.matejov@simplestaking.com>
2018-08-13 17:45:36 +02:00
Pavol Rusnak
3a7bdf684a
protob: make isort happy correctly 2018-08-03 19:11:02 +02:00
Pavol Rusnak
f24cb943b0
protob: add one empty line to pb2py to make isort happy 2018-08-03 18:57:43 +02:00
Pavol Rusnak
279bc1f220
protob: add packages to proto files 2018-07-29 16:17:00 +02:00
Pavol Rusnak
4c77015ed9
protob: add combine makefile target for proto2js (which can't combine files by itself) 2018-07-27 16:02:01 +02:00
Pavol Rusnak
a01a9cef9e
protob: add GetPublicKey.script_type 2018-07-26 17:04:03 +02:00
Dušan Klinec
ca22a57963 xmr: wire type fix (#175) 2018-07-23 12:48:09 +02:00
Pavol Rusnak
9fa3a7a399
protob: more meta info in monero messages 2018-07-22 21:04:48 +02:00
Pavol Rusnak
a5e6dff3ff
protob: refactor Monero messages 2018-07-22 20:07:05 +02:00
Dušan Klinec
ac0193b0b6 Monero protocol messages added (#164) 2018-07-22 19:47:30 +02:00
Pavol Rusnak
b7e76e4e81
protob: refactor graph.py 2018-07-17 18:33:59 +02:00
Pavol Rusnak
f7df570194
protob: add graph.py script, small fixes to proto files 2018-07-16 18:37:42 +02:00
Pavol Rusnak
25bc3b4570
protob: update message workflow comments 2018-07-16 16:51:03 +02:00
Pavol Rusnak
e0108d34bf
protob: rename common.proto to messages-common.proto, move Success/Failure and friends there 2018-07-16 15:00:18 +02:00
Pavol Rusnak
32850a6262
Revert "protob: remove source_account from Stellar messages"
This reverts commit 51eeb0ed5f.
2018-07-10 20:25:58 +02:00
Tomas Susanka
7358ab1636 protobuf: Ripple (#162) 2018-07-10 17:35:31 +02:00
Pavol Rusnak
51eeb0ed5f
protob: remove source_account from Stellar messages 2018-07-10 13:52:03 +02:00
Pavol Rusnak
1ee1afd978
protob: drop StellarSignTx.protocol_version 2018-07-05 13:12:47 +02:00
Pavol Rusnak
f215c8cb5c
protob: prev_block_height_bip115 is uint32 not bytes 2018-07-04 17:30:37 +02:00
matejcik
1b9b7d6c8e pb2py: properly handle nested messages and enums 2018-07-04 17:08:09 +02:00
Pavol Rusnak
000d832632
proto: split messages into more files by topic 2018-07-04 16:46:14 +02:00
Pavol Rusnak
d480b2b45a
protob: drop unused proto files, merge types.proto into messages.proto 2018-07-04 14:20:28 +02:00
Pavol Rusnak
571c2b4a1d
proto: fix whitespace 2018-07-04 14:04:29 +02:00
jurajselep
7b13d2e886 Tezos integration (#139) 2018-07-04 14:02:05 +02:00
Dušan Plavák
6eb330345e Add Cardano currency support (#148) 2018-07-04 13:52:08 +02:00
matejcik
6575418de9 pb2py: smarter protobuf include handling
support PROTOC_INCLUDE env variable (fixes #158)
support multiple `-I` arguments
smarter detection of `protoc` presence and its include dirs
2018-07-03 15:31:49 +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
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
Tomas Susanka
2f2888fba1 stellar: account fields are strings (addresses) not bytes (pubkeys) 2018-06-14 13:29:11 +02:00
Pavol Rusnak
0bf60dbda9
protob: add show_display to StellarGetPublicKey/StellarGetAddress 2018-06-11 18:52:42 +02:00
Tomas Susanka
dcda93322a protob: stellar get address 2018-06-11 13:58:22 +02:00
Pavol Rusnak
babc60a48e
protob: reorder fields in LiskVerifyMessage to match VerifyMessage 2018-06-07 13:51:37 +02:00
alepop
18f7dee118 protob: restore Lisk {SignMessage, MessageSignature, VerifyMessage} (#120) 2018-06-07 13:48:47 +02:00
Pavol Rusnak
018eebac7e
protob: rename decred_expiry to expiry (so we can use this field for Zcash too) 2018-06-05 14:06:59 +02:00
Pavol Rusnak
0f7118bb3d
protob: add missing flags for decred and zcash 2018-06-05 13:31:07 +02:00
Pavol Rusnak
0c9d67954c
protob: drop CoinType 2018-05-24 13:50:01 +02:00
Pavol Rusnak
fb662e53b1
protob: remove {Lisk,Stellar}{SignMessage,MessageSignature,VerifyMessage} 2018-05-22 18:22:43 +02:00
Pavol Rusnak
ede4833c13
protob: add Initialize.skip_passphrase 2018-05-22 12:36:15 +02:00
Pavol Rusnak
ef5240bccc
protob: add TransactionType.overwintered flag (for Zcash) 2018-05-21 14:43:31 +02:00
Tomas Susanka
b91db285ba stellar: StellarSignMessage.message is bytes not string 2018-05-14 15:12:09 +02:00
Aleksey Popov
9abe3a7c69 protob: Change stellar fields from int64 -> sint64 2018-04-16 13:02:40 +02:00
Aleksey Popov
6dd5d17a8e protob: Change some Lisk transaction fields to bytes 2018-04-16 12:43:02 +02:00
Aleksey Popov
4fc9fdff7d protob: Fix amount and fee Lisk fields string -> uint64 2018-04-16 12:43:02 +02:00
Aleksey Popov
6a7710c026
protob: Add messages for Lisk support 2018-04-11 12:13:47 +02:00
ZuluCrypto
8ac9068e02 Stellar - add protobuf messages and types 2018-04-10 14:12:07 +02:00
Roman Zeyde
260747dfa4 proto: add {ApplySettings,Storage}.auto_lock_delay_ms 2018-04-04 01:04:24 +02:00
Jan Pochyla
66a85673ed add debug link fields 2018-03-20 16:45:10 +01:00
Pavol Rusnak
d83bb5464c
add {Storage,Features}.unfinished_backup 2018-03-12 16:11:27 +01:00
Pavol Rusnak
998eb4c7a7
add ApplySettings.passphrase_source 2018-03-12 14:50:20 +01:00
Pavol Rusnak
7e61f37038
protob: change comment for tx_type 2018-03-07 12:18:26 +01:00
Peter van Mourik
42e2f494b2 Changed tx_type to uint32 2018-03-07 12:17:52 +01:00
Pavol Rusnak
ec24aa1d80
proto: rename EthereumSignTx.txtype to tx_type 2018-03-05 15:56:10 +01:00
Peter van Mourik
bdefc5ac37 Added txtype as optional field in preparation of Wanchain support 2018-03-05 15:55:22 +01:00
Pavol Rusnak
0924bd6826
proto: return of PassphraseAck.state 2018-02-28 23:25:06 +01:00
Pavol Rusnak
317d8af675
proto: add wire types for PassphraseState{Request,Ack} 2018-02-28 23:03:44 +01:00
Pavol Rusnak
68be165ffa
proto: new passphrase messages 2018-02-28 22:55:29 +01:00
Pavol Rusnak
d85f7ac6bb
PassphraseAck.passphrase is now optional 2018-02-27 15:37:08 +01:00
Jan Pochyla
06f3b79a44 protob: add trezor t-specific ButtonRequestTypes 2018-02-27 12:01:21 +01:00
Pavol Rusnak
43b6464883
proto: add Failure_PinMismatch 2018-02-20 17:27:48 +01:00
Pavol Rusnak
b9f2a1c27f
protob: add PassphraseRequest.on_device and PassphraseRequest.state 2018-02-14 18:14:06 +01:00
Pavol Rusnak
c7dcca60c7
protob: add state field to Initialize and Features 2018-02-09 17:13:41 +01:00
Pavol Rusnak
8652df0c69
messages: add fw_vendor_keys to Features message 2018-02-06 16:24:46 +01:00
Pavol Rusnak
64859a1039
add firmware version/vendor to bootloader Features message 2018-02-06 15:42:38 +01:00
Aleksey Popov
c88d7b962a protob: Add protobuf syntax tag 2017-12-23 22:15:59 +01:00
Saleem Rashid
ee211f4bc8 protob: Add decred_script_version to TxInputType 2017-12-23 13:41:52 +01:00
Saleem Rashid
65c3251a42 protob: Add Decred support 2017-12-18 16:34:01 +01:00
Saleem Rashid
8bd52248fa protob: Add NEMDecryptMessage 2017-12-16 21:23:36 +01:00
Jochen Hoenicke
8019bd2730 Storage.proto: Added u2f root key
Cache U2F private key to avoid doing computation on seed when u2f is
used.  See issue trezor/trezor-mcu#251
2017-12-13 15:09:59 +01:00
Pavol Rusnak
8e96b42260
add Features.model 2017-12-04 22:13:55 +01:00
Saleem Rashid
6701821fb9 coins: Add force_bip143 2017-11-13 21:32:07 +01:00
Saleem Rashid
b9a2a9c3de protob: Add NEMImportanceTransfer 2017-10-07 21:32:36 +01:00
Saleem Rashid
b2ce773f80 protob: Update @used_in to NEMSignTx 2017-10-07 21:29:02 +01:00
Pavol Rusnak
c20bb1c567
protob: add CoSi messages 2017-10-03 08:53:53 +02:00
Pavol Rusnak
0e3f6e73ed
nem: rename NEMTransaction to NEMSignTx and NEMRequestAnnounce to NEMSignedTx 2017-09-02 23:43:46 +02:00
Saleem Rashid
89ce727548 protob: Add NEMTransaction & NEMRequestAnnounce 2017-09-02 23:42:37 +02:00
Saleem Rashid
21716a5632 protob: Add NEMGetAddress & NEMAddress 2017-09-02 23:42:37 +02:00
Pavol Rusnak
5f7a1a7a5a
add protocol description 2017-08-15 17:48:48 +02:00
Saleem Rashid
dd8ec3231f coins: Add forkid 2017-07-28 15:06:03 +02:00
Pavol Rusnak
00900951e0
add SignMessage.script_type 2017-07-24 16:05:13 +02:00
Pavol Rusnak
2eb9c7e352
added Storage.subscribed, Features.subscribed and ApplySettings.subscribed 2017-07-17 15:31:38 +02:00
Pavol Rusnak
224bdde39f
don't use hex for uint32 default values 2017-07-13 14:42:39 +02:00
Pavol Rusnak
440c943723
remove google/protobuf/descriptor.proto, should be distributed with protobuf 2017-07-13 14:26:45 +02:00
Pavol Rusnak
b29b98d69b Added Ethereum Sign/Verify Message (#35) 2017-07-12 17:34:03 +02:00
Pavol Rusnak
fac66c6867
add SelfTest.payload 2017-07-10 17:26:55 +02:00
Pavol Rusnak
2a86fb0503
change com.satoshilabs.trezor.protobuf to com.satoshilabs.trezor.lib.protobuf 2017-07-04 14:02:22 +02:00
Pavol Rusnak
c2a40f4b67
add SelfTest message 2017-06-29 17:23:15 +02:00
Pavol Rusnak
68f5246e2f
deprecate EstimateTxSize and TxSize 2017-06-28 18:44:19 +02:00
Pavol Rusnak
654ee5d8ec
add Features.needs_backup 2017-06-26 19:49:29 +02:00
Pavol Rusnak
e04ecf819b
preparation for delegated backup 2017-06-23 19:06:24 +02:00
Roman Zeyde
ae1900a2bc Allow testing recovery with initialized device (#33)
This would allow safe mnemonic validation by using a dry-run flag.
2017-06-22 12:38:06 +02:00