Commit Graph

549 Commits (tychovrahe/ui-t3t1/menu_animation)

Author SHA1 Message Date
matejcik c9b521a8b0 tests: add test for firmware dumping and hashing
2 years ago
Andrew Kozlik 26d1fad2aa feat(legacy): Support Zcash version 5 transaction format.
2 years ago
grdddj c45ca3314c chore(tests): add on-chain-valid test vectors for Zcash v5
2 years ago
Tomas Krnak 7739825cc6 test: add device tests for Zcash v5
2 years ago
grdddj cac27e2338 chore(tests): comment on no-longer-valid transaction links
2 years ago
grdddj 2cb2ba7f6a chore(tests): create real taproot transactions
2 years ago
grdddj e4a6608d1f chore(tests): divide test BTC transactions between existing and unexisting
2 years ago
Ondřej Vejpustek 8356d0a572 fix(crypto): use zero auxiliary data in BIP340
2 years ago
Martin Milata 28cd0d2606 test: mark test_show_multisig_xpubs as flaky
2 years ago
David Misiak 2262602967 feat(cardano): add support for plutus transactions
2 years ago
David Misiak 48587d83fe feat(cardano): add support for output datum hash and script data hash
2 years ago
David Misiak 2b3a53a6ae feat(cardano): add support for network id in tx body
2 years ago
Andrew Kozlik 9e346b05da chore(core): Don't check fairness of mining fees in CoinJoin.
2 years ago
Andrew Kozlik 94d1a49eea chore(core): Rework checking of CoinJoin parameters.
2 years ago
Andrew Kozlik 556e8a147a chore(core): Make CoinJoin checks more lenient.
2 years ago
Andrew Kozlik a4a51d02cc feat(tests): Add device tests for unverified external inputs.
2 years ago
Andrew Kozlik e108ba5bde fix(tests): Tests fail earlier due to scriptPubKey check.
2 years ago
matejcik c3b28d8fb4 feat(tests): show QR codes in GetAddress test
2 years ago
grdddj 3e11e8bba2 chore(tests): update Bitcoin test cases to use valid prevtxes
2 years ago
matejcik 9d717b2085 refactor(tests): consolidate bitcoin.signtx helper module
2 years ago
grdddj 5b0be3273e fix(tests): add mock urandom to T1 reset test
2 years ago
Andrew Kozlik 1ee443e8f8 feat(test): Device test for invalid Taproot addresses.
2 years ago
Andrew Kozlik b5c9f573b2 feat(legacy): Show "signature is valid" dialog when VerifyMessage succeeds.
2 years ago
Andrew Kozlik d52a59e37b feat(core): Show "signature is valid" dialog when VerifyMessage succeeds.
2 years ago
Andrew Kozlik 4d40d6dbfc feat(core): Support Electrum signatures in VerifyMessage.
2 years ago
Andrew Kozlik 473657fd44 chore(core): Tweak validation of pre-authorized GetOwnershipProof.
2 years ago
grdddj 9a71ac74c9 chore(tests): add type hints and improve styling in device test files
2 years ago
Andrew Kozlik a5824ed1ff feat(tests): Test payment request details.
2 years ago
Andrew Kozlik 90c32e0a2f feat(tests): Add address MAC device tests.
2 years ago
Andrew Kozlik c9008c7766 feat(tests): Add payment request device tests.
2 years ago
Andrew Kozlik e5281b87b5 chore(tests): Add payment requests to test_msg_authorize_coinjoin device test.
2 years ago
grdddj ee34b5ba08 chore(tests): using real transactions in bitcoin/test_signtx.py
2 years ago
grdddj 9cf5fd351a chore(tests): adding type hints to helper functions used in sign_tx tests
2 years ago
grdddj 3536d86fa9 fix(tests): using press_info instead of click for info buttons
2 years ago
grdddj e4b5f10223 feat(tests): clicking Info button in (Super)Shamir backup device tests
3 years ago
Alois Klink 5c4703c9bb fix(core,legacy): Fix domain-only ethTypedData
3 years ago
matejcik b2136e35d4 style(tests): remove class from taproot test
3 years ago
grdddj 8bcd52fc1b chore(tests): unifying NEM T1 and TT device tests
3 years ago
Andrew Kozlik 44c184061e fix(tests): Fix signatures in ownership proofs.
3 years ago
FujiCoin 33c243be8d
feat(common): enable taproot for Fujicoin, fix xpub versions
3 years ago
matejcik 33b23ea6a0 fix(tests): show addresses in test_show_segwit
3 years ago
matejcik f0f950d484 fix(tests): add correct test case for GRS taproot
3 years ago
gruve-p 3ab036a1d1
feat(common): enable Taproot on Groestlcoin
3 years ago
matejcik d2ac4e7a9c feat(tests): add tests for blind EIP-712 signing
3 years ago
Martin Milata bfe5b6a272 test(core): make sure path check fails immediately
3 years ago
Pavol Rusnak 0c57614436
style(tests): make linters happy
3 years ago
Martin Milata ff5f965c44 Merge branch 'release/21.12'
3 years ago
Andrew Kozlik 7b7aa2d971 feat(tests): Add device tests for Taproot ownership proofs.
3 years ago
grdddj 0b0a77703c chore(tests): more test reorganizations
3 years ago
grdddj 18a2642d95 chore(tests): renaming all "proto" usages to "messages" in device tests
3 years ago
grdddj a92d29ddbf chore(tests): removing classes from device test files
3 years ago
grdddj 782f868717 chore(tests): organize device tests into folders
3 years ago
grdddj 6c8e6dcc08 feat(tests): SuperShamir device tests for clicking Info button
3 years ago
Andrew Kozlik de6fab3c1e feat(tests): Test SegWit cross-coin attack.
3 years ago
Andrew Kozlik e30ccabed3 feat(legacy): Show path warning for SignMessage.
3 years ago
Andrew Kozlik 10717ddb99 feat(tests): Add invalid signature test for RBF in P2TR.
3 years ago
Andrew Kozlik fa4d74ad30 feat(legacy): Support Taproot signature verification.
3 years ago
Andrew Kozlik c9d1ff93f5 feat(legacy): Implement Taproot signing.
3 years ago
Andrew Kozlik 6fbbd14f8c refactor(legacy): Refactor compile_input_script_sig().
3 years ago
Andrew Kozlik 9a051df127 chore(legacy): Support script_pubkey parameter for Bitcoin inputs.
3 years ago
Andrew Kozlik 6c9c727359 feat(legacy): Implement GetAddress for taproot.
3 years ago
Andrew Kozlik 03b1b3bc6b feat(core): Show path warning for SignMessage.
3 years ago
Andrew Kozlik e559c5688b feat(tests): Test fake Taproot transaction attack.
3 years ago
Andrew Kozlik 93c02e2616 feat(tests): Add device test for external presigned Taproot input.
3 years ago
Andrew Kozlik 5837750aaa feat(tests): Add fee bump device test for Taproot.
3 years ago
Andrew Kozlik f0d6e961a9 feat(tests): Add tests for spending Taproot UTXOs.
3 years ago
Andrew Kozlik ed9d3e3e9b fix(tests): Add script_pubkey field to external inputs.
3 years ago
Andrew Kozlik 390bcf4612 feat(tests): Add BIP86 test vectors for get_address().
3 years ago
Pavol Rusnak 7091417c5d feat(tests): add taproot cases to test_msg_getaddress_segwit_native
3 years ago
Andrew Kozlik bec0634bae feat(core): Improve message signing UI.
3 years ago
Andrew Kozlik 39a0901e99 fix(tests): Fix SignMessage tests after adding address dialog.
3 years ago
Andrew Kozlik 9a7990d087 feat(tests): Add no_script_type device tests for SignMessage.
3 years ago
matejcik 2c20016cfa tests: add tests for different Cardano derivations
3 years ago
matejcik f0ae16069c fix(core): do not send passphrase_protection field when device is locked (fixes #1807)
3 years ago
matejcik 0e4e56711c fix(tests): enable derive_cardano for Cardano test cases
3 years ago
Pavol Rusnak 0068c12f77
fix(python): use unified descriptor format <a;b> (#1885)
3 years ago
grdddj 73238135d6 feat(core/ethereum): EIP-712
3 years ago
matejcik f7c340f333 feat(core/bitcoin): show lock_time as human readable datetime
3 years ago
matejcik e972839ac7 style(all): fix pylint complaints
3 years ago
Martin Milata fa3c6140a6 feat(legacy/ethereum): support access lists in EIP-1559 transactions
3 years ago
Martin Milata 076c5b9cbe feat(legacy/ethereum): support for EIP-1559 transactions
3 years ago
Martin Milata 3882b89be9 fix(core/ethereum): ask before showing paginated data field
3 years ago
Andrew Kozlik dfd98c5164 feat(tests): Test send to taproot.
3 years ago
Pavol Rusnak 27dcef056f feat(tests): add tests for Taproot descriptors support
3 years ago
amadejpapez 85ba7c12ba style(all): use f-strings for formatting
3 years ago
gabrielkerekes b957dfbddb chore(cardano): improve get_native_script_hash tests and update ui fixtures
3 years ago
gabrielkerekes 1f33ab420d feat(cardano): update transaction signing for multisig
3 years ago
gabrielkerekes 21281d7cf4 feat(cardano): add support for script addresses derivation
3 years ago
gabrielkerekes dd9652cd07 feat(cardano): add get-native-script-hash call
3 years ago
matejcik f484c42d41 refactor(tests): use common Stellar fixtures in tests
3 years ago
matejcik 98f0496b2c feat(core/stellar): add type checking to Stellar app
3 years ago
Pavol Rusnak 169c472172 refactor(tests): modernize test_msg_getaddress_segwit_native
3 years ago
matejcik 9dd97c77e3 fix(tests): update prevhash test
3 years ago
grdddj 1a291660e5 chore(tests): improving consistency of ethereum fixtures
3 years ago
grdddj 23ce8a46f3 feat(tests): PIN and protection_levels tests for TT
3 years ago
grdddj 6b3c9d5a6b chore(tests): using setup_client for setting the passphrase in device tests where applicable
3 years ago
matejcik ae4dd42d18 refactor(core/ethereum): reorganize sanity checks, disallow chain_id 0
3 years ago
matejcik 30b08d949b feat(common): add default values to EthereumSignTx fields
3 years ago
matejcik 639406b01f feat(all): make chain_id mandatory
3 years ago
grdddj 6f1005b155 chore(tests): vectorizing and creating JSON fixtures for ethereum device tests
3 years ago
matejcik 7aed8d535d feat(all): re-enable Firo (fixes #1767)
3 years ago
gabrielkerekes 500d29f43b chore(cardano): format test fixture files
3 years ago
gabrielkerekes 28f0f60295 feat(cardano): update tests for streamed tx signing
3 years ago
matejcik d66cca4069 chore(tests): remove Lisk
3 years ago
Frederik Bolding 38fa9197ca feat(core,python): support for Ethereum EIP1559 transactions
3 years ago
Martin Milata b5710b820a docs(core): replace Purpose48 with BIP-48
3 years ago
matejcik b3312d1ef7 fix(tests): set_filter must be used in with-block
3 years ago
matejcik 45d377f5b8 chore(tests): drop unused debug pieces
3 years ago
matejcik 2b3c75c4de fix(core): properly respond to USB events while on a paginated screen
3 years ago
Andrew Kozlik 24bb401638 fix(legacy,core): Fix operation source account encoding in Stellar.
3 years ago
matejcik 46e0530764 fix(tests): auto-swipe by using only ButtonRequest.pages
3 years ago
Andrew Kozlik e3faece811 fix(tests): Fix device tests after having disabled testnet for BIP-45 paths.
3 years ago
Andrew Kozlik 9b0e980c44 fix(legacy): Don't allow unknown paths in GetAddress.
3 years ago
Andrew Kozlik a6390e4b82 fix(legacy): Allow known non-standard paths in GetAddress and SignTx.
3 years ago
Martin Milata 178b575465 refactor(core): convert apps.nem to layouts
3 years ago
Martin Milata dd3b689ded refactor(core): convert apps.eos to layouts
3 years ago
Martin Milata 3ffbae5d17 refactor(core): convert apps.binance to layouts
3 years ago
Martin Milata ddac852acf refactor(core): convert apps.cardano to layouts
3 years ago
Martin Milata d33c61bbe7 test(core): enable ui tests for cardano get_address
3 years ago
Martin Milata 12478b1716 refactor(core): convert apps.stellar to layouts
3 years ago
Martin Milata 16094df0c5 refactor(core): convert most of apps.monero to layouts
3 years ago
matejcik 7cdde940af chore(tests): adapt device tests to paging information ButtonRequests
3 years ago
Martin Milata fddac0434b test: add device tests for non-standard paths
3 years ago
Andrew Kozlik e15406f712 test: Add device test for signing an empty message in Decred which uses the BLAKE hash function.
3 years ago
matejcik a58823cc0c refactor(python): rework trezorlib protobuf codec
3 years ago
matejcik 729414e606 fix(core): exclude get/set U2F counter from BITCOIN_ONLY
3 years ago
Jan Pochyla e5e3ad21b2 fix(tests): Adjust the expected error message
3 years ago
Andrew Kozlik 7f2f32ff8a test(device): Test safety checks on T1.
3 years ago
matejcik 96fd347ca8 fix(core): keep value of experimental_features cached across workflow restarts
3 years ago
matejcik e5a481ded5 chore(tests): fix deprecation warnings
3 years ago
gabrielkerekes a3d0016a2f refactor(trezorlib/cardano): rename create_* functions
3 years ago
gabrielkerekes 2313293477 feat(core/cardano): add support for catalyst voting registration
3 years ago
Martin Milata 6668921a4f refactor(core): convert apps.common.request_pin to layouts
3 years ago
Martin Milata ffe6d65f72 refactor(core): convert parts of apps.management to layouts
3 years ago
Rafael Korbas a9b8b0e119 feat(core/cardano): chunked serialization of signed transaction
3 years ago
Andrew Kozlik 602761694f test: Use long PIN values in device tests.
3 years ago
Andrew Kozlik 7436fd06b9 test: Add device test for replacement transaction with OP_RETURN output.
3 years ago
Andrew Kozlik 28918f46ec test: Add device test for decreasing output amount in RBF.
3 years ago
JoeGruff e3ea32a986 multi: Add decred staking.
3 years ago
Roman Zeyde 7ce4e13bcf feat(core): add public_key to ECDHSessionKey
3 years ago
Martin Milata 854a256b5a test: wait longer for autolock
3 years ago
Andrew Kozlik 8828fa76d3 test: Ensure that GetAddress and GetOwnershipId fail for multisig if user's public key is not included.
3 years ago
gabrielkerekes d4dcd7bff9 fix(core/cardano): allow staking accounts beyond 100'
3 years ago
matejcik d475248ef1 tests: use modified protobuf classes correctly
3 years ago
Pavol Rusnak 48d1a7a880
fix(python): append checksum to descriptors (#1445)
3 years ago
matejcik a1cd0b0949 fix(tests): update shamir_mnemonic usage
3 years ago
matejcik cdf55d2fac tests: get rid of skip_ui (fixes #1409)
3 years ago
Rafael Korbas e4c406822c Add multiasset sending and min validity to Cardano transactions
3 years ago
Andrew Kozlik 79fad70b05 fix: Improve wording when showing multisig XPUBS.
3 years ago
Pavol Rusnak be2ca4772c tests: add device tests for SignTx with amount_unit
4 years ago
Pavol Rusnak 2d4b91b52a tests: adapt test_msg_getaddress_show to test GetAddress.ignore_xpub_magic
4 years ago
matejcik fc4e15fe77 feat(core): introduce and enforce limit on label length (fixes #1399)
4 years ago
matejcik 6fbf93cab8 chore(tests): update UI fixtures as needed
4 years ago
matejcik fd502f122f feat(core): implement pagination for sign/verify
4 years ago
Pavol Rusnak 7b9f3c0462 feat(tests): add device tests for btc.get_descriptor
4 years ago
Pavol Rusnak 5e58835d18 feat(tests): test GetPublicKey.ignore_xpub_magic behaviour
4 years ago
Andrew Kozlik 3be0138aae test: Add device test for replacement transaction with invalid original signature.
4 years ago
Andrew Kozlik 9ab4efdbad test: Enable and tweak RBF device tests for T1.
4 years ago
Martin Milata 8fd12f4373 fix(tests): run test_softlock_instability on emulator only
4 years ago
Tomas Susanka bd0b91a229 fix(tests): fix extra ETH unknown token dialog for T1
4 years ago
matejcik f83752a714 fix(tests): remove dropped EOSClassic test case
4 years ago
matejcik 4628c774aa feat(core): re-allow unknown Ethereum networks, using Ethereum or Testnet paths (fixes #1335)
4 years ago
matejcik 7abe70e484 feat(core): improve ethereum tokens ui (fixes #800)
4 years ago
Rafael Korbas b261f789f3 Add support for stakepool registration to Cardano
4 years ago
Andrew Kozlik 65a9636bb5 test: Add device test for RBF finalization.
4 years ago
matejcik 37d3bf56fa fix(core): make sure run-time settings are reset after wipe (fixes #1322)
4 years ago
matejcik f10084117b feat(core/bitcoin): do not show path warning when GetAddress is called silently (fixes #1206)
4 years ago
matejcik f3b6de399a fix(tests): fix illegal paths in device tests
4 years ago
Andrew Kozlik 70975008cd chore (core): In apps.bitcoin skip confirmation of fee in PayJoin if the user is not increasing their contribution.
4 years ago
Andrew Kozlik 2a19d70e98 test: Add device tests for replacement transaction flow.
4 years ago
Martin Milata 830592f2d9 feat(core): add experimental_features setting
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
matejcik 08d896f2f9 chore(tests): update to kwargs usage and new btc.sign_tx API
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 b00c4209ed tests: Use correct commitment data in authorize_coinjoin tests.
4 years ago
Andrew Kozlik 4fc4152741 tests: Fix device tests for streamimg 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 ba36cef369 tests: move fixtures to common directory, start with Cardano
4 years ago
Tomas Susanka 0d5f00668f
core: remove ownership messages from the public api for now
4 years ago
matejcik e0583dd5cb all: use a specific error code for "invalid session"
4 years ago
matejcik e0ec5aa1e7 tests: clear session before each testcase
4 years ago
matejcik 46eb223b2a tests: use new trezorlib locking/sessioning API where appropriate
4 years ago
matejcik a08c34a624 tests: add tests for end_session
4 years ago
Andrew Kozlik fb1f1acad6 tests: Add device test for nLockTime in Bitcoin.
4 years ago
Andrew Kozlik ae71735e62 legacy/signing: Ask user to confirm custom nLockTime.
4 years ago
matejcik af5e301a7c tests: update device tests with added ButtonRequests where appropriate
4 years ago
Martin Milata 1b982659c4
core: fix boot loop after uploading invalid homescreen (#1205)
4 years ago
Pavol Rusnak 68e119c2c6 tests: add tests for invalid paths
4 years ago
Martin Milata 927ee0812b core: add hard limit for transaction fees
4 years ago
Martin Milata 75fa9dee77 test_msg_signtx: proto -> messages
4 years ago
matejcik 5385617eda core: increase address length limit to accomodate CRW (fixes #1139)
4 years ago
matejcik a94c0d074d tests: use improved API in authorize_coinjoin test
4 years ago
matejcik e585d35f34 python: clarify session and feature management API
4 years ago
matejcik d776cc931b tests: fix test_msg_webauthn on-device
4 years ago
gabrielkerekes 8d39ba8314 Add test case for multiple inputs and regenerate UI fixtures
4 years ago
Andrew Kozlik ad3f39d829 tests: Add device test for multiple CoinJoin authorizations in different sessions.
4 years ago
Andrew Kozlik 77b931e217 tests: Add device test for CancelAuthorization message.
4 years ago