1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-16 04:29:08 +00:00
Commit Graph

2925 Commits

Author SHA1 Message Date
cepetr
ba83a7e644 feat(core): introduce interaction-less upgrade 2023-10-27 16:15:15 +02:00
Martin Milata
9c5d3b4831 fix(core/ui): T2T1: nudge page_prev_ellipsis to the right
[no changelog]
2023-10-27 11:50:12 +02:00
Martin Milata
18d6b4d647 fix(core/ui): T2T1: update sign message layout 2023-10-26 18:29:52 +02:00
Martin Milata
9e33eb3e48 fix(core/ui): T2T1: display coinjoin icon on lockscreen
[no changelog]
2023-10-26 13:35:43 +02:00
grdddj
02ec0ac43c feat(core): support recipient address chunkification in Ethereum sign flow
[no changelog]
2023-10-25 11:49:43 +02:00
grdddj
37fcbceded feat(core): make middle-click unlock the device for T2B1
[no changelog]
2023-10-23 14:53:01 +02:00
tychovrahe
8a4f376f20 refactor(core): prepare fw for differently sized fw chunks
[no changelog]
2023-10-20 16:33:53 +02:00
David Misiak
a945de85a5 chore(cardano): update ui tests, add changelog 2023-10-19 09:55:30 +02:00
David Misiak
90d3035590 feat(cardano): allow address_index in staking paths 2023-10-19 09:55:30 +02:00
David Misiak
8cb6b08377 fix(cardano): warn about unknown token decimals 2023-10-19 09:55:30 +02:00
tychovrahe
a16fbe6237 fix(core/prodtest): fix failing optiga communication
[no changelog]
2023-10-18 13:15:49 +02:00
Martin Milata
f26a2e909e fix(core/ui): wording in recovery flow
[no changelog]
2023-10-18 12:04:52 +02:00
Martin Milata
7f86858709 fix(core/ui): flickering at the end of PIN loader 2023-10-17 20:39:50 +02:00
Martin Milata
a353c35b78 fix(core/ui): draw hold-to-confirm loader over dialog title
[no changelog]
2023-10-16 13:18:50 +02:00
Martin Milata
d99e1eedd2 refactor(core/ui): clear display on rust side
[no changelog]
2023-10-16 13:18:50 +02:00
Martin Milata
d8e7c00087 refactor(core/ui): pagination and buttons on TT 2023-10-16 13:18:50 +02:00
matejcik
4f2c639ed7 feat(core): T2B1 final design for emulator 2023-10-12 12:58:37 +02:00
Martin Milata
fca82273cf Merge branch 'release/23.09' 2023-10-11 23:34:06 +02:00
tychovrahe
df42c99bc9 feat(core): add basic support for efficient frame buffer graphics
[no changelog]
2023-10-10 19:01:43 +02:00
matejcik
d9112b5a8d chore(core/prodtest): bump version after release 2023-10-06 10:49:29 +02:00
matejcik
06f77f745f docs(core/prodtest): introduce changelog 2023-10-06 10:49:29 +02:00
matejcik
11b12ea258 chore(core/prodtest): bump prodtest version 2023-10-06 10:49:29 +02:00
cepetr
6668f47666 docs(prodtest): document prodtest protocol
[no changelog]
2023-10-06 10:03:29 +02:00
cepetr
03464bea4d feat(prodtest): make prodtest welcome screen white (T2B1 only)
[no changelog]
2023-10-06 10:03:29 +02:00
Andrew Kozlik
3ca8f26fd0 feat(core): Implement Optiga counter operations. 2023-10-04 11:22:46 +02:00
Andrew Kozlik
1fa2929607 feat(core): Distinguish Optiga errors from invalid PIN. 2023-10-04 11:22:46 +02:00
Andrew Kozlik
4c7979ae30 feat(core): Propagate Optiga errors. 2023-10-04 11:22:46 +02:00
matejcik
240f4f56cd fix(core/optiga): add correct key usage to OID_PIN_CMAC 2023-10-04 11:22:46 +02:00
matejcik
3c413ecf02 fix(storage): correctly fail when Optiga operations fail 2023-10-04 11:22:46 +02:00
tychovrahe
6e5967af25 fix(core): adjust T2B1 display SPI baudrate
[no changelog]
2023-10-02 22:14:58 +02:00
grdddj
532f368a14 feat(core): not allowing to send empty PIN in T2B1
[no changelog]
2023-10-02 22:14:58 +02:00
tychovrahe
c937f21447 refactor(core): change the way USE_OPTIGA is added to build
[no changelog]
2023-10-02 20:59:50 +02:00
Andrew Kozlik
cb21ca8dc5 feat(core): Implement Optiga counter operations. 2023-10-02 20:26:00 +02:00
Andrew Kozlik
aed5912fbf feat(core): Distinguish Optiga errors from invalid PIN. 2023-10-02 20:26:00 +02:00
Andrew Kozlik
68876170fe feat(core): Propagate Optiga errors. 2023-10-02 20:26:00 +02:00
Martin Milata
f226c9599b fix(core/ui): better contrast for bip39 keyboard button
[no changelog]
2023-10-02 19:04:28 +02:00
matejcik
e28dff677c fix(core/optiga): add correct key usage to OID_PIN_CMAC 2023-10-02 16:57:15 +02:00
matejcik
9d86352352 fix(storage): correctly fail when Optiga operations fail 2023-10-02 16:57:15 +02:00
matejcik
c6c8d85200 chore(core): embed signed bootloader 2.1.3 2023-10-02 16:57:15 +02:00
Martin Milata
cb5732762a docs(core): changelog for 2.6.2 2023-10-02 16:57:15 +02:00
tychovrahe
e39ab74949 fix(core): adjust T2B1 display SPI baudrate
[no changelog]
2023-10-02 16:45:05 +02:00
grdddj
07fb451048 feat(core): not allowing to send empty PIN in T2B1
[no changelog]
2023-10-02 16:33:51 +02:00
Martin Milata
3021df8f65 chore(core): bump version to 2.6.3
[skip_ci]
2023-09-29 20:20:19 +02:00
Martin Milata
040f6c2c8e Merge branch 'master' into release/23.09 2023-09-29 16:42:23 +02:00
matejcik
bd1d0822b3 feat(core): spinner for authenticate_device
[no changelog]
2023-09-29 16:27:27 +02:00
matejcik
f6c659357a refactor(core): rely on layout code to fill in homescreen default label
[no changelog]
2023-09-29 16:27:27 +02:00
matejcik
193a53f22b feat(core/rust): use MODEL_FULL_NAME from build system
[no changelog]
2023-09-29 16:27:27 +02:00
matejcik
d913181079 docs(core): add docstrings to modtrezorutils constants
[no changelog]
2023-09-29 16:27:27 +02:00
matejcik
c892d4b0ba refactor(core): inject full model name from build script
so that we don't have to do awkward string operations when we need it

