Commit Graph

1406 Commits (6be367bf8b591d48e1e74d709c34319cff9df1d1)

Author SHA1 Message Date
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
gabrielkerekes f2ee450410 Include metadata in transaction signing
4 years ago
gabrielkerekes 0438f318b4 Bring back cbor.Raw - to be used for metadata
4 years ago
gabrielkerekes 1ed8b56b7c Include Byron witness once for each input path
4 years ago
gabrielkerekes 7bf5cab840 Update sign_tx
4 years ago
gabrielkerekes a25444efd1 Move to_account_path() to utils
4 years ago
gabrielkerekes e92baf5b02 Update protobuf
4 years ago
Andrew Kozlik 7d07161efe common/fido: Unify application labeling between U2F and FIDO2.
4 years ago
Pavol Rusnak 063aba910d core: rename emulator to trezor-emu-core
4 years ago
matejcik 8502412dbc core/emulator: assume `-m main` when no arguments are provided
4 years ago
Martin Milata d955e3f1e5 core: rename class Overwintered to Zcashlike
4 years ago