Commit Graph

1744 Commits (c0c2718c1e4ca449bca492eb69539ff5ac95e2cb)

Author SHA1 Message Date
Martin Milata 6aeaadfe16 refactor(core): convert apps.ripple to layouts
3 years ago
Martin Milata 16094df0c5 refactor(core): convert most of apps.monero to layouts
3 years ago
Martin Milata 6c926ad82e refactor(core): convert apps.ethereum to layouts
3 years ago
Martin Milata b7cab90e3c refactor(core/ui): use new_lines=False in layouts
3 years ago
matejcik 1012ee8497 feat(core): send ButtonRequests for paging events
3 years ago
Pavol Rusnak 69d1465e08
refactor(core): pass invert_colors to send_init_seq_ST7789V as argument
3 years ago
Pavol Rusnak 18e103bb94
style(core): refactor style of display-stm32_T
3 years ago
Martin Milata bc7fb32db9 docs(core): Fix dates in changelog
3 years ago
matejcik 52c34c7364 fix(core): allow caching empty values (fixes #1659)
3 years ago
gabrielkerekes ae831abb75 docs(core): add changelog entries for cardano updates
3 years ago
gabrielkerekes b2de8909d1 fix(core/cardano): reintroduce max tx output size
3 years ago
gabrielkerekes a92b5fc333 fix(core/cardano): forbid tx outputs with both address and address parameters
3 years ago
gabrielkerekes 597402eab8 refactor(core/cardano): decouple address parameters validation
3 years ago
matejcik d6776d988e docs(core): add changelog entry for Rust protobuf
3 years ago
matejcik aa4227fa84 ci: update coverage exclusion list
3 years ago
matejcik cbe4e0e725 fix(core): properly exclude altcoins from all_modules
3 years ago
matejcik 729414e606 fix(core): exclude get/set U2F counter from BITCOIN_ONLY
3 years ago
matejcik c06a93cba5 feat(core/rust): propagate bitcoin_only flag to Rust build
3 years ago
matejcik 1382246977 fix(core/tests): fix equality testing for new message types
3 years ago
matejcik da2ef8ed41 refactor(core): create and use protobuf uvarint writer
3 years ago
Jan Pochyla a8623c4b59 refactor(core): fix imports and use new protobuf API in apps
3 years ago
Martin Milata 72557614c4 build(core): update build process for new protobuf
3 years ago
Jan Pochyla 02aa14fc04 refactor(core): Switch to new Protobuf API
3 years ago
matejcik 8a5cb41060 chore(core): regenerate with new templates
3 years ago
matejcik d42bc8a4c0 refactor(core): prepare new templates for enums and messages
3 years ago
matejcik 266955ba65 refactor: rework pb2py generator
3 years ago
Jan Pochyla 8a21e3fc73 feat(core): Add Rust Protobuf codec
3 years ago
Pavol Rusnak 23aa69caea fix(core): unify Features.revision reporting with legacy
3 years ago
matejcik 2fac964a29 chore(common): disable Firo support
3 years ago
Pavol Rusnak fce3640848 fix(common): remove dead coin Hatch
3 years ago
Martin Milata 767e7b8e8d fix(core): spaces in Shamir info texts
3 years ago
Martin Milata ca836b2e45 chore(core): bump version to 2.4.1
3 years ago
matejcik 86089fa5ad feat(core): avoid restarting session for select messages (fixes #1631)
3 years ago
Martin Milata e77082f34f docs(core): changelog for 2.4.0
3 years ago
Martin Milata 8c6b93e0bd build(core): account for ARM unwinding info in memory layout
3 years ago
Martin Milata 20fe8552ca build(core/rust): use correct architecture for T1
3 years ago
Ondřej Vejpustek 6fd4739c5c feat(core): make random delays use chacha_drbg
3 years ago
Ondřej Vejpustek e1a5f42c81 feat(core): make chacha_drbg more robust
3 years ago
Ondřej Vejpustek 8ee17f69b3 refactor(core): move wait_random and rdi into separate file
3 years ago
matejcik e015bc0856 build(core/rust): disable nightly-only features
3 years ago
Pavol Rusnak 155fc7ac67
fix(core): remove tcDisplay from metadata/trezor-ctap2.json
3 years ago
Pavol Rusnak d358503676
fix(core): remove txAuthSimple from metadata/trezor-ctap2.json
3 years ago
Martin Milata c54077a714 fix(core): imports needed for T1 startup
3 years ago
matejcik 1e0a23c133 fix(core/paths): make sure containers are copied along with the numbers they contain
3 years ago
matejcik f05215f4ff chore(core): add changelog entry
3 years ago
matejcik ed5c357b78 fix(core): properly cache last successful unlock time
3 years ago
matejcik 959cf7d515 fix(core/homescreen): properly redraw when an outside process kills homescreen
3 years ago
matejcik 411a7bb802 fix(core/wire): handle codec errors better
3 years ago
matejcik 231a1fe229 refactor(core): do not cache reverse-mapping of message types in RAM
3 years ago
matejcik f1a54f2108 refactor(core): remove more global imports
3 years ago
matejcik 2cb379108c refactor(core/homescreen): load homescreen image on-demand
3 years ago
matejcik f61d7fffa8 fix(core): fix top-level imports in apps.common.passphrase
3 years ago
matejcik 93db39ad70 fix(core/wire): drop unused reader, clarify writer usage
3 years ago
matejcik 1c32cbcc1c ci(core): exclude more things from coverage report
3 years ago
matejcik 5ee85b6ed9 refactor(core): improve clarity in main.py
3 years ago
matejcik 25385af159 feat(core/emu.py): erase profile when running emu.py -e
3 years ago
matejcik 94521a2065 feat(core): presize some modules to account for their sub-imports
3 years ago
matejcik 5f4240d93c feat(core): preallocate sys.modules to an appropriate size
3 years ago
matejcik b5c1b37a56 chore(core/tests): bump heap size for core unit tests
3 years ago
matejcik b1e4246b46 refactor(core/webauthn): make sure KEY_AGREEMENT_*KEY is generated once per power-up
3 years ago
matejcik f6f3c7ffcf fix(core): prevent flickering when homescreen does not need to redraw
3 years ago
matejcik 5d12b943b3 feat(core): ensure all module names are interned
3 years ago
matejcik 96fd347ca8 fix(core): keep value of experimental_features cached across workflow restarts
3 years ago
matejcik aaa3ce6117 fix(core/bitcoin): fix CoinJoin authorization with new cache
3 years ago
matejcik dd655422f1 refactor(core/wire): simplify the message handling loop
3 years ago
matejcik b387970468 refactor(core/debug): move "wipe with debug build" to boot.py
3 years ago
matejcik 1822aebdb4 feat(core): prefill field_cache in bitcoin app
3 years ago
matejcik f3db4f2dd3 refactor(core): defragment PathSchema memory usage
3 years ago
matejcik b1ca6ca848 refactor(core/debug): offload debug configuration from apps.debug
3 years ago
matejcik e859c13d70 refactor(core): limit global imports in key places
3 years ago
matejcik 7ca67cc4d9 feat(core): clear out memory space after every workflow
3 years ago
matejcik e629a72c3a refactor(core): move app registrations to a single handler function
3 years ago
matejcik 391976bcda refactor(core/usb): do not require serial number on instantiaton of USB
3 years ago
matejcik 276bb59dba refactor(core/cardano): update caching mechanism
3 years ago
matejcik 3cdb09c294 refactor(core): modify cache to preallocate all its data
3 years ago
matejcik ea505b592c refactor(core): move empty_bytearray to trezor.utils
3 years ago
matejcik b0116d0bdc refactor(core): modify wire to preallocate its buffers
3 years ago
Jan Pochyla 6257584951 feat(core): Add Rust bindings to MicroPython and trezorhal
3 years ago
Martin Milata f58c1634c6 docs(core): use towncrier for generating CHANGELOG.md
3 years ago
gabrielkerekes bf3e64ff20 fix(common): add isort:skip_file to files generated by pb2py
3 years ago
gabrielkerekes 6f59892824 refactor(core/cardano): introduce derive_public_key to simplify pub key derivation
3 years ago
gabrielkerekes 905970fd6a refactor(core/cardano): generalise _paginate_lines
3 years ago
gabrielkerekes 2313293477 feat(core/cardano): add support for catalyst voting registration
3 years ago
gabrielkerekes 2c503b16f5 fix(common): fix one value enums in pb2py
3 years ago
mcudev e3539b0a73 core/embed/usb: add back usb fs code for t1 and redo fifo sizing
3 years ago
mcudev 6137a55b06 core/embed/usb: use all available usb endpoints and update the usb fifo sizing
3 years ago
Pavol Rusnak 2852b947ec
chore(core): regenerate coins
3 years ago
Martin Milata 720eaa3abd ci: run monero tests on hardware
3 years ago
Martin Milata ac711fb8ee style(core): use more recent type annotation syntax
3 years ago
Martin Milata 0278998f72 style(common): mypy: disable implicit Optional for function arguments
3 years ago
Martin Milata 8b3ac659a0 style(core): mypy: disable implicit Optional for function arguments
3 years ago
Martin Milata f97af2af1b chore(core/ui): typing: no implicit Optional
3 years ago
Martin Milata da72482c2f refactor(core/ui): get rid of confirm_wipe
3 years ago
Martin Milata c0174ff217 refactor(core/ui): raise exception on dialog cancel by default
3 years ago
Martin Milata 2b6ea25712 refactor(core): convert rest of apps.bitcoin to layouts
3 years ago
Martin Milata b1e38fe382 refactor(core): no implicit spaces in render_text
3 years ago
Martin Milata 2a5f5c1c20 refactor(core): convert parts of apps.monero to layouts
3 years ago
Martin Milata 6668921a4f refactor(core): convert apps.common.request_pin to layouts
3 years ago
Martin Milata 01900b8536 refactor(core): convert parts of apps.webauthn to layouts
3 years ago
Martin Milata ffe6d65f72 refactor(core): convert parts of apps.management to layouts
3 years ago
Martin Milata c09a142e2a refactor(core): convert apps.misc.* to layouts
3 years ago
Martin Milata 0b5d17bf49 refactor(core/ui): merge confirm_hexdata and show_pubkey
3 years ago
Martin Milata 6ded531f8f refactor(core): convert apps.common.sdcard to layouts
3 years ago
Martin Milata 035f114125 fix(core/ui): don't return CONFIRMED/CANCELLED from layouts
3 years ago
Rafael Korbas a9b8b0e119 feat(core/cardano): chunked serialization of signed transaction
3 years ago
gabrielkerekes 3cb686d452 fix(core/cardano): make witnesses order deterministic
3 years ago
Andrew Kozlik 25411e22c9 test(core): Add unit test for modtrezorconfig counter.
3 years ago
Andrew Kozlik 2836bfc64c fix(core): Improve error handling and range checking in modtrezorconfig.
3 years ago
Andrew Kozlik 66823e2893 chore(core,legacy): Bump FIX_VERSIONs due to upgrade to storage version 3.
3 years ago
Andrew Kozlik 3084d1196d feat(core): Support 50 digit PIN and wipe code.
3 years ago
Pavol Rusnak da7214d82f
fix(common): update support.json to include Firo
3 years ago
Pavol Rusnak dfbdcf5b2b
feat(core): add support for olimex-arm-usb-tiny-h via openocd
3 years ago
Pavol Rusnak b37e5c916f
fix(core): add missing targets to `make clean`
3 years ago
Pavol Rusnak 4649b80b44
feat(core): allow secp256k1-zkp for bitcoin-only build
3 years ago
matejcik cb7152542d feat: drop DebugLinkShowText functionality
3 years ago
matejcik 56ee7d33a9 chore: add cardano changelogs
3 years ago
Rafael Korbas 74ed5b7018 feat(core/cardano): Implement bech32 asset ids based on CIP-0014
3 years ago
Rafael Korbas bd4512b53a fix(core/cardano): Allow stake pool registrations with zero margin
3 years ago
Andrew Kozlik b10acbe153 feat(core): Allow decreasing output amount in RBF transactions.
3 years ago
Andrew Kozlik 5593862dc1 fix(core): Disable hold-to-confirm animation when animations are disabled.
3 years ago
Andrew Kozlik 6de20a7dcd chore(core/bitcoin): Add DecredApprover.
3 years ago
Andrew Kozlik 523b1051c5 chore(core/bitcoin): Add stricter script_type checks in sanitizers.
3 years ago
Andrew Kozlik 6e8eebfc9c chore(core/bitcoin): Separate Decred-specific scripts from Bitcoin scripts.
3 years ago
JoeGruff e3ea32a986 multi: Add decred staking.
3 years ago
Pavol Rusnak 6c11bc60d7
common/defs/fido: add namecheap
3 years ago
Martin Milata ee2ec85983 fix(core): fix title shown for multisig address
3 years ago
Pavol Rusnak d211e3af07
fix(core): switch define to invert display colors into const volatile
3 years ago
Pavol Rusnak e7966cc804
refactor(core): rework color definitions in bootloader
3 years ago
Pavol Rusnak 3294a49cec
fix(core): don't assert reset flags to allow "reboot to bootloader"
3 years ago
Pavol Rusnak 1e2bb337a9
refactor(core): drop buttons argument for ui_screen_firmware_info
3 years ago
Pavol Rusnak 814db111b2
feat(core): add define to invert display colors on ST7789V
3 years ago
Andrew Kozlik 850aa56691 docs(core): Add references to SLIPs in the code.
3 years ago
Pavol Rusnak 5cff6ac964
doc(core): update comments around UDP emulator
3 years ago
Andrew Kozlik a8c500bffd feat(core): Ensure that WebAuthn runs on port 21326 by default for both production and debug emulator.
3 years ago
mcudev b50f1e0b89 openocd: separate stlink configs deprecated - now combined
3 years ago
Pavol Rusnak a36d0c0fbe
docs(changelog): add public key to ECDHSessionKey
3 years ago
Roman Zeyde 7ce4e13bcf feat(core): add public_key to ECDHSessionKey
3 years ago
Roman Zeyde b2877afa7f feat(common): add public_key to ECDHSessionKey
3 years ago
Pavol Rusnak ebfd51d818
fix(core): stay_in_bootloader should default to false, not true
3 years ago
Pavol Rusnak efac5d56f5
fix(core): change touch i2c clock speed to 200 kHz
3 years ago
Pavol Rusnak cc42af28fd
docs(changelog): next FW version will be 2.4.0
3 years ago
Martin Milata 7c1d72c254 style(core): fix bootloader formatting
3 years ago
Pavol Rusnak 29a3e91f09 feat(core): refactor display_init_seq from display_init
3 years ago
Pavol Rusnak 5dd3d73d00
fix(core): remove unused stuff from bootloader_ci
3 years ago
Ondrej Mikle a4ba24645b
feat(core): remove connect to host dialog in the bootloader
3 years ago
Pavol Rusnak f3ae3615c7
fix(core): unify bootloader_ci with bootloader
3 years ago
Pavol Rusnak b074404dcf
fix(core): small secbool refactor for bootloader_ci
3 years ago
Pavol Rusnak 2dc094bd3e
fix(core): small secbool refactors
3 years ago
Pavol Rusnak 4b0f41d41e
fix(common): change msg_id of RebootToBootloader from 804 to 87
3 years ago
Ondrej Mikle 77e99078c3
chore(trezorlib): add generated message files
3 years ago
Ondrej Mikle 1579c62332
chore(legacy): reboot to bootloader protobuf generated messages
3 years ago
matejcik ed0ac98970 fix(common/tools): strip "mainnet" from Ethereum network names
3 years ago
Pavol Rusnak 17fa6ab4ec chore(common): update chains+tokens
3 years ago
Rafael Korbas ceea21ec1f feat(cardano): Format stake pool ids as bech32 instead of hex
3 years ago
Rafael Korbas 3197741795 fix(core/Cardano): account index validation in _should_hide_output()
3 years ago
Rafael Korbas cf871ee754 fix(core/Cardano): do not show change output in byron-shelley transfers
3 years ago
Martin Milata 040d0212f6 chore(core): changelog for hold to lock
3 years ago
Martin Milata c28763c169 refactor(core): use reload_settings_from_storage on boot
3 years ago
Martin Milata 9b60cc0098 feat(core): restart loader from current position
3 years ago
Martin Milata 06b9d1314d fix(core): do not autolock when already locked
3 years ago
Martin Milata 192d0dcf87 feat(core): hold homescreen to lock
3 years ago
Martin Milata db2db8e6f3 feat(common): add hold_ms to DebugLinkDecision
3 years ago
Martin Milata c42850f997 chore(core): show total allocations in memperf report
3 years ago
Pavol Rusnak de72cfb804
chore(core): update changelog
3 years ago
Ondrej Mikle ed57320c86
build(flashing): nogui flag for flashing for newer JLink versions (#1482)
3 years ago
Pavol Rusnak b4daf2f3e3
chore(core): run make gen to regenerate fido2 icons
3 years ago
Martin Milata 48627b7f0f fix(core): bootloader_ci build
3 years ago
Pavol Rusnak 5395c542c1
chore(core): update changelog, bump version to 2.3.7
3 years ago
Buck Perley 682298d7bb
fix(core): add exceptions for unchained capital paths
3 years ago
gabrielkerekes d4dcd7bff9 fix(core/cardano): allow staking accounts beyond 100'
3 years ago
Andrew Kozlik e5741ac308 chore(core): Use BufferReader for CBOR decoding.
3 years ago
Andrew Kozlik ac939c94aa fix(core/tezos): Implement strict length checking.
3 years ago
matejcik 6fd355756c fix(core/stellar): review usages of write_bytes_unchecked
3 years ago
matejcik 08edbca428 fix(core/eos): review usages of write_bytes_unchecked
3 years ago
matejcik 2231fe6842 feat(core): make protobuf.dump_uvarint more reusable
3 years ago
Andrew Kozlik 78a2ff16d4 fix(core): In apps.bitcoin ensure that get_address() fails for multisig if user's public key is not included.
3 years ago
Martin Milata 391602ae99 refactor(core): turn show_address, show_pubkey, show_xpub into layouts
3 years ago
Martin Milata 03699f5639 refactor(core): turn show_success, show_warning into layouts
3 years ago
Martin Milata f38abf9d89 refactor(core): introduce layouts
3 years ago
Martin Milata 18cb429610 feat(core): introduce Text.format_parametrized()
3 years ago
Martin Milata f1382bf892 refactor(core): model-dependent UI component directories
3 years ago
Pavol Rusnak f46380147f fix(core): update sync protobuf messages in bootloader
3 years ago
matejcik 73a28e12f2 fix(core): create protobuf messages correctly
3 years ago
matejcik 14037d0c31 chore: regenerate protobuf classes
3 years ago
matejcik bf562cfd4b feat(core/misc): enable typing for misc app
3 years ago
matejcik ccd241fe55 feat(core/cardano): enable typing for Cardano app
3 years ago
Pavol Rusnak 18b51b856b
common/fido: update icons for github, mojeid and slushpool (#1456)
3 years ago
matejcik 637ccadcb6 style(core): remove unused type:ignore comment after mypy upgrade
3 years ago
Ondrej Mikle 22d01b6ff4 chore(core): bootloader_ci - decouple file links from original bootloader
3 years ago
Rafael Korbas e4c406822c Add multiasset sending and min validity to Cardano transactions
3 years ago
Pavol Rusnak c25e5daad2 chore(core): use SYSTEM_VIEW as feature flag, not make flag
3 years ago
Pavol Rusnak a11cb11ba3 chore(core): rework SYSTEMVIEW_DEST_SYSTEMVIEW
3 years ago
Ondrej Mikle d99127771c chore(core): reorder includes
3 years ago
Ondrej Mikle a628b9a92d chore(core): remove unneeded include
3 years ago
Ondrej Mikle 3b0f269e0d build(core): consider systemview disabled by default
3 years ago
Ondrej Mikle 4cf91b128d style(core): systemview editorconfig reformat
3 years ago
Ondrej Mikle 9411756c42 style(core): systemview reformat
3 years ago
Ondrej Mikle 550216354b chore(core): more systematic systemview function definitions
3 years ago
Ondrej Mikle 869cfbbd1c style(core): style for systemview
3 years ago
Ondrej Mikle 0abcb57840 feat(core): place systemview buffers into CCMRAM
3 years ago