1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 01:48:17 +00:00
Commit Graph

332 Commits

Author SHA1 Message Date
Martin Milata
233a292fd2 Merge branch 'master' into secfix/23.03
Conflicts:
	core/Makefile
	core/SConscript.firmware
	core/embed/firmware/bootloader.bin
	core/embed/firmware/bootloaders/bootloader_T.bin
	core/embed/firmware/bootloaders/bootloader_T2T1.bin
	python/src/trezorlib/firmware/core.py
	python/src/trezorlib/firmware/models.py
2023-02-28 15:20:36 +01:00
Martin Milata
7408f169cb ci: drop cached-nix-shell 2023-02-21 10:23:46 +01:00
Martin Milata
12b2ea01e8 ci: don't use cached-nix-shell in hardware tests 2023-02-15 10:34:32 +01:00
Pavol Rusnak
bfda33dddc docs: reorganize hardware docs
- delete most of the files since they are maintained in the hardware repo
  (https://github.com/trezor/trezor-hardware)
- move docs/hardware/model-one/* to docs/legacy
- move docs/hardware/model-t/* to docs/core/misc

[no changelog]
2023-02-10 15:37:26 +01:00
matejcik
b2be58c6d2 build: also deploy click-test fixtures 2023-02-10 15:19:31 +01:00
matejcik
ed16fefae7 ci: update CI config, enable click UI tests
[no changelog]
2023-02-02 12:40:39 +01:00
grdddj
f8c432e955 chore(core/rust): delete model_1 code - it should use model_r
[no changelog]
2023-01-31 10:55:12 +01:00
Martin
4f0343c8c6 docs: Specify --recurse-submodules as in core doc
This is needed for a successfull build for the legacy firmware as well
2023-01-13 12:06:32 +01:00
Ondrej Mikle
5b5e4a8b3e feat(legacy): better debugability for various PRODUCTION bootloader/FW settings 2023-01-02 11:03:38 +01:00
Martin Novak
58276a7443 feat(core/ethereum, legacy/ethereum): add support to Ledger Live legacy derivation path 2022-11-30 14:23:47 +01:00
grdddj
5187be91fe chore(tests): fix click, upgrade and persistence tests for new UI 2022-11-21 14:08:47 +01:00
grdddj
d045e0089d feat(core/ui): delete old UI code 2022-11-21 14:08:47 +01:00
Ondrej Mikle
09ebe29369 docs(legacy): ImHex patterns for v2 trezor.bin, v1+v2 combined trezor.bin and bootloader binary images
[no changelog]
2022-11-01 14:58:35 +01:00
matejcik
7c1209e61d ci: run python test always
The python pipeline is cheap and the "only:changes:" part is problematic
in gitlab
2022-11-01 14:56:00 +01:00
Simon Males
393bbb2bf1 chore(docs): Clean up dead links [no changelog] 2022-10-25 15:27:32 +02:00
tychovrahe
f7b9bb4ef8 feat(core/rust): use dma2d to improve rendering performance, implement text over image and icon over icon functions 2022-09-29 21:50:10 +02:00
matejcik
612d52e298 build(core): switch to nightly Rust 2022-08-23 11:26:34 +02:00
vdovhanych
3300ed8905 ci: fix data deploy job for release 2022-08-18 13:33:05 +02:00
grdddj
745be6eaa3 fix(docs): make create_monorepo link absolute to work on docs.trezor.io 2022-08-08 11:58:03 +02:00
Martin Milata
784a3813f8 docs(core): add embedded C+Rust debug to index 2022-07-28 17:12:43 +02:00
Martin Milata
16999d6b48 ci: minor caching fixes 2022-07-28 14:47:53 +02:00
Ondrej Mikle
4d3d9f5d7e docs(core): documentation on embedded C+Rust debug 2022-07-26 11:24:27 +02:00
vdovhanych
907254245d ci: fix jobs on tags only 2022-07-15 14:58:24 +02:00
Simon Males
fb68db4302 chore(docs): Migrate developer specific docs from wiki.trezor.io to docs.trezor.io 2022-07-14 13:32:25 +02:00
Simon Males
0094c90153
chore(docs): Emulator disclaimer
fixes #2281 

* chore(docs): Emulator disclaimer

* Update docs/core/emulator/index.md

Co-authored-by: matejcik <ja@matejcik.cz>

Co-authored-by: matejcik <ja@matejcik.cz>
2022-07-08 13:35:16 +02:00
matejcik
4c745a3c19 ci: increase timeout for ASAN device tests 2022-06-29 09:24:54 +02:00
Martin Milata
b4145b69a3 ci: deploy recorded ui2 screens 2022-06-28 18:01:02 +02:00
Simon Males
61a0d69baa chore(docs): Hint on finding your tty. 2022-06-01 14:42:36 +02:00
grdddj
9ca9720f22 feat(tests): add test for supporting older python versions 2022-05-30 14:41:32 +02:00
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