Commit Graph

3289 Commits (M1nd3r/thp2)

Author SHA1 Message Date
M1nd3r 0cee59b951 Resort channel context
2 months ago
M1nd3r f9c4dbe437 Remove unused handlers, clean ChannelContext
2 months ago
M1nd3r 8d701a2d00 Fix style issue
2 months ago
M1nd3r 20ce038bef Channels and sessions, handshake states
2 months ago
M1nd3r a6602c2a93 Structural adjustments
2 months ago
M1nd3r 51b3cd5626 Cache changes, part 1
2 months ago
M1nd3r 3371d8177e Remove message type from device properties message
2 months ago
M1nd3r 3d28f749d8 Fix style
2 months ago
M1nd3r bf02f2c6cc Packet handlers, first draft
2 months ago
M1nd3r a6180f45a0 Fix style in SConscript.unix
2 months ago
M1nd3r 93804cbcc8 Fix failing prebuild
2 months ago
M1nd3r e549e16d3f Fix fw build
2 months ago
M1nd3r 253a1470b4 Add thp module to frozen build
2 months ago
M1nd3r d8079bfd24 Fix thp tests
2 months ago
M1nd3r e4a4f8f125 Fix typo
2 months ago
M1nd3r 0af8edca1f Change log message
2 months ago
M1nd3r c551990c70 Fix bugs in synchronization and finding handlers
2 months ago
M1nd3r 0927bbeb68 Change structure of THP implementation [Part 1]
2 months ago
M1nd3r fe9167ffa2 Fix typo in fido2 comment
2 months ago
matejcik 6a5c77f0e6 feat(core): introduce timeout to loop.wait()
2 months ago
M1nd3r dd8386eb3d Build all_modules.py
2 months ago
M1nd3r 7200af7547 Improve test slightly
2 months ago
M1nd3r fa82bb1132 Remove unnecessary comments in test
2 months ago
M1nd3r aa346086c3 Channel allocation handling + refactor
2 months ago
M1nd3r 84c069cdbf Fix formatting
2 months ago
M1nd3r b62e708027 Revert debuglink.py changes
2 months ago
M1nd3r 48fee305b3 Revert "Improve handling of channel allocation requests"
2 months ago
M1nd3r 3c46bde8a9 Improve handling of channel allocation requests
2 months ago
M1nd3r 2d1e24685a Improve tests
2 months ago
M1nd3r ad7b479864 Update thp_v1 tests
2 months ago
M1nd3r 6f9d345f5e Fix pylint issues
2 months ago
M1nd3r 6eb7d42b46 Fix BLACK formatting using make style
2 months ago
M1nd3r 261f02815d Fix BLACK formatting of context.py
2 months ago
M1nd3r 7007b7001d Fix import formatting
2 months ago
M1nd3r 97f40631f9 Fix minor and formatting issues
2 months ago
M1nd3r d15edca3f0 fix style prebuild errors
2 months ago
M1nd3r 529b8befaf Fix awaits and debug output
2 months ago
M1nd3r 0e91237a08 Fix context.py -redundant read param
2 months ago
M1nd3r bf362902fc Fix context.py errors
2 months ago
M1nd3r b3bf2ec875 Update test_trezor.wire.thp_v1
2 months ago
M1nd3r 8d98f9113e Lower the number of style prebuild errors 3
2 months ago
M1nd3r a9fe3a36f7 Fix failing emulator - missing parameter
2 months ago
M1nd3r 108d9ec89b Lower the number of style prebuild errors 2
2 months ago
M1nd3r 58ba8a485d Lower the number of style prebuild errors
2 months ago
M1nd3r db29981856 Fix not-working emulator
2 months ago
M1nd3r 6d22f362e5 Fix SyntaxError - SESSIONLESS_FLAG cannot be used as a constant when imported
2 months ago
M1nd3r 014cca8bac Fix bug in THP not clearing already read report
2 months ago
M1nd3r 94278d5c01 Basic THP functinality - not-polished prototype
2 months ago
matejcik 89fdaed31e chore(core): add unsigned vendor headers with production keys
2 months ago
matejcik 0109ab2232 chore(core): make vendor_unsafe.toif small
2 months ago
matejcik 867300b8c6 chore(core): include T3T1 boardloader / bootloader production keys
2 months ago
matejcik 5d9bb0ebfc tools(core): nicer build_vendorheader for manual use
2 months ago
matejcik 729d7c59e1 fix(core/vendorheader): include correct backup key into trezor_btconly vendor header
2 months ago
Martin Milata 4baa4d95a4 fix(core): fix display fatal error screen (T3T1)
2 months ago
Martin Milata 5c5433ada2 refactor(core/rust): use more Self
2 months ago
Martin Milata 906c00e4e5 refactor(core): rename screen_boot_{empty,full} to screen_boot_stage_{1,2}
2 months ago
Martin Milata 804d97c9d8 feat(core): bootloader: T3T1 startup UI
2 months ago
tychovrahe c277dbcfcb feat(core): T3T1 loader
2 months ago
Martin Milata cf00726152 feat(core): copy T2T1 bootloader UI for T3T1
2 months ago
Martin Milata b5fa5a3f3a feat(core): add fonts for T3T1 bootloader
2 months ago
tychovrahe 72146c2ae2 fix(core): fix display fatal error screen
2 months ago
tychovrahe 165238b78e fix(core): fix T3T1 unsafe vendorheader
2 months ago
tychovrahe 1600759457 refactor(core): simplify secret.h api, hide platform differences
2 months ago
tychovrahe 89c6590e45 feat(core/prodtest): add commands TOUCH VERSION and VARIANT READ
2 months ago
tychovrahe c8e18dd4d2 fix(core): slow down SDIO communication in T3T1 prodtest
2 months ago
Ondřej Vejpustek 548e329f9d fix(core): prevent negative-length array
2 months ago
tychovrahe a873a7064e chore(core): add comments to secret.h functions
2 months ago
tychovrahe 8a18cfe0d4 feat(core): use U5 DHUK to encrypt optiga pairing secret in flash
2 months ago
tychovrahe e060ac68c5 feat(core): use U5 HW keys to additionally encrypt storage items
2 months ago
cepetr b1fb876709 fix(core): fix ts3 fonts
2 months ago
Martin Milata c7832c39ab refactor(core/rust/ui): use TString instead of StrBuffer when constructing layouts
2 months ago
tychovrahe 256adc3567 refactor(core/rust) use TString in Label and Button
2 months ago
tychovrahe ed6aa48726 feat(core): use confidential section for confidential and sensitive data
2 months ago
tychovrahe 535a052df4 refactor(core/rust): introduce UIFeaturesXXX trait as an abstraction over different UI implementation
2 months ago
tychovrahe ba741b81fd feat(core): use HSI as PLL source on T3T1
2 months ago
tychovrahe acb0e9fdc5 chore(core): set stack protector to strong
2 months ago
cepetr 285b22e53e refactor(core): add ufmt, bump heapless from 0.7.6 - 0.8.0
2 months ago
tychovrahe ffccf849eb chore(core): fill T3T1 model full name
2 months ago
matejcik 39b7b22777 refactor(core/rust): Paragraph is now based on TString
2 months ago
matejcik 9c287adf64 feat(core/rust): some useful traits for TString
2 months ago
matejcik f3b884bf93 refactor(core): improve safety of translation blobs
2 months ago
tychovrahe ba065c5b38 fix(core/prodtest): do not require sd detect pin for running SD card test
2 months ago
Pavol Rusnak 4b189eb2cb fix(core): always zero-initialize structures in trezorhal
2 months ago
tychovrahe 576ed7e04e chore(core): use SD hal driver from submodule
2 months ago
tychovrahe 69ed626ca0 fix(core): slowdown i2c on u5 to 200kHz
2 months ago
Andrew Kozlik 15e02be4e4 fix(core): Clean up when constructor fails to reduce memory fragmentation.
2 months ago
Andrew Kozlik 49a64cb3a1 test(core): Add AES-GCM unit tests.
2 months ago
Andrew Kozlik 703ea32ceb feat(core): Add aesgcm class to trezor.crypto Python module.
2 months ago
tychovrahe 89147ef493 refactor(core): improve flash api by introducing flash_area_write_data function
2 months ago
tychovrahe 39cfa7087a fix(core): set proper GPIO speeds for T3T1
2 months ago
matejcik 45a4a1da99 fix(core/translations): correctly rename previous symbol
2 months ago
matejcik 1c36c0927c style(core): fix (hopefully) the weird clippy warning about HOMESCREEN_TOIF_X_OFFSET
2 months ago
matejcik 379737a9a5 chore(core): translate storage strings into supported languages
2 months ago
matejcik de2fe3d6d6 feat(core/ui): unify progress.py code between models, implement storage translations
2 months ago
matejcik ed89215a79 feat(core): expose StorageMessage to micropython
2 months ago
matejcik 0fa9860cf5 chore(core): sign translations for 2.7.0, including Czech blob
2 months ago
matejcik b2649b0085 refactor(core): introduce Simplified trait
2 months ago
tychovrahe 047c8a881b fix(core): fix order of loading BHK into SAES key register
2 months ago
cepetr 1e3e7f808b fix(core): fix build on disc2 model
2 months ago
matejcik b263dbc109 fix(all): improve Solana template generation
2 months ago
matejcik 6918b16313 feat(core/translations): add support for explicitly specifying blob version
2 months ago
matejcik 229a06d3a2 fix(core): store translation signatures directly into history section
2 months ago
matejcik 63d1311509 fix(core): properly move old translation signature to history
2 months ago
matejcik 64e507e853 chore(core): add translation signatures
2 months ago
matejcik 9569968459 build(core): rebuild appropriate parts when translation data changes
2 months ago
gabrielkerekes b61ed7c02a fix(solana): round up transaction fee
2 months ago
gabrielkerekes 9b84ecf833 fix(solana): accept compute budget instructions at any position
2 months ago
RostarMarek 8b485de173 feat(solana): Hidden flag functionality for instructions
2 months ago
tychovrahe a80959e50f feat(core): allow T3T1 to start without touch during testing
2 months ago
tychovrahe 5e827e09c4 fix(core): fix haptic driver initialization
2 months ago
obrusvit 54468abd89 feat(core/emu): handle arrow buttons as swipes
2 months ago
Martin Milata 68ff90ccbd Merge branch 'release/24.03'
2 months ago
cepetr a1165d9326 feat(core): introduce skip function for UzlibContext
2 months ago
cepetr 9575c81bd3 feat(core): introduce new color functions
2 months ago
cepetr 474484d249 feat(core): introduce new toif functions
2 months ago
cepetr 254de49a62 feat(core): introduce new point & rect functions
2 months ago
cepetr 9d6827e2fb refactor(core): remove unused ui components
2 months ago
grdddj 3d386246be chore(core): update czech translations
2 months ago
grdddj 50101c9882 chore(core): re-enable czech translations
2 months ago
cepetr dc715d7c0d refactor(core): prepare for non mutable paint function
2 months ago
Pavol Rusnak 60333ca56c chore(core): fix whitespace in makefile
2 months ago
cepetr a54fe5e60f fix(core): fixed blurring algo panic in debug mode
2 months ago
tychovrahe 70a673fabc feat(core): use flash bursts for faster flashing
2 months ago
tychovrahe e1161866da chore(core): fix typo 'capablities'
2 months ago
tychovrahe 0a4a5feaa0 fix(core): fix TOCTOU in sd card bootloader update procedure
2 months ago
tychovrahe 5c7c9c56a3 fix(core): add missing stm32u5 symlinks
2 months ago
tychovrahe 6e2f5ff27d fix(core): improve bhk handling on STM32U5
2 months ago
tychovrahe fb2868d297 fix(core): setup option bytes for STM32U5
2 months ago
tychovrahe 43fa92d953 fix(docs): fix prodtest SBU command documentation
2 months ago
tychovrahe 4fe9294377 fix(core): fix prodtest mpu setting on U5 - allow read of MCU ID
2 months ago
naiyoma 362958f906 [no changelog] refactor(core):Use utime.ticks_diff in src/boot.py for arithmetic operations
2 months ago
naiyoma 9f9354a820 [no changelog] Refactor arithmetic operations in fido2.py to use utime.ticks_add() and utime.ticks_diff()
2 months ago
naiyoma d76829f817 [no changelog] refactor(core): Use utime.ticks_diff in verify_user_pin
2 months ago
dependabot[bot] 3dc5e9b2db chore(deps): bump shlex from 1.0.0 to 1.3.0 in /core/embed/rust/fuzz
2 months ago
dependabot[bot] bd3b070942 chore(deps): bump shlex from 1.1.0 to 1.3.0 in /core/embed/rust
2 months ago
cepetr ecd4465ab3 fix(core): fix mouse event processing in the simulator
3 months ago
tychovrahe e000b526cc refactor(core): extract common layout handling from bootloader ui implementations in rust
3 months ago
tychovrahe 945382fbaa fix(core): fix flashing f4 firmware via debugger
3 months ago
tychovrahe 1909d1ebdb feat(core): improve flexibility of combine script, add combine fw make targets
3 months ago
Martin Milata 73a7223e7b test(core): add T3T1 support
3 months ago
Martin Milata ebb480ef29 fix(core): T3T1 emulator
3 months ago
matejcik b6e8567a49 fix(core): exclude altcoin functions from bitcoinonly build
3 months ago
matejcik 17678ef38d fix(core/rust): exclude altcoin strings from generated code
3 months ago
matejcik ccf4b7e9eb fix(core/rust): convert bitcoin_only to an additive feature
3 months ago
matejcik 87894ae062 chore(core): add translation signatures
3 months ago
matejcik fd3919254c refactor(core/ui): rename confirm_payment_request to should_...
3 months ago
matejcik 34965ca2cb refactor(core/ui): use LayoutObj signatures in layout files
3 months ago
matejcik 0304484ca6 docs(core): add method signatures for LayoutObj to mocks (fixes #2672)
3 months ago
matejcik 99457bbcb0 refactor(core/ui): make request_number signature the same in TT and TR
3 months ago
matejcik 29863f84ca refactor(core): simplify context.wait() to only accept one task
3 months ago