Commit Graph

288 Commits (f607cb25019f0bc18bae281ce294a52810fc5ec5)

Author SHA1 Message Date
Pavol Rusnak 7e64ccbaf9 feat(core): add BIP-350 test cases to test_trezor.crypto.bech32
3 years ago
Pavol Rusnak a45e103875 fix(core): remove 3 BIP-173 test cases from test_trezor.crypto.bech32
3 years ago
Pavol Rusnak 9aa07c7f96 feat(core): update bech32.py to support Bech32m
3 years ago
amadejpapez 85ba7c12ba style(all): use f-strings for formatting
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
matejcik b666895303 feat(core/rust): catch, handle and propagate uPy exceptions
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
Martin Milata f37ca13f1a refactor(core): disable SD, SBU, fatfs for T1 build
3 years ago
gabrielkerekes 28f0f60295 feat(cardano): update tests for streamed tx signing
3 years ago
gabrielkerekes b0c8590f00 feat(cardano): streamed transaction signing
3 years ago
Martin Milata 574dcbc8a3 refactor(core): convert apps.common to layouts
3 years ago
Pavol Rusnak f740515c85 fix(core,crypto): add more test cases from bip-173
3 years ago
matejcik cf15dce326 refactor(core/ethereum): improve API of the rlp module
3 years ago
Andrew Kozlik 3e9f8a32ac fix(core): Fix insufficient BIP-32 path checks.
3 years ago
gabrielkerekes 3cd2182b69 feat(core): introduce OrderedMap into CBOR serialisation
3 years ago
matejcik 3c4eb04346 feat(core/monero): cache Monero testing chain between runs
3 years ago
matejcik 52c34c7364 fix(core): allow caching empty values (fixes #1659)
3 years ago
gabrielkerekes 597402eab8 refactor(core/cardano): decouple address parameters validation
3 years ago
matejcik 1382246977 fix(core/tests): fix equality testing for new message types
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 f1a54f2108 refactor(core): remove more global imports
3 years ago
matejcik b5c1b37a56 chore(core/tests): bump heap size for core unit tests
3 years ago
matejcik aaa3ce6117 fix(core/bitcoin): fix CoinJoin authorization with new cache
3 years ago
matejcik f3db4f2dd3 refactor(core): defragment PathSchema memory usage
3 years ago
matejcik 3cdb09c294 refactor(core): modify cache to preallocate all its data
3 years ago
Martin Milata 720eaa3abd ci: run monero tests on hardware
3 years ago
Rafael Korbas a9b8b0e119 feat(core/cardano): chunked serialization of signed transaction
3 years ago
Andrew Kozlik 25411e22c9 test(core): Add unit test for modtrezorconfig counter.
3 years ago
Andrew Kozlik 2836bfc64c fix(core): Improve error handling and range checking in modtrezorconfig.
3 years ago
Andrew Kozlik 3084d1196d feat(core): Support 50 digit PIN and wipe code.
3 years ago
Rafael Korbas 74ed5b7018 feat(core/cardano): Implement bech32 asset ids based on CIP-0014
3 years ago
Andrew Kozlik 6de20a7dcd chore(core/bitcoin): Add DecredApprover.
3 years ago
JoeGruff e3ea32a986 multi: Add decred staking.
3 years ago
Rafael Korbas 3197741795 fix(core/Cardano): account index validation in _should_hide_output()
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 2231fe6842 feat(core): make protobuf.dump_uvarint more reusable
3 years ago
Martin Milata f1382bf892 refactor(core): model-dependent UI component directories
3 years ago
matejcik ccd241fe55 feat(core/cardano): enable typing for Cardano app
3 years ago
Pavol Rusnak 7f0e939359 feat(core): implement amount_unit for AuthorizeCoinJoin and SignTx
3 years ago
Pavol Rusnak f3d5de15ef refactor(core): turn SECP256K1_ZKP into a firmware feature flag
3 years ago
matejcik e23e35332d tests(core): add test cases for Span
3 years ago
Martin Milata db5b65a420 perf(core): enable rendering of substrings to avoid slicing
3 years ago
Rafael Korbas edf9b4ee85 Refactor mnemonic_to_entropy to not (misleadingly) return checksum
4 years ago
Martin Milata ee64b65b26 refactor(core): call super().__init__() in subclasses
4 years ago
matejcik 4628c774aa feat(core): re-allow unknown Ethereum networks, using Ethereum or Testnet paths (fixes #1335)
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 eadf8ab25f chore(core/tests): update unit tests for new APIs, drop unnecessary ones
4 years ago
matejcik 7fe5c804ff feat(core): implement BIP-32 path schemas
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 5fc491c597 chore(core): In apps.bitcoin move BIP143 hashing back to a separate class.
4 years ago
Martin Milata 9ed25a718a ci: handle full dependencies in shell.nix
4 years ago
Pavol Rusnak d8534b5ee6
perf(core/extmod): replace HMAC Python implementation with C
4 years ago
matejcik 0eed360037 chore: make tx type names shorter
4 years ago
matejcik 8b2e46eb2d chore(core): update unit tests to kwargs usage and new TxAck subtypes
4 years ago
matejcik 90ee5f3d38 feat!: implement protobuf required fields and default values
4 years ago
Martin Milata cff4955f93 core: implement SafetyChecks.PromptTemporarily
4 years ago
Andrew Kozlik 9774c99e90 core/tests: Fix unit tests for streamimg prev_tx after confirmation.
4 years ago
Tomas Susanka b99b8b3df3 Merge remote-tracking branch 'origin/release/2020-09'
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
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 0620911e46 core: allow spending coins from Bitcoin paths if the coin ...
4 years ago
Andrew Kozlik 791a74aeb2 core/tests: Add unit tests for CoinJoinApprover and CoinJoinAuthorization.
4 years ago
Andrew Kozlik 472e853f0a core/tests: Fix unit tests to work with BasicApprover in sign_tx.
4 years ago
matejcik c3afb93837 core/tests: improve test harness (fixes #1157)
4 years ago
Pavol Rusnak 063aba910d core: rename emulator to trezor-emu-core
4 years ago
Martin Milata d955e3f1e5 core: rename class Overwintered to Zcashlike
4 years ago
Martin Milata 10387e1869 core: drop zcash v3 tx signing support
4 years ago
Gabriel Kerekeš d2c1624602 Cardano shelley update 2/3 (#1112)
4 years ago
gabrielkerekes e1615e60ec Update Cardano to support Shelley era 1/3
4 years ago
matejcik b741560997 core/bitcoin: drop unused validate_path_for_bitcoin_public_key
4 years ago
matejcik 58f460627f core/tests: add unit tests for new functionality
4 years ago
matejcik a461853cf6 core/tests: fix bitcoin unit tests
4 years ago
matejcik 7befdd07e4 core/tests: update unit tests
4 years ago
matejcik 3514a31bc9 core: make USB codec resilient to OOM conditions
4 years ago
matejcik 0a758b8181 core/tests: add synchronous protobuf tests
4 years ago
Martin Milata fd117a0c9f core: raise error on auto-lock value out of range
4 years ago
Pavol Rusnak 57ae902aed
core/monero: don't download test binary even if hash is different
4 years ago
Pavol Rusnak 5d666376f0
core/monero: update tests binary
4 years ago
Andrew Kozlik 791ff3fe06 core/tests: Add unit tests for SLIP-0019 proofs of ownership.
4 years ago
Andrew Kozlik d48a372ca7 core/sign_tx: Implement support for signed external inputs.
4 years ago
Andrew Kozlik 3b6c1e5e6b core/crypto: Add functions for verifying DER encoded signatures.
4 years ago
Andrew Kozlik 99f01cd316 core/sign_tx: Check script_pubkeys of inputs.
4 years ago
Tomas Susanka a6acefbdf5 core: wipe before reset and recovery; introduce 'intialized' field
4 years ago
Tomas Susanka 56fe5adcfc Merge branch 'release/2020-06'
4 years ago
matejcik d5e45c02bb core: move base functions from "homescreen" app to "base"
4 years ago
Andrew Kozlik cb32ae2e4b core/tests: add request_meta queries to unit tests (needed for transaction streaming)
4 years ago
Andrew Kozlik 42eddf8e04 core/sign_tx: validate prevout amount in all cases
4 years ago
Tomas Susanka 445f56d387 core/bitcoin: finalize bitcoin refactor
4 years ago
matejcik aa52fc3903 core/extmod: drop unused rfc6979 module
4 years ago
matejcik 3e06f4779a core/tests: add new keychain tests
4 years ago