Andrew Kozlik
a5bd1643fc
fix(core): Fix OP_PUSH writing.
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
ed9d3e3e9b
fix(tests): Add script_pubkey field to external inputs.
2021-11-13 13:33:46 +01:00
Andrew Kozlik
7653efb415
chore(core): Disable Taproot for altcoins.
2021-11-13 13:33:46 +01:00
Andrew Kozlik
c0f853dc78
chore(core): Disable ownership proof generation for Taproot.
2021-11-13 13:33:46 +01:00
Andrew Kozlik
475b95b11e
feat(core): Disable prevtx streaming for Taproot.
2021-11-13 13:33:46 +01:00
Andrew Kozlik
84e31310a1
feat(core): Support Taproot in SignatureVerifier.
2021-11-13 13:33:46 +01:00
Andrew Kozlik
a17cdb7cfa
feat(core): Implement Taproot signing.
2021-11-13 13:33:46 +01:00
Andrew Kozlik
381e8bc85a
feat(core): Implement the BIP-341 common signature message computation.
2021-11-13 13:33:46 +01:00
Andrew Kozlik
99e4ed6f42
chore(core): Support script_pubkey parameter for Bitcoin inputs.
2021-11-13 13:33:46 +01:00
Andrew Kozlik
630c06e782
feat(core): Support Taproot scripts.
2021-11-13 13:33:46 +01:00
Andrew Kozlik
68ad1b07d2
feat(core): Recognize Taproot inputs.
2021-11-13 13:33:46 +01:00
Pavol Rusnak
57fddcfd9d
feat(core): recognize Taproot change-outputs
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
dd7ed61939
feat(core): Implement GetAddress for taproot.
2021-11-13 13:33:46 +01:00
Pavol Rusnak
6406f0640d
feat(core): introduce PATTERN_BIP86 to keychain
2021-11-13 13:33:46 +01:00
Andrew Kozlik
ae41f7dec8
fix(core): Fix bip340 module build.
2021-11-13 13:33:46 +01:00
Andrew Kozlik
59c0f4383d
feat(core): Add key tweaking functions to trezorcrypto.bip340.
2021-11-13 13:33:46 +01:00
Andrew Kozlik
3f5c11a919
test(crypto): Add unit test for BIP340 tweak.
2021-11-13 13:33:46 +01:00
Andrew Kozlik
4a6bd14993
feat(crypto): Add key tweaking functions to zkp_bip340.c.
2021-11-13 13:33:46 +01:00
matejcik
fd0d1ed871
git subrepo push common
...
subrepo:
subdir: "common"
merged: "d84a6fcaf"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "d84a6fcaf"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2021-11-11 15:05:17 +01:00
Andrew Kozlik
0737deedc4
fix(legacy): Fix split_message() to correctly handle strings that are not null-terminated.
2021-11-10 17:35:57 +01:00
Andrew Kozlik
d8de95767d
feat(legacy): Use fixed font in SignMessage and VerifyMessage.
2021-11-10 17:35:57 +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
c60305d8f0
feat(legacy): Implement pagination in SignMessage and VerifyMessage.
2021-11-10 17:35:57 +01:00
Andrew Kozlik
5e6e56ac4d
feat(legacy): Show address confirmation in SignMessage.
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
Andrew Kozlik
9a7990d087
feat(tests): Add no_script_type device tests for SignMessage.
2021-11-10 17:35:57 +01:00
Andrew Kozlik
cf14e06aa0
feat(core): Show address confirmation in SignMessage.
2021-11-10 17:35:57 +01:00
Andrew Kozlik
4146ab7f9e
feat(legacy): Support no_script_type option in SignMessage.
2021-11-10 17:35:57 +01:00
Andrew Kozlik
bc4a56b2c0
feat(core): Support no_script_type option in SignMessage.
2021-11-10 17:35:57 +01:00
Andrew Kozlik
c2f1850abb
feat(common): Add no_script_type option to SignMessage.
2021-11-10 17:35:57 +01:00
matejcik
0870befe58
docs: add changelogs
2021-11-10 13:57:57 +01:00
matejcik
2a2da21879
fix(python/debuglink): fix formatting for expected messages
...
This was broken by the previous commit removing f-strings. For this
reason, `format()` was renamed to `to_string` to make it clearer that
it's not the `str.format` method.
2021-11-10 13:57:57 +01:00
matejcik
c38efaa9a5
chore: make bitcoin-only checker happy
2021-11-10 13:57:57 +01:00
matejcik
2c20016cfa
tests: add tests for different Cardano derivations
2021-11-10 13:57:57 +01:00
matejcik
f8b9cda05d
feat(python): support Cardano derivation type arguments
2021-11-10 13:57:57 +01:00
matejcik
72924a016f
tests(core): add unit tests for Icarus and Icarus-Trezor, fix failing tests
2021-11-10 13:57:57 +01:00
matejcik
ea0dcff548
feat(crypto): support all bip39 lengths in mnemonic_to_bits
2021-11-10 13:57:57 +01:00
matejcik
10e338e005
feat(core/cardano): allow derivation type selection
2021-11-10 13:57:57 +01:00
matejcik
f6f52445bd
feat(core/cardano): support Icarus, Icarus-Trezor, and Ledger 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
matejcik
9922e7ba48
feat(python): support derive_cardano setting
2021-11-10 13:57:57 +01:00
matejcik
846eca36ca
feat(python): add type information to the UI object
2021-11-10 13:57:57 +01:00
matejcik
f818f4bc23
feat(core): derive Cardano seed together with normal seed, if requested
2021-11-10 13:57:57 +01:00