Commit Graph

3322 Commits (662f13136ffa16d4b4b112bc65a2c5bcc6d75aa6)

Author SHA1 Message Date
tychovrahe 8a18cfe0d4 feat(core): use U5 DHUK to encrypt optiga pairing secret in flash
5 months ago
tychovrahe e060ac68c5 feat(core): use U5 HW keys to additionally encrypt storage items
5 months ago
cepetr b1fb876709 fix(core): fix ts3 fonts
5 months ago
Martin Milata c7832c39ab refactor(core/rust/ui): use TString instead of StrBuffer when constructing layouts
6 months ago
tychovrahe 256adc3567 refactor(core/rust) use TString in Label and Button
6 months ago
tychovrahe ed6aa48726 feat(core): use confidential section for confidential and sensitive data
6 months ago
tychovrahe 535a052df4 refactor(core/rust): introduce UIFeaturesXXX trait as an abstraction over different UI implementation
6 months ago
tychovrahe ba741b81fd feat(core): use HSI as PLL source on T3T1
6 months ago
tychovrahe acb0e9fdc5 chore(core): set stack protector to strong
6 months ago
cepetr 285b22e53e refactor(core): add ufmt, bump heapless from 0.7.6 - 0.8.0
6 months ago
tychovrahe ffccf849eb chore(core): fill T3T1 model full name
6 months ago
matejcik 39b7b22777 refactor(core/rust): Paragraph is now based on TString
6 months ago
matejcik 9c287adf64 feat(core/rust): some useful traits for TString
6 months ago
matejcik f3b884bf93 refactor(core): improve safety of translation blobs
6 months ago
tychovrahe ba065c5b38 fix(core/prodtest): do not require sd detect pin for running SD card test
6 months ago
Pavol Rusnak 4b189eb2cb fix(core): always zero-initialize structures in trezorhal
6 months ago
tychovrahe 576ed7e04e chore(core): use SD hal driver from submodule
6 months ago
tychovrahe 69ed626ca0 fix(core): slowdown i2c on u5 to 200kHz
6 months ago
Andrew Kozlik 15e02be4e4 fix(core): Clean up when constructor fails to reduce memory fragmentation.
6 months ago
Andrew Kozlik 49a64cb3a1 test(core): Add AES-GCM unit tests.
6 months ago
Andrew Kozlik 703ea32ceb feat(core): Add aesgcm class to trezor.crypto Python module.
6 months ago
tychovrahe 89147ef493 refactor(core): improve flash api by introducing flash_area_write_data function
6 months ago
tychovrahe 39cfa7087a fix(core): set proper GPIO speeds for T3T1
6 months ago
matejcik 45a4a1da99 fix(core/translations): correctly rename previous symbol
6 months ago
matejcik 1c36c0927c style(core): fix (hopefully) the weird clippy warning about HOMESCREEN_TOIF_X_OFFSET
6 months ago
matejcik 379737a9a5 chore(core): translate storage strings into supported languages
6 months ago
matejcik de2fe3d6d6 feat(core/ui): unify progress.py code between models, implement storage translations
6 months ago
matejcik ed89215a79 feat(core): expose StorageMessage to micropython
6 months ago
matejcik 0fa9860cf5 chore(core): sign translations for 2.7.0, including Czech blob
6 months ago
matejcik b2649b0085 refactor(core): introduce Simplified trait
6 months ago
tychovrahe 047c8a881b fix(core): fix order of loading BHK into SAES key register
6 months ago
cepetr 1e3e7f808b fix(core): fix build on disc2 model
6 months ago
matejcik b263dbc109 fix(all): improve Solana template generation
6 months ago
matejcik 6918b16313 feat(core/translations): add support for explicitly specifying blob version
6 months ago
matejcik 229a06d3a2 fix(core): store translation signatures directly into history section
6 months ago
matejcik 63d1311509 fix(core): properly move old translation signature to history
6 months ago
matejcik 64e507e853 chore(core): add translation signatures
6 months ago
matejcik 9569968459 build(core): rebuild appropriate parts when translation data changes
6 months ago
gabrielkerekes b61ed7c02a fix(solana): round up transaction fee
6 months ago
gabrielkerekes 9b84ecf833 fix(solana): accept compute budget instructions at any position
6 months ago
RostarMarek 8b485de173 feat(solana): Hidden flag functionality for instructions
6 months ago
tychovrahe a80959e50f feat(core): allow T3T1 to start without touch during testing
6 months ago
tychovrahe 5e827e09c4 fix(core): fix haptic driver initialization
6 months ago
obrusvit 54468abd89 feat(core/emu): handle arrow buttons as swipes
6 months ago
Martin Milata 68ff90ccbd Merge branch 'release/24.03'
6 months ago
cepetr a1165d9326 feat(core): introduce skip function for UzlibContext
6 months ago
cepetr 9575c81bd3 feat(core): introduce new color functions
6 months ago
cepetr 474484d249 feat(core): introduce new toif functions
6 months ago
cepetr 254de49a62 feat(core): introduce new point & rect functions
6 months ago
cepetr 9d6827e2fb refactor(core): remove unused ui components
6 months ago
grdddj 3d386246be chore(core): update czech translations
6 months ago
grdddj 50101c9882 chore(core): re-enable czech translations
6 months ago
cepetr dc715d7c0d refactor(core): prepare for non mutable paint function
6 months ago
Pavol Rusnak 60333ca56c chore(core): fix whitespace in makefile
6 months ago
cepetr a54fe5e60f fix(core): fixed blurring algo panic in debug mode
6 months ago
tychovrahe 70a673fabc feat(core): use flash bursts for faster flashing
6 months ago
tychovrahe e1161866da chore(core): fix typo 'capablities'
6 months ago
tychovrahe 0a4a5feaa0 fix(core): fix TOCTOU in sd card bootloader update procedure
6 months ago
tychovrahe 5c7c9c56a3 fix(core): add missing stm32u5 symlinks
6 months ago
tychovrahe 6e2f5ff27d fix(core): improve bhk handling on STM32U5
6 months ago
tychovrahe fb2868d297 fix(core): setup option bytes for STM32U5
6 months ago
tychovrahe 43fa92d953 fix(docs): fix prodtest SBU command documentation
6 months ago
tychovrahe 4fe9294377 fix(core): fix prodtest mpu setting on U5 - allow read of MCU ID
6 months ago
naiyoma 362958f906 [no changelog] refactor(core):Use utime.ticks_diff in src/boot.py for arithmetic operations
6 months ago
naiyoma 9f9354a820 [no changelog] Refactor arithmetic operations in fido2.py to use utime.ticks_add() and utime.ticks_diff()
6 months ago
naiyoma d76829f817 [no changelog] refactor(core): Use utime.ticks_diff in verify_user_pin
6 months ago
dependabot[bot] 3dc5e9b2db chore(deps): bump shlex from 1.0.0 to 1.3.0 in /core/embed/rust/fuzz
6 months ago
dependabot[bot] bd3b070942 chore(deps): bump shlex from 1.1.0 to 1.3.0 in /core/embed/rust
6 months ago
cepetr ecd4465ab3 fix(core): fix mouse event processing in the simulator
6 months ago
tychovrahe e000b526cc refactor(core): extract common layout handling from bootloader ui implementations in rust
6 months ago
tychovrahe 945382fbaa fix(core): fix flashing f4 firmware via debugger
6 months ago
tychovrahe 1909d1ebdb feat(core): improve flexibility of combine script, add combine fw make targets
6 months ago
Martin Milata 73a7223e7b test(core): add T3T1 support
6 months ago
Martin Milata ebb480ef29 fix(core): T3T1 emulator
6 months ago
matejcik b6e8567a49 fix(core): exclude altcoin functions from bitcoinonly build
7 months ago
matejcik 17678ef38d fix(core/rust): exclude altcoin strings from generated code
7 months ago
matejcik ccf4b7e9eb fix(core/rust): convert bitcoin_only to an additive feature
7 months ago
matejcik 87894ae062 chore(core): add translation signatures
7 months ago
matejcik fd3919254c refactor(core/ui): rename confirm_payment_request to should_...
7 months ago
matejcik 34965ca2cb refactor(core/ui): use LayoutObj signatures in layout files
7 months ago
matejcik 0304484ca6 docs(core): add method signatures for LayoutObj to mocks (fixes #2672)
7 months ago
matejcik 99457bbcb0 refactor(core/ui): make request_number signature the same in TT and TR
7 months ago
matejcik 29863f84ca refactor(core): simplify context.wait() to only accept one task
7 months ago
tychovrahe e736d389f2 fix(core): fix backlight reinitialization with maximum value
7 months ago
tychovrahe 8ccd2cb048 feat(core): add support for T3T1 rev. E HW
7 months ago
Martin Milata 45e8a842a3 fix(core): add production pubkeys for translations
7 months ago
Martin Milata bfacd07ed7 fix(core): add production pubkeys for translations
7 months ago
Martin Milata 2b0ce0398c chore(core): bump version to 2.7.1
7 months ago
Martin Milata ca5d852250 docs(core): fix version in changelogs
7 months ago
tychovrahe 1f67c1e55c chore(core): bump fw and fix version due to storage migration
7 months ago
tychovrahe ffabee2e6a chore(core): bump fw and fix version due to storage migration
7 months ago
tychovrahe d69750fae4 refactor(core): do not use framebuffer dma copy in boardloader to safe flash space
7 months ago
tychovrahe f08bed363d refactor(core): extract framebuffer copy to separate bg_copy functionality
7 months ago
tychovrahe afefc17478 refactor(core): use internal framebuffer on T3T1 (with ST7789V display controller)
7 months ago
tychovrahe 416794a463 fix(core): add missing refresh to boardloader startup
7 months ago
tychovrahe 5c7726126f fix(core): fix bootloader jump to firmware through reset UI
7 months ago
tychovrahe 66583f2ebf fix(core): fix missing refresh in progress layout
7 months ago
tychovrahe b62dc27f06 feat(core): add translations support for U5 models
7 months ago
tychovrahe 7c800f183f refactor(core): make translations blob handling HW agnostic
7 months ago
tychovrahe eb6796059c fix(core): fix st7789v driver compilation for other than T models
7 months ago
tychovrahe 8313c15f34 feat(core): allow SD card hotswap based on production date for Model T
7 months ago
tychovrahe 0e70fcdc6f feat(core): add haptic to prodtest
7 months ago
tychovrahe 61b3273baa chore(core): add makefile commands for erasing bootloader and firmware, fix read/erase storage commands
7 months ago
tychovrahe 8c1425edd5 perf(core): optimize boot time by removing unnecessary touch initialization delays
7 months ago
tychovrahe 30edad0151 perf(core): optimize i2c initialization on U5 by statically defining timing constant
7 months ago
tychovrahe b3d1ba25d9 perf(core): optimize boot speed by checking empty image area by words
7 months ago
tychovrahe c3f84e2949 perf(core): optimize boot speed on U5 by using has processor to calculate image hashes, switches to sha256
7 months ago
tychovrahe 1ea7ca4149 chore(core): change STM32Cube submodule to separate hal driver and cmsis submodules.
7 months ago
tychovrahe 95999623fc fix(core): fix STM32F4 display base address
7 months ago
tychovrahe 653d73ee22 chore(core): optimize flash usage - backlight pwm
7 months ago
tychovrahe 5e4e398f64 chore(core): optimize flash usage - SD card on U5
7 months ago
tychovrahe f83e33399f chore(core): optimize flash usage - tamper on U5
7 months ago
tychovrahe ce82f53010 feat(core): support SD card on STM32U5
7 months ago
tychovrahe ea0f3038a0 fix(core): improve cmakelists generation for CMSE
7 months ago
tychovrahe 5106ac7aa3 feat(core): support optiga handling on U5
7 months ago
tychovrahe 72dc8f57e8 feat(core): add haptic feedback
7 months ago
tychovrahe a71a608ea7 feat(core): add basic support for T3T1
7 months ago
tychovrahe 7d7ccc9dde chore(core): unify i2c instances numbering
7 months ago
tychovrahe 834693a115 fix(core): fix OTP programming on U5
7 months ago
tychovrahe cec0191360 fix(core): fix bootloader update on STM32U5
7 months ago
tychovrahe 8815e764d2 feat(core): add support for STM32U585
7 months ago
cepetr 4cf781abb2 chore(core, legacy, storage): refactor flash drivers
7 months ago
cepetr 271bed8bf6 chore(core): use cortex-m33 stack protection
7 months ago
cepetr 7e427432ea chore(core): refactor trustzone initialization
7 months ago
cepetr b504baceda chore(core): refactor mpu initialization
7 months ago
cepetr c4c571d837 chore(core): refactor boot_args
7 months ago
tychovrahe 353095ae95 feat(core): add support for STM32U5A9J-DK board
7 months ago
tychovrahe 8150636a81 feat(core): add basic support for STM32U5
7 months ago
cepetr 937b7d34d0 feat(core): add STM32CubeU5 submodule
7 months ago
Martin Milata 6ae158cac9 fix(core): workaround umlauts not being cleared
7 months ago
Martin Milata 1fddb0b498 feat(core): Add Capability.Translations to Features
7 months ago
matejcik 5f016a896a chore: upgrade style checkers
7 months ago
Martin Milata 14625eacbd chore(core): bump translations version
7 months ago
Martin Milata d790354667 fix(core): workaround umlauts not being cleared
7 months ago
Martin Milata 48124023d7 feat(core): Add Capability.Translations to Features
7 months ago
Martin Milata e3207a9705 chore(core): bump version to 2.6.6
7 months ago
Martin Milata 6b821a8cd5 chore(common): set definition timestamp to the current signed definitions
7 months ago
Martin Milata 1746fe06b1 docs(core): changelog for 2.6.5
7 months ago
Martin Milata ae1f4cf5c9 feat(core/bitcoin): send BIP-380 descriptor in GetPublicKey response
7 months ago
Martin Milata 3f10a291b5 feat(common): send BIP-380 descriptor in GetPublicKey response
7 months ago
Martin Milata a2b53e3c46 feat(core): Add language_version_matches flag to Features
7 months ago
Martin Milata f53b945e61 feat(common): Add language_version_matches flag to Features
7 months ago
grdddj c95d83a487 chore(core): disable czech translations from blob generation
7 months ago
matejcik 8c0e1e360e fix(core/translations): add indices to templates
7 months ago
grdddj 04bdb95362 chore(core): shorten spanish and french texts for wrong PIN screen
7 months ago
obrusvit 27829591c6 feat(core): add DE, ES, FR langs for ETH staking
7 months ago
obrusvit 83ac9d422f fix: show verb in TS3 confirm_value with info
7 months ago
obrusvit 2f77434677 feat(core): device-tests of staking chunkify
7 months ago
obrusvit e602a87c90 feat(core): allow chunkify of Stake address on TS3
7 months ago
obrusvit ebcf3e2db2 feat(core): confirm ETH stake, unstake, claim
7 months ago
obrusvit e1f696b4dd fix: remove clippy error for TS3
7 months ago
obrusvit a351614e3a chore(tests): fix CI failures
7 months ago
obrusvit e073e619c9 chore(tests): re-run black and isort on core/tests
7 months ago
grdddj a1a60ed320 feat(tests): skip SD card tests for TR - allowing to run unittests for TR
7 months ago
grdddj 171c615dfa chore(tests): remove unused imports and variables
7 months ago
grdddj 4bca28bac0 chore(tests): run isort and put "from common import *" at the beginning
7 months ago
grdddj 4bd7cf4b04 chore(tests): run black
7 months ago
obrusvit e2b7244383 Rename trezorctl self-test to prodtest-t1.
7 months ago
grdddj 5aec7bf414 chore(core): generate signatures.json
7 months ago
grdddj d2167fdd27 chore(tools): add rules for buttons and new strings
7 months ago
grdddj a6b02e0311 fix(core): replace spanish number symbol with nro. shortcut
7 months ago
grdddj 8f4c956bdc fix(core): shorten long translations
7 months ago
grdddj 2c06c4a75c feat(core): add newly translated strings from agency
7 months ago
grdddj 5ce5d47171 chore(core): catch possible EOFError when parsing translations header
7 months ago
grdddj 1ab2d843ab chore(core): add missing template to the variable name
7 months ago
tychovrahe 8147b11345 fix(core): fix quadword-only storage
7 months ago
Andrew Kozlik 440b1304c0 refactor(storage): Split implementations based on FLASH_BIT_ACCESS.
7 months ago
Andrew Kozlik b2f05f187f feat(storage): Work with generic flash blocks instead of quadwords.
7 months ago
tychovrahe 743ed413f6 feat(core): add support for quad-word only storage
7 months ago
grdddj 0579ba54fc feat(core): allow for going back to previous word in recovery process
7 months ago
obrusvit 8c5f73c413 docs: improve documentation for core
7 months ago
grdddj 6142a39f20 fix(core): add debug feature to Rust in hardware build when PYOPT=0
7 months ago
grdddj 941408246c chore(core): add changelog entry for translations
7 months ago
matejcik 65178a6a36 refactor(core/rust): reuse the same component for "waiting for host" screen
7 months ago
matejcik 8471e0c455 refactor(core/rust): decouple Connect screen from bootloader theme
7 months ago
matejcik 02557ad6c0 feat(core/rust): expose attrtuple to Rust
7 months ago
matejcik 6af7b4a4b7 fix(core/rust): convert Qstr type to representation that matches C code
7 months ago
matejcik ab3c62ae71 feat(core/rust): introduce SimpleTypeObj
7 months ago
matejcik 6a280a279a feat(python): add cosi.sign_with_privkeys
7 months ago
matejcik 3e14937c8a feat(core/rust): add const Obj::small_int
7 months ago
matejcik 63360a7417 feat(core/rust): add Map::is_empty()
7 months ago
matejcik 9c72c7c99d feat(common): provide some useful paths for the mako templates
7 months ago
matejcik 03298ca80f docs(core/rust): improve safety comments in buffer.rs
7 months ago
matejcik 0c793084f8 chore(core/rust): move illustration outside src/ tree
7 months ago
matejcik 8bf5a72843 refactor(core/rust): move iter_into_array to micropython::utils
7 months ago
matejcik 3b88116bba feat(core/rust): add trezorcrypto bindings
7 months ago
matejcik 76296ad417 refactor(core/rust): move InputStream to its own module
7 months ago
matejcik 055662ea27 chore(common): deprecate `language` fields in ApplySettings, ResetDevice, RecoveryDevice
7 months ago
grdddj b8ea21d24a feat(all): implement translations into Trezor
7 months ago
Martin Milata bb29c1e5f8 fix(core/bitcoin): display descriptors for taproot XPUBs
8 months ago
Martin Milata 3c7a6dd68a fix(core): handle uncaught exceptions from main.py
8 months ago
grdddj dba4bf9e38 feat(core): improve the design of TT locking loader on homescreen
8 months ago
grdddj 76c547bb91 feat(core): add loader to homescreen when locking the device for TS3
8 months ago
cepetr 5d8e56ac2a refactor(core): shrink size of Paragraphs struct
8 months ago
Ondrej Mikle 269d98d43e chore(core): make jlink flashing work together with FW integrity, but avoid erasing sectors unnecessarily
8 months ago
stevenbooke ed1785a985 fix(core): fix sed script syntax
8 months ago
matejcik 7958061705 build(core): optimize qstr and module collection
8 months ago
matejcik 1d6fafa0ff build(core): use the right number of jobs
8 months ago
matejcik 66213823ea build(core): SCons "go fast" button
8 months ago
cepetr 6331076444 refactor(core/embed): move TOIF format definition to rust
8 months ago
cepetr 8eb1f9b309 refactor(core/embed): delete unused utf8 functions
8 months ago
cepetr 3b9dd55788 refactor(core/embed): introduce display_utils.c
8 months ago
cepetr cc6ed93b32 refactor(core/embed): move toif image routines
8 months ago
cepetr 446c3b77b4 refactor(core/embed): move&rename display terminal functions
8 months ago
cepetr 139701fb1a refactor(core/embed): move&rename display_font_xxx routines
8 months ago
cepetr 3031ec5d87 refactor(core/embed): move&rename display_utf8_substr()
8 months ago
tychovrahe 63ee6f2ad2 perf(core): change 4bpp font format to allow dma2d rendering
8 months ago
gabrielkerekes 1f4f1263aa chore: add changelog
8 months ago
gabrielkerekes 0de1768dc0 fix(solana): fix Memo, multisig and polish instructions UI
8 months ago
tychovrahe 1c0da78536 chore(core): fix rust warnings and clippy errors
8 months ago
tychovrahe 82cd9ca34e fix(core): fixed fading glitch when changing display orientation
9 months ago
tychovrahe ef5c743c35 fix(core): fixed blank display delay on startup when display orientation is set to other than north
9 months ago
grdddj c2eaaaf8b5 fix(core): add missing semicolon into the passphrase entry for TS3
9 months ago
Martin Milata f4d3a7456a Merge branch 'release/23.12'
9 months ago
Pavol Rusnak b0fd7223ea
Merge branch 'matejcik/prodtest-23-12'
9 months ago
matejcik b21d1b1f50 chore(core/prodtest): bump version after release
9 months ago
matejcik 8f19767285 chore(core): include production-signed prodtest vendor header
9 months ago
matejcik 8c7fc45991 Revert "tmp: use unsigned prodtest header for reproducible build of the prodtest binary"
9 months ago
matejcik a3d2ff6f86 tmp: use unsigned prodtest header for reproducible build of the prodtest binary
9 months ago
tychovrahe fd5bfbf115 refactor(core): improve flexibility of sd card and touch driver pin selection, display rotation and touch coords transformation
9 months ago
tychovrahe d15ee71279 refactor(core): add flexible HSE settings
9 months ago
tychovrahe 2fa69c3c0d refactor(core): extract backlight pwm settings to board definition
9 months ago
cepetr 6e1fe31e3f chore(core): optimize stack usage during blurring
9 months ago
Andrew Kozlik c1fa1c0cbc chore(core): Fix common name in emulator device certificate.
9 months ago
Andrew Kozlik fb80dd5a36 fix(core/prodtest): Fix Optiga metadata version information handling.
9 months ago
Andrew Kozlik 8de2d8989d feat(core/prodtest): Check device certificate chain integrity using authority key identifier.
9 months ago
Andrew Kozlik a1be6f8aef fix(core/prodtest): Configure metadata correctly before checking device certificate.
9 months ago
tychovrahe d0a702eef4 fix(core): fix large area marquee rendering
9 months ago
overcat 579cc0d882 feat(common & core & legacy & python/stellar): add support for `ClaimClaimableBalanceOp`.
9 months ago
Andrew Kozlik cbea765e38 feat(core/prodtest): Verify device certificate chain in CERTDEV WRITE.
10 months ago
Andrew Kozlik 3a5aecf6cd feat(core/prodtest): Add SEC READ command.
10 months ago
Martin Milata 18ccbcddd4 chore(core): bump version to 2.6.5
10 months ago
Martin Milata 42e9ed0e09 docs(core): fix changelog for T2T1
10 months ago
Martin Milata 1f693d3561 docs(core): changelog for 2.6.4
10 months ago
Martin Milata 0199f9c26c chore(common): set definition timestamp to the current signed definitions
10 months ago
gabrielkerekes b85395434f chore(solana): add changelog
10 months ago
gabrielkerekes 63e35e13ed fix(solana): modify Trezor R `confirm_value` to align messages with Trezor T
10 months ago
gabrielkerekes 6aa5ac869a feat(solana): add additional info with token account
10 months ago
gabrielkerekes 6912bf6e7f fix(core): update `confirm_value` to allow showing info
10 months ago
gabrielkerekes cb9bd7c699 chore(solana): add README
10 months ago
gabrielkerekes 68c0e6c43e feat(solana): add `sign_tx` implementation
10 months ago
gabrielkerekes 081995788e feat(core): add `read_uint64_le` to `common/readers`
10 months ago
gabrielkerekes b3f4b6ac2b feat(solana): add solana templates
10 months ago
gabrielkerekes bf45d51af6 feat(solana): basic `sign_tx` setup and support
10 months ago
gabrielkerekes 44dc417c0e feat(solana): add `get_address`
10 months ago
gabrielkerekes ec4a607dbe feat(solana): add `get_public_key`
10 months ago
gabrielkerekes 50861eb019 feat(solana): basic Solana setup
10 months ago
gabrielkerekes a8096652e0 refactor(core): make ethereum summary reusable for more coins
10 months ago
grdddj 747fd17214 fix(core): correct action of left button in Ethereum summary
10 months ago
grdddj 087becd2ca chore(core): change `Go to bootloader` screen text
10 months ago