1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 13:38:12 +00:00
Commit Graph

1575 Commits

Author SHA1 Message Date
Martin Milata
afb5c55416 feat(core/ui): reset_device copy change
[no changelog]
2023-02-17 12:35:19 +01:00
grdddj
82bd908246 feat(core): EIP712 signing shows the ethereum address at the beginning 2023-02-14 15:30:05 +01:00
grdddj
aa283a8392 fix(core): remove the possibility of AssertionError in select_word
In case there are less than three unique word to choose from, duplicating the last word to make the length of 3.

[no changelog]
2023-02-14 15:28:37 +01:00
Martin Milata
7a375b5642 feat(core/ui): adjust device customization layouts 2023-02-10 13:03:29 +01:00
grdddj
996fec5aae chore(core): delete newlines in strings where they do not delimit useful info
Done so we can use the same strings for both TT and TR

[no changelog]
2023-02-07 12:26:33 +01:00
matejcik
8d44db5270 fix(core): ensure SLIP26 path is accepted for SignMessage 2023-02-03 13:01:47 +01:00
matejcik
3ed84a84e9 fix(core): update SLIP-26 signing paths 2023-02-03 13:01:47 +01:00
grdddj
32d5beb762 fix(core): making sure last layouts before signing are always HoldToConfirm
[no changelog]
2023-02-03 11:17:44 +01:00
grdddj
5196f249a2 feat(core): add make command to check for unused upy code using vulture
[no changelog]
2023-01-25 19:17:56 +01:00
grdddj
428ac8d2ac chore(core): delete unused code in src
[no changelog]
2023-01-25 19:17:56 +01:00
grdddj
b08a6fe2c1 chore(core): delete unused code from micropython UI
[no changelog]
2023-01-25 19:17:56 +01:00
grdddj
021f41c23a fix(core): properly call request_passphrase_on_host dialogue
[no changelog]
2023-01-25 19:17:56 +01:00
grdddj
25dc6ff130 feat(core): implement loader based on time in milliseconds
[no changelog]
2023-01-25 19:17:56 +01:00
Andrew Kozlik
e612d58f36 feat(core): Add debugging tool for hashing operations.
[no changelog]
2023-01-24 10:22:54 +01:00
Andrew Kozlik
ab65b18b07 fix(core): Use lowercase in the name coinjoin.
[no changelog]
2023-01-21 10:35:09 +01:00
tychovrahe
1359b21508 feat(core): confirm homescreen image with thumbnail
[no changelog]
2023-01-19 14:11:42 +01:00
tychovrahe
d00e87ea80 feat(core/rust): homescreen background image
[no changelog]
2023-01-19 14:11:42 +01:00
tychovrahe
14f8e88e01 fix(core): fix backlight fading when changing screens/layouts
[no changelog]
2023-01-19 14:11:42 +01:00
tychovrahe
12f87aa01e fix(core): fix usb disconnected warning in new homescreen
[no changelog]
2023-01-19 14:11:42 +01:00
Andrew Kozlik
2f9483f994 feat(core): Allow coinjoin request debugging key for testnets.
[no changelog]
2023-01-19 11:37:57 +01:00
Armin Sabouri
96b2d05d47 refactor(core): Allow eth & btc signing at m/45'/coin_type/account/change/address_index
[no changelog]
2023-01-18 12:08:17 +01:00
matejcik
497285f9a1 feat(core): make first steps to unify Rust API for both models
wip: unify confirm_action

wip: unify confirm_fido

wip: unify request_pin, clean up prompts

wip: unify select_word

wip: unify request_number

refactor(core/reset): refactor confirm_share_words

