Commit Graph

477 Commits (37c61c1381bf9f060687e6f7eea503ae77acb9ba)

Author SHA1 Message Date
Andrew Kozlik 2f905a1157 core/webauthn: Add algorithm and curve to WebAuthnListResidentCredentials response.
4 years ago
Tomas Susanka f8de140271 core: add cancel to hold to confirm dialogs
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
Tomas Susanka a8af9feebe core: fix text overflow in some dialogs
4 years ago
matejcik 18ac4fc9ca core: update Python facing APIs
4 years ago
matejcik b916072389 common: restore PassphraseAck.state
4 years ago
matejcik e9c275c24f core/sdcard: fix invalid state when filesystem mounting fails
4 years ago
matejcik ddee77ecb6 core: add SD clearing via debuglink
4 years ago
matejcik d08942be4a core: introduce filesystem wrapper
4 years ago
Tomas Susanka ff1bb67abc common: return the PasshraseType button request
4 years ago
matejcik e61b7d28e9 all: do not send state in PassphraseAck (not needed for compatibility)
4 years ago
matejcik d3b88a37be core: do not catch SystemExit in handle_session (#826)
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 4c9689d7a7 common: return deprecated fields to protobuf, to allow cross-version compatible code
4 years ago
Pavol Rusnak fdfa64ac2a
core/ui: fix HoldToConfirm redraw
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 aa6988a556
core/ui: introduce draw_simple
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 a3f3d4fcdb
remove ping.passphrase/pin
4 years ago
Tomas Susanka 466dc4732d
core/passphrase: add button requests
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
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 a79279115e core: move confirm_signal evaluation into concrete Layout implementations
4 years ago
Dušan Klinec af6a607b39 common/xmr: message changes optimizing runtime and memory (#786)
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
5 years ago
Pavol Rusnak bb8d809a6d
common: change language field to IETF BCP 47 language tag
5 years ago
Andrew Kozlik 6ca0288092
Merge pull request #720 from trezor/andrewkozlik/wipe-code
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 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 4381511930 common: Add ChangeWipeCode message.
5 years ago
matejcik 1f6cc77dec upgrade black to 19.10b0
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
Tomas Susanka 2a20287882 common/protobuf: add message for retrieving an increased u2f counter
5 years ago
matejcik 33bd4d3ba9 Merge branch 'master' into matejcik/storage-relocation
5 years ago
matejcik 7de5cec4b0 core: halt if the script ever runs out of the loop in main.py
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
Tomas Susanka 7dba12cb6d core/log: print received message's name
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 5fe2f7e59c common/protob: remove ButtonRequest.data field
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 a8fc569016 debug: add support for general layout waiting
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 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
Tomas Susanka 0511cc8b8c core: add final mypy fixes!
5 years ago
Tomas Susanka f0cd99c545 common/protob: add sd card/protection to Features
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
Pavol Rusnak d393fc6e85
Revert "core: replace BITCOIN_ONLY with a constant only in src/trezor/utils.py"
5 years ago
Pavol Rusnak b9e7e93bcf
core: replace BITCOIN_ONLY with a constant only in src/trezor/utils.py
5 years ago
Pavol Rusnak 68513a0b39
Merge pull request #538 from trezor/andrewkozlik/fido2-signcount
5 years ago
Tomas Susanka cefb1cf4fd core: refactor slip39
5 years ago
Andrew Kozlik 315a30b42b core/webauthn: Disable FIDO2 signature counter for some relying parties
5 years ago
Andrew Kozlik f5ea81f905 core: Move some PIN-related functions to apps.common.request_pin and implement verify_user_pin().
5 years ago
Andrew Kozlik 06fc676cc9 common/messages: Add SdProtect message.
5 years ago
Andrew Kozlik 091053507d common/messages: Add credential management message.
5 years ago
Andrew Kozlik 5472499326 core/webauthn: Process debuglink signals in dialogs (#519)
5 years ago
Andrew Kozlik 58c2691ad9 core/pin: Avoid flicker in remaining time message.
5 years ago
Andrew Kozlik 70fe14e84c core/webauthn: Implement CTAP2 protocol for FIDO2 support.
5 years ago
Andrew Kozlik f658958057 core/ui: Add ui.alert() for CTAP WINK command.
5 years ago
Andrew Kozlik 509a815f73 core/ui: Implement multi-page confirmation screen.
5 years ago
Andrew Kozlik 1f58ee7ae9 core/ui: Add text_center_trim_left() and text_center_trim_right().
5 years ago
Andrew Kozlik 5cbbcd0ce7 core/ui: Add offset parameter to ui.pulse() and specify the pulse rate in terms of period.
5 years ago
Pavol Rusnak 7c74f1c54c
core: fix style
5 years ago
Jan Pochyla 355cebf8bf core: wait for the default layout after closing a workflow
5 years ago
Jan Pochyla ccb926af53 core: improve log messages in workflow and wire
5 years ago
Pavol Rusnak 1a71c7a3e8
common: rename Features.features to Features.capabilities
5 years ago
Pavol Rusnak dde4c12796
common: add Feature.ShamirGroups to features
5 years ago
Pavol Rusnak 93f18b09bd
core+python: regenerate Features
5 years ago
Tomas Susanka fd53c72a3c
Merge pull request #428 from trezor/ciny/super_shamir
5 years ago
Pavol Rusnak 908bbfffef
core: remove remaning utility code for Bitcoin only firmware
5 years ago
ciny 81f5cbef93 core + tests: Super shamir reset and recovery UI and tests
5 years ago
Pavol Rusnak 07ef01f3e4
core: introduce BITCOIN_ONLY flag
5 years ago
Tomas Susanka 566753e551 core: fix style
5 years ago
Pavol Rusnak e1f0c238cf
core: fix utils.format_amount for negative amounts
5 years ago
Jan Pochyla 29153f0e51 core/log: be less noisy with ui.Cancelled exceptions
5 years ago
Jan Pochyla 7789a29d50 core/loop: fix last commit
5 years ago
Jan Pochyla 2c8b90f86e core/loop: properly cleanup task waiting on a chan
5 years ago
Jan Pochyla 29cca614f0 core/workflow: properly reset the default task global
5 years ago
Tomas Susanka 16b44b6f7b core: improve log output for ui.Result exception (#429)
5 years ago
Tomas Susanka ba7b5c7232 core/ui: add note on yield usage
5 years ago
Tomas Susanka c9a78d7bcb core: fix docs typos
5 years ago
Jan Pochyla bb2556a22c
core: improve code documentation, simplify wire package
5 years ago
Pavol Rusnak cc184a0a30
common: introduce Features.features enum
5 years ago
Tomas Susanka 542f156b4f core/slip39: remove _encrypt
5 years ago
Tomas Susanka 1b666804c0 core/shamir: fix EMS vs MS
5 years ago
matejcik 741bfd5c53 core: remove loop.signal in favor of chan, change usage
5 years ago
matejcik cf70f82d90 core: debug messages when reading from wire
5 years ago
matejcik 0890f68c0c core: use channels to give feedback over debuglink
5 years ago
matejcik 6e7fc5f601 core: implement channels for sending messages
5 years ago
Andrew Kozlik cb7bc8f410 core: Fix mypy warnings.
5 years ago
Jan Pochyla 5b6fa1136a core: improve typing annotations
5 years ago
Jan Pochyla c9096d9a0a core/ui: mark Controls as dirty in the beginning
5 years ago
matejcik aa9860fdb7
protobuf: add enum value validation (#363)
5 years ago
Ciny 90b91a7fb5 #28 - binance implementation (#189)
5 years ago
Tomas Susanka 4030874c7e core: some mypy in recovery-related modules
5 years ago
Tomas Susanka 4da54f95d6 core/shamir: remove checked icon from future items in Backup checklist
5 years ago
Tomas Susanka a8c9a4ddc4 core/shamir: send boolean flag in Features that Recovery is in progress
5 years ago
Tomas Susanka 5bd8ad321e core/shamir: increase default iteration exponent to 1
5 years ago
Tomas Susanka e95a97f281 common/protobuf: set mnemonic as repeated in LoadDevice for SLIP-39 support
5 years ago
Jan Pochyla ebe883e4a9 core: support rebooting into default mode
5 years ago
Tomas Susanka d2597d54c1 core/shamir: persistence
5 years ago
Tomas Susanka 8f4bbb8825 core/homescreen: move err and warn to ui module
5 years ago
Tomas Susanka 1480f754f4 build
5 years ago
Jan Pochyla 081e459075 core: fix various types
5 years ago
Jan Pochyla 758a1a2528 core/typing: add annotations
5 years ago
Jan Pochyla 86e16bbf31 messages: add types
5 years ago
Dusan Klinec 67212a0d2e
PaginatedWithButtons fix, fixes #306
5 years ago
Tomas Susanka f04f190a02 core/ui: enlarge backspace button
5 years ago
Pavol Rusnak 3c40ab8d96
core/src: remove unused num_pad.py
5 years ago
Pavol Rusnak bf3c257f96
core/messages: don't generate unused messages
5 years ago
Tomas Susanka 6c50b155de core: remove unused variables in Shamir recovery
5 years ago
Tomas Susanka c205acd3e1 core/slip39: do not populate MnemonicError's message; do not throw exceptions with mnemonic inside the message
5 years ago
Jan Pochyla a4039f9459 core/management: fix word check, add icons to checklist
5 years ago
Tomas Susanka 10e5ec6135 core/slip39: generate and store slip39 identifier during reset
5 years ago
Jan Pochyla 07de336586 core/pin: do not allow empty pin
5 years ago
Jan Pochyla 4d0fe4d064 core/management: fix various reset/backup/recovery ui bugs
5 years ago
Tomas Susanka 989fb1491f core/slip39: suggest word sooner when a single one is left
5 years ago
Tomas Susanka 80f8f7900d core: add slip39 support to reset and recovery device
5 years ago
Tomas Susanka 49d6a35249 core: add slip39 keyboard
5 years ago
Pavol Rusnak e3e2811f7a
core: throw exception classes instead of instances where possible
5 years ago
Andrew Kozlik 84d3723ee9 slip39: Add RS1024 error locator function.
5 years ago
Tomas Susanka 906013a6d7 ui/mnemonic: small refactor in input's edit
5 years ago
Tomas Susanka 40d55dfe8b ui: remove dead code in mnemonic.py
5 years ago
Roman Zeyde a4c0645622 core: return exception details in debug mode (#238)
5 years ago
Andrew Kozlik 0e277dfcb0 core/slip39: Fixed a bug when generating shares with group_threshold = 1.
5 years ago
Pavol Rusnak 9cb9653c27
core: refactor png2toi/toi2png tools into one toif_convert usable as a library
5 years ago
Dusan Klinec 16317f1814
xmr: get_address - pagination, integrated address
5 years ago
Jan Pochyla 36534325f0 core: revamp the UI subsystem
5 years ago
Jan Pochyla 09da577fd9 core: use const in trezor.crypto.slip39
5 years ago
Pavol Rusnak a3717c7b6c
core/slip39: use condensed wordlist
5 years ago
Pavol Rusnak 684862a7f5
common: more TRX cleanup
5 years ago
Tomas Susanka cc5c8ae7e0
common+python: Revert Ontology support
5 years ago
Jan Pochyla 9586358e44 core: log memory info if TREZOR_LOG_MEMORY env is set
5 years ago
Pavol Rusnak 1583ea62f9
core: serialize signature in EosSignedTx message
5 years ago
Jan Pochyla d56de2c5fe core: import some modules lazily to save memory
5 years ago
matejcik 0b50d671e1 make gen && make style
5 years ago
matejcik 2e578572dd add EOS support
5 years ago
matejcik 388400bc1b core: remove or mark star imports
5 years ago
Andrew Kozlik bebce78881 core/slip39: Update code logic, tests and test vectors in accordance with the new requirement that the number of shares provided is equal to the threshold.
5 years ago
Andrew Kozlik 0248671438 core/slip39: Resolve code review comments.
5 years ago
Andrew Kozlik edab43234d core/slip39: Disallow creating multiple member shares with member threshold 1. Add tests for invalid parameters to generate_mnemonics().
5 years ago
Andrew Kozlik 479396b56f core/slip39: Remove math module dependency.
5 years ago
Andrew Kozlik e631983d6d Merge remote-tracking branch 'origin/master' into andrewkozlik/slip0039
5 years ago
Tomas Susanka 9ed77afd12 core: build protobuf
5 years ago
Pavol Rusnak c761351afa
core: add indeterminate flag to display_loader
5 years ago
Tomas Susanka c9f380eae4
Tezos: Add voting support (#41)
5 years ago
Pavol Rusnak 8b06598474
core+legacy: rework code styling checks
5 years ago
matejcik 1e7357db80 core/ui: fix crash when trying to scroll with only one page
5 years ago
Andrew Kozlik d2a399debf Merge remote-tracking branch 'core-local/andrewkozlik/slip0039' into andrewkozlik/slip0039
5 years ago
Adrian Nagy fd95ff0531 made requested changes
5 years ago
Adrian Nagy 0c630831dc Merge remote-tracking branch 'core-local/voting' into voting
5 years ago
matejcik e5670856a2 MONOREPO CREATE FROM trezor-core
5 years ago