[no changelog]
2023-09-29 16:27:27 +02:00
grdddj
b07f4d938a fix(core): make the marquee take always 2 seconds to animate from end to end
[no changelog]
2023-09-29 14:19:38 +02:00
matejcik
ff4197c50a chore(core): generate changelog, bump bootloader version after release 2023-09-29 11:47:40 +02:00
Andrew Kozlik
b3d0fb68ff feat(core): Improve Optiga transport error handling. 2023-09-27 17:17:09 +02:00
Andrew Kozlik
7d92e70cc3 feat(core): Hide repetitions in Optiga logging. 2023-09-27 17:17:09 +02:00
Andrew Kozlik
dee559f4f9 feat(core): Integrate Optiga into PIN verification. 2023-09-27 17:17:09 +02:00
Andrew Kozlik
6ca1182d85 refactor(core): Add "META" to metadate-related Optiga constants.
[no changelog]
2023-09-27 17:17:09 +02:00
grdddj
046ff15275 feat(core): show the preview of default homescreen image
[no changelog]
2023-09-27 14:14:42 +02:00
matejcik
fbd5c466f0 chore(core): embed QA bootloader 2.1.3 2023-09-27 13:20:02 +02:00
matejcik
bb5b91b920 Merge branch 'master' into release/23.09 2023-09-27 12:58:22 +02:00
tychovrahe
5d017e928d fix(core): reset optiga during initialization
[no changelog]
2023-09-27 12:14:32 +02:00
tychovrahe
510281590f fix(core): add delays to optiga i2c communications
[no changelog]
2023-09-27 12:14:32 +02:00
Ondrej Mikle
36e4a444bb feat(core/bootloader): make bootloader more robust against glitches
[no changelog]
2023-09-27 12:14:13 +02:00
tychovrahe
a6d0842663 fix(core/bootloader): fix erroneous shutdown when rejecting firmware upload 2023-09-27 12:14:13 +02:00
grdddj
144ff52b7a feat(core): show account number in receive/public key details for altcoins
[no changelog]
2023-09-26 11:50:21 +02:00
grdddj
a3f137d488 feat(core): forcing the letter to always change after selection in T2B1 recovery
[no changelog]
2023-09-26 09:28:11 +02:00
grdddj
65c9380ab7 feat(core): triggering delete action in ChoicePage after 1 second even without release
[no changelog]
2023-09-26 08:07:32 +02:00
grdddj
e06335d877 feat(core/rust): differentiate between short and long button press
With the help of this, making long DELETE press delete all the
inputted characters in PIN or passphrase entries.

