Commit Graph

1861 Commits (3f12742669bd782cac374a1750d517f4fd88c43b)

Author SHA1 Message Date
matejcik 8abcb6f8cc chore(core/rust): allow unused macros
3 years ago
Jan Pochyla 7c65f0357a feat(core/rust): Implement exception catching in Rust
3 years ago
Martin Milata aace875fef chore(vendor): bump micropython to 1.17
3 years ago
Martin Milata 7111702f00 chore(vendor): bump micropython to 1.16
3 years ago
Martin Milata b062b95348 chore(vendor): bump micropython to 1.15
3 years ago
Martin Milata d69b23e3c5 chore(core/emulator): ignore MICROPY_UNIX_COVERAGE
3 years ago
Pavol Rusnak d153082c9c chore(vendor): bump micropython to 1.14
3 years ago
Martin Milata 53e2573691 docs(core): fix dates in changelog
3 years ago
Martin Milata 35a41fd957 Merge branch 'release/21.09' into master
3 years ago
Martin Milata a7a7570496 ci(core): enable rust unit tests
3 years ago
Martin Milata a007e062ab style(core): apply rustfmt
3 years ago
matejcik ae4dd42d18 refactor(core/ethereum): reorganize sanity checks, disallow chain_id 0
3 years ago
matejcik 8931450d21 chore(common): enable Palm network
3 years ago
matejcik e80077e0a4 feat(core/ethereum): enable type-checking for Ethereum app
3 years ago
matejcik 0c2863fc8d feat(core/ethereum): use TokenInfo object instead of tuples
3 years ago
matejcik 4b34e4c001 fix(core): allow AnyStr as parameter for unhexlify
3 years ago
matejcik 30b08d949b feat(common): add default values to EthereumSignTx fields
3 years ago
matejcik 96ed53cc1c refactor(core,legacy): remove Wanchain special handling
3 years ago
matejcik 639406b01f feat(all): make chain_id mandatory
3 years ago
arbitrarylink f051225730 feat(core,legacy): add support for Ethereum 64-bit chain_id
3 years ago
Tomas Susanka cec1f39a90 chore(core, legacy): bump versions
3 years ago
matejcik 9276b17023 fix(common): regenerate support data
3 years ago
matejcik eb34c0850e fix(common): regenerate support data
3 years ago
Tomas Susanka 9a6451342a chore(core): generate Changelog
3 years ago
matejcik 174985619d chore(common): bump chains and tokens for release
3 years ago
matejcik 7aed8d535d feat(all): re-enable Firo (fixes #1767)
3 years ago
Martin Milata f37ca13f1a refactor(core): disable SD, SBU, fatfs for T1 build
3 years ago
gabrielkerekes 2c65b00951 chore(cardano): add changelog entries
3 years ago
gabrielkerekes 8e3bc39b56 chore(cardano): update and format README
3 years ago
gabrielkerekes 7c3b5c86a5 fix(cardano): forbid mixing paths from multiple accounts in a single transaction
3 years ago
gabrielkerekes 28f0f60295 feat(cardano): update tests for streamed tx signing
3 years ago
gabrielkerekes b0c8590f00 feat(cardano): streamed transaction signing
3 years ago
gabrielkerekes d2a5be4e38 feat(cardano): prepare protobuf messages for streamed tx signing
3 years ago
matejcik d33d61d84e chore(core): remove Lisk
3 years ago
Frederik Bolding 38fa9197ca feat(core,python): support for Ethereum EIP1559 transactions
3 years ago
Martin Milata b5710b820a docs(core): replace Purpose48 with BIP-48
3 years ago
gabrielkerekes 4f7c6b3586 feat(common): change all protobuf message type hints to strings
3 years ago
matejcik 725d1bd961 docs(core): add changelog entry
3 years ago
matejcik f78363ecdc refactor(core/ui): do not use parameter for styling in get_next_u2f_counter
3 years ago
Martin Milata 2a91052b02 refactor(core/ui): move altcoin and webauthn layouts to separate file
3 years ago
Martin Milata 31052007ff refactor(core): enable mypy for apps.management
3 years ago
Martin Milata e57027fc5c refactor(core): convert apps.management.change_wipe_code to layouts
3 years ago
Martin Milata 5a0ea3f146 refactor(core): convert apps.management.recovery_device to layouts
3 years ago
Martin Milata 312876ab67 refactor(core): convert apps.management.reset_device to layouts
3 years ago
Martin Milata 574dcbc8a3 refactor(core): convert apps.common to layouts
3 years ago
Martin Milata 875cc0cb1a refactor(core): convert apps.webauthn to layouts
3 years ago
matejcik 9ab1891b22 feat(common): more required fields in messages-management
3 years ago
matejcik 5dcb51458f chore(core/ui): drop no longer used confirm_proposals_tezos
3 years ago
matejcik fcb5f88318 fix(core/bitcoin): nicer UI for ownership proofs
3 years ago
matejcik b30c9f7584 refactor(core/stellar): use semantically appropriate layouts everywhere
3 years ago
matejcik 16b87e4d50 fix(core/stellar): fail cleanly when asset code has wrong length
3 years ago
matejcik ad6976e01f refactor(core): use confirm_blob instead of confirm_hex in apps
3 years ago
matejcik dcc38f5267 refactor(core/ui): replace confirm_hex, clarify API
3 years ago
matejcik 6d15e90ed3 refactor(core/ui): reorganize line width constants
3 years ago
matejcik cb882df100 feat(core): in debug mode, dump contents of received protobuf messages
3 years ago
Martin Milata 8da978981e perf(core): share wire buffer between wire and debuglink
3 years ago
Martin Milata 582e1318c4 feat(core/emulator): support protobuf messages in memory dumps
3 years ago
Andrew Kozlik 334103b089 refactor(core/crypto): Optimize DER encoding of signatures.
3 years ago
Andrew Kozlik 2964f2e855 refactor(core/cardano): Clean up variable_length_encode().
3 years ago
Andrew Kozlik 97ca1e3341 chore(core): Add offset parameter to cbor.decode().
3 years ago
Andrew Kozlik 7811204ed5 refactor(core/bitcoin): Use HashWriter in address derivation.
3 years ago
Andrew Kozlik 2c003052f5 refactor(core/bitcoin): Change CoinInfo.script_hash to be a HashContext.
3 years ago
Andrew Kozlik 27e6f35f78 refactor(core/bitcoin): Change scripts to use writer semantics.
3 years ago
Andrew Kozlik 8538f55edc refactor(core/bitcoin): Use global static buffer for Tx serialization.
3 years ago
Martin Milata 412d06fdfe docs(core+legacy): use towncrier for generating CHANGELOG.md
3 years ago
Pavol Rusnak d35071d732 docs(core+legacy): update changelogs to new format
3 years ago
Andrew Kozlik 7277a49047 fix(common): Add new rpId to Binance's FIDO definition.
3 years ago
Pavol Rusnak f740515c85 fix(core,crypto): add more test cases from bip-173
3 years ago
Martin Milata ceaf4da617 fix(core): explicitly refresh display on T1
3 years ago
matejcik 2b3c75c4de fix(core): properly respond to USB events while on a paginated screen
3 years ago
matejcik cf15dce326 refactor(core/ethereum): improve API of the rlp module
3 years ago
Pavol Rusnak 9a9b0eb052
fix(core): rename fw_or_type to image_type in keyctl-proxy to avoid confusion
3 years ago
Martin Milata 0d251fc01a Merge branch 'release/21.07'
3 years ago
Pavol Rusnak ff21ea3d5c fix(core): rename fw_or_type to image_type in keyctl-proxy to avoid confusion
3 years ago
Pavol Rusnak cd9c4e478d docs(core): fix typo in keyctl-proxy help
3 years ago
Pavol Rusnak 0a951b8a77 fix(core): don't use format strings in keyctl-proxy
3 years ago
Pavol Rusnak 3d69ca1b1b chore(vendor): update nanopb to 0.4.5
3 years ago
matejcik b41d4c71f0 feat(core/emulator): JSON memory map dump
3 years ago
matejcik fe6c131b14 feat(core/emulator): build emulator with -DSTATIC=
3 years ago
Andrew Kozlik 24bb401638 fix(legacy,core): Fix operation source account encoding in Stellar.
3 years ago
matejcik 46e0530764 fix(tests): auto-swipe by using only ButtonRequest.pages
3 years ago
matejcik 8e6a647e89 fix(core): do not send ButtonRequest on every paging event
3 years ago
matejcik f8bb90366a fix(tests): auto-swipe by using only ButtonRequest.pages
3 years ago
matejcik 1e1963f1ee fix(core): do not send ButtonRequest on every paging event
3 years ago
Martin Milata 81869fc4b0 chore(core): bump version to 2.4.2
3 years ago
Martin Milata f06a57237b style(core): trezorhal/random_delays.c
3 years ago
Martin Milata 01c1ae426f docs: add security fixes to changelogs
3 years ago
Andrew Kozlik c067618828 fix(common): Fix incorrect SLIP-44 coin type for Bgold and SmartCash Testnets.
3 years ago
Andrew Kozlik 3e9f8a32ac fix(core): Fix insufficient BIP-32 path checks.
3 years ago
Martin Milata e67b3ab214 docs(core): changelog for 2.4.1
3 years ago
Pavol Rusnak 8cfa5da1ce
docs: fix typos in comments
3 years ago
Ondřej Vejpustek 24200e7424 fixup! fix(legacy): make RDI work on T1
3 years ago
Ondrej Mikle daa94ac941 fix(legacy): make RDI work on T1
3 years ago
gabrielkerekes cc14ffb3e3 docs(core): add changelog entries for Cardano
3 years ago
gabrielkerekes db657615f4 fix(cardano): use OrderedMap for output tokens and withdrawals
3 years ago
gabrielkerekes 4e5772662c fix(cardano): don't allow duplicate withdrawals
3 years ago
gabrielkerekes 3cd2182b69 feat(core): introduce OrderedMap into CBOR serialisation
3 years ago
Ondřej Vejpustek b8b0ae09d9 fix(core): use unprivileged shutdown where needed
3 years ago
Ondřej Vejpustek 5984fd6ad7 feat(core): jump to unprivileged mode after shutdown
3 years ago
Ondřej Vejpustek 40b4f679f9 feat(core): implement wrapper for svc_shutdown
3 years ago
Ondřej Vejpustek 311288407e docs(core): document shutdown_privileged
3 years ago
Ondřej Vejpustek 4968d7da53 feat(core): implement svc shutdown
3 years ago
Ondřej Vejpustek cca9d4b1c4 refactor(core): rename shutdown to shutdown_privileged
3 years ago
Ondřej Vejpustek 7686eb355a fix(core): fix import of random delays
3 years ago
matejcik 47c2be9f13 docs(core): add changelog entry for altcoin layouts
3 years ago
matejcik 015c47d564 chore(core): export PropertyType to fix mypy errors
3 years ago
matejcik da4442bbd7 feat(core): auto-hexlify in confirm_properties
3 years ago
matejcik 41c5d773e2 refactor(core): put property key+value on the same screen
3 years ago
matejcik 3c4eb04346 feat(core/monero): cache Monero testing chain between runs
3 years ago
Martin Milata 178b575465 refactor(core): convert apps.nem to layouts
3 years ago
Martin Milata dd3b689ded refactor(core): convert apps.eos to layouts
3 years ago
Martin Milata 3ffbae5d17 refactor(core): convert apps.binance to layouts
3 years ago
Martin Milata ddac852acf refactor(core): convert apps.cardano to layouts
3 years ago
Martin Milata ffb400180d refactor(core/ui): more consistent layout parameter names
3 years ago
Martin Milata a143fe34d0 refactor(core): convert apps.lisk to layouts
3 years ago
Martin Milata ebf6ef1666 refactor(core): convert apps.tezos to layouts
3 years ago
Martin Milata 12478b1716 refactor(core): convert apps.stellar to layouts
3 years ago
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