Commit Graph

1122 Commits (decode_bytes)

Author SHA1 Message Date
matejcik c81be584fb core/fatfs: ensure functions can only be called on a mounted filesystem
4 years ago
matejcik fa746e2990 core/fatfs: rework low-level FatFS API
4 years ago
Pavol Rusnak c896f02eb3
core/boardloader: use SRAM as SD card read buffer
4 years ago
Andrew Kozlik 2133f7cf29 core: Prevent data loss when writing to USB VCP.
4 years ago
matejcik b916072389 common: restore PassphraseAck.state
4 years ago
matejcik d7b9582386 core/sdcard: add ensure_filesystem option (fixes #868)
4 years ago
matejcik e9c275c24f core/sdcard: fix invalid state when filesystem mounting fails
4 years ago
Pavol Rusnak 39ce100608
Merge pull request #864 from trezor/prusnak/bootloader-text-break
4 years ago
Tomas Susanka 6c47bf8230 core: store multiple sessions/caches at the same time
4 years ago
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
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
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
Tomas Susanka 26e2960532 core/webauthn: move boot to regular firmware block
5 years ago
Pavol Rusnak 58a865dd05
core/embed/unix: fix sdcard_init behaviour
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
Tomas Susanka c1f7239c2d ci: add click and persistence tests
5 years ago
matejcik 93062c4cc2 docs: improve docs, add random.md
5 years ago
Pavol Rusnak 0f1e30b235
core: fix typo in get_address
5 years ago
Pavol Rusnak c617035a3e
core: bump version to 2.1.9
5 years ago
Pavol Rusnak e67a359279
core: update changelog
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
Pavol Rusnak b79102008d
core: fix new Python SyntaxWarning (new in 3.8)
5 years ago
Tomas Susanka b530e7c105 ci: add fido2 tests to ci
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
Tomas Susanka 899a03dd1d docs/build: update debug build on device
5 years ago
Pavol Rusnak e16c27a401
core: update changelog
5 years ago
Pavol Rusnak ab62715606
core: bump version to 2.1.8
5 years ago
apollo 74bcc05e2e common/defs: add ZCR (#611)
5 years ago
Pavol Rusnak 76eefd026f
all: let's use -Wno-missing-braces because clang does not respect
5 years ago
Pavol Rusnak 1bdc83838b
legacy+core: properly handle non-printable ascii characters
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
Tomas Susanka a2fed79f7e
Merge pull request #603 from trezor/tsusanka/groups-info
5 years ago
Andrew Kozlik e385eae433 core/webauthn: Use popups for webauthn error messages instead of confirmation dialogs to simplify device testing.
5 years ago
Andrew Kozlik 8ce8916beb core/webauthn: Remove AUTOCONFIRM option.
5 years ago
Sirak Ghazaryan 8317774e06 common/defs: enable CRW (#600)
5 years ago
Tomas Susanka 29bb2dcb95
Add unit test for process_slip39 function (#601)
5 years ago
Tomas Susanka 1068acae40 core/tests: assert secret in process_slip39 test
5 years ago
Tomas Susanka 74a283c271 core/recovery: small refactor in Info dialog
5 years ago
Andrew Kozlik ba9eee3b8f core, legacy: Don't allow change_pin if device is not initialized.
5 years ago
Tomas Susanka 75dfcacc21 core/tests: add unit test for process_slip39 function
5 years ago
matejcik 861e999425 core: draft unit test for process_slip39
5 years ago
Tomas Susanka 07b4f6e399 core/recovery: remove unused get/set_slip39_threshold
5 years ago
Pavol Rusnak adbec13779
core/sd_salt: fix bug introduced in ede1a0bae3
5 years ago
Pavol Rusnak 04466402ce
core/monero: use const where possible
5 years ago
Pavol Rusnak ed0336c0a9
core/monero: add gc.collect before large allocations in bulletproof code
5 years ago
Pavol Rusnak 5f980b50a0
core/monero: refactor bulletproof look-up-tables
5 years ago
Pavol Rusnak ede1a0bae3
core/sd_salt: introduce _get_device_dir, _get_salt_path
5 years ago
Pavol Rusnak 2217b680e3
core: update changelog
5 years ago
Pavol Rusnak 2e877b5762
core: refactor fido2 stuff into webauthn/fido2
5 years ago
Tomas Susanka 6b8f63c624 docs: improve tests documentation
5 years ago
matejcik 3c62db2696 stellar: fix ManageDataOp value padding
5 years ago
Andrew Kozlik 18998ff42f core/webauth: Remove "alg" parameter validation for key-agreement public keys to avoid compatibility issues.
5 years ago
Andrew Kozlik 4a81101c84 core/webauthn: Modify error handling to match fido2-tests.
5 years ago
Andrew Kozlik 9537bc40a5 core/webauthn: Use ECDH_ES_HKDF_256 instead of ES256 as the algorithm type for key-agreement keys.
5 years ago
Pavol Rusnak 69142e56e7
core/tests: don't use curl, use wget
5 years ago
Andrew Kozlik 500401d81f core/webauthn: Place a 500 ms timeout on CTAP HID continuation packets.
5 years ago
Andrew Kozlik 0495d18b1e core/webauthn: Fix CTAP HID protocol to correctly handle invalid channel IDs and interleaving packets from different channels.
5 years ago
Andrew Kozlik 9ea8136545 u2f: Add keepersecurity.eu to knownapps.
5 years ago
Andrew Kozlik e4c13b6357 u2f: Store hashes of U2F application parameters instead of pre-images.
5 years ago
Andrew Kozlik 6a33889706 common/webauthn: Add new URLs for gandi.net and Slush Pool.
5 years ago
Andrew Kozlik 528ee9ccf1 core/webauthn: Ensure user-presence option is not present in MakeCredential requests.
5 years ago
Andrew Kozlik e341f133a3 core/webauthn: Add length checks in CTAPHID protocol.
5 years ago
Andrew Kozlik ae70741e48 core/webauthn: Add more type checking for CBOR command parameters and return CTAP2_ERR_CBOR_UNEXPECTED_TYPE.
5 years ago
Andrew Kozlik 5ca4ed2347 core/webauth: Add _AUTOCONFIRM option for testing.
5 years ago
Andrew Kozlik 7ad1467dbf core/webauthn: Process debuglink signals in Fido2ConfirmGetAssertion.
5 years ago
Andrew Kozlik 3d91cb5c5b core/webauthn: Return ERR_MISSING_PARAMETER instead of generic error.
5 years ago