[no changelog]
2023-09-21 11:30:02 +02:00
tychovrahe
29c16c212d fix(core): fix T2B1 "restarting in" label capitalization
[no changelog]
2023-09-20 21:36:07 +02:00
grdddj
0c4540ae0a feat(core): show new homescreen preview for T2B1
[no changelog]
2023-09-20 13:58:05 +02:00
Andrew Kozlik
1f7c78a4ed test(core): Update emulator device certificate.
[no changelog]
2023-09-19 21:41:42 +02:00
tychovrahe
c1e3ac5b3c fix(core): fix passphrase entry in btconly fw
[no changelog]
2023-09-19 16:33:57 +02:00
grdddj
42a6a5ac9b chore(core): adjust the chunkification logic to account for really mono font
Also improving the positioning of prev/next page arrows when paginating.

[no changelog]
2023-09-19 11:48:58 +02:00
grdddj
ad5c1858c1 chore(core,font): change some glyphs in PixelOperatorMono8
This makes the font really "mono", as previously some characters were
wider than others (m, w, M or W), which did not look good when
relying on the mono properties.

[no changelog]
2023-09-19 11:48:58 +02:00
tychovrahe
c2b787c046 chore(core): skip signature check for make_upload commands
[no changelog]
2023-09-19 10:50:46 +02:00
tychovrahe
3c1236bf82 refactor(core): setup single-place layout selection
[no changelog]
2023-09-18 18:05:37 +02:00
Martin Milata
b9dbdc7057 chore(core): bump version to 2.6.2
[no changelog]
2023-09-18 16:27:07 +02:00
Martin Milata
364c1ce123 docs(core): changelog for 2.6.1 2023-09-15 20:08:41 +02:00
Martin Milata
07027a69e9 Merge branch 'master' into release/23.09 2023-09-15 14:33:20 +02:00
matejcik
21959996bd feat(core/bootloader_emu): allow explicit bootloader locking from command line 2023-09-15 14:08:02 +02:00
Andrew Kozlik
c48b606867 feat(core): Add bootloader_locked flag to Features message.
[no changelog]
2023-09-15 14:08:02 +02:00
tychovrahe
f881fab797 fix(core): disable access to secret in flash after boot
[no changelog]
2023-09-15 13:31:24 +02:00
Andrew Kozlik
686aa78aa7 feat(core): Use Optiga as a source of randomness. 2023-09-15 11:16:57 +02:00
grdddj
8a9354cd85 chore(core): separate confirm_output for T2B1 into two layouts so we can send a button request in between
[no changelog]
2023-09-15 09:50:21 +02:00
grdddj
64aad8d4d7 chore(all): add changelog entries for address chunkification 2023-09-15 09:50:21 +02:00
grdddj
bcb353a4a1 feat(core): support optional chunkification of addresses in receive and send flows 2023-09-15 09:50:21 +02:00
grdddj
da3cab22fd fix(tests): add chunkify argument to unittests
[no changelog]
2023-09-15 09:50:21 +02:00
grdddj
d48830eb58 chore(makefile): remove missing tests when recording local UI fixtures
[no changelog]
2023-09-15 09:50:21 +02:00
grdddj
618bf43743 feat(all): add optional chunkify parameter for all getAddress and signTx protobuf messages 2023-09-15 09:50:21 +02:00
Martin Milata
69b4f6d80f chore(common): set definition timestamp to the current signed definitions
[no changelog]
2023-09-14 19:25:13 +02:00
grdddj
76c6e9cd9d feat(all): implement support information for T2B1
WIP - change trezor{1,2} to their internal names, add support for model R

WIP - add EOS and NEM features Capability only for TT

WIP - not include EOS and NEM into TR

WIP - choose between device models when generating coininfo

WIP - regenerate coininfo.py

WIP - skip NEM, EOS, Dash, BGold and Decred device tests for TR

WIP - fix python support

WIP - fix unit tests

WIP - import bitcoin-like code only when needed

WIP - remove ignored coins for TR in fixtures.json

WIP - make all the external references to models UPPERCASE

WIP - do the model separation in mako script also for tokens and networks

WIP - hot-fixing non-supporting RELEASES_URL for new model names

