Commit Graph

1406 Commits (6be367bf8b591d48e1e74d709c34319cff9df1d1)

Author SHA1 Message Date
matejcik 7e5d9e295b fix(core): help mypy understand micropython's module management
4 years ago
matejcik 90ee5f3d38 feat!: implement protobuf required fields and default values
4 years ago
Pavol Rusnak f8489f16e4 fix(common/defs): remove FSN, ICX which migrated to mainnet
4 years ago
Martin Milata cff4955f93 core: implement SafetyChecks.PromptTemporarily
4 years ago
Martin Milata 7d37b2c90f common: add PromptTemporarily to SafetyChecks enum
4 years ago
Martin Milata 9d2ad96ad4 core: add SafetyCheckLevel to Features
4 years ago
Martin Milata 9f066e877d common: add SafetyCheckLevel to Features
4 years ago
Martin Milata 163ccedb39 core: allow const() values to have Literal type
4 years ago
Tomas Susanka cd1d5195fd docs(core): add changelog for Oct release
4 years ago
Pavol Rusnak 65e20119ea
docs(changelog): fix typo
4 years ago
Andrew Kozlik 295710c37d core/bitcoin: Check ownership proofs using the provided commitment data.
4 years ago
Andrew Kozlik 5d745d5d04 common/protob: Add commitment_data to TxInputType.
4 years ago
Dusan Klinec 9d7b0bf50c xmr: fix new transaction type for CLSAG, HF=13
4 years ago
Andrew Kozlik 9774c99e90 core/tests: Fix unit tests for streamimg prev_tx after confirmation.
4 years ago
Andrew Kozlik dad2852db9 core/bitcoin: Stream prev_tx after confirmation.
4 years ago
Tomas Susanka ebc99435ab Revert "core: remove ownership messages from the public api for now"
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
Martin Milata f3fd98a7ba core: remove 1px of space on the left of each glyph
4 years ago
Martin Milata b8bb63fbef core: drop unused FONT_SIZE constant
4 years ago
Tomas Susanka 19461398d7 core/cardano: reuse derived Shamir seed (fixes #1007)
4 years ago
Tomas Susanka 0d5f00668f
core: remove ownership messages from the public api for now
4 years ago
Ondřej Vejpustek 09667a676e core/tools: update hid-bridge readme
4 years ago
matejcik e0583dd5cb all: use a specific error code for "invalid session"
4 years ago
matejcik 4909821f35 core: implement EndSession
4 years ago
Martin Milata c7934116ec
core: introduce TREZOR_MODEL flag (#1233)
4 years ago
Martin Milata df5421e7d6 common/defs: update maxfee_kb to 10USD/tx
4 years ago
Martin Milata f51fac3410 common/defs: update maxfee_kb to 10USD/tx
4 years ago
matejcik 032a65e1cf python: export toif as public module
4 years ago
Pavol Rusnak 41f5237967
common/defs: enable extra_data for FLO
4 years ago
Pavol Rusnak 534695313c
common/defs: enable extra_data for FLO
4 years ago
Tomas Susanka d080464cc5 core, legacy: bump versions (also in changelogs)
4 years ago
Tomas Susanka e137f196f8 core/changelog: update
4 years ago
Andrew Kozlik f2d669ecdc core/bitcoin: Use dynamic dispatch for confirmation dialogs in sign_tx.
4 years ago
Andrew Kozlik 02da5b7593 core/bitcoin: Show warning if nLockTime is set but ineffective due to all nSequence values being 0xffffffff.
4 years ago
Pavol Rusnak 146ee7af89 update changelogs
4 years ago
Pavol Rusnak cdf0f68bb0 core: show passphrase on device
4 years ago
Pavol Rusnak 21b4c5b60e
core/bootloader_ci: fix typos in the previous commit
4 years ago
Ondrej Mikle 8d3d3be09c
core/bootloader_ic: introduce CI bootloader for TT device tests (#1182)
4 years ago
Martin Milata 1b982659c4
core: fix boot loop after uploading invalid homescreen (#1205)
4 years ago
Pavol Rusnak 0620911e46 core: allow spending coins from Bitcoin paths if the coin ...
4 years ago
Alexis Hernandez 96c38315df
common/defs: enable extra_data for XSN (#1208)
4 years ago
Andrew Kozlik dd540a2ccd core/ui: Initialize Qr class properly.
4 years ago
gabrielkerekes 431a25b119 Add Cardano README.md
4 years ago
Pavol Rusnak c3ce9de3ea core: regenerate coins+tokens
4 years ago
Pavol Rusnak fd87c62b68 common/defs: remove coins with no Trezor-compatible wallets
4 years ago
Martin Milata 71c5bc4e3b ci: fail if coverage falls under threshold
4 years ago
Martin Milata 3f21e8f400 core: display coin name when signing message
4 years ago
Martin Milata 927ee0812b core: add hard limit for transaction fees
4 years ago
Tomas Susanka c9dc38c9f3 core: allow 49/x not 49/x' for Casa
4 years ago
Pavol Rusnak 5536fbb98a python: use stdlib blake2s on python 3.6+
4 years ago
Pavol Rusnak d1973b7486
pipenv: update Pipfile
4 years ago
Pavol Rusnak 02b6656471
core: update changelog
4 years ago
Pavol Rusnak 4e11735d22 core/modtrezorui: remove prefill from text functions
4 years ago
matejcik 2e5771db79 core: add changelog entry
4 years ago
matejcik 5385617eda core: increase address length limit to accomodate CRW (fixes #1139)
4 years ago
matejcik 51ea8ccecd common: update token support
4 years ago
Pavol Rusnak fd2ddbfb03
core+legacy: expand month names in changelogs
4 years ago
Pavol Rusnak 65805c9145
core: fix non-determinism in resources.py.mako
4 years ago
matejcik cea634158a core: make sure Homescreen is properly initialized (fixes #1095)
4 years ago
Tomas Susanka 16827c3135 core: make templates
4 years ago
Pavol Rusnak 3fffa9ae68
common/defs: enable XVG
4 years ago
gabrielkerekes afa26e7560 Use correct paths for Cardano Byron witnesses
4 years ago
Andrew Kozlik 292d909235 core/base: Implement CancelAuthorization message.
4 years ago
Andrew Kozlik 8bcb3d8fb6 core/storage: Add delete() method to storage.cache.
4 years ago
Andrew Kozlik 5c1f197602 common/protob: Add CancelAuthorization message.
4 years ago
Andrew Kozlik a6c06b5c5f core: Update changelog with CoinJoin flow.
4 years ago
Andrew Kozlik 791a74aeb2 core/tests: Add unit tests for CoinJoinApprover and CoinJoinAuthorization.
4 years ago
matejcik cd86f9f477 core/bitcoin: make change check more robust against short paths
4 years ago
Andrew Kozlik 07d9b780a6 core/bitcoin: Change CoinJoin round ID length to 32 bytes and remove rate limiting.
4 years ago
Andrew Kozlik 377bff68f4 core/bitcoin: Implement DoPreauthorized message.
4 years ago
Andrew Kozlik 2c30dd62fc common: Add DoPreauthorized message.
4 years ago
Andrew Kozlik b9cfecb8b8 core/bitcoin: Support preauthorization in SignTx message for CoinJoin.
4 years ago
Andrew Kozlik 97fc9b74ab core/bitcoin: Implement CoinJoinApprover.
4 years ago
Andrew Kozlik 472e853f0a core/tests: Fix unit tests to work with BasicApprover in sign_tx.
4 years ago
Andrew Kozlik d6ee542deb core/bitcoin: Move transaction confirmation logic from Bitcoin to BasicApprover class.
4 years ago
Andrew Kozlik 00258f2d4d core/bitcoin: Support preauthorization in GetOwnershipProof message.
4 years ago
Andrew Kozlik c772de9d3c core/bitcoin: Support preauthorization in @with_keychain decorator.
4 years ago
Andrew Kozlik 208283e13e core/bitcoin: Implement AuthorizeCoinJoin message.
4 years ago
Andrew Kozlik 48a331aa1d core/bitcoin: Add CoinJoinAuthorization class.
4 years ago
Andrew Kozlik dc32a17335 core/bitcoin: Move BIP32_WALLET_DEPTH to common.
4 years ago
Andrew Kozlik bbab13f6e7 common/protob: Add AuthorizeCoinJoin message.
4 years ago
Ondřej Vejpustek 59002118c0 core/extmod: explicitly initialize automatic variables
4 years ago
gabrielkerekes 683d7420ff Fix Cardano Shelley public key validation
4 years ago
matejcik c3afb93837 core/tests: improve test harness (fixes #1157)
4 years ago
Pavol Rusnak efc5ccdaf0
core: remove src1
4 years ago
Tomas Susanka 16a5858544 core: add Casa/Greenaddress paths exceptions to Changelog
4 years ago
Martin Milata e5bdca655a core: don't scale emulator background image
4 years ago
Gabriel Kerekeš c0eba979c6 Fix bare 'except' style error - catch Exception instead
4 years ago
gabrielkerekes 7a1e773b49 Validate transaction metadata
4 years ago
gabrielkerekes f2ee450410 Include metadata in transaction signing
4 years ago
gabrielkerekes 0438f318b4 Bring back cbor.Raw - to be used for metadata
4 years ago
gabrielkerekes 1ed8b56b7c Include Byron witness once for each input path
4 years ago
gabrielkerekes 7bf5cab840 Update sign_tx
4 years ago
gabrielkerekes a25444efd1 Move to_account_path() to utils
4 years ago
gabrielkerekes e92baf5b02 Update protobuf
4 years ago
Andrew Kozlik 7d07161efe common/fido: Unify application labeling between U2F and FIDO2.
4 years ago
Pavol Rusnak 063aba910d core: rename emulator to trezor-emu-core
4 years ago
matejcik 8502412dbc core/emulator: assume `-m main` when no arguments are provided
4 years ago
Martin Milata d955e3f1e5 core: rename class Overwintered to Zcashlike
4 years ago
Martin Milata 10387e1869 core: drop zcash v3 tx signing support
4 years ago
gabrielkerekes 6d02aa23d9 Raise wire.DataError when deriving invalid address type
4 years ago
gabrielkerekes b5f3511c1c Add support for script addresses in tx outputs
4 years ago
gabrielkerekes f1b6056edb Fix staking key hash message
4 years ago
matejcik c008600d08 core/debug: fail if wait_layout is sent without watch_layout
4 years ago
Pavol Rusnak 9a673db647
core: fix build on T1
4 years ago
Pavol Rusnak a6451dad46
core/fonts: update headers
4 years ago
Martin Milata 3021233eaf core: remove unimports from bitcoin sign_tx layouts
4 years ago
Pavol Rusnak 47e7550423
core/extmod: add font_pixeloperator{,mono}, use this font for T1
4 years ago
Pavol Rusnak cec87bba50
core: remove mono bold font variant (not used anywhere)
4 years ago
Pavol Rusnak e6baaa7ed9
core/src1: use display.text instead of display.print
4 years ago
Pavol Rusnak de43dde1e9
core: make emu.sh respect TREZOR_MODEL env variable
4 years ago
Pavol Rusnak 8bc32d035b
core/extmod: enable display_text* methods for other models than T
4 years ago
Pavol Rusnak df03534955
core: print inverted question mark for nonprintable characters
4 years ago
Pavol Rusnak 89d701ed08
core+legacy: bump versions (also in changelogs)
4 years ago
matejcik 4eb5b927c0 core/cardano: simplify keychain implementation
4 years ago
Gabriel Kerekeš d2c1624602 Cardano shelley update 2/3 (#1112)
4 years ago
gabrielkerekes e1615e60ec Update Cardano to support Shelley era 1/3
4 years ago
Pavol Rusnak 88aa3cf168
core: convert old changelogs to new format
4 years ago
Pavol Rusnak 8dacad0782
core/bootloader: update protobuf definitions
4 years ago
matejcik fdcb64ac24 all: rename protobuf `unsafe_prompts` to `safety_checks`
4 years ago
matejcik 19ad1dae8b core/bitcoin: allow compatibility namespaces for Casa/Greenaddress
4 years ago
matejcik b741560997 core/bitcoin: drop unused validate_path_for_bitcoin_public_key
4 years ago
matejcik 407375b0c4 core/bitcoin: move BITCOIN_NAMES to common
4 years ago
matejcik 8f8e793155 core, python: add changelogs
4 years ago
matejcik fd8cb0e061 core/keychain: differentiate error message for ed25519 derivation
4 years ago
matejcik 0438f83a94 core: use `public` as named argument instead of comment
4 years ago
matejcik 57b08c98ed core: raise error on setting passphrase-on-device without passphrase
4 years ago
matejcik 58f460627f core/tests: add unit tests for new functionality
4 years ago
matejcik a461853cf6 core/tests: fix bitcoin unit tests
4 years ago
matejcik c85d768b81 core: update references to keychain everywhere
4 years ago
matejcik ff4ec2185e core: refactor keychain to only support one curve at a time
4 years ago
matejcik fa757f4b7f core: improve type annotation for bip32.derive_path
4 years ago
matejcik 8e44132d3c core: replace load_settings with individual setters
4 years ago
matejcik 1109250dcf core: add option to allow unsafe prompts
4 years ago
Martin Milata 03f2dab6bc core: reduce gc.collect calls during bitcon sign_tx
4 years ago
matejcik c3a61998cb core: generate resdata by Mako, use if/elif trick to save RAM
4 years ago
matejcik 125079a8a4 core: add changelog entry for synchronous protobuf
4 years ago
matejcik 7befdd07e4 core/tests: update unit tests
4 years ago
matejcik 5e7fd3aea6 core: use utils.BufferReader instead of apps.common.BytearrayReader
4 years ago
matejcik 1ff4a0d239 core: separate BufferIO into Reader (read-only) and Writer
4 years ago
matejcik 3514a31bc9 core: make USB codec resilient to OOM conditions
4 years ago
matejcik 0a758b8181 core/tests: add synchronous protobuf tests
4 years ago
matejcik 31e2170766 core: make protobuf buffer smaller, dynamically allocate bigger if necessary
4 years ago
matejcik a000ea5ec8 core/monero: update Monero app to use synchronous protobuf
4 years ago
matejcik 01d695283f core: make protobuf buffer bigger
4 years ago
matejcik 0c3bc53aee core: clean up types for field caching, fix count_message
4 years ago
matejcik f723dca7b1 core: enable PYSTACK
4 years ago
matejcik d568afa80d core: improve protobuf field caching
4 years ago
matejcik 85d74ece76 core: implement synchronous v1 codec
4 years ago
Tomas Susanka 34bd57006f core, legacy: set version of the upcoming release in Changelog
4 years ago
Martin Milata fd117a0c9f core: raise error on auto-lock value out of range
4 years ago
Andrew Kozlik 4005f4832f core/embed: Set VCP write timeout to 0.
4 years ago
Ondrej Mikle 33d2bf417b core: replace bootloader only in production. Fix device for T1 core port JLink upload
4 years ago
matejcik 051763575d core: touch idle timer in keyboards (fixes #1099)
4 years ago
matejcik 2c4ecff0a4 core: fix synthetic events breaking io.poll delay calculation
4 years ago
Andrew Kozlik eb28998f98 core/bitcoin: 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
Pavol Rusnak 57ae902aed
core/monero: don't download test binary even if hash is different
4 years ago
Pavol Rusnak 5d666376f0
core/monero: update tests binary
4 years ago
Andrew Kozlik 37f4dcc7e5 core/bitcoin: Rename witness_p2wsh() to witness_multisig().
4 years ago
Andrew Kozlik 91b615c217 core: Update changelog.
4 years ago
Andrew Kozlik 9cd600f79e core/bitcoin: Add special confirmation screen for transactions with external inputs.
4 years ago
Andrew Kozlik 64d9350de2 core/bitcoin: Implement GetOwnershipId message.
4 years ago
Andrew Kozlik 533de50588 common/protob: Add GetOwnershipId message.
4 years ago
Andrew Kozlik 712ec68c1b core/bitcoin: Add support for external inputs with proof of non-ownership.
4 years ago
Andrew Kozlik 956ea9a94f common: Add ownership_proof field to TxInputType.
4 years ago
Andrew Kozlik 791ff3fe06 core/tests: Add unit tests for SLIP-0019 proofs of ownership.
4 years ago
Andrew Kozlik d4317d1536 core/bitcoin: Implement generation and verification of SLIP-0019 proofs of ownership.
4 years ago
Andrew Kozlik d52de28704 core/bitcoin: Implement BIP-322 SignatureProof container.
4 years ago
Andrew Kozlik c723c78529 common/protob: Add GetOwnershipProof message.
4 years ago
Andrew Kozlik d48a372ca7 core/sign_tx: Implement support for signed external inputs.
4 years ago
Andrew Kozlik 78f14d286e core/sign_tx: Factor out get_legacy_tx_digest() from sign_nonsegwit_input().
4 years ago
Andrew Kozlik 61e2d4d5e5 core/bitcoin: Implement signature verifier.
4 years ago
Andrew Kozlik 5378e12ba2 core/bitcoin: Clarify hash_type vs. sighash_type terminology.
4 years ago
Andrew Kozlik d1e043f417 core/bitcoin: Implement parsing of scripts and witnesses for signature verification.
4 years ago
Andrew Kozlik 173bb7ed13 core/bitcoin: Replace TxInputType parameter in input_derive_script.
4 years ago
Andrew Kozlik a901573ea2 core/bitcoin: Move script types from helpers to common.
4 years ago
Andrew Kozlik 3b6c1e5e6b core/crypto: Add functions for verifying DER encoded signatures.
4 years ago
Andrew Kozlik 9459c5a5c2 core/common: Add BytearrayReader and basic reader functions.
4 years ago
Andrew Kozlik 99f01cd316 core/sign_tx: Check script_pubkeys of inputs.
4 years ago
Andrew Kozlik cc655575c8 common: Add witness field to TxInputType.
4 years ago
Andrew Kozlik 872768928b core/crypto: Fix endianity in DER length encoding.
4 years ago
Andrew Kozlik e7f230d66e core/sign_tx: Use varint length encoding for witness stack items.
4 years ago
Tomas Susanka 3a3e5739b0 core, legacy: update changelogs
4 years ago
Tomas Susanka fc9eb63114 core: add previous commit to changelog
4 years ago
Tomas Susanka 0f9a2459d3 core: make QR code smaller for Monero
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
Andrew Kozlik f382f77c89 core/ui: Fix repaint bug in QR code rendering #1067.
4 years ago
Tomas Susanka e534ae3ad7 legacy, core: rename Features.pin_cached to unlocked and unify
4 years ago
Tomas Susanka b6c8cbc24c core: add 'initialized' to changelog
4 years ago
Tomas Susanka a6acefbdf5 core: wipe before reset and recovery; introduce 'intialized' field
4 years ago
Andrey 1eeaa1e5cf Enable extra_data for Zcoin. Changed coininfo.py
4 years ago
Tomas Susanka b67be7dd9e core: forbid all settings if not initialized
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 981d079d7f core/signverify: add failsafe for an empty message header
4 years ago