From 688bddc887b8bb660640cc6e40a99036f2e87f1f Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Tue, 26 Nov 2024 23:12:25 +0100 Subject: [PATCH 01/10] docs(core): changelog for 2.8.6 --- core/.changelog.d/2299.changed | 1 - core/.changelog.d/3633.changed | 1 - core/.changelog.d/3813.fixed | 1 - core/.changelog.d/3863.added | 1 - core/.changelog.d/4041.added | 1 - core/.changelog.d/4176.fixed | 1 - core/.changelog.d/4271.added | 1 - core/.changelog.d/4294.fixed | 1 - core/.changelog.d/4295.fixed | 1 - core/.changelog.d/4302.added | 1 - core/.changelog.d/4302.added.1 | 1 - core/.changelog.d/4302.added.2 | 1 - core/.changelog.d/4302.added.3 | 1 - core/.changelog.d/4302.fixed | 1 - core/.changelog.d/4309.fixed | 1 - core/.changelog.d/4326.fixed | 1 - core/CHANGELOG.T2B1.md | 25 ++++++++++++++++++++--- core/CHANGELOG.T2T1.md | 25 ++++++++++++++++++++--- core/CHANGELOG.T3B1.md | 27 ++++++++++++++++++++++--- core/CHANGELOG.T3T1.md | 35 ++++++++++++++++++++++++++++---- core/CHANGELOG.md | 37 ++++++++++++++++++++++++++++++---- 21 files changed, 132 insertions(+), 33 deletions(-) delete mode 100644 core/.changelog.d/2299.changed delete mode 100644 core/.changelog.d/3633.changed delete mode 100644 core/.changelog.d/3813.fixed delete mode 100644 core/.changelog.d/3863.added delete mode 100644 core/.changelog.d/4041.added delete mode 100644 core/.changelog.d/4176.fixed delete mode 100644 core/.changelog.d/4271.added delete mode 100644 core/.changelog.d/4294.fixed delete mode 100644 core/.changelog.d/4295.fixed delete mode 100644 core/.changelog.d/4302.added delete mode 100644 core/.changelog.d/4302.added.1 delete mode 100644 core/.changelog.d/4302.added.2 delete mode 100644 core/.changelog.d/4302.added.3 delete mode 100644 core/.changelog.d/4302.fixed delete mode 100644 core/.changelog.d/4309.fixed delete mode 100644 core/.changelog.d/4326.fixed diff --git a/core/.changelog.d/2299.changed b/core/.changelog.d/2299.changed deleted file mode 100644 index 7276977531..0000000000 --- a/core/.changelog.d/2299.changed +++ /dev/null @@ -1 +0,0 @@ -Improve UI synchronization, ordering, and responsiveness (Global Layout project). diff --git a/core/.changelog.d/3633.changed b/core/.changelog.d/3633.changed deleted file mode 100644 index dcc32f9a26..0000000000 --- a/core/.changelog.d/3633.changed +++ /dev/null @@ -1 +0,0 @@ -Improved device responsiveness by removing unnecessary screen refreshes. diff --git a/core/.changelog.d/3813.fixed b/core/.changelog.d/3813.fixed deleted file mode 100644 index 0bbdab68d5..0000000000 --- a/core/.changelog.d/3813.fixed +++ /dev/null @@ -1 +0,0 @@ -Fix translation of the 'Enable labeling' screen. diff --git a/core/.changelog.d/3863.added b/core/.changelog.d/3863.added deleted file mode 100644 index 20f9d3edf7..0000000000 --- a/core/.changelog.d/3863.added +++ /dev/null @@ -1 +0,0 @@ -Show last typed PIN number for short period of time diff --git a/core/.changelog.d/4041.added b/core/.changelog.d/4041.added deleted file mode 100644 index 414a94634d..0000000000 --- a/core/.changelog.d/4041.added +++ /dev/null @@ -1 +0,0 @@ -Enum for valid device rotations diff --git a/core/.changelog.d/4176.fixed b/core/.changelog.d/4176.fixed deleted file mode 100644 index 2fe8f718c6..0000000000 --- a/core/.changelog.d/4176.fixed +++ /dev/null @@ -1 +0,0 @@ -[T3T1] Add swipe back in fido confirm flow menu. diff --git a/core/.changelog.d/4271.added b/core/.changelog.d/4271.added deleted file mode 100644 index 25553a17cb..0000000000 --- a/core/.changelog.d/4271.added +++ /dev/null @@ -1 +0,0 @@ -Add P2WSH support for Unchained BIP32 paths. diff --git a/core/.changelog.d/4294.fixed b/core/.changelog.d/4294.fixed deleted file mode 100644 index 8b231f3b1d..0000000000 --- a/core/.changelog.d/4294.fixed +++ /dev/null @@ -1 +0,0 @@ -[T3T1] Make swipe back action in tutorial flow menu consistent with menu cancel action. diff --git a/core/.changelog.d/4295.fixed b/core/.changelog.d/4295.fixed deleted file mode 100644 index 6700023d55..0000000000 --- a/core/.changelog.d/4295.fixed +++ /dev/null @@ -1 +0,0 @@ -[T3T1] Fix color and icon for 'Success' string in set_brightness flow. diff --git a/core/.changelog.d/4302.added b/core/.changelog.d/4302.added deleted file mode 100644 index f4274d9c17..0000000000 --- a/core/.changelog.d/4302.added +++ /dev/null @@ -1 +0,0 @@ -[T3T1] Add page counter to paginated blobs. diff --git a/core/.changelog.d/4302.added.1 b/core/.changelog.d/4302.added.1 deleted file mode 100644 index dba9e17136..0000000000 --- a/core/.changelog.d/4302.added.1 +++ /dev/null @@ -1 +0,0 @@ -[T3T1] Add cancel button to individual pages of a blob. diff --git a/core/.changelog.d/4302.added.2 b/core/.changelog.d/4302.added.2 deleted file mode 100644 index 2cbb8c20ac..0000000000 --- a/core/.changelog.d/4302.added.2 +++ /dev/null @@ -1 +0,0 @@ -[T3T1] Add margin to the first page of a blob. diff --git a/core/.changelog.d/4302.added.3 b/core/.changelog.d/4302.added.3 deleted file mode 100644 index 9de959f438..0000000000 --- a/core/.changelog.d/4302.added.3 +++ /dev/null @@ -1 +0,0 @@ -[T3B1] Add "continue" button after scrolling through the whole blob. diff --git a/core/.changelog.d/4302.fixed b/core/.changelog.d/4302.fixed deleted file mode 100644 index 0bd769b503..0000000000 --- a/core/.changelog.d/4302.fixed +++ /dev/null @@ -1 +0,0 @@ -[T3B1] Fix data size mismatch when confirming a blob. diff --git a/core/.changelog.d/4309.fixed b/core/.changelog.d/4309.fixed deleted file mode 100644 index 3ea8d64b55..0000000000 --- a/core/.changelog.d/4309.fixed +++ /dev/null @@ -1 +0,0 @@ -[T3T1] Fixed incorrect navigation in handy menu while signing BTC message diff --git a/core/.changelog.d/4326.fixed b/core/.changelog.d/4326.fixed deleted file mode 100644 index d85226f7ee..0000000000 --- a/core/.changelog.d/4326.fixed +++ /dev/null @@ -1 +0,0 @@ -[T3T1] Fixed information screen when signing BTC fee bump transaction diff --git a/core/CHANGELOG.T2B1.md b/core/CHANGELOG.T2B1.md index 7b474bb17f..326abf10d3 100644 --- a/core/CHANGELOG.T2B1.md +++ b/core/CHANGELOG.T2B1.md @@ -4,18 +4,25 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## [2.8.5] (20th November 2024) +## [2.8.6] (internal release) ### Added - Initial support for Italian and Portugese translations. [#4047] -- Added benchmark application. [#4101] +- Add benchmark application. [#4101] +- Show last typed PIN number for short period of time. [#3863] +- Add P2WSH support for Unchained BIP32 paths. [#4271] ### Changed -- Simplified UI of Cardano transactions initiated by Trezor Suite. [#4284] +- Simplify UI of Cardano transactions initiated by Trezor Suite. [#4284] +- Improve UI synchronization, ordering, and responsiveness (Global Layout project). [#2299] +- Improve device responsiveness by removing unnecessary screen refreshes. [#3633] ### Fixed - Fix ETH account number detection. [#3627] - New EVM call contract flow UI. [#4251] +- Fix translation of the 'Enable labeling' screen. [#3813] + +## [2.8.5] (internal release) ## [2.8.4] (internal release) @@ -870,6 +877,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#2284]: https://github.com/trezor/trezor-firmware/pull/2284 [#2289]: https://github.com/trezor/trezor-firmware/pull/2289 [#2297]: https://github.com/trezor/trezor-firmware/pull/2297 +[#2299]: https://github.com/trezor/trezor-firmware/pull/2299 [#2300]: https://github.com/trezor/trezor-firmware/pull/2300 [#2313]: https://github.com/trezor/trezor-firmware/pull/2313 [#2324]: https://github.com/trezor/trezor-firmware/pull/2324 @@ -948,13 +956,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#3536]: https://github.com/trezor/trezor-firmware/pull/3536 [#3539]: https://github.com/trezor/trezor-firmware/pull/3539 [#3627]: https://github.com/trezor/trezor-firmware/pull/3627 +[#3633]: https://github.com/trezor/trezor-firmware/pull/3633 [#3636]: https://github.com/trezor/trezor-firmware/pull/3636 [#3640]: https://github.com/trezor/trezor-firmware/pull/3640 [#3728]: https://github.com/trezor/trezor-firmware/pull/3728 [#3797]: https://github.com/trezor/trezor-firmware/pull/3797 +[#3813]: https://github.com/trezor/trezor-firmware/pull/3813 [#3855]: https://github.com/trezor/trezor-firmware/pull/3855 [#3858]: https://github.com/trezor/trezor-firmware/pull/3858 [#3859]: https://github.com/trezor/trezor-firmware/pull/3859 +[#3863]: https://github.com/trezor/trezor-firmware/pull/3863 [#3885]: https://github.com/trezor/trezor-firmware/pull/3885 [#3895]: https://github.com/trezor/trezor-firmware/pull/3895 [#3896]: https://github.com/trezor/trezor-firmware/pull/3896 @@ -979,6 +990,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#4019]: https://github.com/trezor/trezor-firmware/pull/4019 [#4023]: https://github.com/trezor/trezor-firmware/pull/4023 [#4030]: https://github.com/trezor/trezor-firmware/pull/4030 +[#4041]: https://github.com/trezor/trezor-firmware/pull/4041 [#4047]: https://github.com/trezor/trezor-firmware/pull/4047 [#4054]: https://github.com/trezor/trezor-firmware/pull/4054 [#4060]: https://github.com/trezor/trezor-firmware/pull/4060 @@ -992,6 +1004,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#4161]: https://github.com/trezor/trezor-firmware/pull/4161 [#4165]: https://github.com/trezor/trezor-firmware/pull/4165 [#4167]: https://github.com/trezor/trezor-firmware/pull/4167 +[#4176]: https://github.com/trezor/trezor-firmware/pull/4176 [#4251]: https://github.com/trezor/trezor-firmware/pull/4251 [#4261]: https://github.com/trezor/trezor-firmware/pull/4261 +[#4271]: https://github.com/trezor/trezor-firmware/pull/4271 [#4284]: https://github.com/trezor/trezor-firmware/pull/4284 +[#4294]: https://github.com/trezor/trezor-firmware/pull/4294 +[#4295]: https://github.com/trezor/trezor-firmware/pull/4295 +[#4302]: https://github.com/trezor/trezor-firmware/pull/4302 +[#4309]: https://github.com/trezor/trezor-firmware/pull/4309 +[#4326]: https://github.com/trezor/trezor-firmware/pull/4326 diff --git a/core/CHANGELOG.T2T1.md b/core/CHANGELOG.T2T1.md index e5d676ea62..17df8dacec 100644 --- a/core/CHANGELOG.T2T1.md +++ b/core/CHANGELOG.T2T1.md @@ -4,19 +4,26 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## [2.8.5] (20th November 2024) +## [2.8.6] (internal release) ### Added - Initial support for Italian and Portugese translations. [#4047] -- Added benchmark application. [#4101] +- Add benchmark application. [#4101] +- Show last typed PIN number for short period of time. [#3863] +- Add P2WSH support for Unchained BIP32 paths. [#4271] ### Changed -- Simplified UI of Cardano transactions initiated by Trezor Suite. [#4284] +- Simplify UI of Cardano transactions initiated by Trezor Suite. [#4284] +- Improve UI synchronization, ordering, and responsiveness (Global Layout project). [#2299] +- Improve device responsiveness by removing unnecessary screen refreshes. [#3633] ### Fixed - Fix ETH account number detection. [#3627] - Fix spending decred stake outputs. [#4161] - New EVM call contract flow UI. [#4251] +- Fix translation of the 'Enable labeling' screen. [#3813] + +## [2.8.5] (internal release) ## [2.8.4] (internal release) @@ -864,6 +871,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#2284]: https://github.com/trezor/trezor-firmware/pull/2284 [#2289]: https://github.com/trezor/trezor-firmware/pull/2289 [#2297]: https://github.com/trezor/trezor-firmware/pull/2297 +[#2299]: https://github.com/trezor/trezor-firmware/pull/2299 [#2300]: https://github.com/trezor/trezor-firmware/pull/2300 [#2313]: https://github.com/trezor/trezor-firmware/pull/2313 [#2324]: https://github.com/trezor/trezor-firmware/pull/2324 @@ -942,13 +950,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#3536]: https://github.com/trezor/trezor-firmware/pull/3536 [#3539]: https://github.com/trezor/trezor-firmware/pull/3539 [#3627]: https://github.com/trezor/trezor-firmware/pull/3627 +[#3633]: https://github.com/trezor/trezor-firmware/pull/3633 [#3636]: https://github.com/trezor/trezor-firmware/pull/3636 [#3640]: https://github.com/trezor/trezor-firmware/pull/3640 [#3728]: https://github.com/trezor/trezor-firmware/pull/3728 [#3797]: https://github.com/trezor/trezor-firmware/pull/3797 +[#3813]: https://github.com/trezor/trezor-firmware/pull/3813 [#3855]: https://github.com/trezor/trezor-firmware/pull/3855 [#3858]: https://github.com/trezor/trezor-firmware/pull/3858 [#3859]: https://github.com/trezor/trezor-firmware/pull/3859 +[#3863]: https://github.com/trezor/trezor-firmware/pull/3863 [#3885]: https://github.com/trezor/trezor-firmware/pull/3885 [#3895]: https://github.com/trezor/trezor-firmware/pull/3895 [#3896]: https://github.com/trezor/trezor-firmware/pull/3896 @@ -973,6 +984,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#4019]: https://github.com/trezor/trezor-firmware/pull/4019 [#4023]: https://github.com/trezor/trezor-firmware/pull/4023 [#4030]: https://github.com/trezor/trezor-firmware/pull/4030 +[#4041]: https://github.com/trezor/trezor-firmware/pull/4041 [#4047]: https://github.com/trezor/trezor-firmware/pull/4047 [#4054]: https://github.com/trezor/trezor-firmware/pull/4054 [#4060]: https://github.com/trezor/trezor-firmware/pull/4060 @@ -986,6 +998,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#4161]: https://github.com/trezor/trezor-firmware/pull/4161 [#4165]: https://github.com/trezor/trezor-firmware/pull/4165 [#4167]: https://github.com/trezor/trezor-firmware/pull/4167 +[#4176]: https://github.com/trezor/trezor-firmware/pull/4176 [#4251]: https://github.com/trezor/trezor-firmware/pull/4251 [#4261]: https://github.com/trezor/trezor-firmware/pull/4261 +[#4271]: https://github.com/trezor/trezor-firmware/pull/4271 [#4284]: https://github.com/trezor/trezor-firmware/pull/4284 +[#4294]: https://github.com/trezor/trezor-firmware/pull/4294 +[#4295]: https://github.com/trezor/trezor-firmware/pull/4295 +[#4302]: https://github.com/trezor/trezor-firmware/pull/4302 +[#4309]: https://github.com/trezor/trezor-firmware/pull/4309 +[#4326]: https://github.com/trezor/trezor-firmware/pull/4326 diff --git a/core/CHANGELOG.T3B1.md b/core/CHANGELOG.T3B1.md index 1a0f111a5e..cbc90c18fe 100644 --- a/core/CHANGELOG.T3B1.md +++ b/core/CHANGELOG.T3B1.md @@ -4,18 +4,27 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## [2.8.5] (20th November 2024) +## [2.8.6] (internal release) ### Added - Initial support for Italian and Portugese translations. [#4047] -- Added benchmark application. [#4101] +- Add benchmark application. [#4101] +- Show last typed PIN number for short period of time. [#3863] +- Add P2WSH support for Unchained BIP32 paths. [#4271] ### Changed -- Simplified UI of Cardano transactions initiated by Trezor Suite. [#4284] +- Simplify UI of Cardano transactions initiated by Trezor Suite. [#4284] +- Improve UI synchronization, ordering, and responsiveness (Global Layout project). [#2299] +- Improve device responsiveness by removing unnecessary screen refreshes. [#3633] ### Fixed - Fix ETH account number detection. [#3627] - New EVM call contract flow UI. [#4251] +- Fix translation of the 'Enable labeling' screen. [#3813] +- Fix data size mismatch when confirming a blob. [#4302] +- Add "continue" button after scrolling through the whole blob. [#4302] + +## [2.8.5] (internal release) ## [2.8.4] (internal release) @@ -871,6 +880,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#2284]: https://github.com/trezor/trezor-firmware/pull/2284 [#2289]: https://github.com/trezor/trezor-firmware/pull/2289 [#2297]: https://github.com/trezor/trezor-firmware/pull/2297 +[#2299]: https://github.com/trezor/trezor-firmware/pull/2299 [#2300]: https://github.com/trezor/trezor-firmware/pull/2300 [#2313]: https://github.com/trezor/trezor-firmware/pull/2313 [#2324]: https://github.com/trezor/trezor-firmware/pull/2324 @@ -949,13 +959,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#3536]: https://github.com/trezor/trezor-firmware/pull/3536 [#3539]: https://github.com/trezor/trezor-firmware/pull/3539 [#3627]: https://github.com/trezor/trezor-firmware/pull/3627 +[#3633]: https://github.com/trezor/trezor-firmware/pull/3633 [#3636]: https://github.com/trezor/trezor-firmware/pull/3636 [#3640]: https://github.com/trezor/trezor-firmware/pull/3640 [#3728]: https://github.com/trezor/trezor-firmware/pull/3728 [#3797]: https://github.com/trezor/trezor-firmware/pull/3797 +[#3813]: https://github.com/trezor/trezor-firmware/pull/3813 [#3855]: https://github.com/trezor/trezor-firmware/pull/3855 [#3858]: https://github.com/trezor/trezor-firmware/pull/3858 [#3859]: https://github.com/trezor/trezor-firmware/pull/3859 +[#3863]: https://github.com/trezor/trezor-firmware/pull/3863 [#3885]: https://github.com/trezor/trezor-firmware/pull/3885 [#3895]: https://github.com/trezor/trezor-firmware/pull/3895 [#3896]: https://github.com/trezor/trezor-firmware/pull/3896 @@ -980,6 +993,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#4019]: https://github.com/trezor/trezor-firmware/pull/4019 [#4023]: https://github.com/trezor/trezor-firmware/pull/4023 [#4030]: https://github.com/trezor/trezor-firmware/pull/4030 +[#4041]: https://github.com/trezor/trezor-firmware/pull/4041 [#4047]: https://github.com/trezor/trezor-firmware/pull/4047 [#4054]: https://github.com/trezor/trezor-firmware/pull/4054 [#4060]: https://github.com/trezor/trezor-firmware/pull/4060 @@ -993,6 +1007,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#4161]: https://github.com/trezor/trezor-firmware/pull/4161 [#4165]: https://github.com/trezor/trezor-firmware/pull/4165 [#4167]: https://github.com/trezor/trezor-firmware/pull/4167 +[#4176]: https://github.com/trezor/trezor-firmware/pull/4176 [#4251]: https://github.com/trezor/trezor-firmware/pull/4251 [#4261]: https://github.com/trezor/trezor-firmware/pull/4261 +[#4271]: https://github.com/trezor/trezor-firmware/pull/4271 [#4284]: https://github.com/trezor/trezor-firmware/pull/4284 +[#4294]: https://github.com/trezor/trezor-firmware/pull/4294 +[#4295]: https://github.com/trezor/trezor-firmware/pull/4295 +[#4302]: https://github.com/trezor/trezor-firmware/pull/4302 +[#4309]: https://github.com/trezor/trezor-firmware/pull/4309 +[#4326]: https://github.com/trezor/trezor-firmware/pull/4326 diff --git a/core/CHANGELOG.T3T1.md b/core/CHANGELOG.T3T1.md index 418bc50cce..6945904465 100644 --- a/core/CHANGELOG.T3T1.md +++ b/core/CHANGELOG.T3T1.md @@ -4,25 +4,40 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## [2.8.5] (20th November 2024) +## [2.8.6] (18th December 2024) ### Added - Initial support for Italian and Portugese translations. [#4047] -- Added benchmark application. [#4101] +- Add benchmark application. [#4101] +- Show last typed PIN number for short period of time. [#3863] +- Add P2WSH support for Unchained BIP32 paths. [#4271] ### Changed -- Simplified UI of Cardano transactions initiated by Trezor Suite. [#4284] +- Simplify UI of Cardano transactions initiated by Trezor Suite. [#4284] - Included bootloader 2.1.9. +- Improve UI synchronization, ordering, and responsiveness (Global Layout project). [#2299] +- Improve device responsiveness by removing unnecessary screen refreshes. [#3633] ### Fixed - Show account info in ETH send/stake flow. [#3536] - Fix ETH account number detection. [#3627] - Fix XPUB confirmed success screen title. [#3947] - Display menu items on two lines when one line is not enough. [#4019] -- Fixed missing footer page hints in info about remaining shares in super-shamir recovery. [#4165] +- Fix missing footer page hints in info about remaining shares in super-shamir recovery. [#4165] - Fix swipe in ETH stake flow menu and address confirmation. [#4167] - New EVM call contract flow UI. [#4251] - Add instruction to Swipe up after changing brightness. [#4261] +- Fix translation of the 'Enable labeling' screen. [#3813] +- Add swipe back in FIDO confirm flow menu. [#4176] +- Make swipe back action in tutorial flow menu consistent with menu cancel action. [#4294] +- Fix color and icon for 'Success' string in `set_brightness` flow. [#4295] +- Add margin to the first page of a blob. [#4302] +- Add page counter to paginated blobs. [#4302] +- Add cancel button to individual pages of a blob. [#4302] +- Fix incorrect navigation in handy menu while signing BTC message. [#4309] +- Fix information screen when signing BTC fee bump transaction. [#4326] + +## [2.8.5] (internal release) ## [2.8.4] (internal release) @@ -898,6 +913,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#2284]: https://github.com/trezor/trezor-firmware/pull/2284 [#2289]: https://github.com/trezor/trezor-firmware/pull/2289 [#2297]: https://github.com/trezor/trezor-firmware/pull/2297 +[#2299]: https://github.com/trezor/trezor-firmware/pull/2299 [#2300]: https://github.com/trezor/trezor-firmware/pull/2300 [#2313]: https://github.com/trezor/trezor-firmware/pull/2313 [#2324]: https://github.com/trezor/trezor-firmware/pull/2324 @@ -976,13 +992,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#3536]: https://github.com/trezor/trezor-firmware/pull/3536 [#3539]: https://github.com/trezor/trezor-firmware/pull/3539 [#3627]: https://github.com/trezor/trezor-firmware/pull/3627 +[#3633]: https://github.com/trezor/trezor-firmware/pull/3633 [#3636]: https://github.com/trezor/trezor-firmware/pull/3636 [#3640]: https://github.com/trezor/trezor-firmware/pull/3640 [#3728]: https://github.com/trezor/trezor-firmware/pull/3728 [#3797]: https://github.com/trezor/trezor-firmware/pull/3797 +[#3813]: https://github.com/trezor/trezor-firmware/pull/3813 [#3855]: https://github.com/trezor/trezor-firmware/pull/3855 [#3858]: https://github.com/trezor/trezor-firmware/pull/3858 [#3859]: https://github.com/trezor/trezor-firmware/pull/3859 +[#3863]: https://github.com/trezor/trezor-firmware/pull/3863 [#3885]: https://github.com/trezor/trezor-firmware/pull/3885 [#3895]: https://github.com/trezor/trezor-firmware/pull/3895 [#3896]: https://github.com/trezor/trezor-firmware/pull/3896 @@ -1007,6 +1026,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#4019]: https://github.com/trezor/trezor-firmware/pull/4019 [#4023]: https://github.com/trezor/trezor-firmware/pull/4023 [#4030]: https://github.com/trezor/trezor-firmware/pull/4030 +[#4041]: https://github.com/trezor/trezor-firmware/pull/4041 [#4047]: https://github.com/trezor/trezor-firmware/pull/4047 [#4054]: https://github.com/trezor/trezor-firmware/pull/4054 [#4060]: https://github.com/trezor/trezor-firmware/pull/4060 @@ -1020,6 +1040,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#4161]: https://github.com/trezor/trezor-firmware/pull/4161 [#4165]: https://github.com/trezor/trezor-firmware/pull/4165 [#4167]: https://github.com/trezor/trezor-firmware/pull/4167 +[#4176]: https://github.com/trezor/trezor-firmware/pull/4176 [#4251]: https://github.com/trezor/trezor-firmware/pull/4251 [#4261]: https://github.com/trezor/trezor-firmware/pull/4261 +[#4271]: https://github.com/trezor/trezor-firmware/pull/4271 [#4284]: https://github.com/trezor/trezor-firmware/pull/4284 +[#4294]: https://github.com/trezor/trezor-firmware/pull/4294 +[#4295]: https://github.com/trezor/trezor-firmware/pull/4295 +[#4302]: https://github.com/trezor/trezor-firmware/pull/4302 +[#4309]: https://github.com/trezor/trezor-firmware/pull/4309 +[#4326]: https://github.com/trezor/trezor-firmware/pull/4326 diff --git a/core/CHANGELOG.md b/core/CHANGELOG.md index bae305ec92..ee69424398 100644 --- a/core/CHANGELOG.md +++ b/core/CHANGELOG.md @@ -4,15 +4,19 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## [2.8.5] (20th November 2024) +## [2.8.6] (18th December 2024) ### Added - Initial support for Italian and Portugese translations. [#4047] -- Added benchmark application. [#4101] +- Add benchmark application. [#4101] +- Show last typed PIN number for short period of time. [#3863] +- Add P2WSH support for Unchained BIP32 paths. [#4271] ### Changed -- Simplified UI of Cardano transactions initiated by Trezor Suite. [#4284] +- Simplify UI of Cardano transactions initiated by Trezor Suite. [#4284] - [T3T1] Included bootloader 2.1.9. +- Improve UI synchronization, ordering, and responsiveness (Global Layout project). [#2299] +- Improve device responsiveness by removing unnecessary screen refreshes. [#3633] ### Fixed - [T3T1] Show account info in ETH send/stake flow. [#3536] @@ -20,10 +24,23 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - [T3T1] Fix XPUB confirmed success screen title. [#3947] - [T3T1] Display menu items on two lines when one line is not enough. [#4019] - [T2T1] Fix spending decred stake outputs. [#4161] -- [T3T1] Fixed missing footer page hints in info about remaining shares in super-shamir recovery. [#4165] +- [T3T1] Fix missing footer page hints in info about remaining shares in super-shamir recovery. [#4165] - [T3T1] Fix swipe in ETH stake flow menu and address confirmation. [#4167] - New EVM call contract flow UI. [#4251] - [T3T1] Add instruction to Swipe up after changing brightness. [#4261] +- Fix translation of the 'Enable labeling' screen. [#3813] +- [T3T1] Add swipe back in FIDO confirm flow menu. [#4176] +- [T3T1] Make swipe back action in tutorial flow menu consistent with menu cancel action. [#4294] +- [T3T1] Fix color and icon for 'Success' string in `set_brightness` flow. [#4295] +- [T3B1] Fix data size mismatch when confirming a blob. [#4302] +- [T3T1] Add margin to the first page of a blob. [#4302] +- [T3T1] Add page counter to paginated blobs. [#4302] +- [T3B1] Add "continue" button after scrolling through the whole blob. [#4302] +- [T3T1] Add cancel button to individual pages of a blob. [#4302] +- [T3T1] Fix incorrect navigation in handy menu while signing BTC message. [#4309] +- [T3T1] Fix information screen when signing BTC fee bump transaction. [#4326] + +## [2.8.5] (internal release) ## [2.8.4] (internal release) @@ -917,6 +934,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#2284]: https://github.com/trezor/trezor-firmware/pull/2284 [#2289]: https://github.com/trezor/trezor-firmware/pull/2289 [#2297]: https://github.com/trezor/trezor-firmware/pull/2297 +[#2299]: https://github.com/trezor/trezor-firmware/pull/2299 [#2300]: https://github.com/trezor/trezor-firmware/pull/2300 [#2313]: https://github.com/trezor/trezor-firmware/pull/2313 [#2324]: https://github.com/trezor/trezor-firmware/pull/2324 @@ -995,13 +1013,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#3536]: https://github.com/trezor/trezor-firmware/pull/3536 [#3539]: https://github.com/trezor/trezor-firmware/pull/3539 [#3627]: https://github.com/trezor/trezor-firmware/pull/3627 +[#3633]: https://github.com/trezor/trezor-firmware/pull/3633 [#3636]: https://github.com/trezor/trezor-firmware/pull/3636 [#3640]: https://github.com/trezor/trezor-firmware/pull/3640 [#3728]: https://github.com/trezor/trezor-firmware/pull/3728 [#3797]: https://github.com/trezor/trezor-firmware/pull/3797 +[#3813]: https://github.com/trezor/trezor-firmware/pull/3813 [#3855]: https://github.com/trezor/trezor-firmware/pull/3855 [#3858]: https://github.com/trezor/trezor-firmware/pull/3858 [#3859]: https://github.com/trezor/trezor-firmware/pull/3859 +[#3863]: https://github.com/trezor/trezor-firmware/pull/3863 [#3885]: https://github.com/trezor/trezor-firmware/pull/3885 [#3895]: https://github.com/trezor/trezor-firmware/pull/3895 [#3896]: https://github.com/trezor/trezor-firmware/pull/3896 @@ -1026,6 +1047,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#4019]: https://github.com/trezor/trezor-firmware/pull/4019 [#4023]: https://github.com/trezor/trezor-firmware/pull/4023 [#4030]: https://github.com/trezor/trezor-firmware/pull/4030 +[#4041]: https://github.com/trezor/trezor-firmware/pull/4041 [#4047]: https://github.com/trezor/trezor-firmware/pull/4047 [#4054]: https://github.com/trezor/trezor-firmware/pull/4054 [#4060]: https://github.com/trezor/trezor-firmware/pull/4060 @@ -1039,6 +1061,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#4161]: https://github.com/trezor/trezor-firmware/pull/4161 [#4165]: https://github.com/trezor/trezor-firmware/pull/4165 [#4167]: https://github.com/trezor/trezor-firmware/pull/4167 +[#4176]: https://github.com/trezor/trezor-firmware/pull/4176 [#4251]: https://github.com/trezor/trezor-firmware/pull/4251 [#4261]: https://github.com/trezor/trezor-firmware/pull/4261 +[#4271]: https://github.com/trezor/trezor-firmware/pull/4271 [#4284]: https://github.com/trezor/trezor-firmware/pull/4284 +[#4294]: https://github.com/trezor/trezor-firmware/pull/4294 +[#4295]: https://github.com/trezor/trezor-firmware/pull/4295 +[#4302]: https://github.com/trezor/trezor-firmware/pull/4302 +[#4309]: https://github.com/trezor/trezor-firmware/pull/4309 +[#4326]: https://github.com/trezor/trezor-firmware/pull/4326 From 28d431be9a4434cbf3afbeebdf96ec2d028d1d74 Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Thu, 28 Nov 2024 14:34:34 +0100 Subject: [PATCH 02/10] docs(core): fix changelog --- core/CHANGELOG.T2B1.md | 2 +- core/CHANGELOG.T2T1.md | 1 - core/CHANGELOG.T3B1.md | 4 +--- core/CHANGELOG.T3T1.md | 5 +---- core/CHANGELOG.md | 7 +------ 5 files changed, 4 insertions(+), 15 deletions(-) diff --git a/core/CHANGELOG.T2B1.md b/core/CHANGELOG.T2B1.md index 326abf10d3..303bac75a6 100644 --- a/core/CHANGELOG.T2B1.md +++ b/core/CHANGELOG.T2B1.md @@ -7,7 +7,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [2.8.6] (internal release) ### Added -- Initial support for Italian and Portugese translations. [#4047] - Add benchmark application. [#4101] - Show last typed PIN number for short period of time. [#3863] - Add P2WSH support for Unchained BIP32 paths. [#4271] @@ -21,6 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Fix ETH account number detection. [#3627] - New EVM call contract flow UI. [#4251] - Fix translation of the 'Enable labeling' screen. [#3813] +- Improve paginated blob display. [#4302] ## [2.8.5] (internal release) diff --git a/core/CHANGELOG.T2T1.md b/core/CHANGELOG.T2T1.md index 17df8dacec..a5989c9eb1 100644 --- a/core/CHANGELOG.T2T1.md +++ b/core/CHANGELOG.T2T1.md @@ -7,7 +7,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [2.8.6] (internal release) ### Added -- Initial support for Italian and Portugese translations. [#4047] - Add benchmark application. [#4101] - Show last typed PIN number for short period of time. [#3863] - Add P2WSH support for Unchained BIP32 paths. [#4271] diff --git a/core/CHANGELOG.T3B1.md b/core/CHANGELOG.T3B1.md index cbc90c18fe..dbf44e8ff5 100644 --- a/core/CHANGELOG.T3B1.md +++ b/core/CHANGELOG.T3B1.md @@ -7,7 +7,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [2.8.6] (internal release) ### Added -- Initial support for Italian and Portugese translations. [#4047] - Add benchmark application. [#4101] - Show last typed PIN number for short period of time. [#3863] - Add P2WSH support for Unchained BIP32 paths. [#4271] @@ -21,8 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Fix ETH account number detection. [#3627] - New EVM call contract flow UI. [#4251] - Fix translation of the 'Enable labeling' screen. [#3813] -- Fix data size mismatch when confirming a blob. [#4302] -- Add "continue" button after scrolling through the whole blob. [#4302] +- Improve paginated blob display. [#4302] ## [2.8.5] (internal release) diff --git a/core/CHANGELOG.T3T1.md b/core/CHANGELOG.T3T1.md index 6945904465..a85de61570 100644 --- a/core/CHANGELOG.T3T1.md +++ b/core/CHANGELOG.T3T1.md @@ -7,7 +7,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [2.8.6] (18th December 2024) ### Added -- Initial support for Italian and Portugese translations. [#4047] - Add benchmark application. [#4101] - Show last typed PIN number for short period of time. [#3863] - Add P2WSH support for Unchained BIP32 paths. [#4271] @@ -31,9 +30,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Add swipe back in FIDO confirm flow menu. [#4176] - Make swipe back action in tutorial flow menu consistent with menu cancel action. [#4294] - Fix color and icon for 'Success' string in `set_brightness` flow. [#4295] -- Add margin to the first page of a blob. [#4302] -- Add page counter to paginated blobs. [#4302] -- Add cancel button to individual pages of a blob. [#4302] +- Improve paginated blob display. [#4302] - Fix incorrect navigation in handy menu while signing BTC message. [#4309] - Fix information screen when signing BTC fee bump transaction. [#4326] diff --git a/core/CHANGELOG.md b/core/CHANGELOG.md index ee69424398..d8ecbe0886 100644 --- a/core/CHANGELOG.md +++ b/core/CHANGELOG.md @@ -7,7 +7,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [2.8.6] (18th December 2024) ### Added -- Initial support for Italian and Portugese translations. [#4047] - Add benchmark application. [#4101] - Show last typed PIN number for short period of time. [#3863] - Add P2WSH support for Unchained BIP32 paths. [#4271] @@ -32,11 +31,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - [T3T1] Add swipe back in FIDO confirm flow menu. [#4176] - [T3T1] Make swipe back action in tutorial flow menu consistent with menu cancel action. [#4294] - [T3T1] Fix color and icon for 'Success' string in `set_brightness` flow. [#4295] -- [T3B1] Fix data size mismatch when confirming a blob. [#4302] -- [T3T1] Add margin to the first page of a blob. [#4302] -- [T3T1] Add page counter to paginated blobs. [#4302] -- [T3B1] Add "continue" button after scrolling through the whole blob. [#4302] -- [T3T1] Add cancel button to individual pages of a blob. [#4302] +- [T2B1,T3B1,T3T1] Improve paginated blob display. [#4302] - [T3T1] Fix incorrect navigation in handy menu while signing BTC message. [#4309] - [T3T1] Fix information screen when signing BTC fee bump transaction. [#4326] From 0d90b510e7492ec1884573f52020f607378406b3 Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Tue, 3 Dec 2024 15:27:48 +0100 Subject: [PATCH 03/10] build(core): use deterministic git rev-parse The output may differ in shallow vs. full repo. [no changelog] (cherry picked from commit 2635e4c7fdf15afbab1c6a5fe65925b89f9d4650) --- core/embed/projects/firmware/mpconfigport.h | 4 ++++ core/embed/projects/unix/mpconfigport.h | 4 ++++ core/site_scons/tools.py | 4 ++-- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/core/embed/projects/firmware/mpconfigport.h b/core/embed/projects/firmware/mpconfigport.h index 0df34659e5..b95de2b0c4 100644 --- a/core/embed/projects/firmware/mpconfigport.h +++ b/core/embed/projects/firmware/mpconfigport.h @@ -177,6 +177,10 @@ #define MP_STATE_PORT MP_STATE_VM +// by default contains nearest git tag, which may not be present in shallow +// repo, breaking reproducibility +#define MICROPY_BANNER_NAME_AND_VERSION "" + // ============= this ends common config section =================== diff --git a/core/embed/projects/unix/mpconfigport.h b/core/embed/projects/unix/mpconfigport.h index 2cc4b7d9e7..76d8d89605 100644 --- a/core/embed/projects/unix/mpconfigport.h +++ b/core/embed/projects/unix/mpconfigport.h @@ -217,6 +217,10 @@ extern const struct _mp_print_t mp_stderr_print; #define MP_STATE_PORT MP_STATE_VM +// by default contains nearest git tag, which may not be present in shallow +// repo, breaking reproducibility +#define MICROPY_BANNER_NAME_AND_VERSION "" + // ============= this ends common config section =================== // For size_t and ssize_t diff --git a/core/site_scons/tools.py b/core/site_scons/tools.py index 728b0bccfb..ad4e25c7d2 100644 --- a/core/site_scons/tools.py +++ b/core/site_scons/tools.py @@ -33,9 +33,9 @@ def get_git_revision_hash() -> str: def get_git_revision_short_hash() -> str: return ( - subprocess.check_output(["git", "rev-parse", "--short", "HEAD"]) + subprocess.check_output(["git", "rev-parse", "--verify", "HEAD"]) .decode("ascii") - .strip() + .strip()[:7] ) From 4786cca8e507e44262a8f1e13649eddc46983fc6 Mon Sep 17 00:00:00 2001 From: matejcik Date: Wed, 4 Dec 2024 10:19:17 +0100 Subject: [PATCH 04/10] build(build-docker): perform a reproducible shallow clone of the repository in build-docker.sh (cherry picked from commit 7d4cd8ffb7555929d062ff693346016f092b156a) --- build-docker.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build-docker.sh b/build-docker.sh index a5598a4f16..187ae13758 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -72,7 +72,7 @@ INIT=1 MODELS=(R T T3T1) CORE_TARGETS=(boardloader bootloader firmware) -REPOSITORY="/local" +REPOSITORY="file:///local" while true; do case "$1" in @@ -204,7 +204,7 @@ if [ $INIT -eq 1 ]; then mkdir -p /reproducible-build cd /reproducible-build - git clone "$REPOSITORY" trezor-firmware + git clone --branch="$TAG" --depth=1 "$REPOSITORY" trezor-firmware cd trezor-firmware EOF @@ -224,8 +224,6 @@ fi # init # append common part to script cat <> "$SCRIPT_NAME" $GIT_CLEAN_REPO - git fetch origin "$COMMIT_HASH" - git checkout "$COMMIT_HASH" git submodule update --init --recursive poetry install cd core/embed/rust From 2625facf1fe9b71db120439853ceca0a61bb8396 Mon Sep 17 00:00:00 2001 From: matejcik Date: Wed, 4 Dec 2024 10:40:57 +0100 Subject: [PATCH 05/10] build(build-docker): use QUIET_MODE for core builds (cherry picked from commit 81adeb247d98a3dad3edbbf2e313fc1132a4a20b) --- build-docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-docker.sh b/build-docker.sh index 187ae13758..add90acc62 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -285,7 +285,7 @@ for TREZOR_MODEL in ${MODELS[@]}; do set -e -o pipefail cd /reproducible-build/trezor-firmware/core $GIT_CLEAN_REPO - poetry run make clean vendor $MAKE_TARGETS + poetry run make clean vendor $MAKE_TARGETS QUIET_MODE=1 for item in bootloader firmware prodtest; do if [ -f build/\$item/\$item.bin ]; then poetry run ../python/tools/firmware-fingerprint.py \ From 99b2c2a820fb2d009d284eba3b351380bb484cc5 Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Thu, 5 Dec 2024 12:52:10 +0100 Subject: [PATCH 06/10] chore(core): include signed translations for 2.8.6 --- core/translations/signatures.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/translations/signatures.json b/core/translations/signatures.json index eff9498845..cc05b4285b 100644 --- a/core/translations/signatures.json +++ b/core/translations/signatures.json @@ -5,6 +5,13 @@ "commit": "c8d296a8659b4168af09eaf5b6d2cdcd45da914c" }, "history": [ + { + "signature": "036d039cc9c8e026499c7f57769c527d2e005eecf967c0a6cbe38a81a6df00a8cf956a42c8053a80f2b770f3ae09fec79564ffcfde116909a4b6c5d3d06bc4bd05", + "version": "2.8.6.0", + "merkle_root": "468d0a76a8d7a1319bb68955a02621c903ce948abb823774fef394659498adbe", + "datetime": "2024-12-05T11:46:35.955981", + "commit": "2625facf1fe9b71db120439853ceca0a61bb8396" + }, { "signature": "038e53755061a45698db059c7447fb11785a39fa744dcba557b1f15e51bbb6295602d06e4365dea99bfbd72fd259e982b431f842a06b59bc9cd69f4473e1fad708", "version": "2.8.5.0", From 768f86f56f0380fff795716f280c79155180810f Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Thu, 5 Dec 2024 17:01:30 +0100 Subject: [PATCH 07/10] chore(core): bump version to 2.8.6.1 --- core/embed/projects/firmware/version.h | 2 +- core/translations/cs.json | 2 +- core/translations/de.json | 2 +- core/translations/en.json | 2 +- core/translations/es.json | 2 +- core/translations/fr.json | 2 +- core/translations/it.json | 2 +- core/translations/pt.json | 2 +- core/translations/signatures.json | 6 +++--- core/translations/tr.json | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/core/embed/projects/firmware/version.h b/core/embed/projects/firmware/version.h index 742cfaef34..3991e8c1fd 100644 --- a/core/embed/projects/firmware/version.h +++ b/core/embed/projects/firmware/version.h @@ -5,7 +5,7 @@ #define VERSION_MAJOR 2 #define VERSION_MINOR 8 #define VERSION_PATCH 6 -#define VERSION_BUILD 0 +#define VERSION_BUILD 1 #define FIX_VERSION_MAJOR 2 #define FIX_VERSION_MINOR 8 diff --git a/core/translations/cs.json b/core/translations/cs.json index f6bb2ef3ec..a3b5d5fa58 100644 --- a/core/translations/cs.json +++ b/core/translations/cs.json @@ -43,7 +43,7 @@ }, "header": { "language": "cs-CZ", - "version": "2.8.6" + "version": "2.8.6.1" }, "translations": { "addr_mismatch__contact_support_at": "Kontaktujte naši podporu na", diff --git a/core/translations/de.json b/core/translations/de.json index ab7c61c358..147c83f77e 100644 --- a/core/translations/de.json +++ b/core/translations/de.json @@ -43,7 +43,7 @@ }, "header": { "language": "de-DE", - "version": "2.8.6" + "version": "2.8.6.1" }, "translations": { "addr_mismatch__contact_support_at": "Kontaktiere den Trezor Support unter", diff --git a/core/translations/en.json b/core/translations/en.json index 64a2c86bd1..8017bd146a 100644 --- a/core/translations/en.json +++ b/core/translations/en.json @@ -1,7 +1,7 @@ { "header": { "language": "en-US", - "version": "2.8.6" + "version": "2.8.6.1" }, "translations": { "addr_mismatch__contact_support_at": "Please contact Trezor support at", diff --git a/core/translations/es.json b/core/translations/es.json index 601c8e7751..47cc07dca8 100644 --- a/core/translations/es.json +++ b/core/translations/es.json @@ -43,7 +43,7 @@ }, "header": { "language": "es-ES", - "version": "2.8.6" + "version": "2.8.6.1" }, "translations": { "addr_mismatch__contact_support_at": "Contacta con atención al cliente de Trezor en", diff --git a/core/translations/fr.json b/core/translations/fr.json index 4f401d0a70..85840e1a09 100644 --- a/core/translations/fr.json +++ b/core/translations/fr.json @@ -43,7 +43,7 @@ }, "header": { "language": "fr-FR", - "version": "2.8.6" + "version": "2.8.6.1" }, "translations": { "addr_mismatch__contact_support_at": "Contactez l'assistance Trezor à l'adr.", diff --git a/core/translations/it.json b/core/translations/it.json index cb545b04f7..d9010a0e44 100644 --- a/core/translations/it.json +++ b/core/translations/it.json @@ -43,7 +43,7 @@ }, "header": { "language": "it-IT", - "version": "2.8.6" + "version": "2.8.6.1" }, "translations": { "addr_mismatch__contact_support_at": "Contatta l'Assistenza di Trezor all'indirizzo", diff --git a/core/translations/pt.json b/core/translations/pt.json index d6521e6f85..152486e503 100644 --- a/core/translations/pt.json +++ b/core/translations/pt.json @@ -43,7 +43,7 @@ }, "header": { "language": "pt-BR", - "version": "2.8.6" + "version": "2.8.6.1" }, "translations": { "addr_mismatch__contact_support_at": "Entre em contato com o suporte Trezor em", diff --git a/core/translations/signatures.json b/core/translations/signatures.json index cc05b4285b..7a138a761b 100644 --- a/core/translations/signatures.json +++ b/core/translations/signatures.json @@ -1,8 +1,8 @@ { "current": { - "merkle_root": "468d0a76a8d7a1319bb68955a02621c903ce948abb823774fef394659498adbe", - "datetime": "2024-11-26T15:37:54.894299", - "commit": "c8d296a8659b4168af09eaf5b6d2cdcd45da914c" + "merkle_root": "fc821c85ebb534793a67c75579cb629dd90fedc233aff05094e0f8fbccae28f1", + "datetime": "2024-12-05T15:59:21.539791", + "commit": "99b2c2a820fb2d009d284eba3b351380bb484cc5" }, "history": [ { diff --git a/core/translations/tr.json b/core/translations/tr.json index 8efa225032..88fdecb862 100644 --- a/core/translations/tr.json +++ b/core/translations/tr.json @@ -43,7 +43,7 @@ }, "header": { "language": "tr-TR", - "version": "2.8.6" + "version": "2.8.6.1" }, "translations": { "addr_mismatch__contact_support_at": "Lütfen Trezor support ile iletişime geçin:", From 17f2a3256b2631823c2bad1855fab61b27985fd2 Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Thu, 5 Dec 2024 16:36:23 +0100 Subject: [PATCH 08/10] fix(core): fix translation area access from coreapp applet [no changelog] (cherry picked from commit b4ba056a39a254f9c53221de65daacdbf7e2dc45) --- core/embed/projects/kernel/main.c | 6 +++++- core/embed/sys/task/inc/sys/applet.h | 12 +++++++++--- core/embed/sys/task/stm32/applet.c | 8 +++++++- 3 files changed, 21 insertions(+), 5 deletions(-) diff --git a/core/embed/projects/kernel/main.c b/core/embed/projects/kernel/main.c index 2ff4f4f4c0..c4339e0c31 100644 --- a/core/embed/projects/kernel/main.c +++ b/core/embed/projects/kernel/main.c @@ -235,7 +235,11 @@ static void coreapp_init(applet_t *applet) { #endif }; - applet_init(applet, coreapp_header, &coreapp_layout); + applet_privileges_t coreapp_privileges = { + .assets_area_access = true, + }; + + applet_init(applet, coreapp_header, &coreapp_layout, &coreapp_privileges); } // Shows RSOD (Red Screen of Death) diff --git a/core/embed/sys/task/inc/sys/applet.h b/core/embed/sys/task/inc/sys/applet.h index 7f924d8010..ef03e95e7c 100644 --- a/core/embed/sys/task/inc/sys/applet.h +++ b/core/embed/sys/task/inc/sys/applet.h @@ -55,22 +55,28 @@ typedef struct { } applet_layout_t; +// Applet privileges +typedef struct { + bool assets_area_access; +} applet_privileges_t; + typedef struct { // Points to the applet header found at the beginning of the applet binary applet_header_t* header; // Applet memory layout describing the memory areas // the applet is allowed to use applet_layout_t layout; + // Applet privileges + applet_privileges_t privileges; + // Applet task systask_t task; - // + privileges - } applet_t; // Initializes the applet structure void applet_init(applet_t* applet, applet_header_t* header, - applet_layout_t* layout); + applet_layout_t* layout, applet_privileges_t* privileges); // Resets the applet and prepares it for execution from its entry point. // diff --git a/core/embed/sys/task/stm32/applet.c b/core/embed/sys/task/stm32/applet.c index 47f7621c06..3d03d0f7cb 100644 --- a/core/embed/sys/task/stm32/applet.c +++ b/core/embed/sys/task/stm32/applet.c @@ -17,6 +17,7 @@ * along with this program. If not, see . */ +#include #include #include @@ -32,11 +33,12 @@ #ifdef SYSCALL_DISPATCH void applet_init(applet_t* applet, applet_header_t* header, - applet_layout_t* layout) { + applet_layout_t* layout, applet_privileges_t* privileges) { memset(applet, 0, sizeof(applet_t)); applet->header = header; applet->layout = *layout; + applet->privileges = *privileges; } static void applet_clear_memory(applet_t* applet) { @@ -86,6 +88,10 @@ static void applet_set_unpriv(applet_t* applet, bool unpriv) { tz_set_flash_unpriv(layout->code1.start, layout->code1.size, unpriv); tz_set_flash_unpriv(layout->code2.start, layout->code2.size, unpriv); + if (applet->privileges.assets_area_access) { + tz_set_flash_unpriv(ASSETS_START, ASSETS_MAXSIZE, unpriv); + } + display_set_unpriv_access(unpriv); } #endif // USE_TRUSTZONE From dd27166dcb331f8949397888c43246ff201ab17d Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Mon, 9 Dec 2024 12:37:51 +0100 Subject: [PATCH 09/10] chore(core): include signed translations for 2.8.6.1 --- core/translations/signatures.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/translations/signatures.json b/core/translations/signatures.json index 7a138a761b..4e317e912f 100644 --- a/core/translations/signatures.json +++ b/core/translations/signatures.json @@ -5,6 +5,13 @@ "commit": "99b2c2a820fb2d009d284eba3b351380bb484cc5" }, "history": [ + { + "signature": "03e05044e713084d2649c21449fbcc7d278781a16026eb9e24646a9ed6e47d1c0f58be62d9541da5c2594a8638bfb9a8457a8f3ba76f005bf8f4e1e2100b7a0401", + "version": "2.8.6.1", + "merkle_root": "fc821c85ebb534793a67c75579cb629dd90fedc233aff05094e0f8fbccae28f1", + "datetime": "2024-12-09T11:09:11.271641", + "commit": "17f2a3256b2631823c2bad1855fab61b27985fd2" + }, { "signature": "036d039cc9c8e026499c7f57769c527d2e005eecf967c0a6cbe38a81a6df00a8cf956a42c8053a80f2b770f3ae09fec79564ffcfde116909a4b6c5d3d06bc4bd05", "version": "2.8.6.0", From 2f20cba314c167800b45c87cfdd6cb8e2382f191 Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Thu, 19 Dec 2024 13:00:31 +0100 Subject: [PATCH 10/10] docs(core): fix changelog --- core/CHANGELOG.T3T1.md | 2 +- core/CHANGELOG.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/CHANGELOG.T3T1.md b/core/CHANGELOG.T3T1.md index a85de61570..e2daf9f106 100644 --- a/core/CHANGELOG.T3T1.md +++ b/core/CHANGELOG.T3T1.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## [2.8.6] (18th December 2024) +## [2.8.6] (internal release) ### Added - Add benchmark application. [#4101] diff --git a/core/CHANGELOG.md b/core/CHANGELOG.md index d8ecbe0886..b2e90623bd 100644 --- a/core/CHANGELOG.md +++ b/core/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## [2.8.6] (18th December 2024) +## [2.8.6] (internal release) ### Added - Add benchmark application. [#4101]