Ondrej Mikle
c563c987e1
feat(core): jump back and stay in bootloader for TT via reverse SVC call trampoline
2022-06-01 14:50:59 +02:00
David Misiak
a1eaa465aa
chore(cardano): remove legacy types
2022-05-23 11:08:52 +02:00
grdddj
6dc4426151
feat(ui): setup homescreen and label for model R
...
[no changelog]
2022-05-19 14:09:16 +02:00
Martin Milata
c5f1bec474
Merge branch 'release/22.05'
2022-05-18 12:43:53 +02:00
Pavol Rusnak
38ad9ab9e5
fix(python): only even-width grayscale icons are supported
...
[no changelog]
2022-05-16 15:01:37 +02:00
Dusan Klinec
5e6582a3fe
feat(xmr): add support for HF15, BP+
2022-05-16 12:37:24 +02:00
matejcik
6feada2eed
style(python/monero): improve type signature on Monero functions
2022-05-16 12:37:24 +02:00
Dusan Klinec
33c174491f
refactor(core/monero): Monero code cleanup
...
* remove support for HF12 and below
* remove MLSAG support
* clean up monero cryptography naming
* get rid of "optional first argument" pattern, in favor of mandatory argument that is allowed to be None
(and fix several bugs related to this feature)
Co-authored-by: grdddj <jiri.musil06@seznam.cz>
Co-authored-by: Martin Milata <martin@martinmilata.cz>
Co-authored-by: matejcik <ja@matejcik.cz>
2022-05-16 12:37:24 +02:00
grdddj
8e1b5a969c
feat(python): support model R in trezorlib
2022-05-06 11:44:52 +02:00
Andrew Kozlik
458d6e1b4b
fix(trezorctl): Fix BIP-32 path in CoSi help.
...
[no changelog]
2022-05-03 21:50:50 +02:00
matejcik
ee694f36cf
feat(python): implement firmware dumping
2022-05-03 19:00:04 +02:00
matejcik
37c61c1381
feat(core): implement firmware dumping
2022-05-03 19:00:04 +02:00
Andrew Kozlik
e43c14f448
feat(trezorctl): Add firmware get-hash command.
2022-05-03 19:00:04 +02:00
Andrew Kozlik
6fe2d76dc1
feat(common): Add GetFirmwareHash message.
2022-05-03 19:00:04 +02:00
grdddj
068e97c258
feat(python): unify option arguments in trezorctl
2022-03-24 14:30:20 +01:00
grdddj
d7d228e716
chore(python): limit click version to be below 8.1
2022-03-24 14:30:20 +01:00
David Misiak
117c3c932f
fix(cardano): update testnet protocol magic
2022-03-18 14:32:54 +01:00
David Misiak
9f9535abb3
feat(cardano): add key hash stake credentials
2022-03-18 14:32:54 +01:00
David Misiak
2262602967
feat(cardano): add support for plutus transactions
2022-03-18 14:32:54 +01:00
David Misiak
48587d83fe
feat(cardano): add support for output datum hash and script data hash
2022-03-18 14:32:54 +01:00
David Misiak
2b3a53a6ae
feat(cardano): add support for network id in tx body
2022-03-18 14:32:54 +01:00
Pavol Rusnak
edb87359eb
feat(core): headless emulator implies disabled animations
...
[no changelog]
2022-03-18 11:58:04 +01:00
Andrew Kozlik
8be6689150
chore(common): Rework AuthorizeCoinJoin message parameters.
...
[no changelog]
2022-03-17 15:46:01 +01:00
grdddj
a38a0b6295
fix(python): fix eth.sign-tx - correct input into rlp.encode()
...
[no changelog]
2022-03-16 16:09:07 +01:00
grdddj
3d505874aa
feat(ci): create pyright tool and include it in CI
...
[no changelog]
2022-03-02 15:43:50 +01:00
matejcik
e0754d1609
fix(python/protobuf): correctly dump messages with missing required fields
2022-02-21 14:37:25 +01:00
grdddj
319d0f16e3
chore(python): loosen ethereum dependencies
...
[no changelog]
2022-02-18 18:40:47 +01:00
grdddj
58fb6c77a7
feat(python): add screenshotting capability for T1 in Debuglink
2022-02-17 11:05:55 +01:00
Ferdinando Ametrano
3c0cb4d763
feat(python): extend sign_message to also sign bytes, not only string
2022-02-15 14:27:59 +01:00
Pavol Rusnak
b9bbd5fcd7
chore: update dependencies
...
[no changelog]
Co-Authored-By: Martin Milata <martin@martinmilata.cz>
2022-02-15 13:28:03 +01:00
Andrew Kozlik
bf2baf798f
feat(trezorctl): Support generating Electrum-compatible message signatures.
2022-02-11 15:36:00 +01:00
Andrew Kozlik
f6154b311e
chore(trezorlib): Support payment requests and GetNonce command.
2022-01-31 18:00:22 +01:00
Andrew Kozlik
d0c3a6a2fa
chore(core): Add mac field to Address message.
...
[no changelog]
2022-01-31 18:00:22 +01:00
Andrew Kozlik
0959947a88
chore(common): Add GetNonce, Nonce and TxAckPaymentRequest message.
...
[no changelog]
2022-01-31 18:00:22 +01:00
Andrew Kozlik
ba4f046d6f
feat(common): Add INFO button to DebugLinkDecision.
...
[no changelog]
2022-01-27 13:15:04 +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
8b2e2112bc
style(python/btc): better specification of type of prev_txes
...
[no changelog]
2022-01-13 13:01:17 +01:00
grdddj
e3d366e65b
feat(python): ScriptUI for trezorctl, reference client implementation
2022-01-12 14:52:01 +01:00
matejcik
dfab3efb86
style(python): fix typecheck issues
...
[no changelog]
2022-01-07 21:41:17 +01:00
Pavol Rusnak
b0e0280465
chore: drop obsolete fw_vendor_keys field from Features
...
[no changelog]
2022-01-03 14:23:58 +01:00
Alisina Bahadori
77ab865386
feat(legacy): Implement EIP-712 signing
2021-12-19 20:36:30 +01:00
matejcik
38d44e6803
chore(python): bump trezorlib version in repo
2021-12-10 10:54:04 +01:00
matejcik
b343ad3931
style(python): mark Reader/Writer protocol arguments as position-only
...
Using `__`-prefixed names seems to be a convention for specifying
position-only arguments before Python 3.8. Pyright respects this
convention and in fact requires it since version 1.1.192.
2021-12-08 10:00:48 +01:00
matejcik
a4bcc95deb
feat(python): introduce Trezor models
...
This keeps information about vendors and USB IDs in one place, and
allows us to extend with model-specific information later.
By default, this should be backwards-compatible -- TrezorClient can
optionally accept model information, and if not, it will try to guess
based on Features.
It is possible to specify which models to look for in transport
enumeration. Bridge and UDP transports ignore the parameter, because
they can't know what model is on the other side.
supersedes #1448 and #1449
2021-12-07 16:55:58 +01:00
matejcik
38fca4a83d
chore(python): regenerate GNU copyright headers
2021-12-07 16:55:58 +01:00
matejcik
83bb3a0932
feat(python): show progress bar for firmware upload
2021-12-07 16:55:58 +01:00
matejcik
a2a8cc88d9
feat(python): make the protobuf mappings overridable
2021-12-07 16:55:58 +01:00
Andrew Chow
dbf57d745a
feat(python): Optionally init_device in TrezorClient
2021-12-07 16:55:58 +01:00
Andrew Chow
23a09fc047
feat(python): Raise ValueError for non-existant tx hashes
...
If the device asks for a tx_hash which is not present in prev_txes,
raise a ValueError with some more detailed messaging about the missing
hash rather than the default dictionary lookup failure of KeyError.
2021-12-07 16:55:58 +01:00
grdddj
d6b99ba3eb
fix(python): allowing PIN/passphrase input for Git Bash
2021-12-01 13:06:41 +01:00