Commit Graph

913 Commits (3096a5caa6c37f0e6d5067214829e5b988bc35e7)

Author SHA1 Message Date
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
Milan Rossa 6d932a8a1d core/embed/unix/flash: Don't reopen flash emulation file.
4 years ago
Pavol Rusnak a9454b216d
core: move delay.c from trezorhal to firmware, fix prodtest build
4 years ago
Pavol Rusnak a9e5149b95
core: reorganize source code to allow boardloader build
4 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
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 5bdd523b91 vendor: Update fido2-tests submodule to fix issues with random ordering.
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
Tomas Susanka 11f8da2f2d core: remove .sconsign.dblite on make clean
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 e25a7ebb7f core: add changelog for RecoveryDevice fix
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 33ecdeb193
core+legacy: remove confusing changelog entries
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 0a0cd797e3
ci/tests: use new Monero tests binary
5 years ago
Pavol Rusnak cde944b565
Merge branch 'reorder-usb'
5 years ago
Pavol Rusnak 908c0fb8c0
core/docs: add info about enabling VCP for non-Bitcoin-only FW
5 years ago
Tomas Susanka 20a30ae521 tests/monero: print hash of the monero binary
5 years ago
Tomas Susanka 85d7215bf3
Merge pull request #700 from trezor/tsusanka/upgrade-u2f-check
5 years ago
Pavol Rusnak 2652936c16
core/tests: adapt device_emu_fido2/u2f to reordered usb endpoints
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
Dusan Klinec d81f43f7a4 tests: use new monero testing binary v0.15.0.0
5 years ago
Pavol Rusnak d761a57689
storage: introduce FLAGS_APPID
5 years ago
Pavol Rusnak 1caae698ca
storage: make FLAG_PUBLIC and FLAGS_WRITE part of public API
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 c9fca25531 core: add storage module to frozen build
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
Tomas Susanka f4385ede2a core/changelog: add note on Recovery rework
5 years ago
Pavol Rusnak 4462fb522c
core/nem: don't use mp_obj_new_str_of_type
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 8928e891c6
core/Changelog: add entry
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 1397bbfeb5 core/tests: fix test suite after storage move
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 1d1e9da1d3
Merge pull request #661 from trezor/tsusanka/webauthn-move-iface
5 years ago