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

1727 Commits

Author SHA1 Message Date
gabrielkerekes
bf45d51af6 feat(solana): basic sign_tx setup and support 2023-12-05 22:11:41 +01:00
gabrielkerekes
44dc417c0e feat(solana): add get_address 2023-12-05 22:11:41 +01:00
gabrielkerekes
ec4a607dbe feat(solana): add get_public_key 2023-12-05 22:11:41 +01:00
gabrielkerekes
50861eb019 feat(solana): basic Solana setup 2023-12-05 22:11:41 +01:00
gabrielkerekes
a8096652e0 refactor(core): make ethereum summary reusable for more coins
- and use it for Solana
2023-12-05 22:11:41 +01:00
grdddj
087becd2ca chore(core): change Go to bootloader screen text 2023-12-05 08:54:35 +01:00
grdddj
8a6934e844 fix(core): completely repaint layouts before showing them in a loop
[no changelog]
2023-12-04 13:15:57 +01:00
grdddj
9a53ba9f44 fix(core): unify button requests in modify amount flow
[no changelog]
2023-12-04 13:15:57 +01:00
grdddj
5b52db1ed3 chore(core): decrease code-size a little bit
[no changelog]
2023-12-04 13:15:57 +01:00
grdddj
9db8ff1fae fix(core): unify sent button requests in ETH send flow
Makes sure T2B1 will send the same ButtonRequests as T2T1.
Does it by splitting the Rust layout into two separate dialogs.

