Commit Graph

401 Commits (c0c2718c1e4ca449bca492eb69539ff5ac95e2cb)

Author SHA1 Message Date
Andrew Kozlik 5d745d5d04 common/protob: Add commitment_data to TxInputType.
4 years ago
Martin Milata 047fcffde1 legacy: replace confusing Version group ID error message
4 years ago
Andrew Kozlik e9ed0851b3 legacy: Stream prev_tx after confirmation.
4 years ago
Tomas Susanka b99b8b3df3 Merge remote-tracking branch 'origin/release/2020-09'
4 years ago
Pavol Rusnak c1dd07a2e4
core+legacy: update dates in changelogs
4 years ago
matejcik e0583dd5cb all: use a specific error code for "invalid session"
4 years ago
matejcik 58621711d1 legacy: implement EndSession
4 years ago
Pavol Rusnak 8c2e20c26b
legacy/firmware: validate script type only in full-mode known_path_check (#1216)
4 years ago
Pavol Rusnak 07bd330d98
legacy/firmware: validate script type only in full-mode known_path_check (#1216)
4 years ago
Tomas Susanka d080464cc5 core, legacy: bump versions (also in changelogs)
4 years ago
Andrew Kozlik ae71735e62 legacy/signing: Ask user to confirm custom nLockTime.
4 years ago
Pavol Rusnak 146ee7af89 update changelogs
4 years ago
Pavol Rusnak e2632b16dc legacy: show passphrase on device
4 years ago
Pavol Rusnak ed989eb76a
legacy/intermediate_fw: fix optflags
4 years ago
Ondrej Mikle ff3b10a329
legacy/intermediate_fw: Intermediate firmware for T1 (#1084)
4 years ago
Pavol Rusnak 503ac8d801 legacy: allow spending coins from Bitcoin paths if the coin ...
4 years ago
Pavol Rusnak 5359509483 legacy: refactor check_cointype into a separate function
4 years ago
Pavol Rusnak fd87c62b68 common/defs: remove coins with no Trezor-compatible wallets
4 years ago
Pavol Rusnak fd2ddbfb03
core+legacy: expand month names in changelogs
4 years ago
Pavol Rusnak 3fffa9ae68
common/defs: enable XVG
4 years ago
Pavol Rusnak 1eca04b7b2
legacy: update changelog
4 years ago
Pavol Rusnak 568da98199
legacy: refactor path_mismatched function and revert its logic
4 years ago
Andrew Kozlik 5c1f197602 common/protob: Add CancelAuthorization message.
4 years ago
Andrew Kozlik 2c30dd62fc common: Add DoPreauthorized message.
4 years ago
Andrew Kozlik bbab13f6e7 common/protob: Add AuthorizeCoinJoin message.
4 years ago
Andrew Kozlik 7d07161efe common/fido: Unify application labeling between U2F and FIDO2.
4 years ago
Martin Milata f4c9d0a040 legacy: rename TxInfo field overwintered to is_zcashlike
4 years ago
Martin Milata b8063e882b legacy: drop zcash v3 tx signing support
4 years ago
Andrew Kozlik 38074a4e59
legacy: print inverted question mark for nonprintable characters
4 years ago
Pavol Rusnak 89d701ed08
core+legacy: bump versions (also in changelogs)
4 years ago
Pavol Rusnak e97413e8c5
legacy: convert old changelogs to new format
4 years ago
Pavol Rusnak 8dacad0782
core/bootloader: update protobuf definitions
4 years ago
Tomas Susanka 34bd57006f core, legacy: set version of the upcoming release in Changelog
4 years ago
Martin Milata 48e1dc957f legacy: raise error on auto-lock value out of range
4 years ago
Pavol Rusnak 52ae0bec71
legacy: add missing SDL2_image to Makefile
4 years ago
Pavol Rusnak 2b9613c8a0
legacy: add changelog entry
4 years ago
Andrew Kozlik 24bf352577 legacy: Support multiple change-outputs.
4 years ago
matejcik 2c8e5f527b all: rename changelogs to .md for highlighting
4 years ago
matejcik a19a9a318a all: improve changelog formatting
4 years ago
matejcik 476cf2ee8f core, legacy: more changelog entries
4 years ago
Andrew Kozlik 533de50588 common/protob: Add GetOwnershipId message.
4 years ago
Andrew Kozlik 956ea9a94f common: Add ownership_proof field to TxInputType.
4 years ago
Andrew Kozlik c723c78529 common/protob: Add GetOwnershipProof message.
4 years ago
Andrew Kozlik cc655575c8 common: Add witness field to TxInputType.
4 years ago
Tomas Susanka 3a3e5739b0 core, legacy: update changelogs
4 years ago
Tomas Susanka ca3dd2bfb9 common: skip deprecated fields during generation; deprecate overwintered field in Zcash
4 years ago
matejcik e6e3043096 all: implement support for pre-overwinter prevtx (fixes #1030)
4 years ago
Tomas Susanka e534ae3ad7 legacy, core: rename Features.pin_cached to unlocked and unify
4 years ago
Tomas Susanka 4239e8d551 legacy: set initialized in storage to false if no mnemonic is present
4 years ago
Tomas Susanka f8b2f0bb7b changelogs: change also bootloader changelogs to the new format
4 years ago
Tomas Susanka 9979af3cd2 changelogs: start using more detailed changelog
4 years ago
Tomas Susanka 56fe5adcfc Merge branch 'release/2020-06'
4 years ago
Tomas Susanka 41966c60db legacy: initialized field in Features is true only if mnemonic is stored
4 years ago
matejcik 6f53ca0ac6 core: rework wait_layout()
4 years ago
matejcik 0600d87c8c common: rename ClearSession to LockDevice, introduce EndSession
4 years ago
Tomas Susanka 8859d103f4 core, legacy: bump versions
4 years ago
Tomas Susanka e2629eb921 core, legacy: update Changelogs to reflect the release
4 years ago
Tomas Susanka 81553df02f legacy: add ToS dialog to recovery
4 years ago
Tomas Susanka 28b22cef22 legacy: add ToS dialog to recovery
4 years ago
Andrew Kozlik e6745bce43 legacy/signing: Don't force nJoinSplit to be 0 for prev_tx in overwintered. This was dead code until we started validating prevout amounts.
4 years ago
Andrew Kozlik 386be6ff09 legacy/signing: Check inputs for amount field only when amount is required.
4 years ago
Andrew Kozlik d34428eeb3 legacy/signing: add checks for version_group_id and branch_id fields
4 years ago
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