Commit Graph

1147 Commits (cec87bba501becd53d8e0d9587d482f21dead134)

Author SHA1 Message Date
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