M1nd3r
c99988312a
feat(core): add pairing credential manager
...
[no changelog]
2024-10-09 10:44:30 +02:00
M1nd3r
6ba75b267d
chore(core): exclude THP modules and messages from non-THP builds
...
[no changelog]
2024-10-09 10:44:30 +02:00
matejcik
6cbba09d1d
refactor(core): return FlowMsg::Choice and FlowMsg::Text as plain values
...
instead of tuples
2024-09-26 10:00:48 +02:00
matejcik
2661dbb3d1
fix(core): change incorrect usage of "deadline" in Rust timer code
2024-09-26 10:00:48 +02:00
tychovrahe
e13d4a45a6
chore(core): remove residual support for T1B1 in core
...
[no changelog]
2024-09-25 09:18:01 +02:00
Ioan Bizău
6da38f4cf3
feat(core): show account info in ETH send/stake flow
2024-09-24 11:57:34 +03:00
Ioan Bizău
32be89a29a
refactor(core): use code to append colon to strings
...
[no changelog]
2024-09-17 01:44:20 +02:00
Ioan Bizău
1c7bfdb04c
refactor(core): use a template to add colon to strings
...
[no changelog]
2024-09-17 01:44:20 +02:00
Martin Milata
24a15c3a05
Merge branch 'release/24.09'
2024-09-16 13:43:03 +02:00
Ioan Bizău
4e0851d01b
fix(core/ethereum): use BIP44 variant to detect ETH account #
2024-09-16 11:14:05 +03:00
obrusvit
d15ecfb859
refactor(core/mercury): self-updating footer
...
This commit enables registering function for updating footer and header
based on the content. This eliminates the need to create wrappers around
Frame to update them.
[no changelog]
2024-09-12 21:26:45 +02:00
JoeGruff
d2a2ac2178
decred: Add input_derive_script.
...
Decred shares code with bitcoin and a recent change broke signing stake
based inputs. Add decred specific script construction and fix tests.
2024-09-06 10:52:47 +02:00
Martin Milata
50da2bdfd1
chore(common): set definition timestamp to the current signed definitions
...
[no changelog]
2024-09-03 18:45:43 +02:00
Ioan Bizău
ba8f0ea4bc
feat(core): use new ETH send flow also for staking
2024-09-03 18:59:53 +03:00
obrusvit
c5f9fadbd1
fix(core/mercury): show remaining shares
...
This commit enables showing "Remaining shares" from the context menu
during recovery process. This is only shown during super-shamir.
2024-09-03 14:20:34 +02:00
matejcik
cc9e74772b
chore(common): rename MATIC to POL, following a network upgrade
2024-09-03 12:52:42 +02:00
matejcik
bcd837ae26
chore(core): generate coininfo for T3B1
...
this also includes T1B1 in the generated python files, but we don't care
because T1B1 will never be included in a built firmware
2024-09-03 10:35:14 +02:00
Martin Milata
7db1529533
refactor(core/ui): alternative multipage footer
2024-09-02 19:36:25 +02:00
Martin Milata
7c8be6f0ea
fix(core/ui/mercury): FIDO2 layouts
2024-09-02 19:36:25 +02:00
matejcik
afb75892f2
chore(core): include T3B1 where relevant
...
also convert "INTERNAL_MODEL in (tuple)" to equality comparisons, see
previous commit
[no changelog]
2024-08-29 10:56:21 +02:00
matejcik
4ac28e60f6
chore(core): regenerate networks
...
[no changelog]
2024-08-28 16:15:35 +02:00
obrusvit
f0989e20b8
fix(core/ui): fix persistent word during recovery
...
Remove the current word from recovery progress if a user goes to
previous word.
[no changelog]
2024-08-28 14:33:02 +02:00
obrusvit
e2022db8fa
feat(core/mercury): use less severe icon color
...
Not using danger color during onboarding.
[no changelog]
2024-08-28 14:21:07 +02:00
matejcik
c39ba83c8b
fix(core/debug): make sure return_layout_change does not crash on a race condition
...
[no changelog]
2024-08-28 00:08:48 +02:00
Andrew Kozlik
2a567f3a0c
feat: Remove display_random feature.
2024-08-27 19:33:23 +02:00
Ioan Bizău
b747a5bcc9
refactor(core): merge confirm_summary flow into confirm_output flow
2024-08-27 16:21:03 +03:00
Ioan Bizău
692eee3e07
feat(core): add progress to Ethereum transaction signing
2024-08-27 16:21:03 +03:00
Ioan Bizău
09d3301785
feat(core): improve ETH send flow
2024-08-27 16:21:03 +03:00
obrusvit
b7dc557bfa
feat(core): slight change of passphrase copy
...
Usage of different copy in mercury (especially titles and subtitles)
requires moving the layout code deeper into the model specifics.
[no changelog]
2024-08-22 00:47:15 +02:00
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
Ondřej Vejpustek
eef4319cda
chore(crypto,legacy,core): add comments about prefixes
...
[no changelog]
2024-08-21 17:19:24 +02:00
Ondřej Vejpustek
20f75e001b
fix(core,legacy): fix curve25519 public key prefix
2024-08-21 17:19:24 +02:00
Ondřej Vejpustek
59a005bf99
refactor(crypto): change ed25519 and curve25519 public key prefix
...
[no changelog]
2024-08-21 17:19:24 +02:00
Martin Milata
c07ba50ce0
Merge branch 'release/24.08.01'
2024-08-21 09:55:29 +02:00
Ondřej Vejpustek
90eef5331a
refactor(core/solana): use local constants
...
[no changelog]
2024-08-06 13:48:20 +02:00
Ondřej Vejpustek
1c5d47a875
refactor(core/solana): use variables instead of literals
...
[no changelog]
2024-08-06 13:48:20 +02:00
Martin Milata
8cffddb957
chore(common): set definition timestamp to the current signed definitions
...
[no changelog]
2024-08-01 15:54:27 +02:00
obrusvit
71b2c986f8
feat(core/ui): send BR from rust during recovery
...
[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
33f5d47330
chore(core): rename "hidden wallet" -> "passphrase wallet"
...
[no changelog]
2024-07-29 17:45:28 +03:00
obrusvit
008490bf4b
refactor(core/mercury): unify confirm TOS
...
[no changelog]
2024-07-28 23:14:12 +02:00
Ioan Bizău
53799cdee8
fix(core/ui): fix cancel in ethereum sign tx flow
...
[no changelog]
2024-07-26 10:15:40 +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
Ioan Bizău
522d33a71f
refactor(core): send out ButtonRequest name
...
[no changelog]
2024-07-19 11:28:07 +03:00
Ioan Bizău
1ef88117fe
fix: make sure storage.cache import is correctly retained
...
[no changelog]
2024-07-19 11:24:50 +03:00
Ioan Bizău
c7ec093863
feat(core): make "experimental features" storage field public to get rid of the cached field
...
[no changelog]
2024-07-19 11:24:50 +03:00
Ioan Bizău
7a32ebf2b6
refactor(core): use set-/get_bool in storage cache
...
[no changelog]
2024-07-19 11:24:50 +03:00
tychovrahe
2994317dcd
fix(core/mercury): homescreen attach animation, resume animations after an interrupt from workflow
2024-07-16 23:12:32 +02:00
tychovrahe
6b3aa768bd
fix(core/mercury): remove universal backlight fading
2024-07-16 23:12:32 +02:00
matejcik
759ce5bc14
fix(core): queue events from iface if all tasks waiting on that iface are gone
...
this juuust might fix unexplained freezes on hardware
2024-07-16 23:12:32 +02:00
Ioan Bizău
a64b22cdef
feat(core): add progress indicator when formatting SD cards
2024-07-15 13:32:06 +03:00
Martin Milata
98dca4db4c
Merge branch 'release/24.07'
2024-07-10 12:24:18 +02:00
Andrew Kozlik
e84f969f4f
feat(core): Implement DebugLinkOptigaSetSecMax.
2024-07-09 16:52:50 +02:00
Andrew Kozlik
b71a809da3
feat(common): Add DebugLinkOptigaSetSecMax message.
...
[no changelog]
2024-07-09 16:52:50 +02:00
Andrew Kozlik
a4cf0b2c72
feat(core): Show PIN initialization progress when Optiga throttling delays are active
2024-07-09 16:52:50 +02:00
Martin Milata
54441182ea
chore(common): set definition timestamp to the current signed definitions
...
[no changelog]
2024-07-01 11:49:31 +02:00
gabrielkerekes
6f76ac3be6
fix(solana): allow AToken Create instruction to contain an optional rent_sysvar
account
...
This is needed because some dApps (https://jup.ag/perps or http://solend.fi/ ) include the rent_sysvar account although it's not required anymore (it's also not a part of the [official docs](https://docs.rs/spl-associated-token-account/latest/spl_associated_token_account/instruction/enum.AssociatedTokenAccountInstruction.html#variant.Create )).
2024-07-01 09:46:40 +00:00
Martin Milata
106edd4309
feat(core/ui): T3T1: tutorial flow
...
[no changelog]
2024-07-01 09:35:11 +02:00
tychovrahe
283baa412a
fix(core): fix backlight fading when first painting a layout
...
[no changelog]
2024-07-01 09:33:40 +02:00
tychovrahe
a4ff76e840
fix(core/mercury): adjust swipe effect direction when animating transition through python
2024-07-01 09:33:40 +02:00
obrusvit
2de8acc141
chore(core): remove CoSi functionality
...
trezorctl CoSi feature is removed from all models
2024-07-01 09:32:38 +02:00
obrusvit
aaa2ece3ba
feat(core/ui): highlight repeated words on T3T1
...
ShowShareWords flow now informs the user if the word is repeated. The
most typical usecase in 1-of-1 shamir (SingleShare) where 3rd and 4th
word is "academic".
2024-06-30 12:07:09 +02:00
Andrew Kozlik
4ee81daee7
feat(core): Add optiga_sec field to Features
...
[no changelog]
2024-06-25 12:45:00 +02:00
tychovrahe
3a3259b574
feat(core/mercury): change homescreen flow
2024-06-24 21:43:08 +02:00
cepetr
0bc1d1f706
refactor(core/embed): refactor usb driver
...
[no changelog]
2024-06-19 11:48:06 +02:00
matejcik
da75d8f4b6
chore(common): make unused fields optional
...
[no changelog]
2024-06-10 11:06:06 +02:00
Marek Polak
9a22d570f2
chore(core): remove unused checks
...
[no changelog]
(cherry picked from commit 8a7db4f1d3
)
2024-06-07 16:59:04 +02:00
Martin Milata
1d3ebd61c4
fix(core/ui): T3T1: wrong XPUB title
...
[no changelog]
(cherry picked from commit 3760dd307c
)
2024-06-07 15:03:26 +02:00
obrusvit
c1e8c652a6
fix(core): TS3 device freeze
...
[no changelog]
(cherry picked from commit b560ce53c0
)
2024-06-07 14:55:55 +02:00
Martin Milata
924492ce1b
chore(common): set definition timestamp to the current signed definitions
...
[no changelog]
2024-06-06 14:30:14 +02:00
matejcik
2bf2549a31
style(core): make newer pyrights happier
2024-06-06 14:00:13 +02:00
matejcik
ffe07f2ca6
feat(core): improve repeated backup
...
* allow upgrading from Single to Basic
* do not skip confirmation screen when sending BackupDevice from Suite
2024-06-06 14:00:13 +02:00
obrusvit
e30de62adc
tests: fix input_flows
...
Reset/recovery tests after adding Wallet created screen and separate
backup intro.
Regen signatures.json after rebase.
[no changelog]
2024-06-06 14:00:13 +02:00
obrusvit
fd59c2ce88
feat(core/ui): T3T1 backup cannot be skipped
...
This commit disallows the user to exit backup flow once initiated.
It also ensurer the intro screen is shown when initiating backup via
protobuf msg after it was previously skipped during wallet creation.
[no changelog]
2024-06-06 14:00:13 +02:00
obrusvit
25a9ef3cf5
feat(core/ui): info screens before ShareWords
...
Inform the user about possible repeated words in 1-of-1 SLIP39.
Instruct the user to "repeat for all shares".
[no changelog]
2024-06-06 14:00:13 +02:00
obrusvit
d4b854a95e
refactor(core): sync layout code
...
Refactor mercury layout code according to recent changes in model_t
layout code.
[no changelog]
2024-06-06 14:00:13 +02:00
obrusvit
936fe1aea9
feat(core/ui): T3T1 separate wallet created screen
...
Commit adds separate call of success screen after wallet is created.
This is to ensure the success is shown even when skip_backup is set in
the protob msg.
[no changelog]
2024-06-06 14:00:13 +02:00
obrusvit
5bd6996ae4
feat(core/ui): show success screens between shares
...
This commit also adds minor improvements to reset flow.
[no changelog]
2024-06-06 14:00:13 +02:00
tychovrahe
09fc0ebf3e
fix(core): add missing tap to confirm screens to mercury
...
[no changelog]
2024-06-06 14:00:13 +02:00
Martin Milata
320fa06122
fix(core/ui): T3T1: prompt screen for confirm_action
...
[no changelog]
2024-06-06 14:00:13 +02:00
Martin Milata
e268f79749
fix(core/ui): T3T1: improve passphrase prompt
...
[no changelog]
2024-06-06 14:00:13 +02:00
tychovrahe
a67bc19bac
feat(core) screen transitions for mercury UI
...
[no changelog]
2024-06-06 14:00:13 +02:00
Ioan Bizău
ed58409888
chore(core): update tests
2024-06-05 12:35:09 +03:00
matejcik
cab6fd0799
refactor(core/wire): move restarting control to handle_single_message
...
that way it is possible to avoid restarting if we failed to find a
handler for a message (makes it faster with no ill effects because
"failed to find handler" (a) shouldn't happen and (b) doesn't cause any
significant fragmentation)
2024-06-05 12:35:09 +03:00
Ioan Bizău
8870869f93
chore(core): rename recovery type & kind and tweak feature flags
2024-06-05 12:35:09 +03:00
matejcik
49daeaa746
refactor(core): introduce wire filters
2024-06-05 12:35:09 +03:00
Ioan Bizău
8ef7dfab0d
feat(core): implement repeated backup
2024-06-05 12:35:09 +03:00
tychovrahe
e03d404dca
fix(core): ensure drop is called on layout objects
...
[no changelog]
2024-06-03 19:43:08 +02:00
tychovrahe
5f30194a34
fix(core): prevent unnecessary display refreshing
...
[no changelog]
2024-06-03 19:43:08 +02:00
tychovrahe
a34c2cb9dd
feat(core): animated lockscreen for mercury UI
...
[no changelog]
2024-06-03 19:43:08 +02:00
tychovrahe
1be6208a02
feat(core): remove mandatory startup wait for models other than T2T1 and T2B1
...
[no changelog]
2024-06-03 19:43:08 +02:00
tychovrahe
b9a55cf2a7
feat(core): add settings to turn haptic on/off
...
[no changelog]
2024-06-03 14:26:25 +02:00
tychovrahe
2e10d440fa
fix(core): add subtitle to confirm action
...
[no changelog]
2024-06-03 14:26:25 +02:00
matejcik
7e2f985037
chore(core): drop unused progress impl
2024-06-03 14:26:25 +02:00
matejcik
9bed793f68
refactor(core): provide backlight values from Rust
2024-06-03 14:26:25 +02:00
tychovrahe
a65511846b
feat(core): added user adjustable brightness setting
2024-06-03 14:26:25 +02:00
Martin Milata
69e406f7cf
fix(core/ui): T3T1 device tests
...
[no changelog]
2024-05-31 11:59:52 +00:00
Martin Milata
cde0dce3ef
fix(core/ui): T3T1: rebase on main
2024-05-31 11:59:52 +00:00
obrusvit
27d733f89d
feat(core/ui): T3T1 backup checklist
...
Also add subtitle to ShareWords.
[no changelog]
2024-05-31 11:59:52 +00:00