Commit Graph

701 Commits (a6acefbdf53ee44d973f6a92527cd1cb9cf99157)

Author SHA1 Message Date
matejcik bd5b3a3f21 common: drop Theta and VeChain ERC tokens, refresh market caps
4 years ago
matejcik 5209804fc3 core: relax path checks on GetPublicKey
4 years ago
matejcik 554d8949f5 core: relax path checks on GetPublicKey
4 years ago
matejcik d59ffe553f make gen
4 years ago
Andrew Kozlik 42eddf8e04 core/sign_tx: validate prevout amount in all cases
4 years ago
Andrew Kozlik 7db3e930d4 core/sign_tx: Add further message sanitization checks.
4 years ago
matejcik 72ef86d79a all: enable extra_data for komodo
4 years ago
matejcik 7a3637d5b0 core/sign_tx: add checks for version_group_id and branch_id fields
4 years ago
Tomas Susanka 9dfc08ca61 core/bitcoin: drop decred_script_version
4 years ago
matejcik eeb46eabca common: refresh token list
4 years ago
matejcik 2f665c8f84 core: add exception to GetPublicKey for PSBT master fingerprint (fixes #999)
4 years ago
Tomas Susanka a2f790167d core/bitcoin: fix step 1 and 2 comments in signing
4 years ago
Tomas Susanka 1ac0f60550 core: update isort config to place relative imports last
4 years ago
Tomas Susanka aa115b6320 core: move decred writers to decred.py
4 years ago
Tomas Susanka 3084ee1eed core/bitcoin: move write_bitcoin_varint to common writers
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 123b07e3ad core: drop support for pre-registering keychain namespaces
4 years ago
matejcik de9e73dcbc core/tests: update unit tests for new keychain API
4 years ago
matejcik f3f6e2101a core/cardano: explanation about seed derivation
4 years ago
matejcik a31b2cd1bc core/wallet: implement keychain for apps.wallet
4 years ago
matejcik 0dff3853a7 core/ethereum: introduce custom keychain decorators
4 years ago
matejcik b594248ac2 core: use new keychain decorators where appropriate
4 years ago
matejcik fd9e945308 core/cardano: use caching decorators and new Keychain API for Cardano as well
4 years ago
matejcik 7541d529a3 core: refactor keychain API, introduce SLIP44 decorator
4 years ago
matejcik 8c4cb58098 core: introduce caching decorators
4 years ago
matejcik 63dfcb17a7 core: make mypy happy about importing fatfs
4 years ago
Dusan Klinec 6b8fc9c894
xmr: major protocol upgrade, CLSAG support added
4 years ago
Andrew Kozlik 3de565c33c core/sign_tx: In write_tx_header() rename has_segwit parameter to witness_marker and clarify usage.
4 years ago
Andrew Kozlik 846116a666 core/sign_tx: Improve comments.
4 years ago
Andrew Kozlik 7370077d0c core/sign_tx: Get rid of internal TxOutputBinType messages.
4 years ago
Andrew Kozlik 9f9618944a core/sign_tx: Explicitly pass script to write_tx_input() instead of setting it in txi.
4 years ago
Andrew Kozlik 04bdf1dc6c core/sign_tx: Remove unused index parameters.
4 years ago
Andrew Kozlik c9814e50ba core/sign_tx: Set decred_script_version to 0 by default for decred coins.
4 years ago
Andrew Kozlik dccf415e0b core/sign_tx: Add write_tx_output() to signer class and override it in Decred.
4 years ago
Andrew Kozlik bdd1d25979 core/sign_tx: Require change-outputs to be for a non-zero amount.
4 years ago
Andrew Kozlik d5faeb3f51 core/sign_tx: Clarify sign_nonsegwit_input().
4 years ago
matejcik 9005093435 core/sign_tx: improve documentation on MatchCheckers
4 years ago
matejcik 0209768ff2 core/sign_tx: improve type hints
4 years ago
matejcik ff41e5c304 core/sign_tx: improve signer selection readability
4 years ago
Andrew Kozlik 8b89a30955 core/sign_tx: Remove get_prevouts_hash(), get_sequence_hash(), get_outputs_hash() methods from signer classes, because they are only used internally.
4 years ago
Andrew Kozlik 22933587be core/sign_tx: Merge bip143 classes into signer classes.
4 years ago
Andrew Kozlik 6ad3baeab2 core/sign_tx: Refactor BIP-143 signing.
4 years ago
Andrew Kozlik d58cd3987b core/sign_tx: Minor updates based on code review.
4 years ago
Andrew Kozlik be39f271b0 core/sign_tx: Rework transaction footer writing.
4 years ago
Andrew Kozlik b60f267da9 core/sign_tx: Rework transaction header writing.
4 years ago
Andrew Kozlik c1effcc374 core/sign_tx: Updates based on code review.
4 years ago
Andrew Kozlik c2a0f83558 core/sign_tx: Move script derivation to scripts module.
4 years ago
Andrew Kozlik d0b80bddc8 core/tests: Fix unit tests after sign_tx refactor.
4 years ago
Andrew Kozlik be7e98aa47 core/sign_tx: Move Bitcoin class to bitcoin.py.
4 years ago
Andrew Kozlik a07e125793 core/sign_tx: Consolidate wallet path and multisig fingerprint checking.
4 years ago
Andrew Kozlik 27e6720f3d core/sign_tx: cleanup
4 years ago
Andrew Kozlik 987b70f1f5 core/sign_tx: Move header prepending up by one level.
4 years ago
Andrew Kozlik 2ceb091d68 core/sign_tx: Use a preallocated buffer for transaction serialization.
4 years ago
Andrew Kozlik 555259d6a9 core/sign_tx: Remove last_output_bytes in Decred, which is no longer needed.
4 years ago
Andrew Kozlik f1801764a1 core/sign_tx: Fix segwit/non-segwit input interleaving bug.
4 years ago
Andrew Kozlik 514f2ac649 core/sign_tx: Refactor to use template method.
4 years ago
Andrew Kozlik 95fad83024 core/sign_tx: Derive Zip143 and DecredPrefixHasher from Bip143.
4 years ago
Andrew Kozlik e9900df18d core/sign_tx: Move Overwintered class to zcash.
4 years ago
Andrew Kozlik 60dbec95ac core/sign_tx: Reuse get_prevtx_output_value() in Decred.
4 years ago
Andrew Kozlik 2b74513e49 core: Fix mypy.
4 years ago
Andrew Kozlik 50c08274b9 core/sign_tx: Move overwintered functionality to separate class.
4 years ago
Andrew Kozlik c190eed7fc core/sign_tx: Move non-Bitcoin functionality to Bitcoinlike class.
4 years ago
Andrew Kozlik 613c81ea66 core/sign_tx: Refactor wallet_path functions and input_check_multisig_fingerprint.
4 years ago
Andrew Kozlik 0d9984671e core/sign_tx: Fix typing.
4 years ago
Andrew Kozlik 79c60615de core: Fix typing.
4 years ago
Andrew Kozlik ba8b34b2d7 core: Refactor signing.
4 years ago
Tomas Susanka 20d66adddd core: disable passphrase_always_on_device when turning off passphrase
4 years ago
matejcik 5885978c83 Merge branch 'release/2020-04'
4 years ago
Andrew Kozlik 9e4a8ca785 core/webauthn: Improve error codes for uninitialized device. Return ERR_OPERATION_DENIED only upon user decline or timeout, otherwise it cancels the operation on all connected authenticators.
4 years ago
Dusan Klinec 25b6e9058f xmr: proto - add fields for protocol optimization
4 years ago
Andrew Kozlik bc4e8eaa16 core/webauth: Update readme with Ed25519 algorithm and certificates.
4 years ago
matejcik eec0615444 core: drop sys.pyi from mocks (fixes #934)
4 years ago
Andrew Kozlik fca92d7344 core/webauthn: Update attestation certificate to comply with WebAuthn requirements.
4 years ago
Andrew Kozlik 25a39ea729 core/webauthn: Fix handling of interleaving frames to comply with the U2F HID specification.
4 years ago
jagdeep sidhu e58c5f63d5
common/defs: update SYS (#928)
4 years ago
Tomas Susanka 0b7a8449f8 core: style
4 years ago
Tomas Susanka bf20537f41 core: add option to omit cancel button in HoldToConfirm; add it to reset
4 years ago
Andrew Kozlik 8ae0535e69 core/webauthn: Fix attestation statement format to use a list in the x5c field.
4 years ago
Tomas Susanka aa71c20f2c core: require hold to confirm
4 years ago
Tomas Susanka f786d75a6f core: drop obsolete check for ANYONECANSPEND segwit outputs
4 years ago
Tomas Susanka d0d41c884e legacy: move script type checks to separate functions and unify with core
4 years ago
matejcik da89a17ce5 all: add checks for prev_hash size
4 years ago
matejcik c15519f707 core/sign_tx: modify get_tx_header to avoid writing unchecked bytes
4 years ago
matejcik 9cab61fbd3 core/sign_tx: remove write_bytes_unchecked where appropriate
4 years ago
matejcik 27f6306e1d core: introduce safer write_bytes functions
4 years ago
matejcik 9a5f6b025a core/tezos: factor out writing Michelson instructions
4 years ago
matejcik 694f714719 core/ripple: rename write_bytes to avoid name collision
4 years ago
Tomas Susanka 64584e271c legacy, core: add and unify validation checks
4 years ago
matejcik ffdb299c61 all: drop Capricoin support [NO BACKPORT]
4 years ago
matejcik adea7d6b35 all: make timestamp mandatory on timestamp-enabled coins
4 years ago
matejcik e2035b4972 all: drop Horizen and BIP-115 support [NO BACKPORT]
4 years ago
matejcik 6f9c6361ea core: remove negative_fee and cashaddr_prefix from bitcoin-only fw
4 years ago
matejcik 7d5771911c core: flip condition for force_bip143
4 years ago
matejcik ed464f3d47 all: ensure expiry, timestamp and extra_data are blocked as appropriate
4 years ago
matejcik 27803ee8c1 all: drop overwintered field from transaction
4 years ago
matejcik c9fd3f77a5 all: add overwintered field to coin specification
4 years ago
Pavol Rusnak 817b922850 all: add extra_data and timestamp fields to coin specification
4 years ago
matejcik 136307bcae core: propagate coin info to all sanitize functions
4 years ago
matejcik 303c05aba7 core/sign_tx: check if prev_tx has enough outputs to match prev_index
4 years ago