WIP - support.py releases CLI command takes a list of -r key-value pairs DEVICE=VERSION

WIP - run `python support.py release`

WIP - use utils.MODEL_IS_T2B1 to ignore NEM and EOS

WIP - change all the docs and commands to have UPPERCASE model names

[no changelog]
2023-09-14 13:54:09 +02:00
grdddj
4b9d22066c chore(core/rust): change the position of up arrow icon
[no changelog]
2023-09-14 11:43:43 +02:00
matejcik
efab85a963 chore(core): include signed and QA bootloaders 2023-09-14 10:13:38 +02:00
grdddj
568c5f135b feat(core/rust): add ChoicePage animation and hold-to-move functionality
[no changelog]
2023-09-13 17:12:51 +02:00
grdddj
272fb4842a feat(core/rust): show last entered passphrase character for T2B1
[no changelog]
2023-09-13 17:12:51 +02:00
matejcik
afa6f84174 feat(core): custom exception types for Optiga 2023-09-13 15:45:48 +02:00
tychovrahe
024ea604ca fix(core): fix optiga warm reset start-up time
[no changelog]
2023-09-13 15:45:48 +02:00
Andrew Kozlik
6f139c9108 feat(core): Implement AuthenticateDevice message. 2023-09-13 15:45:48 +02:00
Andrew Kozlik
db6630a5a3 feat(core): Support Optiga in Trezor firmware. 2023-09-13 15:45:48 +02:00
Andrew Kozlik
8010cfb5b6 feat(core): Add utils.USE_OPTIGA. 2023-09-13 15:45:48 +02:00
Andrew Kozlik
2dc5857336 feat(common): Add AuthenticateDevice message.
[no changelog]
2023-09-13 15:45:48 +02:00
Martin Milata
b221f128ec feat(core): additional btc send/receive warnings 2023-09-12 18:08:41 +02:00
grdddj
70fa46a318 chore(core/rust): decrease top margin over homescreen label in T2B1
[no changelog]
2023-09-12 13:44:21 +02:00
grdddj
623e0ce468 chore(core/rust): improve vertical centering in some screens
[no changelog]
2023-09-12 11:06:38 +02:00
grdddj
d2f67d48fa chore(core/rust): transform if-elif into match
[no changelog]
2023-09-12 11:06:38 +02:00
Martin Milata
66616bbf67 build(core): fix test_emu_ui_record_multicore 2023-09-12 00:39:08 +02:00
Martin Milata
7e9f127aec feat(core): revise path warning on model T 2023-09-12 00:39:08 +02:00
Martin Milata
c1492159f0 fix(core): cardano: include chain code when displaying public key
[no changelog]
2023-09-12 00:39:08 +02:00
Martin Milata
58ffe95369 fix(core): display XPUBs in a similar way to addresses
[no changelog]
2023-09-12 00:39:08 +02:00
Ondrej Mikle
bf96c43d32 chore(core): cstyle reformat
DSVibram AR fix
2023-09-11 14:36:11 +02:00
Ondrej Mikle
ac64d2d2f1 fix(core): one forgotten ensure_compatible_settings 2023-09-11 14:36:11 +02:00
Ondrej Mikle
75a148e414 fix(core): clear memory when not going to use copy firmware header for bootloader 2023-09-11 14:36:11 +02:00
Ondrej Mikle
c0c544b7d8 fix(core): fix bootloader_ci startup, remove unused function from limited_util.s
Fix changelog messages
2023-09-11 14:36:11 +02:00
Ondrej Mikle
b69ef9d168 feat(core): Copy firmware image header to bootloader RAM to be able to skip directly to firmware install, jumping from firmware to bootloader
Change linking of util.s and limited version of util.s to avoid mistakes
with boardloader etc.
2023-09-11 14:36:11 +02:00
grdddj
84659dc904 feat(core/rust): show WRONG PIN header in PIN entry after bad previous PIN input
[no changelog]
2023-09-11 09:29:12 +02:00
Martin Milata
49ce5eb05f ci(core): build bootloader emulators
[no changelog]
2023-09-08 11:55:08 +02:00
matejcik
6e0937c1ce chore(core/bootloader): bump version after release 2023-09-07 11:32:48 +02:00
matejcik
965d3182a0 docs(core/bootloader): generate changelog for 2.1.2 2023-09-07 11:32:48 +02:00
matejcik
409ef8abcd chore(core/embed/boardloader): bump version after release 2023-09-06 11:28:34 +02:00
matejcik
636b964119 chore(core/embed/boardloader): generate changelog, set correct version 2023-09-06 11:28:34 +02:00
matejcik
34b1980893 docs(core/embed/boardloader): add missing changelog entry 2023-09-06 11:28:34 +02:00
matejcik
59d35c8652 chore(core/bootloader): bump version after release 2023-09-06 11:09:45 +02:00
grdddj
8956350aca feat(core): create new Ethereum send flow for TT
[no changelog]
2023-09-04 13:50:30 +02:00
grdddj
eed6e0b71c feat(core): create new Ethereum send flow for TR
[no changelog]
2023-09-04 13:50:30 +02:00
grdddj
492ff958a5 feat(core): improve sign message designs
[no changelog]
2023-09-01 13:30:29 +02:00
grdddj
09cd64123b feat(core): implement show_more dialogue for TR
[no changelog]
2023-09-01 13:30:29 +02:00
grdddj
45639eeacf chore(core): change error screens according to design
[no changelog]
2023-09-01 10:27:48 +02:00
matejcik
0532585105 docs(core/bootloader): generate changelog for 2.1.2 2023-08-30 15:54:03 +02:00
Ondrej Mikle
088e3b058e feat(core): change core builds to use GNU11 standard instead of GNU99
[no changelog]
2023-08-30 14:33:21 +02:00
tychovrahe
bd0b0b2d15 refactor(core): move model specific norcow config to model header
[no changelog]
2023-08-29 11:17:19 +02:00
tychovrahe
33fc64b629 refactor(core): remove universal DMA driver
[no changelog]
2023-08-29 11:17:03 +02:00
matejcik
04ea95777b chore(core/prodtest): enable Optiga locking 2023-08-29 10:59:34 +02:00
matejcik
f40feec4f9 chore(core): bump prodtest version 2023-08-29 10:59:34 +02:00
Andrew Kozlik
5898b16cd2 feat(core): Implement OPTIGA VerifySign command. 2023-08-29 10:59:34 +02:00
tychovrahe
5470304515 feat(core): Implement OPTIGA provisioning in prodtest.
[no changelog]
2023-08-29 10:59:34 +02:00
Andrew Kozlik
812e77cefd feat(core): Implement OPTIGA secure channel. 2023-08-29 10:59:34 +02:00
Andrew Kozlik
11e1795a89 refactor(core): optiga_execute_command()
- Remove presentation layer parameter.
- Use error-flushing command codes.
2023-08-29 10:59:34 +02:00
Andrew Kozlik
773f79251f feat(core): Implement comparison of OPTIGA metadata. 2023-08-29 10:59:34 +02:00
tychovrahe
ee34425062 feat(core): add install restricted screen on installation with locked bootloader
[no changelog]
2023-08-28 17:04:25 +02:00
grdddj
78d5abd9b1 chore(core): replace View full button text with Show all
[no changelog]
2023-08-28 12:09:58 +02:00
tychovrahe
6c97dfef78 feat(core): add vendor headers for devices with dev bootloader
[no changelog]
2023-08-25 18:54:34 +02:00
tychovrahe
6d9e4321fd feat(core): add install restricted screen on installation with locked bootloader
[no changelog]
2023-08-25 14:41:59 +02:00
grdddj
bb959892ac chore(core): improve the shamir info button handling, regenerate tests
[no changelog]
2023-08-23 11:03:09 +02:00
conduition
30ddabc15b fix(core): more info button on shamir recovery screen
chore(core): add changelog
2023-08-23 11:03:09 +02:00
tychovrahe
c9a657b074 feat(core): set final name for Safe 3
[no changelog]
2023-08-18 16:14:47 +02:00
matejcik
7cf3a655e5 docs(core/bootloader): add changelog entry 2023-08-18 16:13:58 +02:00
matejcik
c0fd783b06 feat(core/bootloader): always use empty logo
Now that the empty logo also shows model name, we do not need to draw
the full logo in bootloader at all.
2023-08-18 16:13:58 +02:00
matejcik
ae7a1c7d52 refactor(core): render full/empty logo same way as in TR 2023-08-18 16:13:58 +02:00
tychovrahe
5947f8a50d feat(core): add model name below empty logo on boot
[no changlog]
2023-08-18 16:13:58 +02:00
tychovrahe
90bdab6599 fix(core): fixed unwanted delays in T2B1
[no changelog]
2023-08-18 16:13:58 +02:00
matejcik
edc2add85e style(core): apply isort 5
[no changelog]
2023-08-16 13:29:51 +02:00
matejcik
6cd174d540 feat: toiftool 2023-08-16 12:47:14 +02:00