Commit Graph

3322 Commits (662f13136ffa16d4b4b112bc65a2c5bcc6d75aa6)

Author SHA1 Message Date
Andrew Kozlik ed43a5bc5b feat(core): Don't lock Optiga in debug builds.
5 months ago
matejcik 54c441a607 feat(core): enable Optiga logging in debug builds by default
5 months ago
matejcik 8623e57f43 chore(core): add prodtest provisioning script
5 months ago
Andrew Kozlik 4fb06815b5 feat(core): Set trust anchor data type in prodtest.
5 months ago
Andrew Kozlik 182a9b1ce8 refactor(core): Refactor Optiga macros.
5 months ago
Andrew Kozlik 9a5e9b25c7 feat(core): Add Optiga command logging macro.
5 months ago
Ioan Bizău 7c97561565 chore(core): rename "seed" to "backup"
5 months ago
Ioan Bizău 8ec9545b89 chore(core): add an extra confirmation for non-1-of-1 Shamir backups
5 months ago
Ioan Bizău 4afe42a57e refactor(core): make 1-of-1 SLIP39 backups use same messaging as BIP39
5 months ago
Ioan Bizău 3006224bff feat(core): add ability to request backups with any number of groups/shares
5 months ago
Andrew Kozlik d6b352befe core(feat): Add FIRMWARE VERSION command to prodtest.
5 months ago
M1nd3r 0d7fe7d643 chore(core): add colors to unittest prints
5 months ago
tychovrahe ea1c32f90e fix(core/rust): fix bindgen macros generation
5 months ago
tychovrahe 91a783ee37 chore(core): fix flash_combine makefile command
5 months ago
Andrew Kozlik 27f54eec9c feat(core): Add unit packaging variant field to Features.
5 months ago
tychovrahe d349c44a58 refactor(core): generate macros for rust bindgen automatically
5 months ago
tychovrahe c635b945e1 chore(core/boardloader): bump version after release
5 months ago
tychovrahe d9590cbe90 chore(core/boardloader): generate changelog
5 months ago
tychovrahe ab11afa442 fix(core): set proper VDD level for T3T1 boards
5 months ago
matejcik 39e1085295 chore(core): add T3T1 QA bootloader 2.1.5
5 months ago
matejcik 66b96bc279 build(core): fix prodtest build from build-docker
5 months ago
matejcik f0c7cc4e8e chore(core): add signed vendor headers for T3T1
5 months ago
matejcik c01302dd31 chore(core): add signed production T3T1 bootloader v2.1.5
5 months ago
tychovrahe e5e40cf4a8 fix(core): ensure correctly programmed oem key option bytes
5 months ago
tychovrahe 916dbdff9c fix(core): fix reboot to bootloader crash when display copying is in progress
5 months ago
matejcik 90afd9c96a chore(core): bump versions of prodtest / bootloader after release
5 months ago
matejcik 4728b14bcc docs(core): add changelogs for prodtest and bootloader
5 months ago
matejcik 5b0b145f12 build(core): allow custom vendor header for prodtest
5 months ago
tychovrahe dfe5ee67f1 fix(core): move OEM key check after display initialization so that error message can be displayed
5 months ago
tychovrahe 457e5956c8 fix(core): fix sha256 calculation with hash processor
5 months ago
Ondřej Vejpustek e9f6eb0b2b fix(core/reflash): fix compile errors
5 months ago
matejcik 89fdaed31e chore(core): add unsigned vendor headers with production keys
5 months ago
matejcik 0109ab2232 chore(core): make vendor_unsafe.toif small
5 months ago
matejcik 867300b8c6 chore(core): include T3T1 boardloader / bootloader production keys
5 months ago
matejcik 5d9bb0ebfc tools(core): nicer build_vendorheader for manual use
5 months ago
matejcik 729d7c59e1 fix(core/vendorheader): include correct backup key into trezor_btconly vendor header
5 months ago
Martin Milata 4baa4d95a4 fix(core): fix display fatal error screen (T3T1)
5 months ago
Martin Milata 5c5433ada2 refactor(core/rust): use more Self
5 months ago
Martin Milata 906c00e4e5 refactor(core): rename screen_boot_{empty,full} to screen_boot_stage_{1,2}
5 months ago
Martin Milata 804d97c9d8 feat(core): bootloader: T3T1 startup UI
5 months ago
tychovrahe c277dbcfcb feat(core): T3T1 loader
5 months ago
Martin Milata cf00726152 feat(core): copy T2T1 bootloader UI for T3T1
5 months ago
Martin Milata b5fa5a3f3a feat(core): add fonts for T3T1 bootloader
5 months ago
tychovrahe 72146c2ae2 fix(core): fix display fatal error screen
5 months ago
tychovrahe 165238b78e fix(core): fix T3T1 unsafe vendorheader
5 months ago
tychovrahe 1600759457 refactor(core): simplify secret.h api, hide platform differences
5 months ago
tychovrahe 89c6590e45 feat(core/prodtest): add commands TOUCH VERSION and VARIANT READ
5 months ago
tychovrahe c8e18dd4d2 fix(core): slow down SDIO communication in T3T1 prodtest
5 months ago
Ondřej Vejpustek 548e329f9d fix(core): prevent negative-length array
5 months ago
tychovrahe a873a7064e chore(core): add comments to secret.h functions
5 months ago
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