Commit Graph

1023 Commits (95daa2fda38ce892681121cca306f4c6545f30d7)

Author SHA1 Message Date
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 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
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
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 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
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
matejcik cf15dce326 refactor(core/ethereum): improve API of the rlp module
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
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
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
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 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
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
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 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 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 aaa3ce6117 fix(core/bitcoin): fix CoinJoin authorization with new cache
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 e629a72c3a refactor(core): move app registrations to a single handler function
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
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
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 8b3ac659a0 style(core): mypy: disable implicit Optional for function arguments
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 6ded531f8f refactor(core): convert apps.common.sdcard to 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 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
matejcik cb7152542d feat: drop DebugLinkShowText functionality
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 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
Andrew Kozlik 850aa56691 docs(core): Add references to SLIPs in the code.
3 years ago
Roman Zeyde 7ce4e13bcf feat(core): add public_key to ECDHSessionKey
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 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
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
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 f1382bf892 refactor(core): model-dependent UI component directories
3 years ago
matejcik 73a28e12f2 fix(core): create protobuf messages correctly
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
Rafael Korbas e4c406822c Add multiasset sending and min validity to Cardano transactions
3 years ago
Andrew Kozlik 79fad70b05 fix: Improve wording when showing multisig XPUBS.
3 years ago
Rafael Korbas 44c7d23741 Cardano: map account paths to account numbers
3 years ago
Pavol Rusnak 7f0e939359 feat(core): implement amount_unit for AuthorizeCoinJoin and SignTx
3 years ago
Pavol Rusnak e85ed74f8f core: implement GetAddress.ignore_xpub_magic
3 years ago
Pavol Rusnak 4ed714ba47 common/defs: add xpub_magic_multisig_segwit_{native,p2sh} fields to coins
3 years ago
Rafael Korbas 3a7a8e4d77 Disable "at least one output" restriction for Cardano, warn instead
3 years ago
mcudev b8ffcadf94
common/defs/fido: add gemini webauthn (#1416)
3 years ago
matejcik ed628ac4ba feat(core): make usb endpoints registration nicer
3 years ago
matejcik fc4e15fe77 feat(core): introduce and enforce limit on label length (fixes #1399)
3 years ago
matejcik e4b113b4bb fix(core/monero): make sure to pass strings to rendering
3 years ago
matejcik fd502f122f feat(core): implement pagination for sign/verify
3 years ago
matejcik bbef9c650b refactor(core): improve render_text behavior
3 years ago
Martin Milata fa2e672f98 chore(core): monero: drop extraneous async/await
3 years ago
Pavol Rusnak 5728f54b78 core: return root_fingerprint in PublicKey
3 years ago
Pavol Rusnak 92452d54e5 feat(core): implement GetPublicKey.ignore_xpub_magic behaviour
3 years ago
Pavol Rusnak e660a518c6 fix(core): show xpub instead of pubkey in GetPublicKey dialog
3 years ago
Andrew Kozlik a609eb5e90 docs(core): Add comment about "Invalid original TXID" message.
4 years ago
Andrew Kozlik 06ce14096c chore(core): Reject replacement transactions which involve negative
4 years ago
Andrew Kozlik aeb021b159 chore(core): Improve naming of SLIP39's T9 mask lookup.
4 years ago
Pavol Rusnak 1e8673bf5f style(core/apps): use new syntax for typing
4 years ago
Martin Milata ee64b65b26 refactor(core): call super().__init__() in subclasses
4 years ago
Martin Milata fa1566cb71 refactor(core): call super().__init__() in Component and Layout subclasses
4 years ago
Pavol Rusnak 952adc5961
style(core): use PEP515 Underscores in Numeric Literals
4 years ago
matejcik 58387a5f04 fix(common): drop Zilliqa token (fixes #1318)
4 years ago
matejcik a89494f60c chore(core): regenerate network and tokens lists
4 years ago
matejcik 4628c774aa feat(core): re-allow unknown Ethereum networks, using Ethereum or Testnet paths (fixes #1335)
4 years ago
matejcik 7abe70e484 feat(core): improve ethereum tokens ui (fixes #800)
4 years ago
Rafael Korbas b311bd4d4a Add displaying of TTL to cardano transaction, align url validation with Ledger
4 years ago
Rafael Korbas b261f789f3 Add support for stakepool registration to Cardano
4 years ago
Andrew Kozlik f421a213fd feat(core): Inform user about transaction finalization in Bitcoin replacement transactions.
4 years ago
Pavol Rusnak c6e78e525a
fix: remove PIVX (#1359)
4 years ago
matejcik e6a1bf840f fix(core): do not subclass `range`
4 years ago
Pavol Rusnak 50fdd183c2
ci: enable editorconfig checks, fix whitespace issues
4 years ago
matejcik 37d3bf56fa fix(core): make sure run-time settings are reset after wipe (fixes #1322)
4 years ago
matejcik 50e648636f doc(core): add references to schema specifications, add Purpose48 document
4 years ago
matejcik 665abe1e02 fix(core/bitcoin): validate path before asking to sign message (which could otherwise fail)
4 years ago
matejcik f10084117b feat(core/bitcoin): do not show path warning when GetAddress is called silently (fixes #1206)
4 years ago
matejcik 5a97a5111b feat(core/ethereum): add SEP5 path schema as well as the compat schema
4 years ago
matejcik a367426480 feat(core/bitcoin): use path schemas
4 years ago
matejcik c0879f8625 feat(core/cardano): use path schemas
4 years ago
matejcik f5c8138df6 feat(core): update most apps to use path schemas
4 years ago
matejcik 4ca8f7b0d6 style(core): use relative imports everywhere
4 years ago
matejcik 7fe5c804ff feat(core): implement BIP-32 path schemas
4 years ago
Andrew Kozlik 70975008cd chore (core): In apps.bitcoin skip confirmation of fee in PayJoin if the user is not increasing their contribution.
4 years ago
Andrew Kozlik b213a55428 chore(core): In apps.bitcoin move h_inputs back to bitcoin class.
4 years ago
Andrew Kozlik 4a0c5c371a feat(core): In apps.bitcoin implement replacement transaction flow.
4 years ago
Andrew Kozlik bd3fe1d789 chore(core): In apps.bitcoin create a separate class for transaction information.
4 years ago
Andrew Kozlik 469c131678 chore(core): In apps.bitcoin add confirm_replacement and confirm_modify_fee layouts.
4 years ago
Andrew Kozlik 7c2d690e45 chore(core): In apps.bitcoin allow get_tx_digest() to be used for original transactions.
4 years ago
Andrew Kozlik 5fc491c597 chore(core): In apps.bitcoin move BIP143 hashing back to a separate class.
4 years ago
Andrew Kozlik 9a594f4784 fix(core): Fix CoinJoin anonymity gain check in bitcoin approver.
4 years ago
Martin Milata 830592f2d9 feat(core): add experimental_features setting
4 years ago
Pavol Rusnak d8534b5ee6
perf(core/extmod): replace HMAC Python implementation with C
4 years ago