1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-19 06:19:27 +00:00
Commit Graph

9003 Commits

Author SHA1 Message Date
Andrew Kozlik
be7e98aa47 core/sign_tx: Move Bitcoin class to bitcoin.py. 2020-05-06 13:18:32 +02:00
Andrew Kozlik
a07e125793 core/sign_tx: Consolidate wallet path and multisig fingerprint checking. 2020-05-06 13:18:32 +02:00
Andrew Kozlik
27e6720f3d core/sign_tx: cleanup 2020-05-06 13:18:32 +02:00
Andrew Kozlik
987b70f1f5 core/sign_tx: Move header prepending up by one level. 2020-05-06 13:18:32 +02:00
Andrew Kozlik
2ceb091d68 core/sign_tx: Use a preallocated buffer for transaction serialization. 2020-05-06 13:18:32 +02:00
Andrew Kozlik
555259d6a9 core/sign_tx: Remove last_output_bytes in Decred, which is no longer needed. 2020-05-06 13:18:32 +02:00
Andrew Kozlik
f1801764a1 core/sign_tx: Fix segwit/non-segwit input interleaving bug. 2020-05-06 13:18:32 +02:00
Andrew Kozlik
514f2ac649 core/sign_tx: Refactor to use template method. 2020-05-06 13:18:32 +02:00
Andrew Kozlik
95fad83024 core/sign_tx: Derive Zip143 and DecredPrefixHasher from Bip143. 2020-05-06 13:18:32 +02:00
Andrew Kozlik
e9900df18d core/sign_tx: Move Overwintered class to zcash. 2020-05-06 13:18:32 +02:00
Andrew Kozlik
60dbec95ac core/sign_tx: Reuse get_prevtx_output_value() in Decred. 2020-05-06 13:18:32 +02:00
Andrew Kozlik
2b74513e49 core: Fix mypy. 2020-05-06 13:18:32 +02:00
Andrew Kozlik
50c08274b9 core/sign_tx: Move overwintered functionality to separate class. 2020-05-06 13:18:32 +02:00
Andrew Kozlik
c190eed7fc core/sign_tx: Move non-Bitcoin functionality to Bitcoinlike class. 2020-05-06 13:18:32 +02:00
Andrew Kozlik
613c81ea66 core/sign_tx: Refactor wallet_path functions and input_check_multisig_fingerprint. 2020-05-06 13:18:32 +02:00
Andrew Kozlik
0d9984671e core/sign_tx: Fix typing. 2020-05-06 13:18:32 +02:00
Andrew Kozlik
79c60615de core: Fix typing. 2020-05-06 13:18:32 +02:00
Andrew Kozlik
ba8b34b2d7 core: Refactor signing. 2020-05-06 13:18:32 +02:00
Tomas Susanka
3e07382a0e docs: add coinmate and liskish wallet to third parties 2020-05-05 11:37:19 +00:00
Tomas Susanka
15e33b42c0 python: style 2020-05-05 07:05:53 +00:00
Serge
e900173b9c python/trezorctl: del an outdated mesage 2020-05-05 06:46:49 +02:00
Serge
4e25c396d2 python/trezorctl: display embedded v2 image fingerprint (fixes #977) 2020-05-05 06:46:49 +02:00
Pavol Rusnak
2424d1ee18
nix: add git to shell.nix 2020-05-04 18:45:55 +02:00
Pavol Rusnak
066866488b
core: add temporary "src1" folder 2020-05-04 16:00:29 +00:00
Pavol Rusnak
49d1e9434d
nix: use clang-tools instead of clang
(this is possible now that we handled clang-format v7 vs v9 incompatibility)
2020-05-04 17:17:06 +02:00
Pavol Rusnak
2798109872
clang-format: set the IncludeBlocks setting to "Preserve"
This was default in clang-format v7, but got changed to "Regroup" in v9.
We prefer the old way for now and setting this explicitly makes it
easier to support both versions.
2020-05-04 17:17:06 +02:00
matejcik
a623799a11 core: remove f-strings from headertool (python 3.5 compatibility) 2020-05-04 11:29:03 +02:00
matejcik
59f43514be python: convert chunks to bytes when reading from hid 2020-05-04 10:16:15 +02:00
Tomas Susanka
05aabc64bb docs: document CI jobs 2020-05-04 08:51:57 +02:00
Pavol Rusnak
25cc836660
core/extmod: fix build of modtrezorui when TREZOR_MODEL is set to '1' 2020-04-30 15:07:26 +00:00
Tomas Susanka
d7d5579eae readme: fix link to Contributing 2020-04-30 15:03:56 +02:00
Tomas Susanka
3096a5caa6 docs: add PR workflow info; move CONTRIBUTING to docs 2020-04-30 14:49:47 +02:00
Tomas Susanka
2ccb3aa04e docs/third-parties: explain connect dependencies 2020-04-29 09:46:38 +02:00
Tomas Susanka
20d66adddd core: disable passphrase_always_on_device when turning off passphrase 2020-04-28 14:54:18 +02:00
matejcik
bc926a2dd5 tests: convert signtx tests to use request_* shortcuts for readability 2020-04-25 18:27:29 +02:00
matejcik
feaaaf8973 tests: simplify code of test_msg_signtx
Instead of a function generating the expected_responses, introduce
shortcuts (request_input, request_output...) so that the static
expected_responses are more readable.
2020-04-25 18:27:29 +02:00
matejcik
7ebbccdbba python/debuglink: support conditional expected_responses 2020-04-25 18:27:29 +02:00
Tomas Susanka
a0c8f8f00e tests/signing: add more tests for incorrect script type 2020-04-24 17:19:33 +00:00
Tomas Susanka
47f104bceb core, legacy: bump versions 2020-04-24 17:12:20 +00:00
Tomas Susanka
503bbb0eb3 ci: add check for release branches
If release branch, CI now checks that all commits are either
cherry-picked from master (using `-x` option) or contain [NO MASTER].
2020-04-24 16:49:29 +00:00
Tomas Susanka
f054bf6e95 docs/third-parties: remove Augur
It does not use Trezor anymore, Connect will be removed from theirs
dependencies. See https://github.com/AugurProject/augur/issues/7421.
2020-04-24 15:32:31 +00:00
Andrew Kozlik
2e29f7bba6 legacy/u2f: Add bogus app ID used by Firefox to indicate error in U2F. Figure out which error to display based on past U2F_AUTHENTICATE check-only requests on the same channel. 2020-04-24 10:38:41 +02:00
Tomas Susanka
65b0eae89d docs: document affected third parties by a breaking change 2020-04-22 15:16:55 +02:00
Tomas Susanka
1634baa1e5 ci: remove 'only changes' 2020-04-20 20:14:24 +02:00
matejcik
9e90294f24 docs: add event loop to TOC 2020-04-17 15:08:16 +02:00
matejcik
c16f54ad04 docs: document trezor-core event loop 2020-04-17 15:08:16 +02:00
Andrew Kozlik
4a889f34cd vendor: update fido2-tests 2020-04-17 14:09:34 +02:00
Pavol Rusnak
2859972043
common/defs: regenerate coins 2020-04-17 12:05:47 +00:00
Tomas Susanka
24fff39314 ci: add tpmb 2020-04-16 18:13:11 +02:00
Tomas Susanka
1be5e577ee ci: move report files 'mv' to after_script
Otherwise it does not get moved to the right place if the test suite
fails.
2020-04-16 16:09:18 +00:00