Commit Graph

913 Commits (3096a5caa6c37f0e6d5067214829e5b988bc35e7)

Author SHA1 Message Date
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
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 a02d7e3daf core/bootloader: request vendor header first
4 years ago
matejcik d28e33ef02 core/headertool: support generating vendor headers with explicit size
4 years ago
Pavol Rusnak 6dbed1424f
core+legacy: update nanopb api to version 0.4
4 years ago
Pavol Rusnak 3eb7775659
core/bootloader: regenerate protobuf messages
4 years ago
Pavol Rusnak 4647e7d686
core+legacy: use nanopb generator from pipenv
4 years ago
Pavol Rusnak 5bf8eca350
legacy+core: accept only valid UTF-8 strings via nanopb
4 years ago
Tomas Susanka 277e494ffa core/recovery: end dry run before showing success
4 years ago
Tomas Susanka 4850eaf534 emu.py: remove frozen variable
4 years ago
EtherCore Contributor c03caaf76a
common/defs: switch ERE logo (#808)
4 years ago
matejcik 5d052678a6 build: make sure resources are built for 'make mypy'
4 years ago
matejcik 0df3c64855 core: fix unexpected messages in debug mode (fixes #809)
4 years ago
Tomas Susanka bf1514d1ac core/test/strings: add test for words ending with 'hsxz'
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 4868afcf51
core: add upy 1.12 to changelog
4 years ago
Pavol Rusnak 3de1b3aa54
core/embed: switch to unprivileged in main.c
4 years ago
Pavol Rusnak 7a2e0c3412
core/embed: don't call functions via supervisor if in privileged mode
4 years ago
matejcik 0496e49507 core/tests: fix monero runner script
4 years ago
matejcik a3d309eca2 core/prof: make sure coverage data is generated with absolute paths
4 years ago
matejcik e2fd2c35ff core: modify profiling wrapper to work with frozen builds
4 years ago
matejcik 6cf48bf485 ci: use explicit trezor.log location
4 years ago
matejcik 85f2e18828 core: convert emu.sh to a simple dependency-less compat wrapper
4 years ago
matejcik 22c8b2569b core: simplify monero test use of emulator
4 years ago
matejcik ec192e9406 core: use better emulator test wrappers (fixes #468)
4 years ago
matejcik 2294fb0453 core: drop unused env variables (TREZOR_TEST, TREZOR_SAVE_SCREEN)
4 years ago
matejcik 8dce2cf98c core: introduce emulator runner (fixes #466)
4 years ago
matejcik 27c4c2dd50 core: do not let frozen emulator import live files
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 4b1159b94d
tools/keyctl-proxy: blue is not readable on my display :)
4 years ago
matejcik 8a5242ed0f
core/tools: make keyctl remote signing more resilient
4 years ago
matejcik 611b734d21
add Pyro4 to pipenv, and make headertool work without it
4 years ago
matejcik 3f85db1b62
core/tools: retain client handle, only ask for passphrase once
4 years ago
matejcik ccacada37c
core/tools: cleanly shut down keyctl-proxy after signing
4 years ago
matejcik e9c68d7397
core/tools: pass fw instance properly in keyctl-proxy
4 years ago
matejcik 388843f772
core/tools: make keyctl-proxy output nicer
4 years ago
matejcik 7c56a1296f
core/tools: add help texts to headertool
4 years ago
matejcik 1b04d1caa7
core/tools: drop tools obsoleted by headertool
4 years ago
matejcik 9341f0d584
core: improve building of vendor headers
4 years ago
matejcik c03ac3f8dd
core/tools: update keyctl-proxy to work with headertool
4 years ago
matejcik 5b48505b88
core/tools: fold keyctl-coordinator into headertool
4 years ago
matejcik cc29b22f91
core/tools: introduce headertool
4 years ago
matejcik fe4ef336aa
core/keyctl: get rid of serpent conversions
4 years ago
matejcik 15bd35824b
python/cosi: improve API
4 years ago
Pavol Rusnak 500156b9ba
core/embed: don't use local copy of inflate
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 d4eed4b8ff core/tests: update tests for modified slip39 API
4 years ago
matejcik f90ba10af3 core: modify function signatures to match python-shamir-mnemonic
4 years ago
Milan Rossa 33b7e378c2
core/ci: add coverage target, introduce posttest stage
4 years ago
Milan Rossa 62e9ff0ad2
core: introduce coverage wrapper
4 years ago
Milan Rossa 8b31c6fcf4
core: increase stack size for unix port
4 years ago
Pavol Rusnak 9bc3af08b2
core: update mpconfigport.h from upstream (for both stm32 and unix)
4 years ago
Milan Rossa 42f1af3aa4
core: add build target for debug unix build
4 years ago
Jan Pochyla 655ec0a70c core/unix: update main.c from upy 1.12
4 years ago
Jan Pochyla 87e7d43068 core/firmware: gchelper.s moved to different directory
4 years ago
Jan Pochyla 7deade5a10 core/firmware: PendSV_Handler is defined in pendsv.c
4 years ago
Jan Pochyla ecc4313a34 core/usb: avoid naks in hid/webusb rx interfaces
4 years ago
Jan Pochyla 6afff3cc0e core/loop: remove unused code
4 years ago
Jan Pochyla f526818603 core: remove qstr blacklist
4 years ago
Jan Pochyla 5aca68e50c core: generate moduledefs.h for micropython
4 years ago
Tomas Susanka 8796ca96b9 tests/ui: rename test-screen to ui
4 years ago
Tomas Susanka 47419c7768 core/ui: simplify swipe if animation is disabled
4 years ago
Tomas Susanka 56257eb6a5 tests/ui: code review fixes
4 years ago
Tomas Susanka 3a035a0ef8 tests: save screens directly to ui_tests; introduce recorded/actual dir
4 years ago
Tomas Susanka eabd0da196 core/make; legacy: style
4 years ago
Tomas Susanka 51ef963738 tests: introduce UI tests for core
4 years ago
Tomas Susanka a28f29708f ci: add junit for a nice tests overview
4 years ago
Tomas Susanka ffea791658
Merge pull request #774 from trezor/tsusanka/shamir-word-checks
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 20bcc68926 core/tests: remove utest.py
4 years ago
Tomas Susanka faa9078c2b core/recovery: refactor word checks and add a test
4 years ago
Tomas Susanka a316347bf1 core/tests: test debug is on
4 years ago
Tomas Susanka 5677c254b1 core/tests: remove PYOPT settings
4 years ago
Tomas Susanka 6594ee9368 core/recovery: correctly inform about share already entered inside first group
4 years ago
Pavol Rusnak 8572a5a942
core: fix interrupt usage in usbd_conf
4 years ago
Ondrej Mikle 0064fda203
core: check whether USB structures are correct to avoid faults in shutdown
4 years ago
Pavol Rusnak 6198509948
core: bump version to 2.2.1; update changelog
4 years ago
Pavol Rusnak d6a3725955
common: remove coins with no trezor compatible wallets
4 years ago