Commit Graph

1406 Commits (6be367bf8b591d48e1e74d709c34319cff9df1d1)

Author SHA1 Message Date
Tomas Susanka 34bd57006f core, legacy: set version of the upcoming release in Changelog
4 years ago
Martin Milata fd117a0c9f core: raise error on auto-lock value out of range
4 years ago
Andrew Kozlik 4005f4832f core/embed: Set VCP write timeout to 0.
4 years ago
Ondrej Mikle 33d2bf417b core: replace bootloader only in production. Fix device for T1 core port JLink upload
4 years ago
matejcik 051763575d core: touch idle timer in keyboards (fixes #1099)
4 years ago
matejcik 2c4ecff0a4 core: fix synthetic events breaking io.poll delay calculation
4 years ago
Andrew Kozlik eb28998f98 core/bitcoin: Support multiple change-outputs.
4 years ago
matejcik 2c8e5f527b all: rename changelogs to .md for highlighting
4 years ago
matejcik a19a9a318a all: improve changelog formatting
4 years ago
matejcik 476cf2ee8f core, legacy: more changelog entries
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 37f4dcc7e5 core/bitcoin: Rename witness_p2wsh() to witness_multisig().
4 years ago
Andrew Kozlik 91b615c217 core: Update changelog.
4 years ago
Andrew Kozlik 9cd600f79e core/bitcoin: Add special confirmation screen for transactions with external inputs.
4 years ago
Andrew Kozlik 64d9350de2 core/bitcoin: Implement GetOwnershipId message.
4 years ago
Andrew Kozlik 533de50588 common/protob: Add GetOwnershipId message.
4 years ago
Andrew Kozlik 712ec68c1b core/bitcoin: Add support for external inputs with proof of non-ownership.
4 years ago
Andrew Kozlik 956ea9a94f common: Add ownership_proof field to TxInputType.
4 years ago
Andrew Kozlik 791ff3fe06 core/tests: Add unit tests for SLIP-0019 proofs of ownership.
4 years ago
Andrew Kozlik d4317d1536 core/bitcoin: Implement generation and verification of SLIP-0019 proofs of ownership.
4 years ago
Andrew Kozlik d52de28704 core/bitcoin: Implement BIP-322 SignatureProof container.
4 years ago
Andrew Kozlik c723c78529 common/protob: Add GetOwnershipProof message.
4 years ago
Andrew Kozlik d48a372ca7 core/sign_tx: Implement support for signed external inputs.
4 years ago
Andrew Kozlik 78f14d286e core/sign_tx: Factor out get_legacy_tx_digest() from sign_nonsegwit_input().
4 years ago
Andrew Kozlik 61e2d4d5e5 core/bitcoin: Implement signature verifier.
4 years ago
Andrew Kozlik 5378e12ba2 core/bitcoin: Clarify hash_type vs. sighash_type terminology.
4 years ago
Andrew Kozlik d1e043f417 core/bitcoin: Implement parsing of scripts and witnesses for signature verification.
4 years ago
Andrew Kozlik 173bb7ed13 core/bitcoin: Replace TxInputType parameter in input_derive_script.
4 years ago
Andrew Kozlik a901573ea2 core/bitcoin: Move script types from helpers to common.
4 years ago
Andrew Kozlik 3b6c1e5e6b core/crypto: Add functions for verifying DER encoded signatures.
4 years ago
Andrew Kozlik 9459c5a5c2 core/common: Add BytearrayReader and basic reader functions.
4 years ago
Andrew Kozlik 99f01cd316 core/sign_tx: Check script_pubkeys of inputs.
4 years ago
Andrew Kozlik cc655575c8 common: Add witness field to TxInputType.
4 years ago
Andrew Kozlik 872768928b core/crypto: Fix endianity in DER length encoding.
4 years ago
Andrew Kozlik e7f230d66e core/sign_tx: Use varint length encoding for witness stack items.
4 years ago
Tomas Susanka 3a3e5739b0 core, legacy: update changelogs
4 years ago
Tomas Susanka fc9eb63114 core: add previous commit to changelog
4 years ago
Tomas Susanka 0f9a2459d3 core: make QR code smaller for Monero
4 years ago
Tomas Susanka ca3dd2bfb9 common: skip deprecated fields during generation; deprecate overwintered field in Zcash
4 years ago
matejcik e6e3043096 all: implement support for pre-overwinter prevtx (fixes #1030)
4 years ago
Andrew Kozlik f382f77c89 core/ui: Fix repaint bug in QR code rendering #1067.
4 years ago
Tomas Susanka e534ae3ad7 legacy, core: rename Features.pin_cached to unlocked and unify
4 years ago
Tomas Susanka b6c8cbc24c core: add 'initialized' to changelog
4 years ago
Tomas Susanka a6acefbdf5 core: wipe before reset and recovery; introduce 'intialized' field
4 years ago
Andrey 1eeaa1e5cf Enable extra_data for Zcoin. Changed coininfo.py
4 years ago
Tomas Susanka b67be7dd9e core: forbid all settings if not initialized
4 years ago
Tomas Susanka f8b2f0bb7b changelogs: change also bootloader changelogs to the new format
4 years ago
Tomas Susanka 9979af3cd2 changelogs: start using more detailed changelog
4 years ago
Tomas Susanka 981d079d7f core/signverify: add failsafe for an empty message header
4 years ago
Tomas Susanka 56fe5adcfc Merge branch 'release/2020-06'
4 years ago
Andrew Kozlik d1690f4317 core/tools: fix pixel-perfect mode for centered text in dialog-designer
4 years ago
Pavol Rusnak 179645e3ad core: unify usage of TREZOR_MODEL
4 years ago
Ondrej Mikle c877dc8dd6 core: port storage to T1
4 years ago
Pavol Rusnak 2815b62838
core/tools: implement "pixel-perfect" mode for dialog-designer tool
4 years ago
Pavol Rusnak 5262ef84cf common/defs/fido: add aws and tutanota
4 years ago
Andrew Kozlik 9c61257e8e core: Use the Lock icon in the PIN entry dialog only when the device is actually locked.
4 years ago
Pavol Rusnak 5ed64a0736
core/tools: refactor dialog-designer tool
4 years ago
Pavol Rusnak d9d5511858
core/tools: add quick'n'dirty dialog-designer tool
4 years ago
matejcik 7579ac5274 core: fix rendering issues in homescreens
4 years ago
matejcik 9df7c84c56 core/ui: lower lockscreen brightness
4 years ago
matejcik 8fa7684a9c core: set a scheduler-safe maximum for autolock
4 years ago
matejcik 872e0fb0e0 core: lower scheduler resolution to milliseconds
4 years ago
matejcik 847691798b core: simplify homescreen and lockscreen implementations
4 years ago
matejcik 4bc865794f core: only unlock storage if it is locked (solves determinism issue in tests)
4 years ago
matejcik ffa7790ed5 core: start USB after booting apps
4 years ago
matejcik 70f67883c5 core: fix artifacts in click-based UI tests
4 years ago
matejcik a9d8fd3992 core: debuglink interface avoids workflow management
4 years ago
matejcik bc9247e18d core: add Cancel to a list of allowed messages while locked
4 years ago
matejcik f32c2f9e23 core: replace workflow.kill_default with workflow.close_others
4 years ago
matejcik 01832d5ae9 core: call close_others() in place of ButtonRequest
4 years ago
matejcik 6f53ca0ac6 core: rework wait_layout()
4 years ago
matejcik 5d823ff5ea core: use ButtonRequestType.PinEntry for PIN entry
4 years ago
matejcik bbfce4e303 common: introduce ButtonRequestType.PinEntry
4 years ago
matejcik 3dbd9c9eca core/loop: prevent finalizers from doing things when task is closed externally
4 years ago
matejcik 42e7c43c7c core: make sure that auto-lock shuts down running workflows
4 years ago
matejcik 2d0206c043 core: replace workflow.on_start/on_close with workflow.spawn
4 years ago
matejcik 02565f3bfb core/loop: introduce spawn syscall
4 years ago
matejcik a4f47ddd21 core/lockscreen: ignore exception when user taps "unlock" and then cancels
4 years ago
matejcik 7ff1251ee1 core: dim lockscreen (fixes #974)
4 years ago
matejcik 4035aad51b core: implement auto-lock after a configurable timeout (fixes #75)
4 years ago
matejcik 67b723e4ca core: add a global idle timer
4 years ago
Andrew Kozlik 5469acfabf core/webauthn: Cache user verification for 3 minutes.
4 years ago
Andrew Kozlik b867ac1d01 core/webauthn: Implement FIDO2 unlocking from softlock.
4 years ago
Andrew Kozlik 0f81886c9f core/webauthn: Allow confirm_dialog() to return a new state as an alternative to the user response.
4 years ago
Andrew Kozlik c8ae5c157e core/webauthn: Implement U2F unlocking from softlock.
4 years ago
matejcik 06aed7135a core: do not prompt for PIN just to lock the device again
4 years ago
matejcik 2cedc687e6 core: disable trezor-crypto BIP32 cache
4 years ago
matejcik 246998910a core: refactor usage of input_signals
4 years ago
matejcik afeeafd5cd core: hide some fields when softlocked
4 years ago
matejcik b9bd9ea3d0 core: only softlock when PIN is set
4 years ago
matejcik a9ddc2a8e2 core/boot: modify initial lockscreen label
4 years ago
matejcik 09af8aed4e core: consider lockscreen to be a separate homescreen
4 years ago
matejcik d73480bc9d core: introduce PIN soft-locking
4 years ago
matejcik 04c8b2803d core: refactor homescreen app, include lockscreen in it
4 years ago
matejcik 9197623d83 core: factor out the decision whether to lock the device
4 years ago
matejcik 0600d87c8c common: rename ClearSession to LockDevice, introduce EndSession
4 years ago
matejcik 32fcc4ad9c core: make verify_user_pin accept a Context argument
4 years ago
matejcik 8ca7ffc3b8 core: use wire.PinCancelled/PinInvalid instead of custom versions
4 years ago
matejcik eabfcab9b9 core: add default messages to some error codes
4 years ago
matejcik 341c5b7d10 core/wire: make handler lookup pluggable
4 years ago
matejcik 837c4df61f core: expose storage_is_unlocked() as config.is_unlocked()
4 years ago
matejcik 87433995b0 core: add BITCOIN_ONLY to mock file
4 years ago
matejcik d5e45c02bb core: move base functions from "homescreen" app to "base"
4 years ago
Tomas Susanka 8859d103f4 core, legacy: bump versions
4 years ago
Tomas Susanka e2629eb921 core, legacy: update Changelogs to reflect the release
4 years ago
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
Ondřej Vejpustek 24ceb0ab6b crypto/bignum: change limb size to 29, add tests
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
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
Ondrej Mikle b01b24f090 core: change startup firmware file from .s to .S which enables preprocessing and fixes TT boot
4 years ago
Tomas Susanka 675ff459db core, legacy: update changelogs
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
Ondrej Mikle 10f0f107e0 core: Adds T1 core port FW flashing options for for openocd and jlink
4 years ago
Ondrej Mikle 0d65d684f0 core: T1 port can run on T1 bootloader with MEMORY_PROTECT=0
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 050936d0d7 core: enable finalizers on extmod classes
4 years ago
matejcik 123b07e3ad core: drop support for pre-registering keychain namespaces
4 years ago
matejcik 3e06f4779a core/tests: add new keychain tests
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
matejcik 7f2e7b0003 core: add Ethereum constants to mocks
4 years ago
Pavol Rusnak 6704ed86a1
Merge pull request #995 from trezor/omikle/t1-core-port
4 years ago
Ondrej Mikle 7eddafe487 core: better formatting for common parts of T1 and TT header
4 years ago
Ondrej Mikle c4c341b3f9 core: setup stack when running core on T1
4 years ago
Dusan Klinec 6b8fc9c894
xmr: major protocol upgrade, CLSAG support added
4 years ago
Tomas Susanka 25d2d130a0 tests: use `maxfail` option for fido2 tests
4 years ago
Ondrej Mikle fb5a220b46 core: use legacy sign script for T1 core port binary to be flashable
4 years ago
Ondrej Mikle e429085e96 core: copy firmware header for T1 port into final binary
4 years ago
Ondrej Mikle d8115a7992 core: firmware header for T1 port
4 years ago
Tomas Susanka 53c43ac305 core/tests: initialize emu with slip14 before running fido2 test suite
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
Pavol Rusnak 066866488b
core: add temporary "src1" folder
4 years ago
matejcik a623799a11 core: remove f-strings from headertool (python 3.5 compatibility)
4 years ago
Pavol Rusnak 25cc836660
core/extmod: fix build of modtrezorui when TREZOR_MODEL is set to '1'
4 years ago
Tomas Susanka 20d66adddd core: disable passphrase_always_on_device when turning off passphrase
4 years ago
Tomas Susanka 47f104bceb core, legacy: bump versions
4 years ago
Pavol Rusnak 4b5a84eab7
core+legacy: update changelogs
4 years ago
Ondřej Vejpustek c461692f3a core: implement random delay interrupts
4 years ago
Ondřej Vejpustek d5bfe6b32f crypto: add chacha_drbg
4 years ago
matejcik 72cde5a57d core: disallow parsing options after command (fixes #951)
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
matejcik 2ccebd3175 core: raise SystemExit when exitting emulator (now that sys.exit is removed)
4 years ago
matejcik 4bddeefea0 core: unify mpconfigports for emulator and board
4 years ago
matejcik d0f709b8cc core: fix and use MAKEMODULEDEFS instead of explicit registration
4 years ago
matejcik a6976355c3 core: remove readline from built firmware
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
Pavol Rusnak 197218338a
Merge pull request #936 from trezor/rework-serialize-deserialize
4 years ago
matejcik eec0615444 core: drop sys.pyi from mocks (fixes #934)
4 years ago
Andrew Kozlik c57bc62a05 core/tools: Add attestation certificate generator for FIDO2.
4 years ago
Andrew Kozlik fca92d7344 core/webauthn: Update attestation certificate to comply with WebAuthn requirements.
4 years ago
Pavol Rusnak a7806d08d7
core/crypto: remove unused bip32.deserialize function
4 years ago
Pavol Rusnak 1695228d80
core/crypto: remove unused serialize_private function
4 years ago
Pavol Rusnak f07ff17fad
core/crypto: add missing field to Blake2b constructor
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
Pavol Rusnak 336a417233 core/bootloader: distinguish between a vendor change and downgrade with wipe
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
Ondrej Mikle 634ed5aabc
core: commands for flashing via JLink (#911)
4 years ago
Tomas Susanka 025436db47 core/changelog: add FIDO2's Ed25519
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 bd9e15bb8c core/tests: add unit tests for prevhash writers
4 years ago
matejcik a9faa4d4ab core/tests: fix inline variant of assertRaises
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
Andrew Kozlik a34637c0f2 core/sign_tx: Check multisig fingerprint before signing inputs.
4 years ago
Tomas Susanka 163220e4b7 core/wallet: properly check decred input
4 years ago
Ondřej Vejpustek 6274cfdf8b core: remove unreachable zcash code
4 years ago
Ondřej Vejpustek d61181d7e8 core: fix transaction header for mixed segwit inputs
4 years ago
Tomas Susanka f0a39df75d core/wallet: check inputs and outputs right after receiving them
4 years ago
Tomas Susanka 0903159d9b core, legacy: make sure OPRETURN ouput is not marked as change
4 years ago
Tomas Susanka 4af9aa547e core: forbid unnecessary fields in OPRETURN output
4 years ago
Andrew Kozlik d800fcbf9f core/sign_tx: If there is a non-multisig input, then change output cannot be multisig.
4 years ago
Andrew Kozlik b3cd760df0 core/webauthn: Disable CTAPHID_WINK function.
4 years ago
Andrew Kozlik e5008eb332 core/webauthn: Remove indistinguishable credentials from the allow list.
4 years ago
Andrew Kozlik cda9de8dd1 core/webauthn: Add maxCredentialCountInList and maxCredentialIdLength to authenticatorGetInfo response.
4 years ago
Andrew Kozlik 0af0e06d5b core/webauthn: Truncate names in credential data to at most 100 bytes.
4 years ago
matejcik ccffefd667 core/boot: do not catch OSError in boot wait
4 years ago
matejcik f6f041e269 core/sdcard: also catch OSError in the formatting phase
4 years ago
matejcik 3a71a5a05c core/sdcard: show "Wrong SD card" when unlocking SD protect with unformatted card
4 years ago
matejcik 3789a3372b core/sdcard: modify exception handling in fatfs
4 years ago
Andrew Kozlik 8ee0026637 core: Allow PIN entry even when SD protect is enabled and the card is not present.
4 years ago
Andrew Kozlik bfd834d1de storage: Add storage_ensure_not_wipe_code().
4 years ago
Konnor Klashinsky 70a1f957ed
Fix BackupDevice layout on 18-word seed wallets
4 years ago
Andrew Kozlik 2f905a1157 core/webauthn: Add algorithm and curve to WebAuthnListResidentCredentials response.
4 years ago
Andrew Kozlik f610787f8d core/webauthn: Clean up bytes/bytearray typing around uctypes.
4 years ago
Andrew Kozlik e378820f7f core/webauthn: Implement support for Ed25519 signatures in FIDO2.
4 years ago
Pavol Rusnak 624b639ba8
Merge pull request #886 from trezor/onvej-sl/monero-optimizations-squashed
4 years ago
Tomas Susanka f8de140271 core: add cancel to hold to confirm dialogs
4 years ago
Dusan Klinec 2658e253fa xmr/bp: memory optimizations and improvements
4 years ago
Tomas Susanka 21676a0662 ore/tezos: better wording in delegation cancel
4 years ago
matejcik 7f91bc571c core: ensure default task restarts after a passphrase workflow (fixes #883)
4 years ago
Tomas Susanka 5ee6e56f56
Merge pull request #880 from trezor/tsusanka/sign-verify-ui
4 years ago
matejcik bd9663af79 common/defs: update token reference, add new tokens to 2.3.0/1.9.0, regenerate coins_details
4 years ago
Tomas Susanka 86b010a18b
Merge pull request #878 from trezor/matejcik/fatfs-corruption
4 years ago
Tomas Susanka c8b7d3fb56 core/changelog: SD card protection is part of 2.3.0
4 years ago
Tomas Susanka a63e6fc4ef core+legacy: update changelogs
4 years ago
Tomas Susanka a8af9feebe core: fix text overflow in some dialogs
4 years ago
Tomas Susanka 744c32991f core: unify sign/verify functions
4 years ago
Tomas Susanka b317613d63
Merge pull request #874 from trezor/tsusanka/test
4 years ago
Tomas Susanka 495a59c282 core: use wire errors instead of ValueErrors where applicable
4 years ago
matejcik 18ac4fc9ca core: update Python facing APIs
4 years ago
matejcik 9ab84d2455 core/tests: thoroughly test modified APIs
4 years ago
matejcik b24411b900 core/sdcard: unmount instance when powering off sdcard
4 years ago
matejcik c81be584fb core/fatfs: ensure functions can only be called on a mounted filesystem
4 years ago
matejcik fa746e2990 core/fatfs: rework low-level FatFS API
4 years ago
Pavol Rusnak c896f02eb3
core/boardloader: use SRAM as SD card read buffer
4 years ago
Andrew Kozlik 2133f7cf29 core: Prevent data loss when writing to USB VCP.
4 years ago
matejcik b916072389 common: restore PassphraseAck.state
4 years ago
matejcik d7b9582386 core/sdcard: add ensure_filesystem option (fixes #868)
4 years ago
matejcik e9c275c24f core/sdcard: fix invalid state when filesystem mounting fails
4 years ago
Pavol Rusnak 39ce100608
Merge pull request #864 from trezor/prusnak/bootloader-text-break
4 years ago
Tomas Susanka 6c47bf8230 core: store multiple sessions/caches at the same time
4 years ago
Pavol Rusnak 562671401e
Merge pull request #860 from trezor/prusnak/multisig-show-yours-others
4 years ago
matejcik 918603ad5c core: add unit test for sdcard wrapper
4 years ago
matejcik 7983fd34d6 core: fix unit tests
4 years ago
matejcik 4ed6487a19 core/sdcard: add out-of-bounds checks to emulator
4 years ago
matejcik ddee77ecb6 core: add SD clearing via debuglink
4 years ago
matejcik d0b1b171f1 core/sdcard: ensure emulator initializes the SD card when first needed
4 years ago
matejcik 5bd8d9b5bb core/sdcard: make allocating new SD card for emulator fast
4 years ago
matejcik 1e9352b9e0 core: add SD format dialog, generalize sdcard usage
4 years ago
matejcik 5bac85f260 core: use filesystem wrapper instead of the ensure_filesystem decorator
4 years ago
matejcik d08942be4a core: introduce filesystem wrapper
4 years ago
matejcik b2084a19be core/trezorio: move sdcard functions to a submodule
4 years ago
matejcik 30529d218d core/sdcard: change SDCard methods to plain functions
4 years ago
matejcik 06b89c57c5 core/sdcard: return proper disk status flags to fatfs
4 years ago
Tomas Susanka ff1bb67abc common: return the PasshraseType button request
4 years ago
Pavol Rusnak dc66bbe3d5
core/bootloader: split long vendor string
4 years ago
Pavol Rusnak 74802a107e
core/modtrezorui: add display_text_split
4 years ago
Pavol Rusnak c4babd3c0b
Merge pull request #846 from trezor/bootloader-read-retry
4 years ago
Pavol Rusnak 581e46ff87
Merge pull request #845 from trezor/prusnak/webusb-popup
4 years ago
Pavol Rusnak 7944c1a837
core/monero: add confirmation dialog for unlock_time
4 years ago
Pavol Rusnak a808cc9190
core/apps: await require_confirm should be called without return
4 years ago
Pavol Rusnak b9486c0b33
core: show yours/others in get_address for multisig
4 years ago
Tomas Susanka 577daf09fe tests: introduce --ui-check-missing to test/remove missing tests
4 years ago
matejcik 1d41141a1f core/emulator: properly ignore inotify problems (fixes #854)
4 years ago
Pavol Rusnak 2958a97c87
Merge pull request #830 from trezor/tsusanka/fw-upgrade
4 years ago
matejcik e61b7d28e9 all: do not send state in PassphraseAck (not needed for compatibility)
4 years ago
Pavol Rusnak 63dfd6c6ab
core/bootloader: make read more benevolent and read error more helpful
4 years ago
Pavol Rusnak 07cd73ce57
core: show webusb popup only in bootloader and only if firmware is not installed
4 years ago
matejcik 4c8c96272c emu: fix flag options with defaults
4 years ago
matejcik 271da3fa39 python: add detailed logging to emulator runner
4 years ago
matejcik c14429c445 all: shut down emulator on error_shutdown
4 years ago
matejcik d3b88a37be core: do not catch SystemExit in handle_session (#826)
4 years ago
Tomas Susanka f947fe97cc core: fix style
4 years ago
Tomas Susanka 0a13f7a441 core: properly limit passphrase to 50 bytes
4 years ago
Tomas Susanka 2c0504ad1c
Merge pull request #803 from trezor/passphrase
4 years ago
matejcik 05a1d6f771 core/debug: add "show arbitrary screen" capability, for easier prototyping
4 years ago
matejcik c01d04f26e common/protob: drop a default field declaration
4 years ago
matejcik 741c0c8888 core: improve stability of Monero test runner
4 years ago
matejcik 4c9689d7a7 common: return deprecated fields to protobuf, to allow cross-version compatible code
4 years ago
Pavol Rusnak e58225fe02
core/boot: don't call mkfs in emulator
4 years ago
Pavol Rusnak fdfa64ac2a
core/ui: fix HoldToConfirm redraw
4 years ago
Pavol Rusnak 32f8f1cb61
core/embed: update fatfs to 0.14; use upstream version
4 years ago
Tomas Susanka 56dc952495 common: fix PassphraseAck.on_device id
4 years ago
Pavol Rusnak 73ed2f3450
legacy: small nitpicks related to the new passphrase handling
4 years ago
Tomas Susanka 15ed5cd19e
core: do not clear cache on ClearSession
4 years ago
Tomas Susanka fd0dc8ed66
core/passphrase: merge 'get from user' functions
4 years ago
Tomas Susanka 7d7ffe3b67
cardano: derive the root and then cache
4 years ago
matejcik 3fa99c0c6a
core/tests: add storage.cache tests
4 years ago
matejcik 938f347514
core: use DUMMY_CONTEXT constant instead of own instance
4 years ago
matejcik d4171aaedc
core/tests: extract common await_result() method
4 years ago
matejcik 1f50a13edf
core: use cache for Monero live refresh confirmation
4 years ago
Tomas Susanka b96d7cafbb
core: rework cache and fix cardano caching
4 years ago
Tomas Susanka aa6988a556
core/ui: introduce draw_simple
4 years ago
Tomas Susanka d5763d9cab
all: implement code review comments
4 years ago
Tomas Susanka f3553f63f1
common: remove PassphraseRequest.on_device completely
4 years ago
Tomas Susanka c65b57affb
core, legacy: remove passphrase_cached
4 years ago
Tomas Susanka 1343583d21
core: bump version to 2.3.0
4 years ago
Tomas Susanka 8fa0d8f098
core/passphrase: show dialog to enter the passphrase on host
4 years ago