Commit Graph

1117 Commits (ae4dd42d1828062988a1ef13853507aae2a8adaf)

Author SHA1 Message Date
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
4 years ago
Pavol Rusnak 2852b947ec
chore(core): regenerate coins
4 years ago
Martin Milata ac711fb8ee style(core): use more recent type annotation syntax
4 years ago
Martin Milata 0278998f72 style(common): mypy: disable implicit Optional for function arguments
4 years ago
Martin Milata 8b3ac659a0 style(core): mypy: disable implicit Optional for function arguments
4 years ago
Martin Milata f97af2af1b chore(core/ui): typing: no implicit Optional
4 years ago
Martin Milata da72482c2f refactor(core/ui): get rid of confirm_wipe
4 years ago
Martin Milata c0174ff217 refactor(core/ui): raise exception on dialog cancel by default
4 years ago
Martin Milata 2b6ea25712 refactor(core): convert rest of apps.bitcoin to layouts
4 years ago
Martin Milata b1e38fe382 refactor(core): no implicit spaces in render_text
4 years ago
Martin Milata 2a5f5c1c20 refactor(core): convert parts of apps.monero to layouts
4 years ago
Martin Milata 6668921a4f refactor(core): convert apps.common.request_pin to layouts
4 years ago
Martin Milata 01900b8536 refactor(core): convert parts of apps.webauthn to layouts
4 years ago
Martin Milata ffe6d65f72 refactor(core): convert parts of apps.management to layouts
4 years ago
Martin Milata c09a142e2a refactor(core): convert apps.misc.* to layouts
4 years ago
Martin Milata 0b5d17bf49 refactor(core/ui): merge confirm_hexdata and show_pubkey
4 years ago
Martin Milata 6ded531f8f refactor(core): convert apps.common.sdcard to layouts
4 years ago
Martin Milata 035f114125 fix(core/ui): don't return CONFIRMED/CANCELLED from layouts
4 years ago
Rafael Korbas a9b8b0e119 feat(core/cardano): chunked serialization of signed transaction
4 years ago
gabrielkerekes 3cb686d452 fix(core/cardano): make witnesses order deterministic
4 years ago
Andrew Kozlik 2836bfc64c fix(core): Improve error handling and range checking in modtrezorconfig.
4 years ago
Andrew Kozlik 3084d1196d feat(core): Support 50 digit PIN and wipe code.
4 years ago
Pavol Rusnak da7214d82f
fix(common): update support.json to include Firo
4 years ago
Pavol Rusnak 4649b80b44
feat(core): allow secp256k1-zkp for bitcoin-only build
4 years ago
matejcik cb7152542d feat: drop DebugLinkShowText functionality
4 years ago
Rafael Korbas 74ed5b7018 feat(core/cardano): Implement bech32 asset ids based on CIP-0014
4 years ago
Rafael Korbas bd4512b53a fix(core/cardano): Allow stake pool registrations with zero margin
4 years ago
Andrew Kozlik b10acbe153 feat(core): Allow decreasing output amount in RBF transactions.
4 years ago
Andrew Kozlik 5593862dc1 fix(core): Disable hold-to-confirm animation when animations are disabled.
4 years ago
Andrew Kozlik 6de20a7dcd chore(core/bitcoin): Add DecredApprover.
4 years ago
Andrew Kozlik 523b1051c5 chore(core/bitcoin): Add stricter script_type checks in sanitizers.
4 years ago
Andrew Kozlik 6e8eebfc9c chore(core/bitcoin): Separate Decred-specific scripts from Bitcoin scripts.
4 years ago
JoeGruff e3ea32a986 multi: Add decred staking.
4 years ago
Pavol Rusnak 6c11bc60d7
common/defs/fido: add namecheap
4 years ago
Martin Milata ee2ec85983 fix(core): fix title shown for multisig address
4 years ago
Andrew Kozlik 850aa56691 docs(core): Add references to SLIPs in the code.
4 years ago
Andrew Kozlik a8c500bffd feat(core): Ensure that WebAuthn runs on port 21326 by default for both production and debug emulator.
4 years ago
Roman Zeyde 7ce4e13bcf feat(core): add public_key to ECDHSessionKey
4 years ago
Roman Zeyde b2877afa7f feat(common): add public_key to ECDHSessionKey
4 years ago
Pavol Rusnak 4b0f41d41e
fix(common): change msg_id of RebootToBootloader from 804 to 87
4 years ago
Ondrej Mikle 77e99078c3
chore(trezorlib): add generated message files
4 years ago
Ondrej Mikle 1579c62332
chore(legacy): reboot to bootloader protobuf generated messages
4 years ago
matejcik ed0ac98970 fix(common/tools): strip "mainnet" from Ethereum network names
4 years ago
Pavol Rusnak 17fa6ab4ec chore(common): update chains+tokens
4 years ago
Rafael Korbas ceea21ec1f feat(cardano): Format stake pool ids as bech32 instead of hex
4 years ago
Rafael Korbas 3197741795 fix(core/Cardano): account index validation in _should_hide_output()
4 years ago
Rafael Korbas cf871ee754 fix(core/Cardano): do not show change output in byron-shelley transfers
4 years ago
Martin Milata c28763c169 refactor(core): use reload_settings_from_storage on boot
4 years ago
Martin Milata 9b60cc0098 feat(core): restart loader from current position
4 years ago
Martin Milata 06b9d1314d fix(core): do not autolock when already locked
4 years ago
Martin Milata 192d0dcf87 feat(core): hold homescreen to lock
4 years ago
Martin Milata db2db8e6f3 feat(common): add hold_ms to DebugLinkDecision
4 years ago
Pavol Rusnak b4daf2f3e3
chore(core): run make gen to regenerate fido2 icons
4 years ago
Buck Perley 682298d7bb
fix(core): add exceptions for unchained capital paths
4 years ago
gabrielkerekes d4dcd7bff9 fix(core/cardano): allow staking accounts beyond 100'
4 years ago
Andrew Kozlik e5741ac308 chore(core): Use BufferReader for CBOR decoding.
4 years ago
Andrew Kozlik ac939c94aa fix(core/tezos): Implement strict length checking.
4 years ago
matejcik 6fd355756c fix(core/stellar): review usages of write_bytes_unchecked
4 years ago
matejcik 08edbca428 fix(core/eos): review usages of write_bytes_unchecked
4 years ago
matejcik 2231fe6842 feat(core): make protobuf.dump_uvarint more reusable
4 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.
4 years ago
Martin Milata 391602ae99 refactor(core): turn show_address, show_pubkey, show_xpub into layouts
4 years ago
Martin Milata 03699f5639 refactor(core): turn show_success, show_warning into layouts
4 years ago
Martin Milata f38abf9d89 refactor(core): introduce layouts
4 years ago
Martin Milata 18cb429610 feat(core): introduce Text.format_parametrized()
4 years ago
Martin Milata f1382bf892 refactor(core): model-dependent UI component directories
4 years ago
matejcik 73a28e12f2 fix(core): create protobuf messages correctly
4 years ago
matejcik 14037d0c31 chore: regenerate protobuf classes
4 years ago
matejcik bf562cfd4b feat(core/misc): enable typing for misc app
4 years ago
matejcik ccd241fe55 feat(core/cardano): enable typing for Cardano app
4 years ago
Pavol Rusnak 18b51b856b
common/fido: update icons for github, mojeid and slushpool (#1456)
4 years ago
matejcik 637ccadcb6 style(core): remove unused type:ignore comment after mypy upgrade
4 years ago
Rafael Korbas e4c406822c Add multiasset sending and min validity to Cardano transactions
4 years ago
Andrew Kozlik 79fad70b05 fix: Improve wording when showing multisig XPUBS.
4 years ago
Rafael Korbas 44c7d23741 Cardano: map account paths to account numbers
4 years ago
Pavol Rusnak 7f0e939359 feat(core): implement amount_unit for AuthorizeCoinJoin and SignTx
4 years ago
Pavol Rusnak 345ef52949 feat(proto): add amount_unit to AuthorizeCoinJoin and SignTx
4 years ago
Pavol Rusnak f3d5de15ef refactor(core): turn SECP256K1_ZKP into a firmware feature flag
4 years ago
Pavol Rusnak e85ed74f8f core: implement GetAddress.ignore_xpub_magic
4 years ago
Pavol Rusnak 4ed714ba47 common/defs: add xpub_magic_multisig_segwit_{native,p2sh} fields to coins
4 years ago
Pavol Rusnak 6689b9c22f common/protob: add GetAddress.ignore_xpub_magic field
4 years ago
Rafael Korbas 3a7a8e4d77 Disable "at least one output" restriction for Cardano, warn instead
4 years ago
mcudev b8ffcadf94
common/defs/fido: add gemini webauthn (#1416)
4 years ago
matejcik ed628ac4ba feat(core): make usb endpoints registration nicer
4 years ago
matejcik fc4e15fe77 feat(core): introduce and enforce limit on label length (fixes #1399)
4 years ago
matejcik 2d3a4d15fa fix(core/ui): render_text uses correct font and color with item_offset
4 years ago
matejcik 24195d7c3e fix(core/ui): use full line_width for content
4 years ago
matejcik e4b113b4bb fix(core/monero): make sure to pass strings to rendering
4 years ago
matejcik fd502f122f feat(core): implement pagination for sign/verify
4 years ago
matejcik bbef9c650b refactor(core): improve render_text behavior
4 years ago
Martin Milata fa2e672f98 chore(core): monero: drop extraneous async/await
4 years ago
Pavol Rusnak 5728f54b78 core: return root_fingerprint in PublicKey
4 years ago
Pavol Rusnak 92452d54e5 feat(core): implement GetPublicKey.ignore_xpub_magic behaviour
4 years ago
Pavol Rusnak e660a518c6 fix(core): show xpub instead of pubkey in GetPublicKey dialog
4 years ago
Pavol Rusnak edb1243f64 feat(proto): add descriptors related fields to GetPublicKey/PublicKey
4 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 1187e4ddaf style(common): use new syntax for typing in autogenerated protobuf enums
4 years ago
Pavol Rusnak 1e8673bf5f style(core/apps): use new syntax for typing
4 years ago
Pavol Rusnak a1dda836ec style(core/src): 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 faa57e29db build(core): include generated resources.py in repo
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
Martin Milata 93d45f1aba fix(core): increase minimum auto-lock delay to 1 minute
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