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
matejcik
387466e073
refactor(core): separate Cardano cryptography into its own module
2021-11-10 13:57:57 +01:00
matejcik
eacaffd079
fix(core/ethereum): use built-in ethereum_pubkeyhash() in get_address
2021-11-10 13:57:57 +01:00
matejcik
faa807f995
feat(core): show progress for SLIP39 derivation
...
fixes #1842
2021-11-10 13:57:57 +01:00
matejcik
8caac218ec
feat(core/cardano): indicate whether Cardano seed should be derived
2021-11-10 13:57:57 +01:00
matejcik
80e4b27f09
feat(crypto/cardano): implement Cardano Ledger derivation
2021-11-10 13:57:57 +01:00
matejcik
1174648777
refactor(crypto): extract Cardano derivations to separate file
...
Changes the API: all Cardano derivations will now produce a 96-byte
secret in the format of private_key + private_key_ext + chain_code.
This can then be trivially converted to a HDNode.
2021-11-10 13:57:57 +01:00
Andrew Kozlik
05cbda4a7a
fix(legacy): ignore compiler check for emulator
...
[no changelog]
2021-11-09 13:50:50 +01:00
matejcik
9b9f6859d6
fix(python/build_tx): correct predefined input types
2021-11-09 12:21:09 +01:00
Ondřej Vejpustek
f96e737ef5
fix(crypto): fix undefined behaviour of IS_ALIGNED_64 macro
2021-11-08 17:38:51 +01:00
Jun Luo
fb88db41a0
chore: bump cryptography from 3.3.1 to 35.0.0
...
The new version works well on Apple Silicon.
[no changelog]
2021-11-08 16:11:45 +01:00
matejcik
4078459afb
build: make sure icons are built before templates
2021-11-08 15:55:01 +01:00
matejcik
bc75d05772
chore(common/defs/fido): add coinbase u2f
...
[no changelog]
2021-11-08 15:55:01 +01:00
Pavol Rusnak
a3b83685ef
fix(core): fix emulator build on Apple Silicon
...
[no changelog]
2021-11-08 11:00:04 +01:00
Martin Milata
a01516389a
chore(vendor): update QR-code-generator
2021-11-05 14:09:11 +01:00
2128675309
684e0c886d
feat(crypto): add big endian support
2021-11-04 20:38:52 +01:00
matejcik
428caf3d35
fix(python/build_tx): make build_tx work again after blockbook protection upgrades
...
Also improve script type selection.
2021-11-04 13:54:43 +01:00
matejcik
57fbf7aa61
git subrepo push common
...
subrepo:
subdir: "common"
merged: "32a5a9045"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "32a5a9045"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2021-11-04 13:54:36 +01:00