Commit Graph

584 Commits (3096a5caa6c37f0e6d5067214829e5b988bc35e7)

Author SHA1 Message Date
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 8fa0d8f098
core/passphrase: show dialog to enter the passphrase on host
4 years ago
Tomas Susanka a3f3d4fcdb
remove ping.passphrase/pin
4 years ago
Tomas Susanka b5d6aaf77c
tests: test PassphraseAck options
4 years ago
Tomas Susanka ece351c5e5
core: do not prompt for passphrase if 'always' setting is enabled
4 years ago
Tomas Susanka 466dc4732d
core/passphrase: add button requests
4 years ago
Tomas Susanka 4a0f727f13
core: fix monero
4 years ago
Tomas Susanka cd09f9ce94
all: modify passphrase source to always on device
4 years ago
Tomas Susanka eafd57c301
common, core: add passphrase entry capability
4 years ago
Tomas Susanka 90d5cdfd5b
all: rework passphrase
4 years ago
Tomas Susanka 277e494ffa core/recovery: end dry run before showing success
4 years ago
EtherCore Contributor c03caaf76a
common/defs: switch ERE logo (#808)
4 years ago
matejcik 0df3c64855 core: fix unexpected messages in debug mode (fixes #809)
4 years ago
matejcik 4e82e69070 core: add missing type annotation
4 years ago
Tomas Susanka 0053511c66 utils: introduce format_plural and move format functions to strings.py
4 years ago
matejcik 75264a07a8
Emulator launcher scripts (#796)
4 years ago
Pavol Rusnak 3de1b3aa54
core/embed: switch to unprivileged in main.c
4 years ago
matejcik 2294fb0453 core: drop unused env variables (TREZOR_TEST, TREZOR_SAVE_SCREEN)
4 years ago
matejcik 29e883ab59 core/monero: fix usage of ctx.wait in pagination
4 years ago
matejcik a79279115e core: move confirm_signal evaluation into concrete Layout implementations
4 years ago
Pavol Rusnak 8a36ead915
common/defs: add Faceboook to recognized apps
4 years ago
Dušan Klinec af6a607b39 common/xmr: message changes optimizing runtime and memory (#786)
4 years ago
Andrew Kozlik 289d8276eb core/fido2: check for HID timeout in send_cmd() (#791)
4 years ago
Tomas Susanka 7c41b40dff
tests: introduce UI tests for core with diffs (#784)
4 years ago
Tomas Susanka 30858c4969 tests/ui: omit the red square from screenshots
4 years ago
matejcik f90ba10af3 core: modify function signatures to match python-shamir-mnemonic
4 years ago
Jan Pochyla 6afff3cc0e core/loop: remove unused code
4 years ago
Tomas Susanka 47419c7768 core/ui: simplify swipe if animation is disabled
4 years ago
Tomas Susanka 51ef963738 tests: introduce UI tests for core
4 years ago
Tomas Susanka d8e956fc6d core/recovery: change exceptions types; modifications in tests
4 years ago
Tomas Susanka 7f730cb6f9 core/recovery: refactor to exceptions
4 years ago
Tomas Susanka f4e11a9176 core/recovery: rework arguments
4 years ago
Tomas Susanka faa9078c2b core/recovery: refactor word checks and add a test
5 years ago
Tomas Susanka 6594ee9368 core/recovery: correctly inform about share already entered inside first group
5 years ago
Pavol Rusnak d6a3725955
common: remove coins with no trezor compatible wallets
5 years ago
Pavol Rusnak e5bdf0d51b
Merge pull request #742 from trezor/language
5 years ago
Andrew Kozlik 0432f5e801 webauthn: Add use_self_attestation flag to FIDO apps.
5 years ago
Andrew Kozlik 2e9db44434 core/webauthn: Add AAGUID to README.md.
5 years ago
Pavol Rusnak 7646b97dca
common: divisibility -> decimals
5 years ago
matejcik 3a132e594e core/stellar: make sure function that awaits is async
5 years ago
matejcik ac6e23fb87 mako: improve local variable name
5 years ago
matejcik 558020be01 common: drop lastpass from FIDO apps
5 years ago
matejcik 67b2ba558b core: auto-generate list of FIDO known apps
5 years ago
matejcik a46fd6f508 core: auto-generate FIDO icons
5 years ago
Pavol Rusnak bb8d809a6d
common: change language field to IETF BCP 47 language tag
5 years ago
Tomas Susanka 61430d800e core/stellar: add screen for timebounds
5 years ago
Pavol Rusnak 3d50bb5ed8
common: add Peercoin, regenerate coins
5 years ago
Pavol Rusnak 5301c03607
common: add coin.divisibility attribute
5 years ago
Andrew Kozlik 6ca0288092
Merge pull request #720 from trezor/andrewkozlik/wipe-code
5 years ago
Andrew Kozlik 420a4b8ba7 core/webauthn: Close U2F confirmation screen if browser stops polling for more than 3 seconds.
5 years ago
Andrew Kozlik 0b851d6959 core/webauthn: Reply with ERR_CHANNEL_BUSY once a U2F request has been declined to stop Chrome from polling.
5 years ago
Andrew Kozlik 4d3c634732 core/webauthn: Use different return code when user verification is requested but PIN is not set to get better browser behavior. Related to cf6949332f.
5 years ago
Andrew Kozlik a63ff8f9b4 core/webauthn: Add bogus app ID used by Firefox to indicate error in U2F. Figure out which error to display based on past U2F_AUTHENTICATE check-only requests on the same channel.
5 years ago
Andrew Kozlik a704bfe184 core/webauthn: Allow only one CTAPHID_WINK command at a time on any given channel ID to fix continuous display blinking with Android.
5 years ago
Andrew Kozlik 3a4e9bd25c core/ui: Ignore any new alert requests if an alert is already in progress in order to avoid multiple alerts overlapping.
5 years ago
Andrew Kozlik 7c39e2f142 core/webauthn: Specify the exception raised by res.load().
5 years ago
Andrew Kozlik 790178a442 fixup! core/webauthn: Allow new workflow to be set after a command response is sent, so that in device tests the next test doesn't fail with ERR_CHANNEL_BUSY while the previous workflow is closing.
5 years ago
Andrew Kozlik c463069895 core/webauthn: Don't log an exception when a relying party is not listed in knownapps.
5 years ago
Andrew Kozlik 203853faed core/webauthn: Allow new workflow to be set after a command response is sent, so that in device tests the next test doesn't fail with ERR_CHANNEL_BUSY while the previous workflow is closing.
5 years ago
Andrew Kozlik 1bc8226a50 common, core: Add wipe_code_protection to the Features message.
5 years ago
Andrew Kozlik a3b608d8dd storage, core: Reveal the wipe code status after the device is unlocked.
5 years ago
Andrew Kozlik a168d661cf core: Add support for ChangeWipeCode message.
5 years ago
Andrew Kozlik 4381511930 common: Add ChangeWipeCode message.
5 years ago
Andrew Kozlik 2ae1d9a935 webauthn: Disable signature counter in FIDO2 for dropbox.com, gandi.net, secure.login.gov.
5 years ago
matejcik 1f6cc77dec upgrade black to 19.10b0
5 years ago
matejcik 34913a328a all: disallow most RecoveryDevice fields in dry-run (fixes #666)
5 years ago
Pavol Rusnak d029920540
core/webauthn: update metadata
5 years ago
Pavol Rusnak e1e081fb7a
core/webauthn: fix metadata
5 years ago
matejcik 09962708d3 core: move load_device to the debug app
5 years ago
matejcik fd8aed6105 all: drop XPRV feature of LoadDevice
5 years ago
Pavol Rusnak 16af7f1353 common: add {needs,no}_backup flags to LoadDevice, make it debug only
5 years ago
Pavol Rusnak cde944b565
Merge branch 'reorder-usb'
5 years ago
Tomas Susanka 85d7215bf3
Merge pull request #700 from trezor/tsusanka/upgrade-u2f-check
5 years ago
Pavol Rusnak df273bf836
core/usb: reorder endpoints
5 years ago
Pavol Rusnak 3b5a113304
core/usb: small reformat
5 years ago
Tomas Susanka a8b82975a1 core/management: get next u2f counter
5 years ago
Tomas Susanka 2a20287882 common/protobuf: add message for retrieving an increased u2f counter
5 years ago
matejcik c96d5ab1bc core/sd_salt: check if sd_salt is enabled before asking for SD card
5 years ago
matejcik 0c4fa03575 core/sd_salt: properly await ensure_sd_card
5 years ago
matejcik 75622d92d2 Merge branch 'master' into matejcik/storage-relocation
5 years ago
matejcik dee47a06f2 core/sd_salt: ensure ProcessErrors are propagated properly
5 years ago
Tomas Susanka 597277725e core/recovery: end progress before showing success
5 years ago
matejcik 8225e5d8b2 core/sd_salt: remove forgotten fs.mount
5 years ago
matejcik 18ab677124 core/webauthn: rename storage.webauthn to storage.resident_credentials
5 years ago
matejcik f03562cca0 core/sd_salt: decorate sd_salt functions to ensure proper finalization and power-off
5 years ago
matejcik 33bd4d3ba9 Merge branch 'master' into matejcik/storage-relocation
5 years ago
matejcik 51a5d8e30a core/boot: do not pass useless argument to request_sd_salt
5 years ago
matejcik 7de5cec4b0 core: halt if the script ever runs out of the loop in main.py
5 years ago
matejcik 5ffa395dec core: catch more exceptions for the purpose of halting
5 years ago
matejcik 7cb125d1cb core/recovery: properly replace homescreens
5 years ago
matejcik 1c59ba9423 core/workflow: improve comments and logic
5 years ago
matejcik a3930d4bdb core: rename close_default to a more appropriate kill_default
5 years ago
Tomas Susanka ca484b2c06 core: remove persistence boot and set recovery as a default workflow
5 years ago
matejcik e9fe6c2943 core/boot: remove leftover print
5 years ago
matejcik 28d30ffd2f core/webauthn: unify signatures of Credential.from_bytes and friends
5 years ago
Tomas Susanka 7dba12cb6d core/log: print received message's name
5 years ago
Pavol Rusnak 0040b916d2
common/defs: remove inactive coins
5 years ago
Pavol Rusnak 2d8f70d49a
common/defs: add mojeid.cz definition to webauthn
5 years ago
Tomas Susanka c261427d73
Merge pull request #667 from malinah/malinah/confirmbtn
5 years ago
apollo 18c926a34b common/defs: fix zcore signing (#669)
5 years ago
Milan Rossa 2143978b12 core/trezor/ui/loader: fixes #655 Button hold-to-confirm press detection.
5 years ago
matejcik 5c93ecd53a core: create top-level storage module
5 years ago
Pavol Rusnak 39a532c8b1
core/webauthn: increase limit for resident credentials to 100
5 years ago
Pavol Rusnak 4979e17e86
core/webauthn: improve metadata
5 years ago
Tomas Susanka 26e2960532 core/webauthn: move boot to regular firmware block
5 years ago
Tomas Susanka 809b30ddcf core/webauthn: set webauthn interface in its app not in main.py
5 years ago
Pavol Rusnak 727b7f8cd3
core/webauthn: add u2f/ctap2 metadata
5 years ago
Tomas Susanka 64a218eea0 bitcoin: simplify if expression
5 years ago
Pavol Rusnak 0f1e30b235
core: fix typo in get_address
5 years ago
Pavol Rusnak 5fe2f7e59c common/protob: remove ButtonRequest.data field
5 years ago
Pavol Rusnak 9a3d8ef2c4
core: show xpubs in GetAddress for multisig
5 years ago
Pavol Rusnak 322417d9ed
core/tezos: refactor bytes constants
5 years ago
Adrian Nagy 384275ac73
core/tezos: support the new protocol update (005-BABYLON)
5 years ago
matejcik a5ccf95260 core: fix mypy problems
5 years ago
matejcik 8d2ae142f3 core/debug: at start, wait for first layout to show up
5 years ago
matejcik a8fc569016 debug: add support for general layout waiting
5 years ago
matejcik 97525654bb core/debug: avoid running a handler when waiting for layout change
5 years ago
matejcik 3664a5f06f core/debug: reading layouts, inserting synthetic events
5 years ago
matejcik 8c3d93619e core: allow inserting synthetic touch events into event loop
5 years ago
matejcik a1a543f781 core: boot debuglink in recovery homescreen
5 years ago
matejcik 06e10f948d protobuf: send x/y coordinates, allow waiting for layout change
5 years ago
matejcik b25537f6b0 core: nicer output for cancellations
5 years ago
matejcik d17f879d97 mypy: use GenericContext protocol to work-around DummyContext
5 years ago
matejcik ed190c772c core: avoid circular import in sd_salt
5 years ago
Tomas Susanka 0511cc8b8c core: add final mypy fixes!
5 years ago
Tomas Susanka 8f34b4c5de
Merge pull request #628 from trezor/tsusanka/sdprotect-fix
5 years ago
Pavol Rusnak ddd9bee059
common/defs: regenerate coins
5 years ago
Pavol Rusnak c2aa8a04c0
common/defs: update tokens
5 years ago
Pavol Rusnak 178d58c763
common/defs: remove BTDX as it has no Trezor compatible wallet
5 years ago
Pavol Rusnak 4e5b60ec2b
common/defs: remove BITC per maintainer request
5 years ago
Pavol Rusnak 3ebc79f9b2
common/defs: remove MEC per maintainer request
5 years ago
Andrew Kozlik 60f6ab9087 core: Fix mypy warnings.
5 years ago
Andrew Kozlik 39b4376b65 core/sd-protect: If writing to the SD card fails in request_sd_salt(), inform the user and allow them to retry or abort.
5 years ago
Pavol Rusnak 7644cb4c79
core: rework exception handling in boot.py
5 years ago
Pavol Rusnak 9b7a2095b3
common/defs: update coins info
5 years ago
Tomas Susanka 0f34b50c05 core/features: add sd card and protection
5 years ago
Tomas Susanka f0cd99c545 common/protob: add sd card/protection to Features
5 years ago
Pavol Rusnak d17ced9305
common/defs: remove ZCL as per maintainer request
5 years ago
Pavol Rusnak d28bc3c3a6
common/defs: remove BSD - website does not exist, maintainer not reachable
5 years ago
Pavol Rusnak 3e20c51dbf
common/defs: remove MTNS - maintainer not reachable
5 years ago
apollo 74bcc05e2e common/defs: add ZCR (#611)
5 years ago
Pavol Rusnak ab534c18d3
Merge pull request #612 from trezor/andrewkozlik/sd-protect-ui
5 years ago
Andrew Kozlik 564b24191e debug: Add left and right swipe direction to DebugLinkDecision message and unify terminology around swipe direction.
5 years ago
Andrew Kozlik 9a641b6b01 core/sd-protect: Allow user to retry if write fails.
5 years ago
Andrew Kozlik 795fa07822 core/sd-protect: Add SD_CARD_HOT_SWAPPABLE option and improve error handling.
5 years ago
Andrew Kozlik 710866074b core/webauthn: Fix mypy warnings.
5 years ago
Andrew Kozlik c25a41aa57 core: Fix mypy warnings in FatFS and SD salt code.
5 years ago
Andrew Kozlik 5401f88d52 core/webauthn: Fix user input timeout bug.
5 years ago