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

513 Commits

Author SHA1 Message Date
matejcik
f0486a2d0b fix(legacy): limit EthereumGetPublicKey allowable paths 2023-03-24 13:24:46 +01:00
matejcik
35f4e1ce19 fix(legacy): display very large amounts
Previously, an amount whose decimal representation with suffix does not
fit in buffer would not be rendered at all. This looks weird in
"Send                          to address 0xblabla".

Enlarging the buffer lets the amount be stringified. Then it won't fit
on screen so this is not a perfect fix, but "Send 25000000... to
address" is better than before.
2023-03-24 13:24:46 +01:00
matejcik
abbe5535ad feat(legacy): update Ethereum definitions to verify using CoSi 2023-03-24 13:24:46 +01:00
matejcik
f4425a3ac1 feat(legacy): implement CoSi verification 2023-03-24 13:24:46 +01:00
Martin Novák
0f07d74063 feat(legacy): support external Ethereum definitions 2023-03-24 13:24:46 +01:00
Martin Milata
dce876069b Merge branch 'release/23.03'
Conflicts:
	legacy/firmware/version.h
	tests/ui_tests/fixtures.json
2023-03-20 13:02:35 +01:00
matejcik
5cf089fbd3 docs(legacy): remove wrong link from changelog 2023-03-06 12:57:06 +01:00
matejcik
1eb0eb9d91 fix(legacy): lower maximum of chars per line
so that we actually fit if all the biggest characters are used

[no changelog]

(cherry picked from commit 770cd19899)
2023-03-02 20:39:42 +01:00
matejcik
770cd19899 fix(legacy): lower maximum of chars per line
so that we actually fit if all the biggest characters are used

[no changelog]
2023-03-02 16:43:03 +01:00
Martin Milata
cdc17d1446 chore(legacy/firmware): bump version to 1.12.2
[skip_ci]
2023-03-01 10:14:25 +01:00
Martin Milata
7430850da5 chore(legacy/firmware): revert version to 1.12.1
[no changelog]
2023-02-28 17:39:32 +01:00
Martin Milata
b102d8879d docs(legacy/firmware): changelog for 1.12.1 2023-02-28 15:44:03 +01:00
Martin Milata
233a292fd2 Merge branch 'master' into secfix/23.03
Conflicts:
	core/Makefile
	core/SConscript.firmware
	core/embed/firmware/bootloader.bin
	core/embed/firmware/bootloaders/bootloader_T.bin
	core/embed/firmware/bootloaders/bootloader_T2T1.bin
	python/src/trezorlib/firmware/core.py
	python/src/trezorlib/firmware/models.py
2023-02-28 15:20:36 +01:00
Andrew Kozlik
8486aa4ed4 feat(legacy): Validate script type of change-outputs in Bitcoin signing. 2023-02-28 14:06:07 +01:00
Andrew Kozlik
f2a73637fe feat(legacy): Check script type match for change-outputs in Bitcoin signing. 2023-02-28 14:06:07 +01:00
Andrew Kozlik
2a3cc688a1 fix(legacy): Sync input sanitization with trezor-core. 2023-02-28 14:06:07 +01:00
tychovrahe
03c64f8faa chore(legacy): bump versions after release 2023-02-27 14:54:25 +01:00
matejcik
c40f8a6aad fix(legacy): use correct layout for StellarGetAddress (fixes #1453) 2023-02-27 14:22:49 +01:00
matejcik
3b2d7115cb fix(legacy): wrap long Ethereum fees (fixes #2373) 2023-02-27 14:22:49 +01:00
Andrew Kozlik
6e957a8a92 feat(legacy): Do not show account number for coinjoin account #1. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
c22b621195 feat(legacy): Allow coinjoin request debugging key for testnets. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
a3149bcf97 legacy(chore): Remove duplicate constants. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
c082eb5430 feat(legacy): Use derive_node() when compiling change-outputs. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
0262842da2 refactor(legacy): Move compile_output() to signing.c. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
2760322eab feat(legacy): Improve signing progress. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
300c986851 feat(legacy): Implement SetBusy. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
89993c8969 feat(legacy): Implement preauthorized GetOwnershipProof. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
68bbcbdc4d feat(legacy): Implement CoinJoin signing. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
d74c9ba0a8 feat(legacy): Validate path at same signing steps as in core. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
dc205d7c97 refactor(legacy): Make derive_node() usable for outputs. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
0466972f30 feat(legacy): Implement SLIP-0025 CoinJoin accounts. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
0b3216146e feat(legacy): Introduce post-message cleanup. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
a1afadfd01 feat(legacy): Implement UnlockPath. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
6d20fccefd feat(legacy): Implement DoPreauthorized. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
34dcd53135 refactor(legacy): Extract node derivation from fill_input_script_pubkey(). 2023-02-27 14:22:25 +01:00
Andrew Kozlik
2d18cad676 feat(legacy): Implement AuthorizeCoinJoin. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
b4d681ea1c feat(legacy): Skip external input witnesses when serialization is disabled. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
ec9756cabd feat(legacy): Support native SegWit external inputs with non-ownership proof. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
fa2d618f7d feat(legacy): Implement SLIP-0019 proofs of ownership. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
9732f6524a refactor(legacy): Extract segwit signing code. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
1ecb0f0c1c feat(legacy): Implement SLIP-0021 symmetric key derivation. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
779f5dbc7d refactor(legacy): Move script type functions to crypto.h. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
11109b4e46 feat(legacy): Support serialize option in SignTx. 2023-02-27 14:22:25 +01:00
grdddj
ccf08df07d fix(legacy): show complete taproot QR code without any missing rows/columns
The QR code will be smaller (only one pixel per module), but scannable anyway.

When the QR code was bigger, but incomplete, Android devices had issues with scanning it.

[no changelog]
2023-02-22 14:48:04 +01:00
tychovrahe
37c13ed75e chore(legacy): bundle bootloader 1.12.1 into firmware 2023-02-06 10:03:27 +01:00
matejcik
ab949053e8 docs: add missing changelog entries 2023-01-20 15:21:24 +01:00
matejcik
958cbe2300 feat(legacy): allow Casa eth & btc signing for m/45' 2023-01-20 15:21:24 +01:00
Roman Zeyde
72f456cc17 feat(legacy/firmware): increase 'challenge_hidden' max_size
Current limit doesn't work with SSH 8.9+ signatures.

Following https://github.com/romanz/trezor-agent/issues/408.
2023-01-13 11:51:00 +01:00
matejcik
0c3b0371dd chore(legacy): bump versions after release 2023-01-02 11:37:56 +01:00
matejcik
74471ce23e chore(legacy): generate changelogs 2023-01-02 11:11:05 +01:00