1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00
Commit Graph

13756 Commits

Author SHA1 Message Date
Ondřej Vejpustek
a12a81a321 feat(crypto): introduce ecdsa_tweak_public_key
[no changelog]
2024-08-23 17:00:52 +02:00
Ondřej Vejpustek
a5fd5e179f refactor(crypto): use goto cleanup
[no changelog]
2024-08-23 17:00:52 +02:00
Ondřej Vejpustek
3994c654e9 refactor(crypto): extract get_public_key_length
[no changelog]
2024-08-23 17:00:52 +02:00
Ondřej Vejpustek
eaa12f1cad chore(crypto): update secp256k1 submodule to 0.5.1
[no changelog]
2024-08-23 17:00:52 +02:00
Ondřej Vejpustek
d00002ee69 refactor(crypto): use secp256k1 submodule in bip32
[no changelog]
2024-08-23 17:00:52 +02:00
Ondřej Vejpustek
54eef8d886 refactor(crypto,core,lagacy): use secp256k1 submodule for ECDH
[no changelog]
2024-08-23 17:00:52 +02:00
Ondřej Vejpustek
df2545b78e chore(crypto,core,legacy): reduce size of precomputed table used by secp256k1 submodule
[no changelog]
2024-08-23 17:00:52 +02:00
Ondřej Vejpustek
20453f6c99 chore(crypto): do not use precomputed tables by native implementation of ECC
[no changelog]
2024-08-23 17:00:52 +02:00
cepetr
c0b295a9b1 fix(core/prodtest): fix prodtest build with NEW_RENDERING on
[no changelog]
2024-08-22 14:28:54 +02:00
obrusvit
e19138cdc8 chore(core): remove unused mercury ButtonContent
[no changelog]
2024-08-22 08:58:10 +02:00
obrusvit
9b7ce3c84f chore: update fixtures.json
[no changelog]
2024-08-22 00:47:15 +02: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
80792eae5a chore(core): regenerate lang jsons
[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
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
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
3da9c6bbb9 fix(crypto): forbid public key derivation for curve25519, ed25519 and
cardano

[no changelog]
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
Ondřej Vejpustek
ba1a680bac tests(crypto): add bip32 curve25519 tests
[no changelog]
2024-08-21 17:19:24 +02:00
Ondřej Vejpustek
865ca5f0a9 fix(crypto): fix fingerprints for curve25519 and ed25519 2024-08-21 17:19:24 +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
Martin Milata
4868a04107 docs(core): changelog: 2.8.1 not released for T2B1 2024-08-21 10:33:10 +02:00
Martin Milata
c07ba50ce0 Merge branch 'release/24.08.01' 2024-08-21 09:55:29 +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
Jan Šetina
88cdfb01f3
docs(common): Update README.md (#4111) 2024-08-19 12:03:06 +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
vdovhanych
bb92a6b56a chore: fix hardcoded x86 build 2024-08-06 15:34:29 +02:00
vdovhanych
415d62bc66 ci: add arm emulator build in github actions 2024-08-06 15:34:29 +02:00
Ondřej Vejpustek
aedef2d69d refactor(core/tests): create template for solana
[no changelog]
2024-08-06 13:48:20 +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
matejcik
c6093c7a1a chore(core): include signed translations for 2.8.1 2024-08-06 13:28:00 +02:00
matejcik
632b956155 docs(core): added Solana fix to changelog 2024-08-05 15:53:52 +02:00
Ondřej Vejpustek
5bba2e0aad feat(core): improve optiga initialization error handling
[no changelog]
2024-08-01 23:04:20 +02:00
tychovrahe
7307c47b94 chore(core): support new rendering on T3B1
[no changelog]
2024-08-01 16:17:12 +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
matejcik
ee6ab8effb docs(core): generate changelog for 2.8.1 2024-08-01 16:09:03 +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
tychovrahe
4397978563 chore(core): add T3B1 binaries
[no changelog]
2024-08-01 13:29:38 +02:00