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

2162 Commits

Author SHA1 Message Date
Jan Pochyla
4622ee32bc signing: export more errors to client 2018-02-26 16:13:00 +01:00
Jan Pochyla
b88e4e5d5a signing: rely on address_n being always list 2018-02-26 16:13:00 +01:00
Jan Pochyla
9291de47d0 signing: code style 2018-02-26 16:13:00 +01:00
Jan Pochyla
c01ebeb552 signing/multisig: reuse some code 2018-02-26 16:13:00 +01:00
Jan Pochyla
b9c111f6ae tools: add init method to messages 2018-02-26 16:13:00 +01:00
Jan Pochyla
fa5dbadc93 src/apps/wallet/sign_tx: cleanup and split scripts/addresses 2018-02-26 16:13:00 +01:00
Jan Pochyla
72aa5e5204 src/apps/debug: do not mess with imports 2018-02-26 16:13:00 +01:00
Jan Pochyla
0ad58aad2b signing/scripts: doc cleanup 2018-02-26 16:13:00 +01:00
Jan Pochyla
e3847cf31f signing/addresses: SPENDADDRESS can be multisig too 2018-02-26 16:13:00 +01:00
Jan Pochyla
b8769bd9a5 signing/multisig: fix for force_bip143 coins 2018-02-26 16:13:00 +01:00
Jan Pochyla
e9ae9e6f1e signing/multisig: fix signature order in input_script_multisig 2018-02-26 16:13:00 +01:00
Jan Pochyla
d6c0fae045 signing: check for empty address_n 2018-02-26 16:13:00 +01:00
Jan Pochyla
6472b201f7 signing/multisig: fix missing pubkey, remove dead code 2018-02-26 16:13:00 +01:00
Jan Pochyla
a46934459a signing/multisig: minor refactoring 2018-02-26 16:13:00 +01:00
Jan Pochyla
1b64088957 signing/multisig: fix pubkey index lookup 2018-02-26 16:13:00 +01:00
Tomas Susanka
b98171e273 signing: less paranoid change outputs
- Allow change to be on the main chain
- Allow more than one output to the Trezor, but don't treat it as change

based on e716f7e84e
2018-02-26 16:13:00 +01:00
Tomas Susanka
da6cc4a6e5 signing/multisig: typo 2018-02-26 16:13:00 +01:00
Tomas Susanka
e71b51046d signing/multisig: fingerprint is calculated everytime multisig is present 2018-02-26 16:13:00 +01:00
Tomas Susanka
78c7e80319 signing/multisig: correct ordering of signatures 2018-02-26 16:13:00 +01:00
Tomas Susanka
69bd1ef676 signing/multisig: typo 2018-02-26 16:13:00 +01:00
Tomas Susanka
fb7a315208 tests: note on missing native p2wsh test 2018-02-26 16:13:00 +01:00
Tomas Susanka
16072d7011 wallet/address: native p2wsh multisig get_address 2018-02-26 16:13:00 +01:00
Tomas Susanka
4c2dec55ed wallet/address: p2wsh get_address 2018-02-26 16:13:00 +01:00
Tomas Susanka
b7e4fe02a9 tests: multisig field set to None 2018-02-26 16:13:00 +01:00
Tomas Susanka
01317eef18 signing/scripts: generic exceptions not used 2018-02-26 16:13:00 +01:00
Tomas Susanka
805593c1ac signing/multisig: segwit support 2018-02-26 16:13:00 +01:00
Tomas Susanka
e6d693d18a signing: forgotten sig hash 2018-02-26 16:13:00 +01:00
Tomas Susanka
6bc0f82642 signing/segwit: script code simplified 2018-02-26 16:13:00 +01:00
Tomas Susanka
985c01caf4 signing/multisig: change check using multisig fingerprint 2018-02-26 16:13:00 +01:00
Tomas Susanka
26a89a8e5f singing: bip143 comment 2018-02-26 16:13:00 +01:00
Tomas Susanka
6a73a7922b signing/multisig: get_address for change outputs, address_n check 2018-02-26 16:13:00 +01:00
Tomas Susanka
8715e20b79 signing/multisig: check if pubkey is part of multisig msg 2018-02-26 16:13:00 +01:00
Tomas Susanka
2c2f2ff97b embed: private key set check simplified 2018-02-26 16:13:00 +01:00
Tomas Susanka
b5e26f1d44 singing: multisig 2018-02-26 16:13:00 +01:00
Tomas Susanka
f36b475109 mocks: regenerated
using the ./build_mocks script
2018-02-26 16:13:00 +01:00
Tomas Susanka
d23a236616 tools: build mocks uses sorted 2018-02-26 16:13:00 +01:00
Tomas Susanka
368ba963a6 embed: hdnode public derivation 2018-02-26 16:13:00 +01:00
Tomas Susanka
858f2583a5 embed: hdnode field length fix 2018-02-26 16:13:00 +01:00
Tomas Susanka
e4423567cb signing: multisig addresses (p2sh, p2wsh in p2sh) 2018-02-26 16:12:59 +01:00
Tomas Susanka
8fbf89b7f3 signing: p2sh and witness native addresses 2018-02-26 16:12:59 +01:00
Pavol Rusnak
14b0d4439a
embed: add GPLv3 source code headers 2018-02-26 14:07:37 +01:00
Pavol Rusnak
6fd7782ac7
src/apps/management: use format_ordinal in reset and recovery workflows 2018-02-25 15:05:32 +01:00
Pavol Rusnak
872c44c477
src/trezor: change textation of pin dialog 2018-02-25 14:43:41 +01:00
Pavol Rusnak
db141fbc14
src/trezor: rework PIN progress update 2018-02-25 02:30:33 +01:00
Pavol Rusnak
2bb9d80c18
embed/unix: implement nice background into emulator 2018-02-25 02:16:35 +01:00
Pavol Rusnak
64f7089d45
embed/extmod/modtrezorui: implement proper backlight 2018-02-25 00:55:33 +01:00
Pavol Rusnak
c53b0afd5b
tools: fix bug in vheader processing in binctl 2018-02-24 21:48:58 +01:00
Jan Pochyla
300016cc92 src/apps/wallet: fix sign_message and verify_message 2018-02-24 21:08:45 +01:00
Pavol Rusnak
502ecd7bcc
apps.common: implement finish device state handling 2018-02-24 18:58:35 +01:00
Pavol Rusnak
35e1135c95
embed/extmod/modtrezorutils: add symbol() func
to expose internal C symbols, usually defined as macros
2018-02-23 21:27:26 +01:00