Commit Graph

913 Commits (3096a5caa6c37f0e6d5067214829e5b988bc35e7)

Author SHA1 Message Date
matejcik 136307bcae core: propagate coin info to all sanitize functions
4 years ago
matejcik 303c05aba7 core/sign_tx: check if prev_tx has enough outputs to match prev_index
4 years ago
Andrew Kozlik a34637c0f2 core/sign_tx: Check multisig fingerprint before signing inputs.
4 years ago
Tomas Susanka 163220e4b7 core/wallet: properly check decred input
4 years ago
Ondřej Vejpustek 6274cfdf8b core: remove unreachable zcash code
4 years ago
Ondřej Vejpustek d61181d7e8 core: fix transaction header for mixed segwit inputs
4 years ago
Tomas Susanka f0a39df75d core/wallet: check inputs and outputs right after receiving them
4 years ago
Tomas Susanka 0903159d9b core, legacy: make sure OPRETURN ouput is not marked as change
4 years ago
Tomas Susanka 4af9aa547e core: forbid unnecessary fields in OPRETURN output
4 years ago
Andrew Kozlik d800fcbf9f core/sign_tx: If there is a non-multisig input, then change output cannot be multisig.
4 years ago
Andrew Kozlik b3cd760df0 core/webauthn: Disable CTAPHID_WINK function.
4 years ago
Andrew Kozlik e5008eb332 core/webauthn: Remove indistinguishable credentials from the allow list.
4 years ago
Andrew Kozlik cda9de8dd1 core/webauthn: Add maxCredentialCountInList and maxCredentialIdLength to authenticatorGetInfo response.
4 years ago
Andrew Kozlik 0af0e06d5b core/webauthn: Truncate names in credential data to at most 100 bytes.
4 years ago
matejcik ccffefd667 core/boot: do not catch OSError in boot wait
4 years ago
matejcik f6f041e269 core/sdcard: also catch OSError in the formatting phase
4 years ago
matejcik 3a71a5a05c core/sdcard: show "Wrong SD card" when unlocking SD protect with unformatted card
4 years ago
matejcik 3789a3372b core/sdcard: modify exception handling in fatfs
4 years ago
Andrew Kozlik 8ee0026637 core: Allow PIN entry even when SD protect is enabled and the card is not present.
4 years ago
Andrew Kozlik bfd834d1de storage: Add storage_ensure_not_wipe_code().
4 years ago
Konnor Klashinsky 70a1f957ed
Fix BackupDevice layout on 18-word seed wallets
4 years ago
Andrew Kozlik 2f905a1157 core/webauthn: Add algorithm and curve to WebAuthnListResidentCredentials response.
4 years ago
Andrew Kozlik f610787f8d core/webauthn: Clean up bytes/bytearray typing around uctypes.
4 years ago
Andrew Kozlik e378820f7f core/webauthn: Implement support for Ed25519 signatures in FIDO2.
4 years ago
Pavol Rusnak 624b639ba8
Merge pull request #886 from trezor/onvej-sl/monero-optimizations-squashed
4 years ago
Tomas Susanka f8de140271 core: add cancel to hold to confirm dialogs
4 years ago
Dusan Klinec 2658e253fa xmr/bp: memory optimizations and improvements
4 years ago
Tomas Susanka 21676a0662 ore/tezos: better wording in delegation cancel
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
matejcik bd9663af79 common/defs: update token reference, add new tokens to 2.3.0/1.9.0, regenerate coins_details
4 years ago
Tomas Susanka 86b010a18b
Merge pull request #878 from trezor/matejcik/fatfs-corruption
4 years ago
Tomas Susanka c8b7d3fb56 core/changelog: SD card protection is part of 2.3.0
4 years ago
Tomas Susanka a63e6fc4ef core+legacy: update changelogs
4 years ago
Tomas Susanka a8af9feebe core: fix text overflow in some dialogs
4 years ago
Tomas Susanka 744c32991f core: unify sign/verify functions
4 years ago
Tomas Susanka b317613d63
Merge pull request #874 from trezor/tsusanka/test
4 years ago
Tomas Susanka 495a59c282 core: use wire errors instead of ValueErrors where applicable
4 years ago
matejcik 18ac4fc9ca core: update Python facing APIs
4 years ago
matejcik 9ab84d2455 core/tests: thoroughly test modified APIs
4 years ago
matejcik b24411b900 core/sdcard: unmount instance when powering off sdcard
4 years ago
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