Commit Graph

778 Commits (ac711fb8ee9d6c178507072f0df046642bd29d89)

Author SHA1 Message Date
Andrew Kozlik 7c2d690e45 chore(core): In apps.bitcoin allow get_tx_digest() to be used for original transactions.
4 years ago
Andrew Kozlik 5fc491c597 chore(core): In apps.bitcoin move BIP143 hashing back to a separate class.
4 years ago
Andrew Kozlik 9a594f4784 fix(core): Fix CoinJoin anonymity gain check in bitcoin approver.
4 years ago
Martin Milata 830592f2d9 feat(core): add experimental_features setting
4 years ago
Pavol Rusnak d8534b5ee6
perf(core/extmod): replace HMAC Python implementation with C
4 years ago
Martin Milata 542f32d3b1 feat(core): add auto_lock_delay and display_rotation to Features
4 years ago
matejcik e4785d47e0 style: apply black 20.8b1
4 years ago
Rafael Korbas 2173ad97bc Refactor t<page number> to page<page_number> in cardano get_address call
4 years ago
Rafael Korbas 66dbdc2462 Enforce network id/protocol magic consistency for cardano show address
4 years ago
Juraj Muravsky 638977db7d Swap path with address type on screen in cardano get address
4 years ago
matejcik 0eed360037 chore: make tx type names shorter
4 years ago
matejcik 244b264b47 chore(core): fix typing and kwargs usage
4 years ago
matejcik 37025e2a84 feat(core): use specialized protobufs in apps.bitcoin, enable typing
4 years ago
matejcik 6ba08526e1 fix(core): fix type annotations on CoinInfo
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 9d2ad96ad4 core: add SafetyCheckLevel to Features
4 years ago
Andrew Kozlik 295710c37d core/bitcoin: Check ownership proofs using the provided commitment data.
4 years ago
Dusan Klinec 9d7b0bf50c xmr: fix new transaction type for CLSAG, HF=13
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
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
matejcik 4909821f35 core: implement EndSession
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
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
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 cdf0f68bb0 core: show passphrase on device
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
gabrielkerekes 431a25b119 Add Cardano README.md
4 years ago
Pavol Rusnak c3ce9de3ea core: regenerate coins+tokens
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 4e11735d22 core/modtrezorui: remove prefill from text functions
4 years ago
matejcik 51ea8ccecd common: update token support
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
gabrielkerekes afa26e7560 Use correct paths for Cardano Byron witnesses
4 years ago
Andrew Kozlik 292d909235 core/base: Implement CancelAuthorization message.
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 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 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
gabrielkerekes 683d7420ff Fix Cardano Shelley public key validation
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
Andrew Kozlik 7d07161efe common/fido: Unify application labeling between U2F and FIDO2.
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
Martin Milata 3021233eaf core: remove unimports from bitcoin sign_tx layouts
4 years ago
Pavol Rusnak cec87bba50
core: remove mono bold font variant (not used anywhere)
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
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 fd8cb0e061 core/keychain: differentiate error message for ed25519 derivation
4 years ago
matejcik 57b08c98ed core: raise error on setting passphrase-on-device without passphrase
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 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 5e7fd3aea6 core: use utils.BufferReader instead of apps.common.BytearrayReader
4 years ago
matejcik a000ea5ec8 core/monero: update Monero app to use synchronous protobuf
4 years ago
matejcik d568afa80d core: improve protobuf field caching
4 years ago
Martin Milata fd117a0c9f core: raise error on auto-lock value out of range
4 years ago
matejcik 051763575d core: touch idle timer in keyboards (fixes #1099)
4 years ago
Andrew Kozlik eb28998f98 core/bitcoin: Support multiple change-outputs.
4 years ago
Andrew Kozlik 37f4dcc7e5 core/bitcoin: Rename witness_p2wsh() to witness_multisig().
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 712ec68c1b core/bitcoin: Add support for external inputs with proof of non-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 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 e7f230d66e core/sign_tx: Use varint length encoding for witness stack items.
4 years ago
Tomas Susanka 0f9a2459d3 core: make QR code smaller for Monero
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 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 981d079d7f core/signverify: add failsafe for an empty message header
4 years ago
Tomas Susanka 56fe5adcfc Merge branch 'release/2020-06'
4 years ago
Pavol Rusnak 5262ef84cf common/defs/fido: add aws and tutanota
4 years ago
matejcik 7579ac5274 core: fix rendering issues in homescreens
4 years ago
matejcik 872e0fb0e0 core: lower scheduler resolution to milliseconds
4 years ago
matejcik 847691798b core: simplify homescreen and lockscreen implementations
4 years ago
matejcik 4bc865794f core: only unlock storage if it is locked (solves determinism issue in tests)
4 years ago
matejcik 70f67883c5 core: fix artifacts in click-based UI tests
4 years ago
matejcik bc9247e18d core: add Cancel to a list of allowed messages while locked
4 years ago
matejcik f32c2f9e23 core: replace workflow.kill_default with workflow.close_others
4 years ago
matejcik 01832d5ae9 core: call close_others() in place of ButtonRequest
4 years ago
matejcik 6f53ca0ac6 core: rework wait_layout()
4 years ago
matejcik 5d823ff5ea core: use ButtonRequestType.PinEntry for PIN entry
4 years ago
matejcik 42e7c43c7c core: make sure that auto-lock shuts down running workflows
4 years ago
matejcik 2d0206c043 core: replace workflow.on_start/on_close with workflow.spawn
4 years ago
matejcik a4f47ddd21 core/lockscreen: ignore exception when user taps "unlock" and then cancels
4 years ago
matejcik 7ff1251ee1 core: dim lockscreen (fixes #974)
4 years ago
matejcik 4035aad51b core: implement auto-lock after a configurable timeout (fixes #75)
4 years ago
Andrew Kozlik 5469acfabf core/webauthn: Cache user verification for 3 minutes.
4 years ago
Andrew Kozlik b867ac1d01 core/webauthn: Implement FIDO2 unlocking from softlock.
4 years ago
Andrew Kozlik 0f81886c9f core/webauthn: Allow confirm_dialog() to return a new state as an alternative to the user response.
4 years ago
Andrew Kozlik c8ae5c157e core/webauthn: Implement U2F unlocking from softlock.
4 years ago
matejcik 06aed7135a core: do not prompt for PIN just to lock the device again
4 years ago
matejcik 246998910a core: refactor usage of input_signals
4 years ago
matejcik afeeafd5cd core: hide some fields when softlocked
4 years ago
matejcik b9bd9ea3d0 core: only softlock when PIN is set
4 years ago
matejcik a9ddc2a8e2 core/boot: modify initial lockscreen label
4 years ago
matejcik 09af8aed4e core: consider lockscreen to be a separate homescreen
4 years ago
matejcik d73480bc9d core: introduce PIN soft-locking
4 years ago
matejcik 04c8b2803d core: refactor homescreen app, include lockscreen in it
4 years ago
matejcik 9197623d83 core: factor out the decision whether to lock the device
4 years ago
matejcik 32fcc4ad9c core: make verify_user_pin accept a Context argument
4 years ago
matejcik 8ca7ffc3b8 core: use wire.PinCancelled/PinInvalid instead of custom versions
4 years ago