Commit Graph

289 Commits (6be367bf8b591d48e1e74d709c34319cff9df1d1)

Author SHA1 Message Date
Andrew Kozlik 5aea566eb5 legacy/signing: validate prevout amount in all cases
4 years ago
Tomas Susanka 675ff459db core, legacy: update changelogs
4 years ago
Tomas Susanka 9dfc08ca61 core/bitcoin: drop decred_script_version
4 years ago
Ondřej Vejpustek ef9eb7b7a4 legacy/stellar: change price format
4 years ago
Tomas Susanka 47f104bceb core, legacy: bump versions
4 years ago
Andrew Kozlik 2e29f7bba6 legacy/u2f: 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.
4 years ago
Pavol Rusnak 4b5a84eab7
core+legacy: update changelogs
4 years ago
Tomas Susanka ae4f927a45 tests: test incorrect script type
4 years ago
Andrew Kozlik 175d708ebc legacy: Drop obsolete check for ANYONECANSPEND segwit outputs.
4 years ago
Tomas Susanka d0d41c884e legacy: move script type checks to separate functions and unify with core
4 years ago
matejcik da89a17ce5 all: add checks for prev_hash size
4 years ago
Tomas Susanka 64584e271c legacy, core: add and unify validation checks
4 years ago
Tomas Susanka 71a39bc0d7 legacy: check inputs' and outputs' script types
4 years ago
matejcik adea7d6b35 all: make timestamp mandatory on timestamp-enabled coins
4 years ago
matejcik e2035b4972 all: drop Horizen and BIP-115 support [NO BACKPORT]
4 years ago
matejcik ed464f3d47 all: ensure expiry, timestamp and extra_data are blocked as appropriate
4 years ago
matejcik 27803ee8c1 all: drop overwintered field from transaction
4 years ago
matejcik c9fd3f77a5 all: add overwintered field to coin specification
4 years ago
Pavol Rusnak 817b922850 all: add extra_data and timestamp fields to coin specification
4 years ago
Tomas Susanka 0903159d9b core, legacy: make sure OPRETURN ouput is not marked as change
4 years ago
Tomas Susanka a513f7429b legacy: forbid unnecessary fields in OPRETURN output
4 years ago
Andrew Kozlik b2dc5813fe legacy, tests: Check for invalid PIN.
4 years ago
Tomas Susanka a63e6fc4ef core+legacy: update changelogs
4 years ago
Pavol Rusnak ec199b19a9
legacy: use 2 page pagination to show xpubs in multisig get_address
4 years ago
Pavol Rusnak 5c01a9459c
legacy: show xpubs with multisig get_address
4 years ago
matejcik b916072389 common: restore PassphraseAck.state
4 years ago
Tomas Susanka f93f6e445b legacy: store multiple sessions/caches at the same time
4 years ago
matejcik ddee77ecb6 core: add SD clearing via debuglink
4 years ago
Pavol Rusnak d2bcccf0ae
Merge pull request #847 from trezor/prusnak/bootloader-restart
4 years ago
Pavol Rusnak 581e46ff87
Merge pull request #845 from trezor/prusnak/webusb-popup
4 years ago
Pavol Rusnak 23ffc87236
legacy/bootloader: soft reset after firmware upload
4 years ago
Tomas Susanka 3d91a0643d legacy: add comment to startup.S
4 years ago
Tomas Susanka cfa14dcca0 legacy: improve script/setup
4 years ago
matejcik e61b7d28e9 all: do not send state in PassphraseAck (not needed for compatibility)
4 years ago
matejcik cdb7a7eb68
Merge pull request #840 from trezor/matejcik/sys-exit
4 years ago
Pavol Rusnak 215020a592
legacy: show webusb popup only in bootloader and only if firmware is not installed
4 years ago
matejcik 0ec628ccd4 legacy: fix CALLBACK checker
4 years ago
matejcik c14429c445 all: shut down emulator on error_shutdown
4 years ago
Tomas Susanka 2c0504ad1c
Merge pull request #803 from trezor/passphrase
4 years ago
matejcik 3d1fefe38a legacy: make sure nanopb_generator is ready
4 years ago
matejcik 05a1d6f771 core/debug: add "show arbitrary screen" capability, for easier prototyping
4 years ago
matejcik ff702c7d7f common: add proper markers for deprecated messages
4 years ago
Pavol Rusnak 73ed2f3450
legacy: small nitpicks related to the new passphrase handling
4 years ago
Tomas Susanka f21c13f0bd
legacy: remove redundant failure response
4 years ago
Tomas Susanka c65b57affb
core, legacy: remove passphrase_cached
4 years ago
Tomas Susanka 1ae5813cab
legacy: bump version to 1.9.0
4 years ago
Tomas Susanka a3f3d4fcdb
remove ping.passphrase/pin
4 years ago
Tomas Susanka 48fe192103
legacy: clear up passphrase usage
4 years ago
Tomas Susanka b5d6aaf77c
tests: test PassphraseAck options
4 years ago
Tomas Susanka 041a95f738
legacy: new passphrase redesign draft
4 years ago
Pavol Rusnak 6dbed1424f
core+legacy: update nanopb api to version 0.4
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
Pavol Rusnak 0ceba80876
legacy: fix wrong logic in layoutButtonNo
4 years ago
Pavol Rusnak 0b3d0c6681
legacy/bootloader: update combine script
4 years ago
Tomas Susanka 7c41b40dff
tests: introduce UI tests for core with diffs (#784)
4 years ago
Pavol Rusnak 11d80f0f20
legacy: remove hackish cast usage
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
Pavol Rusnak 516edbe825
legacy: add u2f_knownapps.h to gitignore
4 years ago
Pavol Rusnak e5bdf0d51b
Merge pull request #742 from trezor/language
5 years ago
matejcik 0ae2cdf756 docs: update legacy build instructions (fixes #658)
5 years ago
Pavol Rusnak 7646b97dca
common: divisibility -> decimals
5 years ago
matejcik ac6e23fb87 mako: improve local variable name
5 years ago
matejcik f5a6342844 legacy: auto-generate U2F/FIDO apps
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
Pavol Rusnak 3d50bb5ed8
common: add Peercoin, regenerate coins
5 years ago
Pavol Rusnak 5301c03607
common: add coin.divisibility attribute
5 years ago
Andrew Kozlik 829da5fe6c legacy: Implement ChangeWipeCode message for Trezor One.
5 years ago
matejcik 34913a328a all: disallow most RecoveryDevice fields in dry-run (fixes #666)
5 years ago
Pavol Rusnak 33ecdeb193
core+legacy: remove confusing changelog entries
5 years ago
matejcik 9787e38206 legacy: properly omit LoadDevice in non-debug build
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
Tomas Susanka 499eb8e628 legacy: get next u2f counter
5 years ago
Pavol Rusnak 1caae698ca
storage: make FLAG_PUBLIC and FLAGS_WRITE part of public API
5 years ago
Pavol Rusnak 7476e9463f
legacy/bootloader: don't include FONT_FIXED
5 years ago
Pavol Rusnak 054bb3a67a
legacy/bootloader: refactor show_halt usage
5 years ago
Pavol Rusnak 86b7813629
legacy/bootloader: refactor show_unplug
5 years ago
Pavol Rusnak f86ac65ad1
legacy/bootloader: refactor flash_enter/flash_exit
5 years ago
Pavol Rusnak 92c64122a1
legacy/bootloader: move VERSION_*_CHAR to version.h
5 years ago
Pavol Rusnak ee98d0b398
legacy/layout: use bmp_btn_confirm, bmp_btn_cancel
5 years ago
Pavol Rusnak 81085ed388
legacy/oled: remove non-ASCII symbols from font definitions
5 years ago
Pavol Rusnak 2d8f70d49a
common/defs: add mojeid.cz definition to webauthn
5 years ago
Pavol Rusnak 9ab1554e93
legacy: use cryptoMultisigPubkeyCount where possible
5 years ago
Pavol Rusnak c145db7dd2
legacy: fix not showing MultisigRedeemScriptType.nodes count correctly in GetAddress
5 years ago
Pavol Rusnak 5fe2f7e59c common/protob: remove ButtonRequest.data field
5 years ago
matejcik 34823b6fcb legacy: add field options to fix build
5 years ago
Andrew Kozlik 15d8f9def6 legacy/signing.c: Revert formatting of the workflow of streamed signing.
5 years ago
Pavol Rusnak e688fa8775
vendor: update nanopb, remove build failure workaround
5 years ago
Pavol Rusnak 76eefd026f
all: let's use -Wno-missing-braces because clang does not respect
5 years ago
Pavol Rusnak 5cfa386e44
legacy: workaround nanopb build failure with -Werror
5 years ago
Pavol Rusnak 145b098f0e
legacy: fix types for characted data
5 years ago
Pavol Rusnak b07b9b1d09
legacy/vendor: use pre-relase of nanopb 0.3.9.4
5 years ago
Pavol Rusnak 1bdc83838b
legacy+core: properly handle non-printable ascii characters
5 years ago
Andrew Kozlik 17fa41620e
legacy: refactor readprotobufint()
5 years ago
Ondřej Vejpustek fa9d349bc9
legacy: explicitly initialize variable length arrays
5 years ago
Ondřej Vejpustek 08265cdd08
legacy: explicitly initialize variables
5 years ago
Saleem Rashid 1ca521eec9
legacy/nem: Refactor nem_canonicalizeMosaics
5 years ago
Andrew Kozlik ba9eee3b8f core, legacy: Don't allow change_pin if device is not initialized.
5 years ago
matejcik 3c62db2696 stellar: fix ManageDataOp value padding
5 years ago
matejcik d48c5c6450 legacy/stellar: fix timebounds display (#582)
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
Pavol Rusnak 6a9d986e20
legacy: correctly handle set/clear flags
5 years ago
Pavol Rusnak 78041d261b
crypto: refactor bip39 api
5 years ago
Pavol Rusnak 3c20b1b1cd legacy: Add SdProtect to SKIPPED_MESSAGES
5 years ago
Andrew Kozlik 4f01003637 storage: Add external salt parameter to unlock() and change_pin().
5 years ago
Pavol Rusnak 101d2e5df6
legacy: fix reporting model in bootloader
5 years ago
Andrew Kozlik 091053507d common/messages: Add credential management message.
5 years ago
Tomas Susanka 75c539ec55
all: replace /bin/bash with /usr/bin/env bash
5 years ago
Pavol Rusnak a635ba6bff
build: clean up build-docker scripts a little
5 years ago
Pavol Rusnak 42f030dbcd
legacy: refactor SKIPPED_MESSAGES in the Makefile
5 years ago
Pavol Rusnak bfe01707b1
build: add BITCOIN_ONLY variable to docker build scripts
5 years ago
Pavol Rusnak 324cb651c6
core+legacy: update bootloader ChangeLogs
5 years ago
Pavol Rusnak cc3f7b8d48
ci: include version+githash into artefact filenames
5 years ago
Pavol Rusnak fc1f90875b
legacy: fix firmware build in CI with MEMORY_PROTECT=0
5 years ago
Pavol Rusnak 4cbbc3da64
legacy: fix style
5 years ago
Pavol Rusnak 1a71c7a3e8
common: rename Features.features to Features.capabilities
5 years ago
Pavol Rusnak 41428ab2df
legacy: make sca pixels for pin matrix grow from the inside
5 years ago
Pavol Rusnak 9cef06de2b
core+legacy: update ChangeLogs
5 years ago
Pavol Rusnak 1c3b5009d0
legacy: bump version to 1.8.4
5 years ago
Pavol Rusnak 1ea4f9de56
legacy: remove remaning Decred/Zcash code for Bitcoin only firmware
5 years ago
Pavol Rusnak 980e037d00
legacy: modify nanopb so it doesn't pack repeated fields
5 years ago
Tomas Susanka 077735f57b ci: introduce upgrade tests
5 years ago
Pavol Rusnak ca494940a5
legacy: fill in Features.features
5 years ago
Pavol Rusnak 876ba5f590
tests: make path to tested binary configurable
5 years ago
Pavol Rusnak 9d8ebfcdbc
legacy: remove Features.features field for now, will get reintroduced later
5 years ago
Pavol Rusnak f40d926d16
legacy: fix emulator bitcoin only build
5 years ago
Pavol Rusnak a25c9fd307
legacy: fill in Features.features with enabled features
5 years ago
Pavol Rusnak cc184a0a30
common: introduce Features.features enum
5 years ago
Pavol Rusnak c6b9fa4873
legacy: support Signify Ed25519 signatures + add device test
5 years ago
matejcik eaf1e940a8 build: update test runners for new paths
5 years ago
Pavol Rusnak e23bb10ec4
core+legacy: fix KMD signing (introduce negative_fee coin field)
5 years ago
Pavol Rusnak 6d861a5d05
legacy: fix style
5 years ago
Pavol Rusnak eaa85ddd6e
core+legacy: add new changelog entries
5 years ago
Pavol Rusnak 67896be867
legacy: bump version to 1.8.2
5 years ago
Pavol Rusnak ee95e58f4a
legacy: use fixed font for showing internal entropy
5 years ago
Pavol Rusnak 93ef10d564
legacy: make fake/real words indistinguishable in simple recovery
5 years ago
Pavol Rusnak 8190bf3819
legacy: fix oledSCA in simple recovery
5 years ago
Pavol Rusnak 0e224644b6
legacy: don't add more pixels than needed in oledSCA
5 years ago
Pavol Rusnak 9107731079
legacy: fix SCA when displaying the PIN matrix
5 years ago
Andrew Kozlik 1c9fa5d3c6
legacy: fix SCA when displaying the words
5 years ago
Pavol Rusnak c288514a4f
core+legacy: fix display of non-divisible OMNI amounts
5 years ago
Tomas Susanka accc33c8e6 legacy: replace load_device mnemonic to mnemonics
5 years ago
Andrew Kozlik b9f63c3f55 webauthn: Add Binance to knownapps. Add Binance icon.
5 years ago
Jan Pochyla f5299456a9 core/typing: add mypy
5 years ago