[no changelog]
2023-12-04 13:15:57 +01:00
grdddj
01eb896817 chore(core): hardcode ETH and Gwei units in ETH send summary
[no changelog]
2023-12-01 14:42:08 +01:00
tychovrahe
a2f72b1055 feat(core): optimize boot time by drawing full logo sooner and shortening the enforced delay proportionally
[no changelog]
2023-11-30 16:46:04 +01:00
matejcik
c5fc92e36a fix(core): restore filled-lock display time 2023-11-30 16:46:04 +01:00
tychovrahe
7b442a2b20 fix(core): improve T2B1 homescreen checks
[no changelog]
2023-11-30 13:42:02 +01:00
matejcik
c8fa687c1e fix(core/ui): fix skipped confirm_address on TS3 2023-11-30 09:27:57 +01:00
Martin Milata
2c7cc6e025 chore(common): set definition timestamp to the current signed definitions
[no changelog]
2023-11-02 12:39:43 +01:00
matejcik
3a28ab4c11 feat(core): make lockscreen blank for T2B1
also allow soft-locking even when PIN is not set
2023-11-01 16:45:29 +01:00
matejcik
ec2302d442 fix(core): disallow ILU when the installed firmware is not official
It would be nice to hide this behind a compile-time flag, but doesn't seem worth introducing one just for it.
2023-10-27 16:41:56 +02:00
cepetr
ba83a7e644 feat(core): introduce interaction-less upgrade 2023-10-27 16:15:15 +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
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
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
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
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
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
046ff15275 feat(core): show the preview of default homescreen image
[no changelog]
2023-09-27 14:14:42 +02:00
matejcik
bb5b91b920 Merge branch 'master' into release/23.09 2023-09-27 12:58:22 +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
0c4540ae0a feat(core): show new homescreen preview for T2B1
[no changelog]
2023-09-20 13:58:05 +02:00
tychovrahe
c1e3ac5b3c fix(core): fix passphrase entry in btconly fw
[no changelog]
2023-09-19 16:33:57 +02:00
tychovrahe
3c1236bf82 refactor(core): setup single-place layout selection
[no changelog]
2023-09-18 18:05:37 +02:00
Martin Milata
07027a69e9 Merge branch 'master' into release/23.09 2023-09-15 14:33:20 +02:00
Andrew Kozlik
c48b606867 feat(core): Add bootloader_locked flag to Features message.
[no changelog]
2023-09-15 14:08:02 +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
bcb353a4a1 feat(core): support optional chunkification of addresses in receive and send flows 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
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
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
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
grdddj
bb959892ac chore(core): improve the shamir info button handling, regenerate tests
[no 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
tychovrahe
5947f8a50d feat(core): add model name below empty logo on boot
[no changlog]
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
Pavol Rusnak
92e29b6036 chore(common): remove MUE support
the coin is dead, domain not working, etc.
2023-08-16 10:31:50 +02:00
tychovrahe
5a86add884 refactor(core): differentiate models by internal name in python
[no changelog]
2023-08-15 22:08:11 +02:00
tychovrahe
e8281385f6 feat(core): implement secret handling in bootloader 2023-08-15 09:37:38 +02:00
grdddj
9a4cb1887d fix(core): raise ActionCancelled when cancelling tutorial flow for TR
[no changelog]
2023-08-09 13:31:22 +02:00
grdddj
8d78dd8872 chore(core): change some UI text and TR's screens to match the Figma designs
[no changelog]
2023-08-07 15:30:38 +02:00
grdddj
463f0df22a chore(core): modify design of recovery flow
[no changelog]
2023-07-28 09:41:04 +02:00
grdddj
91740ae4aa chore(core): change title of Shamir wallet creation
[no changelog]
2023-07-18 10:09:35 +02:00
grdddj
8f7122cb84 fix(core): rename confirm_backup to prompt_backup to signify it does not raise on cancellation
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
52c69de138 chore(all): small design fixes
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
bc502287fc feat(core): new design of recovery dialogs
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
03f77c50e9 feat(core/rust): new design of wallet creation dialogs
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
672d6b7d13 feat(core): new design of PIN dialogs
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
10449759bf chore(core): new designs of passphrase dialogs
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
b96b9d43bb feat(core/rust): improve and use coinjoin loading screens
[no changelog]
2023-07-17 15:30:00 +02:00
matejcik
20805af8a5 fix(core): use interact() as appropriate 2023-07-12 10:09:36 +02:00
matejcik
8c5c2f4204 refactor(core): get rid of passing Context around 2023-07-12 10:09:36 +02:00
matejcik
fe80793b47 feat(core): keep track of current context for workflow 2023-07-12 10:09:36 +02:00
matejcik
78a8b48f1e refactor(core): generate trezorproto module straight from Rust 2023-07-12 10:09:36 +02:00
Martin Milata
03693ff8c3 fix(core): update homescreen after CancelAuthorization
[no changelog]
2023-06-30 12:59:07 +02:00
tychovrahe
539420cac8 refactor(core): make backlight/fading optional
[no changelog]
2023-06-27 16:18:30 +02:00
grdddj
f9f21176fd feat(core/rust): improve progress screen design
[no changelog]
2023-06-27 07:57:45 +02:00
grdddj
64236e699f feat(core/rust): add account and address labels into send flow
[no changelog]
2023-06-27 07:57:45 +02:00
Martin Milata
3a5fdfedcc fix(core/ui): minor visual tweaks
- centered title for coinjoin loader
- make device label bold on label confirmation screen

[no changelog]
2023-06-19 19:34:16 +02:00
tychovrahe
32a2b371bd feat(core): allow different screen sizes for TT UI
[no changelog]
2023-06-15 17:08:14 +02:00
tychovrahe
d3284baf21 feat(core): support STM32F429 discovery board 2023-06-15 17:08:14 +02:00
grdddj
5efafce856 chore(core): modify Shamir backup flow design
[no changelog]
2023-06-14 16:44:02 +02:00
grdddj
55bff602fa fix(core): add dynamic title to the FIDO dialogue for model R
[no changelog]
2023-06-14 15:20:43 +02:00
tychovrahe
8d812ca36e feat(core): support device variants
[no changelog]
2023-06-07 19:48:53 +02:00
tychovrahe
a2f8cb9d1c feat(core): add internal model field to features
[no changelog]
2023-06-06 09:39:45 +02:00
Martin Milata
fee0d70211 fix(core/ui): workaround different TT and TR UI API
[no changelog]
2023-06-02 18:47:09 +02:00
Martin Milata
611d4edc32 fix(core/ui): clarify transaction replacement screens
[no changelog]
2023-06-02 18:47:09 +02:00
Martin Milata
46f9e898ca fix(core/ui): padding when backing up mnemonic words
[no changelog]
2023-06-02 18:47:09 +02:00
grdddj
da14c22712 feat(all): add UI for Model R 2023-05-31 10:14:54 +02:00
matejcik
1cb0bf01e6 fix(core): do not handle click signal in non-debug builds (fixes #3026)
[no changelog]
2023-05-22 11:50:26 +02:00
grdddj
019a3ced7d fix(core): revert some UI changes for TT (PIN, wipecode, backup homescreen) 2023-05-16 09:25:56 +02:00
grdddj
393bc48b6b fix(core): improve error popups 2023-05-11 21:02:21 +02:00
grdddj
264b92e11c feat(core): create progress.py 2023-05-11 21:02:21 +02:00
grdddj
127e399d28 feat(core): delegate some layouts to models, do some wording changes 2023-05-11 21:02:21 +02:00
grdddj
35896a7d6c chore(core): make Suite labeling dialogue more clear 2023-05-11 21:02:21 +02:00
grdddj
523fdd8157 chore(core): make minor improvements 2023-05-11 21:02:21 +02:00
grdddj
590315bdc1 feat(all): change debugging messages in protobuf 2023-05-11 21:02:21 +02:00
grdddj
bd6783b1a3 feat(all): increase stability of debug-decision events + parsing JSON from Rust 2023-05-11 21:02:21 +02:00
tychovrahe
4175b817e1 chore(core): remove remaining toif files from micropython code
[no changelog]
2023-04-28 15:09:53 +02:00
tychovrahe
83500487b8 refactor(core): improve conditional compilations based on model
[no changelog]
2023-04-19 21:36:51 +02:00
Martin Milata
aa9f848b70 fix(core/ui): button text and warning style update
[no changelog]
2023-04-12 13:10:45 +02:00
grdddj
0381faffb1 feat(core): support DebugLinkRecordScreen.refresh_index
Clients can set their own REFRESH_INDEX: int that will we part of the
screenshot name - e.g. refresh01-...
It is up to the client to keep increasing this number with each
emulator restart.

[no changelog]
2023-04-11 15:15:44 +02:00
grdddj
9804926682 feat(common/protob): add optional uint32 refresh_index into DebugLinkRecordScreen message
Allows for screenshots from multiple emulator restarts being recorded in the same
directory without being overwritten by each other.
(As core/embed/unix/display-unix.c::display_save() starts with zero index after each restart.)

[no changelog]
2023-04-11 15:15:44 +02:00
Martin Milata
14a8b0c62b fix(core): do not touch idle timer on USB events 2023-04-07 19:44:32 +02:00
matejcik
ff6bf906d0 chore(common): sync builtin definitions with the external repo 2023-04-06 15:55:26 +02:00
matejcik
b8e8fcff33 chore(common): set definition timestamp to the current signed definitions
[no changelog]
2023-04-06 15:55:26 +02:00
matejcik
5e0a2ed6d0 feat(core/cosi): confirm CoSi path on screen (fixes #2932) 2023-04-05 20:57:48 +02:00
Andrew Kozlik
4cd88e16f7 feat(core): Introduce use_compact option for FIDO2.
When use_compact is set to true, Trezor creates smaller credential IDs.
2023-04-05 15:49:27 +02:00
Andrew Kozlik
32dec18366 feat(core): Don't store blank names in FIDO2 credentials. 2023-04-05 15:49:27 +02:00
Martin Milata
c21cf87c53 fix(core/ripple): use standard layouts for sign_tx
[no changelog]
2023-04-04 00:15:12 +02:00
Martin Milata
a44e738d31 feat(core/ui): sending transaction style update
[no changelog]
2023-04-04 00:15:12 +02:00
tychovrahe
64bc94cbc9 feat(core): uninitialized welcome flow
[no changelog]
2023-04-03 22:01:26 +02:00
Martin Milata
c100358ce2 fix(core/ui): don't send ButtonRequest when displaying GetAddress QR code
[no changelog]
2023-04-03 17:57:18 +02:00
Martin Milata
08cad2f909 fix(core/ui): coinjoin layouts style update
[no changelog]
2023-03-30 13:55:54 +02:00
Andrew Kozlik
77d8af1322 refactor(core): Use set_int()/get_int() for APP_COMMON_AUTHORIZATION_TYPE. 2023-03-30 13:55:54 +02:00
Andrew Kozlik
9bb1d1cf8b feat(core): Implement storage.cache.get_int_all_sessions(). 2023-03-30 13:55:54 +02:00
matejcik
b92c5c21f9 feat(core): update Ethereum definitions to verify using CoSi 2023-03-24 13:24:46 +01:00
matejcik
dc5e4c1c8f feat(core): implement CoSi module and CoSi verification 2023-03-24 13:24:46 +01:00
Martin Novák
c2c0900c5d feat(core): external Ethereum definitions 2023-03-24 13:24:46 +01:00
matejcik
505e014ae1 refactor(core): delegate EthereumGetPublicKey to bitcoin GetPublicKey 2023-03-24 13:24:46 +01:00
Martin Milata
19a2ea21b6 fix(core/ui): Model T style update
[no changelog]
2023-03-23 20:16:22 +01:00
Martin Milata
4af5939a0b feat(core/ui): redesigned receive flow
[no changelog]
2023-03-09 23:36:36 +01:00
Andrew Kozlik
60aa2e7292 feat(core): Show source account path in BTC signing. 2023-03-09 23:36:36 +01:00
Andrew Kozlik
d4ddc78dbb feat(core): Show path for internal outputs in BTC signing. 2023-03-09 23:36:36 +01:00
Andrew Kozlik
edeccde9f3 fix(core): Show app icon in Fido2ConfirmNoCredentials.
[no changelog]
2023-03-09 14:51:22 +01:00
David Misiak
826ade2a8d chore(cardano): rename voting public key to vote public key 2023-03-06 11:27:13 +01:00
David Misiak
0754a008e9 chore(cardano): rename cvote reward_address to payment_address 2023-03-06 11:27:13 +01:00
David Misiak
2011ffe9c9 chore(cardano): replace governance by cvote 2023-03-06 11:27:13 +01:00
David Misiak
764e3c8d75 fix(cardano): update cvote bech32 prefix 2023-03-06 11:27:13 +01:00
David Misiak
ac58c1c25b feat(cardano): show governance registration reward address credentials 2023-03-06 11:27:13 +01:00
David Misiak
a94cfa1a13 feat(cardano): allow external reward addresses in governance registrations 2023-03-06 11:27:13 +01:00
Martin Milata
557e29769b feat(core/ui): redesigned passphrase dialogs
[no changelog]
2023-02-28 23:30:38 +01:00
Martin Milata
16a9f187bd chore(common): update chains and tokens
[no changelog]
2023-02-28 14:46:34 +01:00
Andrew Kozlik
423ce75b4f feat(core): Validate script type of change-outputs in Bitcoin signing. 2023-02-28 14:06:07 +01:00
Andrew Kozlik
102ab3c7d6 feat(core): Check script type match for change-outputs in Bitcoin signing. 2023-02-28 14:06:07 +01:00
Andrew Kozlik
9528e2f9eb feat(common): Add Apple to known FIDO services. 2023-02-28 10:54:48 +01:00
Andrew Kozlik
4372d19ceb feat(core): Remove authorization when rounds are depleted.
[no changelog]
2023-02-27 14:22:25 +01:00
grdddj
acec852aa4 feat(core): show welcome screen after device is connected
[no changelog]
2023-02-27 13:22:09 +01:00
grdddj
5d987b2bc9 feat(core): not showing Starting up progress loader after connecting device
[no changelog]
2023-02-27 13:22:09 +01:00
Andrew Kozlik
00dde0e312 feat(core): Handle .dummy RP ID in Chrome FIDO2. 2023-02-23 13:02:33 +01:00
Andrew Kozlik
2ee5b0aa15 fix(core): Fix FIDO2 falling back to U2F.
[no changelog]
2023-02-23 13:02:33 +01:00
Andrew Kozlik
deb38a2db5 feat(core): Ignore channel ID in U2F.
Safari browser changes the CID for every single operation. We need to
keep up the same U2F dialog for different CIDs as long as the dialog
corresponds to the same request data.
2023-02-23 13:02:33 +01:00
grdddj
107a7c93b1 chore(core): enable reboot-to-bootloader without experimental features 2023-02-22 10:21:24 +01:00