Commit Graph

1516 Commits (andrewkozlik/storage-init-refactor)

Author SHA1 Message Date
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 58708cd70e docs(core): update changelog for #1271/#1384
3 years ago
matejcik 2d3a4d15fa fix(core/ui): render_text uses correct font and color with item_offset
3 years ago
matejcik e23e35332d tests(core): add test cases for Span
3 years ago
matejcik 24195d7c3e fix(core/ui): use full line_width for content
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 db5b65a420 perf(core): enable rendering of substrings to avoid slicing
3 years ago
Martin Milata fa2e672f98 chore(core): monero: drop extraneous async/await
3 years ago
Pavol Rusnak 1e6259a476
docs: update changelogs
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
Pavol Rusnak edb1243f64 feat(proto): add descriptors related fields to GetPublicKey/PublicKey
3 years ago
Pavol Rusnak 9ba1c9aa50 docs: mention that nanopb was bumped to 0.4.4 in changelogs
3 years ago
Pavol Rusnak 6739e4e5e1 docs: push releases 1.9.4 and 2.3.5 to February 2021
3 years ago
Pavol Rusnak 93215ae3c7 style: reformat with clang-format 11
3 years ago
Rafael Korbas edf9b4ee85 Refactor mnemonic_to_entropy to not (misleadingly) return checksum
3 years ago
Tomas Susanka d2e3269ede chore(core): bump version to 2.3.6
3 years ago
Andrew Kozlik a609eb5e90 docs(core): Add comment about "Invalid original TXID" message.
3 years ago
Andrew Kozlik 06ce14096c chore(core): Reject replacement transactions which involve negative
3 years ago
Andrew Kozlik 389f14d6c4 feat(legacy): Implement replacement transaction signing flow.
3 years ago
Andrew Kozlik aeb021b159 chore(core): Improve naming of SLIP39's T9 mask lookup.
4 years ago
Andrew Kozlik 7fc1851279 fix(crypto): Improve naming and robustness of SLIP39's T9 mask lookup.
4 years ago
matejcik 48024de685 chore: gitignore memperf results
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 0036686588 style(core/mocks): 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 624220b5da
core: update release date for 2.3.5
4 years ago
Pavol Rusnak 0519c8bd13
Revert "chore(core): bump version to 2.3.6"
4 years ago
Tomas Susanka 01d1058048 chore(core): bump version to 2.3.6
4 years ago
Pavol Rusnak 952adc5961
style(core): use PEP515 Underscores in Numeric Literals
4 years ago
matejcik fe55f0c1f0 build(core): do not regenerate resources for a mypy run
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 22cfcd1aed chore(core): missing changelog entry, formatting
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
Pavol Rusnak b9c0b3969b
legacy+core: unify error codes in bootloaders (#1347)
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 e62f6184a8 chore(core): add changelog entries
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 eadf8ab25f chore(core/tests): update unit tests for new APIs, drop unnecessary ones
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
Tomas Susanka e611a4a110 chore: bump changelog
4 years ago
Martin Milata 62a80e1332 feat(core): tools/alloc.py: generate html
4 years ago
Martin Milata c89a8b7bd5 ci(core): add memory profiler job
4 years ago
matejcik 93efe3ab63 feat(core): add alloc data analysis tool
4 years ago
matejcik af4463412f feat(core): count allocations per line
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 9e5d5bd5f9 feat: Add support for experimental field flag in protobuf.
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 ad6a0bc2a2 chore(common): Add new request types TXORIGINPUT and TXORIGOUTPUT.
4 years ago
Andrew Kozlik 5fc491c597 chore(core): In apps.bitcoin move BIP143 hashing back to a separate class.
4 years ago
Andrew Kozlik 443e0c101e chore(common): Add orig_hash and orig_index fields to TxInput and TxOutput.
4 years ago
Andrew Kozlik 9a594f4784 fix(core): Fix CoinJoin anonymity gain check in bitcoin approver.
4 years ago
Pavol Rusnak ded61a4ccf
chore(vendor): update micropython to v1.13
4 years ago
Martin Milata 830592f2d9 feat(core): add experimental_features setting
4 years ago
Martin Milata 0376670404 feat(common): expose 'unstable' option in generated code
4 years ago
Martin Milata 314cd260eb feat(common): add experimental_features setting
4 years ago
Pavol Rusnak bf6e9b4cad
fix(core): always recalculate header hashes
4 years ago
Martin Milata 9ed25a718a ci: handle full dependencies in shell.nix
4 years ago
Andrew Kozlik c67ecb984b chore(crypto): Move XPUB_MAXLEN and ADDRESS_MAXLEN from modtrezorcrypto to bip32.h.
4 years ago
Andrew Kozlik c21ca81a1e fix(core): Prevent sensitive data from being left on the call stack in modtrezorcrypto.
4 years ago
Pavol Rusnak d8534b5ee6
perf(core/extmod): replace HMAC Python implementation with C
4 years ago
Andrew Kozlik d90c3af6ea docs(core): Fix typos in slip39.py.
4 years ago
Tomas Susanka b9dc44a849 docs(core): note 2.3.4 as released in Changelog
4 years ago
Martin Milata 542f32d3b1 feat(core): add auto_lock_delay and display_rotation to Features
4 years ago
Martin Milata b2c4bbdaa2 feat(common): add auto_lock_delay and display_rotation to Features
4 years ago
matejcik e4785d47e0 style: apply black 20.8b1
4 years ago
Rafael Korbas 2173ad97bc Refactor t<page number> to page<page_number> in cardano get_address call
4 years ago
Rafael Korbas 66dbdc2462 Enforce network id/protocol magic consistency for cardano show address
4 years ago
Juraj Muravsky 638977db7d Swap path with address type on screen in cardano get address
4 years ago
Pavol Rusnak 649e31cef0 chore(core/bootloader): regenerate messages with nanopb 0.4.3
4 years ago
Pavol Rusnak 71058eedd5 chore(vendor/nanopb): update nanopb from 0.4.1 to 0.4.3
4 years ago
Tomas Susanka 0317877297 chore(core): bump version to 2.3.5
4 years ago
matejcik 0eed360037 chore: make tx type names shorter
4 years ago
matejcik b6b65bffff docs(core): update changelog
4 years ago
matejcik 35035dabcb ci: omit generated protobuf classes from coverage report
4 years ago
matejcik 8b2e46eb2d chore(core): update unit tests to kwargs usage and new TxAck subtypes
4 years ago
matejcik d89c42e139 feat(core): add more mypy targets
4 years ago
matejcik 244b264b47 chore(core): fix typing and kwargs usage
4 years ago
matejcik ef4022fbf5 auto: regenerate protobuf classes
4 years ago
matejcik 37025e2a84 feat(core): use specialized protobufs in apps.bitcoin, enable typing
4 years ago
matejcik b0a2297b14 feat(core): convert protobuf decoding errors to DataErrors
4 years ago
matejcik 6ba08526e1 fix(core): fix type annotations on CoinInfo
4 years ago
matejcik 7e5d9e295b fix(core): help mypy understand micropython's module management
4 years ago
matejcik 90ee5f3d38 feat!: implement protobuf required fields and default values
4 years ago
Pavol Rusnak f8489f16e4 fix(common/defs): remove FSN, ICX which migrated to mainnet
4 years ago
Martin Milata cff4955f93 core: implement SafetyChecks.PromptTemporarily
4 years ago
Martin Milata 7d37b2c90f common: add PromptTemporarily to SafetyChecks enum
4 years ago
Martin Milata 9d2ad96ad4 core: add SafetyCheckLevel to Features
4 years ago
Martin Milata 9f066e877d common: add SafetyCheckLevel to Features
4 years ago
Martin Milata 163ccedb39 core: allow const() values to have Literal type
4 years ago
Tomas Susanka cd1d5195fd docs(core): add changelog for Oct release
4 years ago
Pavol Rusnak 65e20119ea
docs(changelog): fix typo
4 years ago
Andrew Kozlik 295710c37d core/bitcoin: Check ownership proofs using the provided commitment data.
4 years ago
Andrew Kozlik 5d745d5d04 common/protob: Add commitment_data to TxInputType.
4 years ago
Dusan Klinec 9d7b0bf50c xmr: fix new transaction type for CLSAG, HF=13
4 years ago
Andrew Kozlik 9774c99e90 core/tests: Fix unit tests for streamimg prev_tx after confirmation.
4 years ago
Andrew Kozlik dad2852db9 core/bitcoin: Stream prev_tx after confirmation.
4 years ago
Tomas Susanka ebc99435ab Revert "core: remove ownership messages from the public api for now"
4 years ago
Tomas Susanka b99b8b3df3 Merge remote-tracking branch 'origin/release/2020-09'
4 years ago
Pavol Rusnak c1dd07a2e4
core+legacy: update dates in changelogs
4 years ago
Martin Milata f3fd98a7ba core: remove 1px of space on the left of each glyph
4 years ago
Martin Milata b8bb63fbef core: drop unused FONT_SIZE constant
4 years ago
Tomas Susanka 19461398d7 core/cardano: reuse derived Shamir seed (fixes #1007)
4 years ago
Tomas Susanka 0d5f00668f
core: remove ownership messages from the public api for now
4 years ago
Ondřej Vejpustek 09667a676e core/tools: update hid-bridge readme
4 years ago
matejcik e0583dd5cb all: use a specific error code for "invalid session"
4 years ago
matejcik 4909821f35 core: implement EndSession
4 years ago
Martin Milata c7934116ec
core: introduce TREZOR_MODEL flag (#1233)
4 years ago
Martin Milata df5421e7d6 common/defs: update maxfee_kb to 10USD/tx
4 years ago
Martin Milata f51fac3410 common/defs: update maxfee_kb to 10USD/tx
4 years ago
matejcik 032a65e1cf python: export toif as public module
4 years ago
Pavol Rusnak 41f5237967
common/defs: enable extra_data for FLO
4 years ago
Pavol Rusnak 534695313c
common/defs: enable extra_data for FLO
4 years ago
Tomas Susanka d080464cc5 core, legacy: bump versions (also in changelogs)
4 years ago
Tomas Susanka e137f196f8 core/changelog: update
4 years ago
Andrew Kozlik f2d669ecdc core/bitcoin: Use dynamic dispatch for confirmation dialogs in sign_tx.
4 years ago
Andrew Kozlik 02da5b7593 core/bitcoin: Show warning if nLockTime is set but ineffective due to all nSequence values being 0xffffffff.
4 years ago
Pavol Rusnak 146ee7af89 update changelogs
4 years ago
Pavol Rusnak cdf0f68bb0 core: show passphrase on device
4 years ago
Pavol Rusnak 21b4c5b60e
core/bootloader_ci: fix typos in the previous commit
4 years ago
Ondrej Mikle 8d3d3be09c
core/bootloader_ic: introduce CI bootloader for TT device tests (#1182)
4 years ago
Martin Milata 1b982659c4
core: fix boot loop after uploading invalid homescreen (#1205)
4 years ago
Pavol Rusnak 0620911e46 core: allow spending coins from Bitcoin paths if the coin ...
4 years ago
Alexis Hernandez 96c38315df
common/defs: enable extra_data for XSN (#1208)
4 years ago
Andrew Kozlik dd540a2ccd core/ui: Initialize Qr class properly.
4 years ago
gabrielkerekes 431a25b119 Add Cardano README.md
4 years ago
Pavol Rusnak c3ce9de3ea core: regenerate coins+tokens
4 years ago
Pavol Rusnak fd87c62b68 common/defs: remove coins with no Trezor-compatible wallets
4 years ago
Martin Milata 71c5bc4e3b ci: fail if coverage falls under threshold
4 years ago
Martin Milata 3f21e8f400 core: display coin name when signing message
4 years ago
Martin Milata 927ee0812b core: add hard limit for transaction fees
4 years ago
Tomas Susanka c9dc38c9f3 core: allow 49/x not 49/x' for Casa
4 years ago
Pavol Rusnak 5536fbb98a python: use stdlib blake2s on python 3.6+
4 years ago
Pavol Rusnak d1973b7486
pipenv: update Pipfile
4 years ago
Pavol Rusnak 02b6656471
core: update changelog
4 years ago
Pavol Rusnak 4e11735d22 core/modtrezorui: remove prefill from text functions
4 years ago
matejcik 2e5771db79 core: add changelog entry
4 years ago
matejcik 5385617eda core: increase address length limit to accomodate CRW (fixes #1139)
4 years ago
matejcik 51ea8ccecd common: update token support
4 years ago
Pavol Rusnak fd2ddbfb03
core+legacy: expand month names in changelogs
4 years ago
Pavol Rusnak 65805c9145
core: fix non-determinism in resources.py.mako
4 years ago
matejcik cea634158a core: make sure Homescreen is properly initialized (fixes #1095)
4 years ago
Tomas Susanka 16827c3135 core: make templates
4 years ago
Pavol Rusnak 3fffa9ae68
common/defs: enable XVG
4 years ago
gabrielkerekes afa26e7560 Use correct paths for Cardano Byron witnesses
4 years ago
Andrew Kozlik 292d909235 core/base: Implement CancelAuthorization message.
4 years ago
Andrew Kozlik 8bcb3d8fb6 core/storage: Add delete() method to storage.cache.
4 years ago
Andrew Kozlik 5c1f197602 common/protob: Add CancelAuthorization message.
4 years ago
Andrew Kozlik a6c06b5c5f core: Update changelog with CoinJoin flow.
4 years ago
Andrew Kozlik 791a74aeb2 core/tests: Add unit tests for CoinJoinApprover and CoinJoinAuthorization.
4 years ago
matejcik cd86f9f477 core/bitcoin: make change check more robust against short paths
4 years ago
Andrew Kozlik 07d9b780a6 core/bitcoin: Change CoinJoin round ID length to 32 bytes and remove rate limiting.
4 years ago
Andrew Kozlik 377bff68f4 core/bitcoin: Implement DoPreauthorized message.
4 years ago
Andrew Kozlik 2c30dd62fc common: Add DoPreauthorized message.
4 years ago
Andrew Kozlik b9cfecb8b8 core/bitcoin: Support preauthorization in SignTx message for CoinJoin.
4 years ago
Andrew Kozlik 97fc9b74ab core/bitcoin: Implement CoinJoinApprover.
4 years ago
Andrew Kozlik 472e853f0a core/tests: Fix unit tests to work with BasicApprover in sign_tx.
4 years ago
Andrew Kozlik d6ee542deb core/bitcoin: Move transaction confirmation logic from Bitcoin to BasicApprover class.
4 years ago
Andrew Kozlik 00258f2d4d core/bitcoin: Support preauthorization in GetOwnershipProof message.
4 years ago
Andrew Kozlik c772de9d3c core/bitcoin: Support preauthorization in @with_keychain decorator.
4 years ago
Andrew Kozlik 208283e13e core/bitcoin: Implement AuthorizeCoinJoin message.
4 years ago
Andrew Kozlik 48a331aa1d core/bitcoin: Add CoinJoinAuthorization class.
4 years ago
Andrew Kozlik dc32a17335 core/bitcoin: Move BIP32_WALLET_DEPTH to common.
4 years ago
Andrew Kozlik bbab13f6e7 common/protob: Add AuthorizeCoinJoin message.
4 years ago
Ondřej Vejpustek 59002118c0 core/extmod: explicitly initialize automatic variables
4 years ago
gabrielkerekes 683d7420ff Fix Cardano Shelley public key validation
4 years ago
matejcik c3afb93837 core/tests: improve test harness (fixes #1157)
4 years ago
Pavol Rusnak efc5ccdaf0
core: remove src1
4 years ago
Tomas Susanka 16a5858544 core: add Casa/Greenaddress paths exceptions to Changelog
4 years ago
Martin Milata e5bdca655a core: don't scale emulator background image
4 years ago
Gabriel Kerekeš c0eba979c6 Fix bare 'except' style error - catch Exception instead
4 years ago
gabrielkerekes 7a1e773b49 Validate transaction metadata
4 years ago