[no changelog]
2023-01-13 17:09:25 +01:00
grdddj
c068c668fa feat(core/ethereum): remove EIP-712 field size limitation of 1024 bytes 2023-01-13 16:39:43 +01:00
Martin Milata
253f2587dc fix(core/ui): polish XPUB screen
[no changelog]
2022-12-15 17:24:15 +01:00
Martin Milata
a11be914cc chore(core/ui): RustLayout not a private class
[no changelog]
2022-12-13 17:15:15 +01:00
Martin Milata
2a3aabb57e refactor(core/rust/ui): avoid homescreen flicker during workflow restarts
[no changelog]
2022-12-13 17:15:15 +01:00
Martin Milata
5b3db7eca1 refactor(core/rust/ui): homescreen layouts
[no changelog]
2022-12-13 17:15:15 +01:00
Martin Milata
1b4dff6275 fix(core/rust/ui): respect DISABLE_ANIMATION
[no changelog]
2022-12-12 16:00:42 +01:00
Martin Milata
75cee540a4 fix(core/monero): fix blinking progress indicators
[no changelog]
2022-12-12 16:00:42 +01:00
Martin Milata
95d8a21294 feat(core/rust/ui): progress indicators
[no changelog]
2022-12-12 16:00:42 +01:00
Martin Milata
fc3ee87c25 feat(core/bitcoin): SignMessage: whitelist T1 firmware signing address_n
[no changelog]
2022-12-09 15:43:11 +01:00
Martin Milata
b12de5d861 feat(core): CoSi collective signatures 2022-12-09 15:43:11 +01:00
Martin Milata
452857757a feat(core/rust/ui): support ask_pagination flag in confirm_blob
[no changelog]
2022-12-06 00:26:25 +01:00
Martin Novak
58276a7443 feat(core/ethereum, legacy/ethereum): add support to Ledger Live legacy derivation path 2022-11-30 14:23:47 +01:00
Martin Milata
3b92923caa feat(core/rust/ui): on-the-fly conversion of bytes to hexadecimal representation
[no changelog]
2022-11-29 21:03:06 +01:00
matejcik
ff2d1c3f1f feat(core/ui): drop T1 UI (fixes #2639)
[no changelog]
2022-11-24 13:03:34 +01:00
matejcik
95d26fe04a feat(core/ui): drop UI1 remnats
[no changelog]
2022-11-24 13:03:34 +01:00
grdddj
61277bd80a feat(core/ui): implement webauthn layouts for UI2
[no changelog]
2022-11-24 13:03:34 +01:00
Martin Milata
58d0788986 fix(core/ui): show fee rate in confirm_total
[no changelog]
2022-11-21 15:59:48 +01:00
grdddj
bd6f3d5f46 chore(core/ui): delete altcoin.py file 2022-11-21 14:08:47 +01:00
grdddj
5187be91fe chore(tests): fix click, upgrade and persistence tests for new UI 2022-11-21 14:08:47 +01:00
grdddj
2cbb9efeca feat(core/ui): implement all layouts raising NotImplementedError 2022-11-21 14:08:47 +01:00
grdddj
ae525fed26 chore(core/ui): delete unused arguments to layouts 2022-11-21 14:08:47 +01:00
grdddj
d045e0089d feat(core/ui): delete old UI code 2022-11-21 14:08:47 +01:00
Martin Milata
1a9f3c18dd Merge branch 'release/22.11'
Conflicts:
	common/defs/coins_details.json
	core/src/apps/ethereum/networks.py
	core/src/apps/ethereum/tokens.py
	tests/ui_tests/fixtures.json
2022-11-16 18:33:31 +01:00
grdddj
107c222631 chore(core): decrease TT_v2 UI size by 390 bytes 2022-11-10 14:08:28 +01:00
grdddj
bd7513f2df chore(core): decrease crypto size by 60 bytes 2022-11-10 14:08:28 +01:00
grdddj
8bb73ffebe chore(core): decrease storage size by 210 bytes 2022-11-10 14:08:28 +01:00
grdddj
55bb61d404 chore(core): decrease bitcoin size by 1740 bytes 2022-11-10 14:08:28 +01:00
grdddj
45b4b609db chore(core): decrease monero size by 2630 bytes 2022-11-10 14:08:28 +01:00
grdddj
16f1d3da86 chore(core): decrease base and handlers by 300 bytes 2022-11-10 14:08:28 +01:00
grdddj
0c8528821f chore(core): decrease cardano size by 2290 bytes 2022-11-10 14:08:28 +01:00
grdddj
26fd0de198 chore(core): decrease ethereum size by 17250 bytes 2022-11-10 14:08:28 +01:00
grdddj
0c3423b1c7 chore(core): decrease webauthn size by 1270 bytes 2022-11-10 14:08:28 +01:00
grdddj
3711fd0f19 chore(core): decrease common size by 5200 bytes 2022-11-10 14:08:28 +01:00
grdddj
5e7cc8b692 chore(core): decrease debug size by 240 bytes 2022-11-10 14:08:28 +01:00
grdddj
a29ea11ea2 chore(core): decrease management size by 1440 bytes 2022-11-10 14:08:28 +01:00
grdddj
48b4c5aaba chore(core): decrease homescreen size by 280 bytes 2022-11-10 14:08:28 +01:00
grdddj
11fc2d36f7 chore(core): decrease misc size by 430 bytes 2022-11-10 14:08:28 +01:00
grdddj
d182ac5b53 chore(core): decrease nem size by 1550 bytes 2022-11-10 14:08:28 +01:00
grdddj
32125ef51f chore(core): decrease zcash size by 300 bytes 2022-11-10 14:08:28 +01:00
grdddj
164be3ac8f chore(core): decrease tezos size by 860 bytes 2022-11-10 14:08:28 +01:00
grdddj
80ab7f1c29 chore(core): decrease eos size by 1kb 2022-11-10 14:08:28 +01:00
grdddj
47b924cbec chore(core): decrease binance size by 460 bytes 2022-11-10 14:08:28 +01:00
grdddj
f8f3f1bc55 chore(core): decrease ripple size by 1170 bytes 2022-11-10 14:08:28 +01:00
grdddj
9c0c3852f5 chore(core): decrease stellar size by 1400 bytes 2022-11-10 14:08:28 +01:00
grdddj
f25119e44d chore(core): import trezor.messages in TYPE_CHECKING branch - saving 1kb 2022-11-10 14:08:28 +01:00
grdddj
d1732ae9bc chore(core): delete unused variables 2022-11-10 14:08:28 +01:00
grdddj
756a97a95d chore(core): delete unused functions 2022-11-10 14:08:28 +01:00
grdddj
52558c7b96 chore(core): use more const to decrease space 2022-11-10 14:08:28 +01:00
grdddj
49765830de chore(core): add underscores to private constants to reduce code size 2022-11-10 14:08:28 +01:00
tychovrahe
7cc62c2f37 fix(core): fix layout flow for UI2
[no changelog]
2022-11-08 00:15:34 +01:00
Andrew Kozlik
3707f19aee feat(core): Do not confirm coordinator identifier on Trezor.
[no changelog]
2022-11-07 18:40:35 +01:00
Andrew Kozlik
2f03ace311 chore(common): Rename "unstable" protobuf tag to "experimental_message".
[no changelog]

(cherry picked from commit 3d645d609a)
2022-11-02 14:59:22 +01:00
Andrew Kozlik
3d645d609a chore(common): Rename "unstable" protobuf tag to "experimental_message".
[no changelog]
2022-11-02 14:58:01 +01:00
Martin Milata
2dcf09db34 chore(common): update chains and tokens 2022-11-02 12:03:22 +01:00
Martin Milata
eff8e08a9c chore(common): update chains and tokens 2022-11-01 21:02:41 +01:00
matejcik
ce307c9484 feat(common): mark CoSi fields as required
[no changelog]
2022-11-01 14:56:00 +01:00
grdddj
47a749d683 chore(proto): remove default value from NEM payload
[no changelog]
2022-11-01 10:57:27 +01:00
Andrew Kozlik
a1ffdcaa8d chore(core): Add CoinJoin request public key.
[no changelog]
2022-10-31 16:27:26 +01:00
David Misiak
51a8e18c8d feat(cardano): add preprod and preview testnets 2022-10-31 16:08:39 +01:00
David Misiak
3b289a4d2c chore(cardano): update voting public key bech32 prefix 2022-10-31 16:08:39 +01:00
David Misiak
c36870defa chore(cardano): rename Catalyst to governance 2022-10-31 16:08:39 +01:00
David Misiak
ab02f7a400 feat(cardano): add support for CIP36 Catalyst registration format 2022-10-31 16:08:39 +01:00
David Misiak
02dad0225b refactor(cardano): shorten catalyst parameters variable name 2022-10-31 16:08:39 +01:00
Andrew Kozlik
c7fb908146 chore: Change precision of CoinJoin fee rate percentage from 8 to 6 decimal digits. 2022-10-27 17:37:48 +02:00
Andrew Kozlik
0d042421c3 fix(core): Improve rounding of CoinJoin fees by deferring division. 2022-10-27 17:37:48 +02:00
Andrew Kozlik
0bd9314bb9 chore(core): Do not check total mining fee in CoinJoin. 2022-10-27 17:37:48 +02:00
Andrew Kozlik
1df65d1a0c feat(core): Implement CoinJoin requests. 2022-10-27 17:37:48 +02:00
Andrew Kozlik
d2df761067 fix(core): No need to derive script_pubkey for external inputs. 2022-10-27 17:37:48 +02:00
Andrew Kozlik
b3a383efac chore(core): Move node derivation outside of input_derive_script(). 2022-10-27 17:37:48 +02:00
Andrew Kozlik
afd900f9b1 feat(common): Add CoinJoin request message.
[no changelog]
2022-10-27 17:37:48 +02:00
Andrew Kozlik
3c8ba37eb5 feat(core): Include coin name in CoinJoin fee per vB format.
[no changelog]
2022-10-26 14:02:03 +02:00
Andrew Kozlik
318d31d111 refactor(core): Move _get_fee_rate_str() to common and optionally add coin shortcut.
[no changelog]
2022-10-26 14:02:03 +02:00
Andrew Kozlik
3594de8c7f fix(core): Improve CoinJoin dialog wording.
[no changelog]
2022-10-26 14:02:03 +02:00
Andrew Kozlik
627ef9748f feat(core): Remove coin name from CoinJoin confirmation dialog.
[no changelog]
2022-10-26 14:02:03 +02:00
Andrew Kozlik
b7f86ec158 feat(core): Improve CoinJoin busy screen.
[no changelog]
2022-10-26 14:02:03 +02:00
grdddj
fac4e2f157 chore(xmr): delete unused code
[no changelog]
2022-10-25 21:36:03 +02:00
Dusan Klinec
26711857e8 refactor(xmr): remove old BP code 2022-10-25 21:36:03 +02:00
grdddj
8668eba936 feat(core/ui): implement altcoin screens for UI2
[no changelog]
2022-10-24 13:38:31 +02:00
grdddj
be93dad604 chore(core/ui): unify UI2 layouts that raise when not confirmed
[no changelog]
2022-10-24 13:38:31 +02:00
Martin Milata
a7c3a07ef1 refactor(core/rust/ui): implement confirm_properties layout
[no changelog]
2022-10-21 21:02:39 +02:00
matejcik
ac6936d65d fix(core/debug): separate buffer for debuglink to prevent BufferLock deadlocks
[no changelog]
2022-10-19 14:24:59 +02:00
Andrew Kozlik
ee8c596b1a refactor(core): Use a list of presigned inputs in Bitcoin signing.
Co-authored-by: Ondřej Vejpustek <ondrej.vejpustek@satoshilabs.com>
2022-10-17 15:20:46 +02:00
Andrew Kozlik
5dddb06e2b refactor(core): Replace Bitcoin signing progress functions with a class. 2022-10-17 15:20:46 +02:00
Andrew Kozlik
d815a7d6de chore(core): Use C implementation of Bech32 decode. 2022-10-17 15:20:46 +02:00
Andrew Kozlik
cc054050a5 feat(core): Improve Bitcoin signing progress display. 2022-10-17 15:20:46 +02:00
Andrew Kozlik
8ef5e5120a feat(core): Verify ownership proofs before transaction approval in BTC signing. 2022-10-17 15:20:46 +02:00
Andrew Kozlik
5b453c88ed feat(core): Add serialize option to SignTx. 2022-10-17 15:20:46 +02:00
Pavol Rusnak
029e47e1e8 chore(common/defs/fido): add proton
[no changelog]
2022-10-17 12:02:54 +02:00
Vladyslav Burzakovskyy
e7ff43272c chore(common/defs/fido): add invity
[no changelog]
2022-10-14 16:28:51 +02:00
Andrew Kozlik
0ba966b979 fix(core): Fix bug in SetBusy when running CI tests.
[no changelog]
2022-10-10 20:32:36 +02:00
Andrew Kozlik
5bbfd40df6 feat(core): Add set_int() and get_int() to storage cache.
[no changelog]
2022-10-10 20:32:36 +02:00
tychovrahe
fb08536b6a feat(core): icon and images using new format 2022-09-29 21:50:10 +02:00
tychovrahe
f7b9bb4ef8 feat(core/rust): use dma2d to improve rendering performance, implement text over image and icon over icon functions 2022-09-29 21:50:10 +02:00
tychovrahe
b9647d1296 fix(core): fix flashing usb disconnected error
[no changelog]
2022-09-26 13:31:04 +02:00
Martin Novak
dd168d2893 feat(core,legacy): display only sat instead of sat BTC 2022-09-15 08:01:24 +02:00
Martin Novak
a41cfadbf1 feat(core,legacy): Extend decimals of fee rate to 2 digits 2022-09-09 15:28:31 +02:00
Dusan Klinec
2fe40f70a6 fix(xmr): fixes #2453, incorrect address display 2022-09-09 14:07:30 +02:00
Martin Milata
5a9c2a1363 feat(core/rust/ui): recovery layouts
[no changelog]
2022-09-07 16:46:47 +02:00
Martin Milata
885ae2a943 refactor(core/rust/ui): add should_show_more
[no changelog]
2022-09-07 16:46:47 +02:00
Martin Milata
a5cff25209 fix(core/rust/ui): expose method for completely repainting layout
[no changelog]
2022-09-07 16:46:47 +02:00
Martin Milata
3b629a1ea4 refactor(core/rust/ui): layouts for SLIP-39 backups
[no changelog]
2022-09-07 16:46:47 +02:00
Martin Milata
4782afbae3 refactor(core/rust/ui): layouts for BIP-39 backups
[no changelog]
2022-09-07 16:46:47 +02:00
Martin Milata
4ff2c99f0a refactor(core/rust/ui): add show_info and show_error
[no changelog]
2022-09-07 16:46:47 +02:00
Tomas Krnak
031bac4a9b feat(core): add support for Zcash unified addresses 2022-08-30 21:15:49 +02:00
Andrew Kozlik
b5cb9cb035 feat(core): Allow Any type in is_type_of().
[no changelog]
2022-08-30 15:53:44 +02:00
Andrew Kozlik
77be3653b4 feat(core): Implement SLIP-0025 CoinJoin accounts. 2022-08-30 15:53:44 +02:00
Andrew Kozlik
9d89c3cb1b feat(common): Add UnlockPath message.
[no changelog]
2022-08-30 15:53:44 +02:00
grdddj
c53177fe89 feat(core): show fee rate when replacing transaction 2022-08-30 10:20:54 +02:00
Ondrej Mikle
72228e35cf feat(core): show red error header when USB data not connected 2022-08-25 16:42:29 +02:00
Ondrej Mikle
a0287698d5 feat(core): show blue dot when USB data not connected 2022-08-25 16:42:29 +02:00
Martin Milata
005e4203a7 refactor(core/rust/ui): text theme struct
[no changelog]
2022-08-25 16:33:41 +02:00
Andrew Kozlik
d089fd3187 feat(core): Implement SetBusy message. 2022-08-22 18:15:29 +02:00
Andrew Kozlik
792dadfc4d feat(common): Add SetBusy message.
[no changelog]
2022-08-22 18:15:29 +02:00
Andrew Kozlik
ad5a572b75 chore(common): Deprecate data field in CosiCommit message. 2022-08-02 20:38:04 +02:00
matejcik
114376f734 feat(core/strings): use thousands separator (fixes #2394) 2022-08-02 20:35:49 +02:00
matejcik
a6410693b3 Revert "feat(core): implement firmware dumping"
This reverts commit 37c61c1381.
2022-08-02 17:12:07 +02:00
Andrew Kozlik
8ca785925d fix(core,legacy): Fix tx_weight to tx_size conversion.
[no changelog]
2022-08-02 14:30:38 +02:00
matejcik
00095c5787 chore: update tokens & networks 2022-08-02 13:57:31 +02:00
Andrew Kozlik
90792eb438 fix(core): Fix Decred transaction weight calculation. 2022-08-01 15:10:34 +02:00
Andrew Kozlik
426eae4dfc fix(core): Ensure correct order when verifying external inputs in Bitcoin signing. 2022-07-28 17:14:05 +02:00
Andrew Kozlik
421eec1d3b feat(core): Add get_base_weight() to TxWeightCalculator.
[no changelog]
2022-07-20 18:23:34 +02:00
Andrew Kozlik
0ce2c079b0 feat(core): Account for minimum registrable output amount in CoinJoin checks.
[no changelog]
2022-07-20 18:23:34 +02:00
grdddj
8bfbe9da01 fix(ui): import type component inside if TYPE_CHECKING branch 2022-07-20 12:46:01 +02:00
gabrielkerekes
1a68650c43 feat(cardano): add support for hiding some details during tx signing 2022-07-04 15:58:27 +02:00
gabrielkerekes
2f9435570d feat(cardano): add tx signing show details prompt 2022-07-04 15:58:27 +02:00
David Misiak
ba7fb2cb54 feat(cardano): allow required signers in more signing modes 2022-07-04 15:58:27 +02:00
David Misiak
4017434cc1 feat(cardano): add support for babbage features 2022-07-04 15:58:27 +02:00
David Misiak
11c4b25cb0 feat(cardano): allow datum hash in non-script outputs 2022-07-04 15:58:27 +02:00