Commit Graph

876 Commits (f607cb25019f0bc18bae281ce294a52810fc5ec5)

Author SHA1 Message Date
grdddj 9ef4440d0a chore(tests): regenerating fixtures.json to account for changed file-paths
2 years ago
grdddj 0b0a77703c chore(tests): more test reorganizations
2 years ago
grdddj 18a2642d95 chore(tests): renaming all "proto" usages to "messages" in device tests
2 years ago
grdddj a92d29ddbf chore(tests): removing classes from device test files
2 years ago
grdddj 782f868717 chore(tests): organize device tests into folders
2 years ago
grdddj 6c8e6dcc08 feat(tests): SuperShamir device tests for clicking Info button
2 years ago
Andrew Kozlik de6fab3c1e feat(tests): Test SegWit cross-coin attack.
3 years ago
Andrew Kozlik 9052133fca fix(core): Ensure user is warned about non-standard paths.
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 554888ef84 fix(tests): Fix UI tests which fail earlier due to scriptPubKey derivation.
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
Jun Luo 62b649ef5d refactor(common & core & legacy): Stellar, rename StellarCreatePassiveOfferOp to StellarCreatePassiveSellOfferOp.
3 years ago
Jun Luo d064aae3f9 feat(common & core & legacy): Stellar, add support for StellarPathPaymentStrictSendOp.
3 years ago
Jun Luo 1dcb8e4913 feat(common & core & legacy): Stellar, add support for StellarManageBuyOfferOp.
3 years ago
Jun Luo 3a5768c4bf refactor(common & core & legacy): Stellar, rename StellarManageOfferOp to StellarManageSellOfferOp and rename StellarPathPaymentOp to StellarPathPaymentStrictReceiveOp.
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 0e6669bd10 feat(core/stellar): show start/end timestamps in human readable format
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
David Misiak 13c4fb97df fix(cardano): forbid multisig pool registration [no changelog]
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
matejcik b6837d19b7 fix(core/nem): fix NEM usage of format_amount
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 4aaf6db9a2 chore(cardano): update docs, changelog and ui test 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
grdddj 1b932a20e8 fix(tests): decoding PNG files to fix Linux/Mac differences in encoding
3 years ago
matejcik ae4dd42d18 refactor(core/ethereum): reorganize sanity checks, disallow chain_id 0
3 years ago
matejcik 8931450d21 chore(common): enable Palm network
3 years ago
matejcik a1c3d8b7a5 chore(tests): regenerate UI test fixtures
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 0bff220fd6 chore(cardano): update ui test fixtures
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 f78363ecdc refactor(core/ui): do not use parameter for styling in get_next_u2f_counter
3 years ago
Martin Milata 574dcbc8a3 refactor(core): convert apps.common to layouts
3 years ago
Martin Milata 875cc0cb1a refactor(core): convert apps.webauthn to layouts
3 years ago
matejcik 7e0e24430c feat(tests): reuse same client instance across test session
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 0e14291094 chore(tests): regenerate UI test fixtures
3 years ago
matejcik f3802dea61 fix(tests/ui_tests): if a UI test result changed, show it as new
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
matejcik 2491f871aa chore(tests): add fixture for new Cardano test
3 years ago
matejcik 319a4374d3 chore(tests): regenerate UI test fixtures
3 years ago
matejcik 57582c2501 feat(tests): simple javascript-based UI diff review tool
3 years ago
matejcik 1b7b06255a feat(tests): only try connecting to VPN once
3 years ago
matejcik 0971adf7a7 feat(tests): generate UI test report again from current data
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
Martin Milata b7cab90e3c refactor(core/ui): use new_lines=False in layouts
3 years ago
matejcik f39abc8356 chore(tests): update UI test fixtures
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
gabrielkerekes 8a3549dbf8 chore(tests): update ui_tests fixtures
3 years ago
matejcik e952a301d6 fix(tests): properly include tests whose expected hash is missing
3 years ago
matejcik b1ec73e10b chore(tests): put enum names into UI fixture names (hashes are unchanged)
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
matejcik 86089fa5ad feat(core): avoid restarting session for select messages (fixes #1631)
3 years ago
Andrew Kozlik 7f2f32ff8a test(device): Test safety checks on T1.
3 years ago
matejcik 2ae8e954bf chore(tests): update UI test fixtures
3 years ago
matejcik c233b796df fix(tests): avoid race condition when generating UI test screenshots
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 b1e38fe382 refactor(core): no implicit spaces in render_text
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 151592c6a3 test: Add upgrade test with enabled wipe code for legacy.
3 years ago
Andrew Kozlik 9bd4465fbf test: Add test for progressive storage version upgrades without unlocking in between.
3 years ago
Andrew Kozlik aaa1ea6352 test: Add upgrade test with enabled PIN for legacy.
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
Rafael Korbas 74ed5b7018 feat(core/cardano): Implement bech32 asset ids based on CIP-0014
3 years ago
Rafael Korbas bd4512b53a fix(core/cardano): Allow stake pool registrations with zero margin
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
Rafael Korbas ceea21ec1f feat(cardano): Format stake pool ids as bech32 instead of hex
3 years ago
Rafael Korbas cf871ee754 fix(core/Cardano): do not show change output in byron-shelley transfers
3 years ago
Martin Milata 192d0dcf87 feat(core): hold homescreen to lock
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
Martin Milata f38abf9d89 refactor(core): introduce layouts
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
Rafael Korbas 44c7d23741 Cardano: map account paths to account numbers
3 years ago
Pavol Rusnak be2ca4772c tests: add device tests for SignTx with amount_unit
3 years ago
Pavol Rusnak 7f0e939359 feat(core): implement amount_unit for AuthorizeCoinJoin and SignTx
3 years ago
Pavol Rusnak 2d4b91b52a tests: adapt test_msg_getaddress_show to test GetAddress.ignore_xpub_magic
3 years ago
matejcik 02881fd800 feat(tests): use JSON descriptions in test identifiers
3 years ago