Commit Graph

879 Commits (da89a17ce5c45972e5523dceb67ffbebf62d05c2)

Author SHA1 Message Date
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'
5 years ago
matejcik 0df3c64855 core: fix unexpected messages in debug mode (fixes #809)
5 years ago
Tomas Susanka bf1514d1ac core/test/strings: add test for words ending with 'hsxz'
5 years ago
matejcik 4e82e69070 core: add missing type annotation
5 years ago
Tomas Susanka 0053511c66 utils: introduce format_plural and move format functions to strings.py
5 years ago
matejcik 75264a07a8
Emulator launcher scripts (#796)
5 years ago
Pavol Rusnak 4868afcf51
core: add upy 1.12 to changelog
5 years ago
Pavol Rusnak 3de1b3aa54
core/embed: switch to unprivileged in main.c
5 years ago
Pavol Rusnak 7a2e0c3412
core/embed: don't call functions via supervisor if in privileged mode
5 years ago
matejcik 0496e49507 core/tests: fix monero runner script
5 years ago
matejcik a3d309eca2 core/prof: make sure coverage data is generated with absolute paths
5 years ago
matejcik e2fd2c35ff core: modify profiling wrapper to work with frozen builds
5 years ago
matejcik 6cf48bf485 ci: use explicit trezor.log location
5 years ago
matejcik 85f2e18828 core: convert emu.sh to a simple dependency-less compat wrapper
5 years ago
matejcik 22c8b2569b core: simplify monero test use of emulator
5 years ago
matejcik ec192e9406 core: use better emulator test wrappers (fixes #468)
5 years ago
matejcik 2294fb0453 core: drop unused env variables (TREZOR_TEST, TREZOR_SAVE_SCREEN)
5 years ago
matejcik 8dce2cf98c core: introduce emulator runner (fixes #466)
5 years ago
matejcik 27c4c2dd50 core: do not let frozen emulator import live files
5 years ago
matejcik 29e883ab59 core/monero: fix usage of ctx.wait in pagination
5 years ago
matejcik a79279115e core: move confirm_signal evaluation into concrete Layout implementations
5 years ago
Pavol Rusnak 4b1159b94d
tools/keyctl-proxy: blue is not readable on my display :)
5 years ago
matejcik 8a5242ed0f
core/tools: make keyctl remote signing more resilient
5 years ago
matejcik 611b734d21
add Pyro4 to pipenv, and make headertool work without it
5 years ago
matejcik 3f85db1b62
core/tools: retain client handle, only ask for passphrase once
5 years ago
matejcik ccacada37c
core/tools: cleanly shut down keyctl-proxy after signing
5 years ago
matejcik e9c68d7397
core/tools: pass fw instance properly in keyctl-proxy
5 years ago
matejcik 388843f772
core/tools: make keyctl-proxy output nicer
5 years ago
matejcik 7c56a1296f
core/tools: add help texts to headertool
5 years ago
matejcik 1b04d1caa7
core/tools: drop tools obsoleted by headertool
5 years ago
matejcik 9341f0d584
core: improve building of vendor headers
5 years ago
matejcik c03ac3f8dd
core/tools: update keyctl-proxy to work with headertool
5 years ago
matejcik 5b48505b88
core/tools: fold keyctl-coordinator into headertool
5 years ago
matejcik cc29b22f91
core/tools: introduce headertool
5 years ago
matejcik fe4ef336aa
core/keyctl: get rid of serpent conversions
5 years ago
matejcik 15bd35824b
python/cosi: improve API
5 years ago
Pavol Rusnak 500156b9ba
core/embed: don't use local copy of inflate
5 years ago
Pavol Rusnak 8a36ead915
common/defs: add Faceboook to recognized apps
5 years ago
Dušan Klinec af6a607b39 common/xmr: message changes optimizing runtime and memory (#786)
5 years ago
Andrew Kozlik 289d8276eb core/fido2: check for HID timeout in send_cmd() (#791)
5 years ago
Tomas Susanka 7c41b40dff
tests: introduce UI tests for core with diffs (#784)
5 years ago
Tomas Susanka 30858c4969 tests/ui: omit the red square from screenshots
5 years ago
matejcik d4eed4b8ff core/tests: update tests for modified slip39 API
5 years ago
matejcik f90ba10af3 core: modify function signatures to match python-shamir-mnemonic
5 years ago
Milan Rossa 33b7e378c2
core/ci: add coverage target, introduce posttest stage
5 years ago
Milan Rossa 62e9ff0ad2
core: introduce coverage wrapper
5 years ago
Milan Rossa 8b31c6fcf4
core: increase stack size for unix port
5 years ago
Pavol Rusnak 9bc3af08b2
core: update mpconfigport.h from upstream (for both stm32 and unix)
5 years ago
Milan Rossa 42f1af3aa4
core: add build target for debug unix build
5 years ago
Jan Pochyla 655ec0a70c core/unix: update main.c from upy 1.12
5 years ago
Jan Pochyla 87e7d43068 core/firmware: gchelper.s moved to different directory
5 years ago
Jan Pochyla 7deade5a10 core/firmware: PendSV_Handler is defined in pendsv.c
5 years ago
Jan Pochyla ecc4313a34 core/usb: avoid naks in hid/webusb rx interfaces
5 years ago
Jan Pochyla 6afff3cc0e core/loop: remove unused code
5 years ago
Jan Pochyla f526818603 core: remove qstr blacklist
5 years ago
Jan Pochyla 5aca68e50c core: generate moduledefs.h for micropython
5 years ago
Tomas Susanka 8796ca96b9 tests/ui: rename test-screen to ui
5 years ago
Tomas Susanka 47419c7768 core/ui: simplify swipe if animation is disabled
5 years ago
Tomas Susanka 56257eb6a5 tests/ui: code review fixes
5 years ago
Tomas Susanka 3a035a0ef8 tests: save screens directly to ui_tests; introduce recorded/actual dir
5 years ago
Tomas Susanka eabd0da196 core/make; legacy: style
5 years ago
Tomas Susanka 51ef963738 tests: introduce UI tests for core
5 years ago
Tomas Susanka a28f29708f ci: add junit for a nice tests overview
5 years ago
Tomas Susanka ffea791658
Merge pull request #774 from trezor/tsusanka/shamir-word-checks
5 years ago
Tomas Susanka d8e956fc6d core/recovery: change exceptions types; modifications in tests
5 years ago
Tomas Susanka 7f730cb6f9 core/recovery: refactor to exceptions
5 years ago
Tomas Susanka f4e11a9176 core/recovery: rework arguments
5 years ago
Tomas Susanka 20bcc68926 core/tests: remove utest.py
5 years ago
Tomas Susanka faa9078c2b core/recovery: refactor word checks and add a test
5 years ago
Tomas Susanka a316347bf1 core/tests: test debug is on
5 years ago
Tomas Susanka 5677c254b1 core/tests: remove PYOPT settings
5 years ago
Tomas Susanka 6594ee9368 core/recovery: correctly inform about share already entered inside first group
5 years ago
Pavol Rusnak 8572a5a942
core: fix interrupt usage in usbd_conf
5 years ago
Ondrej Mikle 0064fda203
core: check whether USB structures are correct to avoid faults in shutdown
5 years ago
Pavol Rusnak 6198509948
core: bump version to 2.2.1; update changelog
5 years ago
Pavol Rusnak d6a3725955
common: remove coins with no trezor compatible wallets
5 years ago
Milan Rossa 6d932a8a1d core/embed/unix/flash: Don't reopen flash emulation file.
5 years ago
Pavol Rusnak a9454b216d
core: move delay.c from trezorhal to firmware, fix prodtest build
5 years ago
Pavol Rusnak a9e5149b95
core: reorganize source code to allow boardloader build
5 years ago
Tomas Susanka e75e77a5b2 core/changelog: add info about broken fw upgrades on 2.1.3
5 years ago
Pavol Rusnak e5bdf0d51b
Merge pull request #742 from trezor/language
5 years ago
Pavol Rusnak 046ff607d3
Merge branch 'sdcard-dma'
5 years ago
Milan Rossa 91007bafe9 core/unix/main: Print memory info (peak memory) when TREZOR_LOG_MEMORY env var is set. Part of #194
5 years ago
Pavol Rusnak 43da0d754a
core/embed: decrease SD card operations timeout to 5s
5 years ago
Pavol Rusnak b34675401c
core/embed: add explicit fault handlers
5 years ago
Pavol Rusnak c8c27dcd2f
core/embed: enable/disable SDIO/DMA interrupts via supervisor calls
5 years ago
Pavol Rusnak 990a91cd13
core/embed: enable DMA for SDIO operations
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 8cced84bc4 core: fix build-icons
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 61e4f79c90 core: use common implementation for toif_convert
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 0f3466bf01 core, legacy: update changelog
5 years ago
Tomas Susanka 1b88840f53 docs: move docs to root
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