1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-30 03:18:20 +00:00
Commit Graph

303 Commits

Author SHA1 Message Date
vdovhanych
056d4c7c77 ci: fix emulators deploy 2022-05-26 19:13:18 +02:00
vdovhanych
fa2b161d6a ci: update arm jobs to run on tags and use the official nix image 2022-05-21 17:25:31 +02:00
Andrew Kozlik
d16b44bad6 feat(core): Verify signatures of all original inputs in replacement transactions. 2022-05-03 22:14:40 +02:00
Martin Milata
c153ffe4b3 ci: ui2 device tests 2022-04-07 17:58:41 +02:00
Martin Milata
d1978c062d test(storage): remove timeouts for test_random and test_random_upgrade 2022-04-05 16:55:49 +02:00
Martin Milata
8965ad68f2 ci: fix core unit test asan 2022-04-05 13:03:23 +02:00
matejcik
6af119fcdd fix(ci): make sure poetry environment is clean of leftovers 2022-03-24 14:30:20 +01:00
Martin Milata
c8dda3242b ci: build emulator with new fonts before running cargo test 2022-03-23 13:40:45 +01:00
matejcik
82182ae078 ci: use external servers in CI and scripts 2022-03-23 11:28:56 +01:00
grdddj
f0cc7f3327 feat(ci): autogenerate documentation for CI jobs 2022-03-18 12:02:24 +01:00
Andrew Kozlik
43f1d67289 feat(core): Support unverified external inputs. 2022-03-17 09:44:03 +01:00
grdddj
d9dace5211 feat(docs): add hello-world feature on TT 2022-03-10 13:06:03 +01:00
Martin Milata
2e3ce4fa1a docs(core): bump MSRV
[skip_ci]
2022-03-08 12:53:12 +01:00
grdddj
9cba6a0191 chore(ci): rename UI jobs and make legacy UI a dependency 2022-02-17 11:05:55 +01:00
Simon Males
aff3f512c4
docs(core): Launch bridge w/ emulator support via suite (#2117) 2022-02-14 14:30:56 +01:00
matejcik
b0a7e13c88 ci: remove separate "UI" job, do UI test in the default "device test" job 2022-02-08 16:34:54 +01:00
matejcik
abc593d19a tests: drop skip_ui support 2022-02-08 16:34:54 +01:00
Andrew Kozlik
0e58218f5f feat(core): Implement Bitcoin payment requests. 2022-01-31 18:00:22 +01:00
grdddj
e1d4e40785 feat(tests): adding assert_tx_matches() to common.py 2022-01-27 15:07:30 +01:00
grdddj
2f282f7a0c chore(docs): some useful tips on device-tests 2022-01-27 15:07:30 +01:00
Andrew Kozlik
56126b75a7 ci: Use address sanitizer in CI.
[no changelog]
2022-01-19 15:22:03 +01:00
matejcik
4ab33f0b69 docs(core): add entries to index 2022-01-07 21:41:17 +01:00
matejcik
09732530f6 docs(core): document coding style 2022-01-07 21:41:17 +01:00
Martin Milata
a9a6495c7e docs: fix dead links 2021-12-17 18:20:08 +01:00
Pavol Rusnak
30a77a76bc
chore(legacy): rename MEMORY_PROTECT flag to PRODUCTION to match core naming (#2003) 2021-12-12 15:45:10 +01:00
Andrew Kozlik
ff7d5c224b docs: Update transaction signing documentation. 2021-12-06 18:23:48 +01:00
Martin Milata
345c90ccba docs(common): add section on reproducible builds 2021-11-16 17:08:57 +01:00
Andrew Kozlik
13cbb59082 feat(common): Add script_pubkey field to TxInput message. 2021-10-18 19:58:56 +02:00
matejcik
806beb77d2 feat(core/rust): improve catch_exception, make use of Rust 1.55 2021-09-21 12:43:31 +02:00
matejcik
395324a8ad chore(docs): remove Lisk 2021-08-19 10:25:41 +02:00
Martin Milata
b5710b820a docs(core): replace Purpose48 with BIP-48
https://github.com/bitcoin/bips/blob/master/bip-0048.mediawiki
2021-08-06 12:50:42 +02:00
Ondrej Mikle
e4be53459d docs(core/debug): documentation on debugging with SystemView/RTT 2021-08-06 09:54:21 +02:00
Martin Milata
fb9b53930e docs: allow adding changelog entries without linked issue
[skip_ci]
2021-07-21 15:47:16 +02:00
Martin Milata
412d06fdfe docs(core+legacy): use towncrier for generating CHANGELOG.md
core/embed/boardloader/CHANGELOG.md
core/embed/bootloader/CHANGELOG.md
core/embed/bootloader_ci/CHANGELOG.md
legacy/intermediate_fw/CHANGELOG.md
2021-07-21 14:27:20 +02:00
matejcik
57582c2501 feat(tests): simple javascript-based UI diff review tool 2021-06-23 11:51:18 +02:00
Martin Milata
07c53452f6 ci: improve changelog check
- ignore master branch
- treat secfix/ same as release/ branches
- allow skiping check with [no changelog] in commit message
2021-06-04 13:10:51 +02:00
matejcik
bd06b72923 docs(core): document building with Rust 2021-05-21 13:42:10 +02:00
Pavol Rusnak
e09a74a79e refactor(legacy): rename check_bootloader to check_and_replace_bootloader 2021-05-13 17:59:39 +02:00
matejcik
2cfd2b0577 docs: document anti-fragmentation measures 2021-05-06 13:14:21 +02:00
Martin Milata
f58c1634c6 docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
Pavol Rusnak
65cefbc879
docs: remove wallet.trezor.io references 2021-04-16 16:18:48 +02:00
mcudev
6137a55b06 core/embed/usb: use all available usb endpoints and update the usb fifo sizing 2021-04-09 12:50:40 +02:00
Pavol Rusnak
f128e4a1c2
docs(legacy): use the correct binary name when building via docker 2021-03-27 09:23:45 +01:00
Andrew Kozlik
cdcc1b949f docs(storage): Update storage encryption documentation. 2021-03-25 14:24:41 +01:00
Andrew Kozlik
6676352070 docs: Document decreasing the output value in RBF transactions. 2021-03-17 15:15:50 +01:00
Tomas Susanka
d4f6b5fc48 fix(docs): fix typo in trezord binary name 2021-03-17 15:02:52 +01:00
mcudev
b50f1e0b89 openocd: separate stlink configs deprecated - now combined 2021-03-09 11:41:55 +01:00
Pavol Rusnak
d7b98a75fd
docs(hardware): drop assets folder
[skip_ci]
2021-02-12 11:00:31 +01:00
Martin Milata
6050412ed4 docs: hardware CI test jobs 2021-02-06 11:56:23 +01:00
Tomas Susanka
421594dfa8 chore(docs/ci): remove outdated notes 2021-02-05 13:21:28 +01:00
Tomas Susanka
7b1e1b83b5 docs/tests: animations need to be disabled in ui tests 2021-01-22 15:05:02 +01:00
Pavol Rusnak
d9a8194e14
docs: use absolute link for toif_convert 2020-12-14 16:18:38 +01:00
Martin Milata
76eb54b6f8 docs: minor clarification of review process 2020-11-27 13:55:03 +01:00
Pavol Rusnak
50fdd183c2
ci: enable editorconfig checks, fix whitespace issues 2020-11-11 14:43:50 +01:00
matejcik
50e648636f doc(core): add references to schema specifications, add Purpose48 document 2020-11-05 14:30:11 +01:00
Andrew Kozlik
b2948ee2dc docs: Improve documentation of the review process. 2020-10-23 16:59:49 +02:00
Andrew Kozlik
0f0d1ef363 docs: Document replacement transactions in Bitcoin signing. 2020-10-23 15:07:15 +02:00
Pavol Rusnak
f47b8bdbc8
docs: add poetry install after git clone [skip ci] 2020-10-22 22:15:08 +02:00
Tomas Susanka
76dc3b3e51 docs: fix typo in review.md 2020-10-22 09:53:05 +02:00
Tomas Susanka
0a9884c76e docs: document the review process 2020-10-21 14:40:34 +02:00
Tomas Susanka
865c167ac5 docs: small typos in Contributing 2020-10-16 09:16:19 +02:00
Pavol Rusnak
4fdb62c2e2 chore(python): replace pipenv with poetry 2020-10-07 16:21:00 +02:00
Martin Milata
51246ce52d docs: add bitcoin signing to book index 2020-09-25 15:04:58 +02:00
matejcik
b16b4823d5 docs: describe Bitcoin signing 2020-09-25 13:17:03 +02:00
Tomas Susanka
59b8a5a81f docs: add convential commits commit-msg hook 2020-09-25 09:37:36 +02:00
Martin Milata
64555f0b95 docs: fix typo 2020-09-02 18:13:08 +02:00
matejcik
5e27c8a274 docs: improve documentation for sessions 2020-08-28 15:37:06 +02:00
Ondrej Mikle
ff3b10a329
legacy/intermediate_fw: Intermediate firmware for T1 (#1084)
* legacy/intermediate_fw: skeleton FW with RAM shim function

* legacy/intermediate_fw: reboot from RAM

* legacy/intermediate_fw: flash erase from RAM

* legacy/intermediate_fw: port flash erase body from cm3

* legacy/intermediate_fw: erase works with flash unlock

* legacy/intermediate_fw: wait for flash controller ready

* legacy/intermediate_fw: cleanup and add comments

* legacy/intermediate_fw: disable IRQ before reboot

* legacy/intermediate_fw: also erase storage

* legacy/intermediate_fw: style

* legacy/intermediate_fw: dialogs for update bootloader/erase FW

* legacy/intermediate_fw: style

* legacy/intermediate_fw: add bootloader replacement code

* legacy/intermediate_fw: add CI build script for intermediate FW

* legacy/intermediate_fw: call bootloader update

* legacy/intermediate_fw: add bootloader update dependency

* legacy/intermediate_fw: change setup() at start of main

* legacy/intermediate_fw: deduplicate code

* docs: table for MEMORY_PROTECT combinations that work on T1

* legacy/intermediate_fw: deduplicate code

* legacy/intermediate_fw: check if running in privileged mode

* legacy/intermediate_fw: style

* legacy/intermediate_fw: ChangeLog

* legacy/intermediate_fw: make version match latest bootloader included

* legacy/intermediate_fw: style
2020-08-21 14:58:13 +02:00
Tomas Susanka
2680b8d841 docs: add 'TOIF' to toif.md header (helps with search) 2020-08-19 17:59:51 +02:00
matejcik
8502412dbc core/emulator: assume -m main when no arguments are provided
fixes #1115
2020-07-30 15:27:34 +02:00
Pavol Rusnak
cec87bba50
core: remove mono bold font variant (not used anywhere) 2020-07-27 23:22:34 +02:00
Tomas Susanka
6ac66a7795 docs: inform where you can find the UI master diff report 2020-07-22 16:31:31 +02:00
Tomas Susanka
bcd044a41d docs/build: add note on Nix for MacOS 2020-07-20 10:48:22 +02:00
matejcik
819d5cff24 tests: add documentation for click-test recorder 2020-07-10 14:05:52 +02:00
Martin Milata
6633cdf026 docs: small fixes 2020-07-02 15:34:20 +02:00
Tomas Susanka
3f28534fbc docs: add TPM to the list of third parties 2020-07-01 13:05:21 +00:00
matejcik
872e0fb0e0 core: lower scheduler resolution to milliseconds
This avoids problems with large timeouts causing the scheduler queue to
think the time counter has overflown, and ordering the autolock task before
immediate tasks.

The maximum reasonable time difference is 0x20000000, which in
microseconds is ~8 minutes, but in milliseconds a more reasonable ~6
days.
2020-06-04 16:18:46 +02:00
matejcik
02565f3bfb core/loop: introduce spawn syscall 2020-06-04 16:18:46 +02:00
Tomas Susanka
9a59b99fa9 docs: add few more third-parties 2020-05-19 08:43:07 +00:00
Tomas Susanka
6ec27d09ca docs: link to master UI report 2020-05-18 12:59:59 +00:00
Tomas Susanka
445f56d387 core/bitcoin: finalize bitcoin refactor
- core/bitcoin: move common files to the app's root
- core/bitcoin: use require_confirm instead of confirm
- core: move bitcoin unrelated functions from 'bitcoin' to a new 'misc' app
- core/bitcoin: use relative imports inside the app
- core: rename wallet app to bitcoin
- core/wallet: replace SigningErrors and the other exception classes with wire.Errors
2020-05-18 14:31:51 +02:00
Pavol Rusnak
922a33e946
docs: add storage/addon-block documentation draft 2020-05-13 17:30:42 +02:00
Pavol Rusnak
2ad4554d69
docs: better typo in contributing.md 2020-05-12 13:57:49 +02:00
Tomas Susanka
3e07382a0e docs: add coinmate and liskish wallet to third parties 2020-05-05 11:37:19 +00:00
Tomas Susanka
05aabc64bb docs: document CI jobs 2020-05-04 08:51:57 +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
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
Tomas Susanka
65b0eae89d docs: document affected third parties by a breaking change 2020-04-22 15:16:55 +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
Tomas Susanka
38599e3364 docs: document when firmware wipes storage 2020-03-25 19:06:57 +01:00
Tomas Susanka
8ddf799cad docs/tests: update UI tests reporting 2020-03-23 17:22:56 +00:00
Tomas Susanka
8b5aab522c docs/core: add info about exceptions usage 2020-02-27 20:04:42 +00:00
matejcik
b916072389 common: restore PassphraseAck.state 2020-02-24 15:15:09 +01:00
Tomas Susanka
cd90d2b792 docs: add link to ui tests doc 2020-02-24 11:17:47 +00:00
Tomas Susanka
2e2f5fd421 docs/legacy: MEMORY_PROTECT needs to be 0 for custom built 2020-02-18 14:28:44 +00:00
Tomas Susanka
394fad9d6d docs/common: add note on session id / state size 2020-02-18 13:55:55 +00:00
Tomas Susanka
171067ffff docs/common: add link to passphrase migration 2020-02-18 12:54:42 +00:00
Tomas Susanka
02f2158c1d docs: passphrase migration info 2020-02-18 12:44:33 +00:00