1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 19:18:56 +00:00
Commit Graph

9695 Commits

Author SHA1 Message Date
Antonin Hildebrand
be9fcf7525
build: review the build script [skip ci]
1. make it work on macOS hosts
2. add quoting to paths to prevent failures if user was foolish
   enough to put the repo on a path with spaces
3. use -o pipefail for robustness
4. use wget --no-config to prevent surprises from ~/.wgetrc
5. add --init to docker run for better signals
6. detect effective USER:GROUP like a grown up
7. break fs download url into multiple configurable parts
8. make the script independent on launch location
9. build: generate nix-shell scripts with HEREDOC
9.1. this is easier on eyes, one could review generated script in ./build
9.2. we don't have to escape quotes and chain commands with &&
9.4. added some extra quoting for user-specified values
2020-11-11 16:53:42 +01:00
Pavol Rusnak
50fdd183c2
ci: enable editorconfig checks, fix whitespace issues 2020-11-11 14:43:50 +01:00
Pavol Rusnak
473fb1a3a6
ci: enable yaml checks 2020-11-11 14:23:28 +01:00
Tomas Susanka
09a8d4229e feat(ci): introduce yamllint 2020-11-10 10:27:47 +01:00
Tomas Susanka
1f90a13372 ci: change [NO MASTER] to [RELEASE ONLY] in release check
To make it the same as in Suite.
2020-11-05 19:11:10 +01:00
Tomas Susanka
859aa23752 ci: remove 'changes' from prebuild 2020-11-05 18:55:10 +01:00
Tomas Susanka
cc3d86f0dd ci: skip submodules download where applicable 2020-11-05 18:54:56 +01:00
Pavol Rusnak
f1711f0782
style: add .editorconfig [skip ci] 2020-11-05 16:45:52 +01:00
matejcik
37d3bf56fa fix(core): make sure run-time settings are reset after wipe (fixes #1322) 2020-11-05 15:33:38 +01:00
matejcik
e62f6184a8 chore(core): add changelog entries 2020-11-05 14:30:11 +01:00
matejcik
50e648636f doc(core): add references to schema specifications, add Purpose48 document 2020-11-05 14:30:11 +01:00
matejcik
b8e654d8e5 chore(tests): regenerate ui test fixtures 2020-11-05 14:30:11 +01:00
matejcik
665abe1e02 fix(core/bitcoin): validate path before asking to sign message (which could otherwise fail) 2020-11-05 14:30:11 +01:00
matejcik
f10084117b feat(core/bitcoin): do not show path warning when GetAddress is called silently (fixes #1206) 2020-11-05 14:30:11 +01:00
matejcik
f3b6de399a fix(tests): fix illegal paths in device tests 2020-11-05 14:30:11 +01:00
matejcik
eadf8ab25f chore(core/tests): update unit tests for new APIs, drop unnecessary ones 2020-11-05 14:30:11 +01:00
matejcik
5a97a5111b feat(core/ethereum): add SEP5 path schema as well as the compat schema 2020-11-05 14:30:11 +01:00
matejcik
a367426480 feat(core/bitcoin): use path schemas 2020-11-05 14:30:11 +01:00
matejcik
c0879f8625 feat(core/cardano): use path schemas 2020-11-05 14:30:11 +01:00
matejcik
f5c8138df6 feat(core): update most apps to use path schemas 2020-11-05 14:30:11 +01:00
matejcik
4ca8f7b0d6 style(core): use relative imports everywhere
except Monero, which has a rather complex structure and I don't want to
search&replace mess with it in case some of the things break memory
layout
2020-11-05 14:30:11 +01:00
matejcik
7fe5c804ff feat(core): implement BIP-32 path schemas 2020-11-05 14:30:11 +01:00
Tomas Susanka
e611a4a110 chore: bump changelog 2020-11-02 20:08:28 +01:00
Martin Milata
62a80e1332 feat(core): tools/alloc.py: generate html 2020-11-02 14:14:00 +01:00
Martin Milata
c89a8b7bd5 ci(core): add memory profiler job 2020-11-02 14:14:00 +01:00
matejcik
93efe3ab63 feat(core): add alloc data analysis tool
Modified by mmilata, was:
add alloc data from test suite run, and an analysis tool
2020-11-02 14:14:00 +01:00
matejcik
af4463412f feat(core): count allocations per line 2020-11-02 14:14:00 +01:00
Martin Milata
54ce8482d3 feat: set micropython to the memorymap branch 2020-11-02 14:14:00 +01:00
Tomas Susanka
fd90bb9d10 ci: remove darwin emulator deploy
We'll use trezor user env for that.
2020-10-30 11:28:46 +01:00
Tomas Susanka
dfd93b6759 ci: distinguish between t1 and tt on firmware corp server 2020-10-30 11:28:01 +01:00
matejcik
5005a61eaf fix(python): update trezorctl multisig feature to new API 2020-10-30 10:25:51 +01:00
matejcik
f11a634671 docs(python): update changelog 2020-10-30 10:25:51 +01:00
matejcik
38b7c75176 feat(python): drop Python 3.5 compatibility (fixes #810) 2020-10-30 10:25:51 +01:00
matejcik
a36ccd7e6f feat!(python): drop Mapping protocol support from MessageType 2020-10-30 10:25:51 +01:00
matejcik
8c460dcbf3 feat(python): improve error message when prev_txes are not provided 2020-10-30 10:25:51 +01:00
matejcik
2327cab436 feat(python): update build_tx.py to new API 2020-10-30 10:25:51 +01:00
matejcik
3d6d1a56ac feat(python): implement API compatibility with trezorlib 0.12 2020-10-30 10:25:51 +01:00
Andrew Kozlik
b2948ee2dc docs: Improve documentation of the review process. 2020-10-23 16:59:49 +02:00
Andrew Kozlik
70975008cd chore (core): In apps.bitcoin skip confirmation of fee in PayJoin if the user is not increasing their contribution. 2020-10-23 15:07:15 +02:00
Andrew Kozlik
f71af43874 chore(common): Add sanity checks for protobuf definitions. 2020-10-23 15:07:15 +02:00
Andrew Kozlik
9e5d5bd5f9 feat: Add support for experimental field flag in protobuf. 2020-10-23 15:07:15 +02:00
Andrew Kozlik
b213a55428 chore(core): In apps.bitcoin move h_inputs back to bitcoin class. 2020-10-23 15:07:15 +02:00
Andrew Kozlik
0f0d1ef363 docs: Document replacement transactions in Bitcoin signing. 2020-10-23 15:07:15 +02:00
Andrew Kozlik
2a19d70e98 test: Add device tests for replacement transaction flow. 2020-10-23 15:07:15 +02:00
Andrew Kozlik
4a0c5c371a feat(core): In apps.bitcoin implement replacement transaction flow. 2020-10-23 15:07:15 +02:00
Andrew Kozlik
bd3fe1d789 chore(core): In apps.bitcoin create a separate class for transaction information. 2020-10-23 15:07:15 +02:00
Andrew Kozlik
469c131678 chore(core): In apps.bitcoin add confirm_replacement and confirm_modify_fee layouts. 2020-10-23 15:07:15 +02:00
Andrew Kozlik
7c2d690e45 chore(core): In apps.bitcoin allow get_tx_digest() to be used for original transactions. 2020-10-23 15:07:15 +02:00
Andrew Kozlik
b636e959f5 chore(python): Support TXORIGINPUT and TXORIGOUTPUT in trezorlib. 2020-10-23 15:07:15 +02:00
Andrew Kozlik
ad6a0bc2a2 chore(common): Add new request types TXORIGINPUT and TXORIGOUTPUT. 2020-10-23 15:07:15 +02:00