Commit Graph

1330 Commits (f607cb25019f0bc18bae281ce294a52810fc5ec5)

Author SHA1 Message Date
Andrew Kozlik bec0634bae feat(core): Improve message signing UI.
3 years ago
Andrew Kozlik cf14e06aa0 feat(core): Show address confirmation in SignMessage.
3 years ago
Andrew Kozlik bc4a56b2c0 feat(core): Support no_script_type option in SignMessage.
3 years ago
Andrew Kozlik c2f1850abb feat(common): Add no_script_type option to SignMessage.
3 years ago
matejcik c38efaa9a5 chore: make bitcoin-only checker happy
3 years ago
matejcik 10e338e005 feat(core/cardano): allow derivation type selection
3 years ago
matejcik f6f52445bd feat(core/cardano): support Icarus, Icarus-Trezor, and Ledger derivations
3 years ago
matejcik f0ae16069c fix(core): do not send passphrase_protection field when device is locked (fixes #1807)
3 years ago
matejcik f818f4bc23 feat(core): derive Cardano seed together with normal seed, if requested
3 years ago
matejcik 387466e073 refactor(core): separate Cardano cryptography into its own module
3 years ago
matejcik eacaffd079 fix(core/ethereum): use built-in ethereum_pubkeyhash() in get_address
3 years ago
matejcik faa807f995 feat(core): show progress for SLIP39 derivation
3 years ago
matejcik 8caac218ec feat(core/cardano): indicate whether Cardano seed should be derived
3 years ago
matejcik bc75d05772 chore(common/defs/fido): add coinbase u2f
3 years ago
Jun Luo 62b649ef5d refactor(common & core & legacy): Stellar, rename StellarCreatePassiveOfferOp to StellarCreatePassiveSellOfferOp.
3 years ago
Jun Luo d064aae3f9 feat(common & core & legacy): Stellar, add support for StellarPathPaymentStrictSendOp.
3 years ago
Jun Luo 1dcb8e4913 feat(common & core & legacy): Stellar, add support for StellarManageBuyOfferOp.
3 years ago
Jun Luo 3a5768c4bf refactor(common & core & legacy): Stellar, rename StellarManageOfferOp to StellarManageSellOfferOp and rename StellarPathPaymentOp to StellarPathPaymentStrictReceiveOp.
3 years ago
Martin Milata 1979bcc39c chore(common): bring back eth:xDAI
3 years ago
grdddj 73238135d6 feat(core/ethereum): EIP-712
3 years ago
grdddj 082b7ecd91 feat(core): plural function supports "key/keys" string
3 years ago
grdddj ecc0f6c445 fear(core/ui): add should_show_more layout function
3 years ago
grdddj b1a3618c17 refactor(core/ethereum): rename address.py to helpers.py
3 years ago
Martin Milata 9a7e6c2900 chore(common): update chains and tokens
3 years ago
Martin Milata ea1b7fbd54 chore(common): update chains and tokens
3 years ago
Martin Milata 87cc44e73a chore(common): update coins support status
3 years ago
matejcik 0e6669bd10 feat(core/stellar): show start/end timestamps in human readable format
3 years ago
matejcik f7c340f333 feat(core/bitcoin): show lock_time as human readable datetime
3 years ago
matejcik 1d72085b5c feat(core): implement conversion from timestamp to datetime
3 years ago
matejcik e972839ac7 style(all): fix pylint complaints
3 years ago
matejcik 84c310a2ba chore(core): remove forgotten and unused apps/common/confirm.py
3 years ago
Pavol Rusnak b2ff86ff3a
fix(common): drop unusable coins BELL and ZNY (#1872)
3 years ago
Pavol Rusnak 7b2825e68e fix(common): rebrand brhodium to xrhodium
3 years ago
Ondřej Vejpustek 29ce860d46 refactor(core,crypto): rename schnorr to BIP340
3 years ago
Ondřej Vejpustek 7ac0bdd215 feat(core): make core use Schnorr signatures
3 years ago
Ondřej Vejpustek 26463eb3ce feat(core): make core use ecdsa from secp256k1_zkp wherever possible
3 years ago
Martin Milata 3882b89be9 fix(core/ethereum): ask before showing paginated data field
3 years ago
Martin Milata e6c42b7fa6 fix(core/ui): fix off-by-one in in_area
3 years ago
Martin Milata 8eb4bcff29 feat(core/ui): allow text without header
3 years ago
David Misiak 13c4fb97df fix(cardano): forbid multisig pool registration [no changelog]
3 years ago
Andrew Kozlik 13cbb59082 feat(common): Add script_pubkey field to TxInput message.
3 years ago
Andrew Kozlik 9d03112846 feat(core): Implement sending to taproot addresses.
3 years ago
Pavol Rusnak ea0fb08fed feat(core): add witness version to encode_bech32_address()
3 years ago
Pavol Rusnak dbc464750b feat(common): enable Taproot on Bitcoin
3 years ago
Pavol Rusnak 9aa07c7f96 feat(core): update bech32.py to support Bech32m
3 years ago
Pavol Rusnak ac4cb88184 feat(common): add taproot field to coin definitions
3 years ago
Pavol Rusnak fea240ed40 feat(core): add support for Taproot descriptors
3 years ago
Pavol Rusnak 4ed9f00c73 feat(common): add support for Taproot input and output scripts
3 years ago
matejcik b6837d19b7 fix(core/nem): fix NEM usage of format_amount
3 years ago
amadejpapez 85ba7c12ba style(all): use f-strings for formatting
3 years ago
gabrielkerekes 4aaf6db9a2 chore(cardano): update docs, changelog and ui test fixtures
3 years ago
gabrielkerekes 1f33ab420d feat(cardano): update transaction signing for multisig
3 years ago
gabrielkerekes 21281d7cf4 feat(cardano): add support for script addresses derivation
3 years ago
gabrielkerekes dd9652cd07 feat(cardano): add get-native-script-hash call
3 years ago
gabrielkerekes 54909681a8 feat(cardano): add support for 1854 and 1855 path roots
3 years ago
Martin Milata 70bb0ee04f fix(core): bitcoin-only all_modules.py
3 years ago
Jan Pochyla 2703d714c2 feat(core): add Rust UI components, layouts, text rendering
3 years ago
matejcik c30091b9c5 refactor(core/stellar): replace confirm_timebounds_stellar with confirm_properties
3 years ago
matejcik 1dcfdebf7a feat(all): make Stellar timebounds required
3 years ago
matejcik 98f0496b2c feat(core/stellar): add type checking to Stellar app
3 years ago
matejcik 1b601b3e08 feat(common): strong typing for Stellar protobuf messages
3 years ago
Martin Milata bd005e33df refactor(core): decouple T1 button handling from touch
3 years ago
matejcik b666895303 feat(core/rust): catch, handle and propagate uPy exceptions
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 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
matejcik eb34c0850e fix(common): regenerate support data
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 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 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 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
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
Andrew Kozlik 7277a49047 fix(common): Add new rpId to Binance's FIDO definition.
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
Martin Milata 0d251fc01a Merge branch 'release/21.07'
3 years ago
matejcik b41d4c71f0 feat(core/emulator): JSON memory map dump
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
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
Pavol Rusnak 8cfa5da1ce
docs: fix typos in comments
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
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
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
matejcik 52c34c7364 fix(core): allow caching empty values (fixes #1659)
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 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 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
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
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
matejcik 86089fa5ad feat(core): avoid restarting session for select messages (fixes #1631)
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 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 5ee85b6ed9 refactor(core): improve clarity in main.py
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 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
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 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 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