obrusvit
50dc265162
feat(core/mercury): impl flow_request_passphrase
...
This commit replaces request_passphrase with flow_request_passphrase.
The added benefit is that the user is prompted for confirmation if they
want to proceed with an empty passphrase.
2024-08-22 00:47:15 +02:00
obrusvit
60ad7219fe
refactor(core): use PromptMsg instead of Option<>
...
PromptScreen now uses dedicated PromptMsg with Confirmed and Cancelled
values instead of empty Option<>. This change affects only mercury code.
This is more explicit and enables "yes" or "no" prompts screens.
Otherwise, the "no" option was handled by the 'x' button handled by
Frame.
[no changelog]
2024-08-22 00:47:15 +02:00
obrusvit
2b4d6eb798
feat(core/mercury): passphrase confirm empty btn
...
[no changelog]
2024-08-22 00:47:15 +02:00
obrusvit
15526343c9
feat(core/mercury): introduce binary_selection
...
This commit adds a Component which prompts a user with a pair of two
buttons - left and right. The Component is parametrized by the buttons
contents and styles.
[no changelog]
2024-08-22 00:47:15 +02:00
obrusvit
d99a94758b
feat(core/mercury): allow passphrase in FlowStore
...
[no changelog]
2024-08-22 00:47:15 +02:00
obrusvit
2203d9be1a
feat(core/ui): introduce FlowMsg::Text option
...
This commit allows flows to work with ShortString which can be converted
to micropython as str.
[no changelog]
2024-08-22 00:47:15 +02:00
Ondřej Vejpustek
5912c1e820
refactor(crypto): use boolean to indicate public key is set
...
[no changelog]
2024-08-21 17:19:24 +02:00
tychovrahe
dc276d1520
fix(core/bootloader): fix firmware update on stm32u5a
...
[no changelog]
2024-08-20 13:12:18 +02:00
tychovrahe
a265b0f176
fix(core/bootloader): evaluate model before vendor header signature when installing firmware
2024-08-20 12:22:35 +02:00
tychovrahe
5417ec15df
fix(core): introduce ui_overlay feature - fixes T3T1 bootloader compilation with new rendering
...
[no changelog]
2024-08-19 12:17:11 +02:00
tychovrahe
77eeabf7f5
fix(core/prodtest): fix expected param numbers for TOUCH_IDLE command
...
[no changelog]
2024-08-19 12:16:58 +02:00
tychovrahe
4b68431f7c
feat(core): tune consumption mask protection on T3B1
...
[no changelog]
2024-08-07 18:11:43 +02:00
tychovrahe
c42c268e05
fix(core): fix dma2d includes and initialization with respect to new rendering
...
[no changelog]
2024-08-07 18:11:29 +02:00
tychovrahe
171961829a
fix(core): fix gfx_clear
...
[no changelog]
2024-08-07 18:11:29 +02:00
tychovrahe
182f8d9774
chore(core): fix unused warning
...
[no changelog]
2024-08-01 16:17:12 +02:00
tychovrahe
effd81ed3b
chore(core): fix xframebuffer conditionals
...
[no changelog]
2024-08-01 16:17:12 +02:00
tychovrahe
4397978563
chore(core): add T3B1 binaries
...
[no changelog]
2024-08-01 13:29:38 +02:00
Martin Milata
c3161f8b18
chore(core): bump version to 2.8.2
...
[no changelog]
2024-07-31 14:15:42 +00:00
Ondřej Vejpustek
52437b1fc8
feat(core): improve optiga initialization error handling
...
[no changelog]
2024-07-31 14:55:30 +02:00
Andrew Kozlik
13de099bc1
refactor(core): Improve parameter naming in ed25519_sign_ext().
...
[no changelog]
2024-07-31 13:34:34 +02:00
Andrew Kozlik
6ed8aad608
fix(core): Remove bias in ed25519.generate_secret()
...
[no changelog]
2024-07-31 13:34:34 +02:00
tychovrahe
b37971eea4
feat(core/prodtest): add commands to read bootloader and boardloader versions
2024-07-31 13:05:06 +02:00
tychovrahe
e30fe7769a
feat(core/prodtest): add more touch layer tests
2024-07-31 13:05:06 +02:00
obrusvit
fbf380caba
refactor(core/mercury): init Paragraphs from Vec
...
[no changelog]
2024-07-31 11:52:47 +02:00
obrusvit
71b2c986f8
feat(core/ui): send BR from rust during recovery
...
[no changelog]
2024-07-31 11:36:32 +02:00
obrusvit
510230628b
feat(core): allow BR from rust on every Attach
...
This commit allows creating a rust flow in which a component sends the
configured ButtonRequest repeatedly on every Event::Attach.
This is necessary in recovery homescreen flow where we want to send
ButtonRequest also after restarting the device.
[no changelog]
2024-07-31 11:36:32 +02:00
obrusvit
11308f578d
feat(core/ui): T3T1 instruction screens between shares
...
Changes the content and visual appearance of the screens between shares
during multi-share (shamir) recovery. Context menu with the option to
cancel is added to the screen.
2024-07-31 11:36:32 +02:00
Ioan Bizău
5188dfc83d
feat(core): deal with non-breaking spaces
...
[no changelog]
2024-07-30 18:48:01 +03:00
cepetr
470d6ec24e
fix(core/embed): fix too frequent reading of touch panel registers
...
[no changelog]
2024-07-30 16:53:52 +02:00
Ioan Bizău
33f5d47330
chore(core): rename "hidden wallet" -> "passphrase wallet"
...
[no changelog]
2024-07-29 17:45:28 +03:00
tychovrahe
79feb690ad
fix(core/mercury): prefer vertical swipes over horizontal
2024-07-29 15:47:24 +02:00
Ioan Bizău
6f96585d4b
feat(core): make brightness an u8
...
[no changelog]
2024-07-29 13:30:34 +03:00
tychovrahe
a15dd6598f
fix(core/mercury): improve share words swiping animation
2024-07-29 09:07:35 +02:00
obrusvit
008490bf4b
refactor(core/mercury): unify confirm TOS
...
[no changelog]
2024-07-28 23:14:12 +02:00
obrusvit
f41176af02
feat(core/mercury): change FW update UI
...
This commit changes the UI of confirming interaction-less firmware
update.
2024-07-28 22:11:30 +02:00
Martin Milata
888e384f79
refactor(core/mercury): remove unnecessary Child
...
[no changelog]
2024-07-25 21:09:43 +00:00
tychovrahe
1212a7319a
fix(core): T3T1: adjust touch coordinates
2024-07-25 12:37:21 +03:00
tychovrahe
edd5351732
fix(core): fix missing touch events when PRESS_DOWN is missed
...
[no changelog]
2024-07-25 12:37:21 +03:00
obrusvit
c6df2179d6
fix(core): show correct word count in more info
...
Make translated strings describing recovery shares templated so that we
can show correct number of words (i.e. 20 or 33) in more info.
2024-07-22 12:09:16 +02:00
obrusvit
0d987a68f4
fix(core/mercury): multi-share backup more info
...
The commit fixes More Info screen hidden behind context menu during a
prompt for number of shares and shares threshold. It removes wrong title
and enables changing the info text based on currently selected number.
2024-07-22 12:09:16 +02:00
matejcik
b567a91c22
chore(core): changelogs and bump versions of boardloader, bootloader, prodtest
2024-07-19 22:06:52 +03:00
obrusvit
958d08cc91
fix(core/mercury): small copy change in tutorial
...
[no changelog]
2024-07-19 15:05:36 +02:00
Ioan Bizău
522d33a71f
refactor(core): send out ButtonRequest name
...
[no changelog]
2024-07-19 11:28:07 +03:00
obrusvit
108d9c737e
feat(core/mercury): add rounded overlay to keypads
...
Make the corner keys of passphrase and mnemonic keyboards rounded by an
overlay, similarly to PIN keyboard.
[no changelog]
2024-07-18 23:57:13 +02:00
M1nd3r
e34a027291
style(core): fix indentation in crc32 documentation
...
[no changelog]
2024-07-18 14:40:43 +02:00
tychovrahe
a700ff8dff
refactor(core): extract non-generic code from SwipeContent
...
[no changelog]
2024-07-18 09:12:35 +02:00
tychovrahe
df018a2af8
refactor(core/mercury): extract non-generic code from confirm action
...
[no changelog]
2024-07-17 20:57:58 +02:00
tychovrahe
873658104d
refactor(core/mercury): extract non-generic code from frame component
...
[no changelog]
2024-07-17 20:23:19 +02:00
tychovrahe
f2bdd6e189
fix(core/mercury): change status screen - display message in center after animation
...
Because some messages didn't fit the title
2024-07-17 20:23:19 +02:00
tychovrahe
747303fd39
fix(core/mercury): fix trace impl for TapToConfirm and HoldToConfirm
...
[no changelog]
2024-07-17 20:23:19 +02:00