1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-25 17:09:44 +00:00
Commit Graph

335 Commits

Author SHA1 Message Date
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
Tomas Susanka
577daf09fe tests: introduce --ui-check-missing to test/remove missing tests 2020-02-18 09:33:21 +01:00
Tomas Susanka
b4846e484a docs/common: add links and fix some typos 2020-02-12 09:45:33 +00:00
Tomas Susanka
2c0504ad1c
Merge pull request #803 from trezor/passphrase
Passphrase Redesign
2020-02-11 16:01:59 +01:00
matejcik
05a1d6f771 core/debug: add "show arbitrary screen" capability, for easier prototyping 2020-02-11 11:53:34 +01:00
Tomas Susanka
e4077e0634 docs/core: improve build section 2020-02-10 13:05:41 +01:00
Tomas Susanka
fc565765cd
finalize docs 2020-02-07 11:40:59 +00:00
Tomas Susanka
90d5cdfd5b
all: rework passphrase
The `on_device` field is being moved to PassphraseAck, State messages
are removed. Features newly contain `session_id`.
2020-02-07 11:40:58 +00:00
Tomas Susanka
afa6bb77bf docs: fix hash1 field in firmware header 2020-02-05 10:32:53 +00:00
Tomas Susanka
3664d7b37b docs: fix link to headertool 2020-02-04 09:03:57 +00:00
Tomas Susanka
50521bb16b tests/ui: add readme 2020-01-29 12:24:26 +00:00
Tomas Susanka
d2f8a83057 docs: fix title and trezorlib readme link
By adding it to SUMMARY.md.
2020-01-28 09:30:04 +00:00
matejcik
a1ed52c702 docs: add link to Python README 2020-01-27 19:41:50 +01:00
matejcik
6cf48bf485 ci: use explicit trezor.log location 2020-01-23 18:43:20 +01:00
matejcik
d28caf990e docs: update emulator documentation 2020-01-23 18:43:20 +01:00
matejcik
2294fb0453 core: drop unused env variables (TREZOR_TEST, TREZOR_SAVE_SCREEN) 2020-01-23 18:43:20 +01:00
Tomas Susanka
7c41b40dff
tests: introduce UI tests for core with diffs (#784)
tests: introduce UI tests for core with diffs
2020-01-10 20:39:31 +01:00
matejcik
f491239c26 core: add documentation for SLIP-39 handling in Trezor 2020-01-09 16:00:33 +01:00
Milan Rossa
33b7e378c2
core/ci: add coverage target, introduce posttest stage 2020-01-09 15:26:40 +01:00
Milan Rossa
42f1af3aa4
core: add build target for debug unix build 2020-01-09 13:44:46 +01:00
Tomas Susanka
51ef963738 tests: introduce UI tests for core 2020-01-03 14:28:27 +00:00
Pavol Rusnak
bd707a31b8
docs: fix typo 2019-12-15 08:49:15 +00:00
matejcik
0ae2cdf756 docs: update legacy build instructions (fixes #658) 2019-12-11 14:21:07 +01:00
matejcik
be29f20159 core: minor documentation fix 2019-12-09 16:31:46 +01:00
Tomas Susanka
1b88840f53 docs: move docs to root 2019-12-06 12:24:20 +00:00
matejcik
93062c4cc2 docs: improve docs, add random.md 2019-10-24 13:36:54 +02:00
Tomas Susanka
7b5b58ccad git/hooks: do not suppress output 2019-08-02 10:39:55 +02:00
Tomas Susanka
43f9448960 docs: set hook as executable 2019-07-12 12:55:48 +02:00
Tomas Susanka
baaba41447 docs: move git hooks to core docs and update 2019-07-12 12:53:32 +02:00
matejcik
e5670856a2 MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
matejcik
118ca37304 docs: fix curve names 2019-03-19 15:44:42 +01:00
matejcik
29cfdfad2f docs: add EOS, Tron and Ontology (WIP) 2019-03-15 19:06:33 +01:00
matejcik
28dd517668 docs: refactor and update coins README 2019-03-15 18:59:55 +01:00
Tim Ruffing
6e736b764c docs: Use proper make targets for code style (#499) 2019-03-15 11:58:36 +01:00
Pavol Rusnak
ce834d4074
docs: update otp table 2019-02-19 14:00:44 +01:00
Tomas Susanka
c6f9c04365 docs: contributing file (#464) 2019-01-19 16:06:13 +01:00
Tomas Susanka
a15d4a81d5 Makefile: use style command for formatting; style_check for checking 2019-01-17 14:51:16 +01:00
Tomas Susanka
e2649076c6 docs: add git pre-push hook 2019-01-08 17:22:43 +01:00
Tomas Susanka
31f987e988 coins: validate derivation paths
Based on SLIP-44 ids and other checks. See docs/coins/README for info.
2018-11-12 12:10:32 +01:00
Vladimir Volek
ab25381646 Update build.md (#408) 2018-11-12 12:04:56 +01:00
Milan Rossa
fc9bc85ea3
unix: user profiles support for emulator 2018-10-11 16:51:04 +02:00
Milan Rossa
32fe5d20af
unix: emulator debug build options 2018-10-11 16:33:45 +02:00
Pavol Rusnak
715151a7b0
docs: update emulator screenshot 2018-09-28 19:51:31 +02:00
Pavol Rusnak
25d00ab08c
docs: add info about image dimensions in vendor header 2018-09-25 18:12:05 +02:00
Tomas Susanka
ccde69b5ff docs: coin paths modifications (yup, it wasn't final) 2018-08-29 17:22:31 +02:00
Tomas Susanka
fc4b71ae06 docs: coin paths final modifications (hopefully) 2018-08-29 17:03:58 +02:00
Tomas Susanka
f8f1a62563 docs: coin paths modifications 2018-08-29 15:54:48 +02:00
Pavol Rusnak
92eb6b8fe1
docs: fix markdown syntax in coins/readme 2018-08-28 16:16:43 +02:00
Tomas Susanka
af63104d21 docs: list of used derivation paths 2018-08-28 16:12:13 +02:00
Pavol Rusnak
7b6e8a1158
docs: add GC9307 to hardware.md 2018-08-04 21:53:55 +02:00
Pavol Rusnak
20237ace5c
docs: update hardware.md to use jpgs 2018-07-18 20:15:55 +02:00
Pavol Rusnak
0123e4a155
docs: convert pngs to jpgs where it makes sense (photos) 2018-07-18 20:14:28 +02:00
mcudev
59c7159a29 docs: hardware: add photos, add more pin info, other related updates 2018-07-16 11:11:09 +02:00
mcudev
9541662902 build: update to use latest arm none eabi toolchain gcc-arm-none-eabi-7-2018-q2-update 2018-07-13 00:13:39 +02:00
Pavol Rusnak
6ce106b544
trezorhal: turn sdcard/cpt circuitry on/off using PC0/PB10 pin 2018-07-11 17:41:12 +02:00
Marcel O'Neil
565d60d004 fix: emulator docs link (#242) 2018-06-15 10:29:01 +02:00
Pavol Rusnak
9e16eb4122
docs: fix markdown issues 2018-06-05 23:42:26 +02:00
Pavol Rusnak
fb4b2aa608
unix: drop the 32bit build 2018-06-05 23:30:43 +02:00
Karel Bílek
56e15625d6 readme: Add scons to build dependency (#211) 2018-06-02 13:06:24 +02:00
Pavol Rusnak
9fa4ac2c13
docs: add emulator page 2018-05-31 13:11:36 +02:00
Pavol Rusnak
bfcabb7175
docs: update upload instructions 2018-05-30 11:42:18 +02:00
matejcik
003d77b209 testing: configure pytest.ini and update testing documentation
as per https://github.com/trezor/python-trezor/pull/263
2018-05-22 17:28:52 +02:00
Pavol Rusnak
df967821e7
emu.sh: rename OPTLEVEL to PYOPT (to match variable name used in the C source) 2018-05-22 16:36:24 +02:00
matejcik
a8351d1bda docs: testing instructions 2018-05-04 17:47:44 +02:00
matejcik
75fb38f63c docs: make build instructions more compact, reflect use of pipenv 2018-05-04 17:47:44 +02:00
Pavol Rusnak
81e676be6d
docs: add photo, schematic, bom, etc. 2018-03-21 16:50:00 +01:00
Roman Zeyde
cfb50f751e docs: fix 'vendorheader' to 'vendor' at build.md 2018-03-10 21:17:29 +01:00
Pavol Rusnak
21d07ec99d
docs: use make vendor to refresh submodules 2018-03-05 13:08:42 +01:00
Pavol Rusnak
34e60899c0
docs: add info about git submodule update 2018-03-02 16:36:41 +01:00