Martin Novak
a69e43d1a6
chore(tests): tests recording also generates "results web page"
2022-05-30 09:52:42 +02:00
Martin Novak
85f0d3a741
feat(core,legacy): show fee rate when signing transaction
2022-05-25 14:43:45 +02:00
Martin Milata
1e0fa3428c
ci: fix UI master diff
2022-05-25 10:35:22 +02:00
Martin Milata
c5f1bec474
Merge branch 'release/22.05'
2022-05-18 12:43:53 +02:00
Martin Milata
31e63f688e
fix(core/rust/ui): implement warning for PIN dialog
...
[no changelog]
2022-05-16 13:54:43 +02:00
Andrew Kozlik
903fa9b471
feat(legacy): Verify signatures of all original internal inputs in replacement transactions.
2022-05-03 23:00:25 +02:00
Andrew Kozlik
9bce153623
feat(core): Warn about unverified external inputs.
2022-05-03 22:14:40 +02:00
Andrew Kozlik
29304857b5
feat(legacy): Warn about unverified external inputs.
2022-05-03 22:14:40 +02:00
Andrew Kozlik
df479adbe7
chore(legacy): Simplify path warning UI.
...
[no changelog]
2022-05-03 22:14:40 +02:00
Andrew Kozlik
f6f865a513
fix(tests): Update T1 UI test fixtures.
2022-05-03 21:52:02 +02:00
matejcik
c9b521a8b0
tests: add test for firmware dumping and hashing
2022-05-03 19:00:04 +02:00
Andrew Kozlik
26d1fad2aa
feat(legacy): Support Zcash version 5 transaction format.
2022-05-02 17:10:41 +02:00
grdddj
c45ca3314c
chore(tests): add on-chain-valid test vectors for Zcash v5
2022-05-02 16:07:31 +02:00
Tomas Krnak
7739825cc6
test: add device tests for Zcash v5
2022-05-02 16:07:31 +02:00
grdddj
2cb2ba7f6a
chore(tests): create real taproot transactions
2022-04-12 16:22:42 +02:00
Martin Milata
c153ffe4b3
ci: ui2 device tests
2022-04-07 17:58:41 +02:00
Martin Milata
1f612580f7
feat(core): enable UI tests for redesigned UI
...
[no changelog]
2022-04-07 17:58:41 +02:00
matejcik
82182ae078
ci: use external servers in CI and scripts
2022-03-23 11:28:56 +01:00
David Misiak
915781bfb1
chore(cardano): update changelog and ui tests
2022-03-18 14:32:54 +01:00
Andrew Kozlik
9e346b05da
chore(core): Don't check fairness of mining fees in CoinJoin.
...
[no changelog]
2022-03-17 15:46:01 +01:00
Andrew Kozlik
94d1a49eea
chore(core): Rework checking of CoinJoin parameters.
...
[no changelog]
2022-03-17 15:46:01 +01:00
Andrew Kozlik
556e8a147a
chore(core): Make CoinJoin checks more lenient.
...
[no changelog]
2022-03-17 15:46:01 +01:00
Andrew Kozlik
a4a51d02cc
feat(tests): Add device tests for unverified external inputs.
2022-03-17 09:44:03 +01:00
Andrew Kozlik
e108ba5bde
fix(tests): Tests fail earlier due to scriptPubKey check.
2022-03-17 09:44:03 +01:00
matejcik
0b9f7db742
fix(core): support structs as array elements ( fixes #2167 )
2022-03-10 13:04:54 +01:00
matejcik
4e2129e0a0
feat(core): automatically choose best QR encoding
2022-03-10 11:27:21 +01:00
matejcik
c3b28d8fb4
feat(tests): show QR codes in GetAddress test
2022-03-10 11:27:21 +01:00
grdddj
3e11e8bba2
chore(tests): update Bitcoin test cases to use valid prevtxes
2022-02-28 15:45:29 +01:00
matejcik
7e81eba810
chore(tests): generate T1 test fixtures
2022-02-17 11:05:55 +01:00
matejcik
5191d31737
chore(tests): rename fixtures for TT
2022-02-17 11:05:55 +01:00
grdddj
9e654abdb3
feat(tests): prepare UI testing for T1
2022-02-17 11:05:55 +01:00
Andrew Kozlik
1ee443e8f8
feat(test): Device test for invalid Taproot addresses.
2022-02-16 10:25:15 +01:00
Andrew Kozlik
d52a59e37b
feat(core): Show "signature is valid" dialog when VerifyMessage succeeds.
2022-02-11 15:36:00 +01:00
matejcik
a1c62098e9
fix(core/ethereum): implement hold-to-confirm for eip1559 transactions
2022-02-08 14:27:23 +01:00
grdddj
9a71ac74c9
chore(tests): add type hints and improve styling in device test files
2022-02-07 14:05:27 +01:00
grdddj
c77e18d77c
chore(tests): add type hints to helper test functions
2022-02-07 14:05:27 +01:00
grdddj
5d76144ef5
chore(common): always use resolve() when accessing parent of the Path
...
[no changelog]
2022-02-07 14:05:27 +01:00
Andrew Kozlik
90c32e0a2f
feat(tests): Add address MAC device tests.
2022-01-31 18:00:22 +01:00
Andrew Kozlik
c9008c7766
feat(tests): Add payment request device tests.
2022-01-31 18:00:22 +01:00
grdddj
ee34b5ba08
chore(tests): using real transactions in bitcoin/test_signtx.py
2022-01-27 15:07:30 +01:00
grdddj
3536d86fa9
fix(tests): using press_info instead of click for info buttons
2022-01-27 13:15:04 +01:00
grdddj
e4b5f10223
feat(tests): clicking Info button in (Super)Shamir backup device tests
2022-01-17 12:33:24 +01:00
Alois Klink
5c4703c9bb
fix(core,legacy): Fix domain-only ethTypedData
...
When doing Ethereum signTypedData, and the primaryType="EIP712Domain",
we completely ignore the "message" part and only sign the domain.
According to the community, this is technically allowed by the spec,
and may be used by ETH smart contracts to save on gas.
Test case generated by @MetaMask/eth-sig-util's library.
See: https://ethereum-magicians.org/t/eip-712-standards-clarification-primarytype-as-domaintype/3286
2022-01-14 14:22:46 +01:00
matejcik
b2136e35d4
style(tests): remove class from taproot test
2022-01-13 13:01:17 +01:00
grdddj
8bcd52fc1b
chore(tests): unifying NEM T1 and TT device tests
2022-01-12 14:53:20 +01:00
FujiCoin
33c243be8d
feat(common): enable taproot for Fujicoin, fix xpub versions
...
* fix fujicoin params
* add test_fujicoin/test_send_p2tr
* fix test
* fix serialized_tx.hex()
* Recreated based on a new transaction
* make gen, some fixes
Co-authored-by: matejcik <ja@matejcik.cz>
2022-01-05 12:43:34 +01:00
matejcik
33b23ea6a0
fix(tests): show addresses in test_show_segwit
2021-12-21 19:39:57 +01:00
matejcik
f0f950d484
fix(tests): add correct test case for GRS taproot
2021-12-21 19:39:57 +01:00
matejcik
d2ac4e7a9c
feat(tests): add tests for blind EIP-712 signing
...
Co-authored-by: Martin Milata <martin@martinmilata.cz>
Co-authored-by: grdddj <jiri.musil06@seznam.cz>
2021-12-19 20:36:30 +01:00
Martin Milata
bfe5b6a272
test(core): make sure path check fails immediately
2021-12-16 14:15:39 +01:00
Martin Milata
86b02c6c06
tests(core): remove fixtures incorrectly added during merge
2021-12-08 21:01:08 +01:00
Martin Milata
ff5f965c44
Merge branch 'release/21.12'
...
Conflicts:
tests/device_tests/test_msg_signtx_invalid_path.py
tests/ui_tests/fixtures.json
2021-12-08 14:53:56 +01:00
Andrew Kozlik
7b7aa2d971
feat(tests): Add device tests for Taproot ownership proofs.
2021-12-06 18:23:48 +01:00
grdddj
9ef4440d0a
chore(tests): regenerating fixtures.json to account for changed file-paths
2021-12-06 11:15:12 +01:00
grdddj
6c8e6dcc08
feat(tests): SuperShamir device tests for clicking Info button
2021-12-06 11:15:12 +01:00
Andrew Kozlik
de6fab3c1e
feat(tests): Test SegWit cross-coin attack.
2021-11-23 14:57:25 +01:00
Andrew Kozlik
9052133fca
fix(core): Ensure user is warned about non-standard paths.
2021-11-23 14:57:25 +01:00
Andrew Kozlik
10717ddb99
feat(tests): Add invalid signature test for RBF in P2TR.
2021-11-18 22:39:32 +01:00
Andrew Kozlik
03b1b3bc6b
feat(core): Show path warning for SignMessage.
2021-11-13 13:33:46 +01:00
Andrew Kozlik
e559c5688b
feat(tests): Test fake Taproot transaction attack.
2021-11-13 13:33:46 +01:00
Andrew Kozlik
93c02e2616
feat(tests): Add device test for external presigned Taproot input.
2021-11-13 13:33:46 +01:00
Andrew Kozlik
5837750aaa
feat(tests): Add fee bump device test for Taproot.
2021-11-13 13:33:46 +01:00
Andrew Kozlik
f0d6e961a9
feat(tests): Add tests for spending Taproot UTXOs.
2021-11-13 13:33:46 +01:00
Andrew Kozlik
554888ef84
fix(tests): Fix UI tests which fail earlier due to scriptPubKey derivation.
2021-11-13 13:33:46 +01:00
Andrew Kozlik
390bcf4612
feat(tests): Add BIP86 test vectors for get_address().
2021-11-13 13:33:46 +01:00
Pavol Rusnak
7091417c5d
feat(tests): add taproot cases to test_msg_getaddress_segwit_native
2021-11-13 13:33:46 +01:00
Andrew Kozlik
bec0634bae
feat(core): Improve message signing UI.
...
- Add "Confirm message" subheader to SignMessage and VerifyMessage.
- Unify font for SignMessage and VerifyMessage to fixed-width font.
- Fix device tests.
2021-11-10 17:35:57 +01:00
Andrew Kozlik
39a0901e99
fix(tests): Fix SignMessage tests after adding address dialog.
2021-11-10 17:35:57 +01:00
matejcik
2c20016cfa
tests: add tests for different Cardano derivations
2021-11-10 13:57:57 +01:00
matejcik
f0ae16069c
fix(core): do not send passphrase_protection field when device is locked ( fixes #1807 )
2021-11-10 13:57:57 +01:00
matejcik
0e4e56711c
fix(tests): enable derive_cardano for Cardano test cases
2021-11-10 13:57:57 +01:00
Jun Luo
62b649ef5d
refactor(common & core & legacy): Stellar, rename StellarCreatePassiveOfferOp to StellarCreatePassiveSellOfferOp.
2021-11-04 13:16:29 +01:00
Jun Luo
d064aae3f9
feat(common & core & legacy): Stellar, add support for StellarPathPaymentStrictSendOp.
2021-11-04 13:16:29 +01:00
Jun Luo
1dcb8e4913
feat(common & core & legacy): Stellar, add support for StellarManageBuyOfferOp.
2021-11-04 13:16:29 +01:00
Jun Luo
3a5768c4bf
refactor(common & core & legacy): Stellar, rename StellarManageOfferOp to StellarManageSellOfferOp and rename StellarPathPaymentOp to StellarPathPaymentStrictReceiveOp.
2021-11-04 13:16:29 +01:00
Pavol Rusnak
0068c12f77
fix(python): use unified descriptor format <a;b> ( #1885 )
2021-11-04 10:36:53 +01:00
grdddj
73238135d6
feat(core/ethereum): EIP-712
...
Based on original contribution by Max Kupriianov <xlab@hey.com>
Implemented EIP-712 typed data signatures in Ethereum app.
Add eth_abi into pyproject deps
device test for EIP 712
fixed hex decoding for address
fixup! fixed hex decoding for address
code quality, more pythonic code, removing unused imports
running black and isort on changed files
trezorctl file input for EIP 712 data signing
fixup! code quality, more pythonic code, removing unused imports
fixup! fixup! code quality, more pythonic code, removing unused imports
necessary changes after rebase to master
unit tests for sign_typed_data.py
new protobuf messages, working for nonarray types
simplified and verified solution for our simple data
support for simple arrays, without their confirmation
reverting protobuf value messages to bytes, appropriate changes
showing arrays in Trezor, code quality improvements
data validation on Trezor, minor improvements
using custom types for storing type data instead of dicts, addressing feedback from review
moving helper functions to its own file, tests for decode_data
additional overall tests
support for arrays of structs
adding support for metamask_v4_compat variable
using HashWriter object to collect the final hash continously
minor improvements in code quality
validate_field_type function
streaming values from client without saving them, missing UI
prototype of streamed UI using confirm_properties
accounting for bytes in data, more data types in integration tests
rebase on master, using f-strings
minor fixes and improvements from code review
StructHasher class for the whole hashing process
mypy and style changes
asking users whether to show structs and arrays
protobuf descriptions to fix make defs_check
unifying comments, mypy fix
unit tests for StructHasher class
UI fixtures, skipping device tests for T1
addressing majority of code review comments about code quality and structure
changing file structure - layouts, helpers, sign_typed_data
decode_data renaming and docstring, renaming unit test file
using tuples instead of lists in elifs
layout improvements
excluding core/src/apps/common/confirm.py file from the PR
True/False returning layout with Show more button
code review layout improvements
forgotten br_type argument to should_show_more
2021-11-02 14:27:01 +01:00
matejcik
0e6669bd10
feat(core/stellar): show start/end timestamps in human readable format
2021-10-29 11:00:30 +02:00
matejcik
f7c340f333
feat(core/bitcoin): show lock_time as human readable datetime
2021-10-29 11:00:30 +02:00
Martin Milata
3882b89be9
fix(core/ethereum): ask before showing paginated data field
2021-10-19 17:13:28 +02:00
David Misiak
13c4fb97df
fix(cardano): forbid multisig pool registration [no changelog]
2021-10-19 15:25:39 +02:00
Andrew Kozlik
dfd98c5164
feat(tests): Test send to taproot.
2021-10-18 13:36:05 +02:00
Pavol Rusnak
27dcef056f
feat(tests): add tests for Taproot descriptors support
2021-10-18 13:36:05 +02:00
matejcik
b6837d19b7
fix(core/nem): fix NEM usage of format_amount
...
[no changelog]
2021-10-13 11:53:17 +02:00
amadejpapez
85ba7c12ba
style(all): use f-strings for formatting
...
[no changelog]
2021-10-13 11:53:17 +02:00
gabrielkerekes
b957dfbddb
chore(cardano): improve get_native_script_hash tests and update ui fixtures
2021-10-11 15:16:24 +02:00
gabrielkerekes
4aaf6db9a2
chore(cardano): update docs, changelog and ui test fixtures
2021-10-11 15:16:24 +02:00
matejcik
f484c42d41
refactor(tests): use common Stellar fixtures in tests
...
All test cases are generated and verified in Stellar Laboratory.
Source XDR is also tested to match the vectors, and it is easy to verify
in Laboratory directly.
2021-09-24 10:30:19 +02:00
Pavol Rusnak
169c472172
refactor(tests): modernize test_msg_getaddress_segwit_native
2021-09-23 16:17:58 +02:00
matejcik
9dd97c77e3
fix(tests): update prevhash test
...
exclude the None value, because prev_hash is now required on protobuf
level
unify the parametrization across tests
2021-09-21 12:43:31 +02:00
grdddj
1a291660e5
chore(tests): improving consistency of ethereum fixtures
2021-09-20 13:04:56 +02:00
grdddj
23ce8a46f3
feat(tests): PIN and protection_levels tests for TT
2021-09-17 11:13:25 +02:00
grdddj
1b932a20e8
fix(tests): decoding PNG files to fix Linux/Mac differences in encoding
2021-09-14 14:21:38 +02:00
matejcik
ae4dd42d18
refactor(core/ethereum): reorganize sanity checks, disallow chain_id 0
2021-09-10 15:09:03 +02:00
matejcik
8931450d21
chore(common): enable Palm network
2021-09-10 15:09:03 +02:00
matejcik
a1c3d8b7a5
chore(tests): regenerate UI test fixtures
2021-09-10 15:09:03 +02:00
grdddj
6f1005b155
chore(tests): vectorizing and creating JSON fixtures for ethereum device tests
2021-09-02 10:28:26 +02:00
matejcik
7aed8d535d
feat(all): re-enable Firo ( fixes #1767 )
2021-08-23 11:43:57 +02:00
gabrielkerekes
0bff220fd6
chore(cardano): update ui test fixtures
2021-08-20 11:50:13 +02:00
matejcik
d66cca4069
chore(tests): remove Lisk
2021-08-19 10:25:41 +02:00