Andrew Kozlik
1da446a8fb
refactor: Move flash_init to emulator main.
2022-05-03 19:00:04 +02:00
Andrew Kozlik
106ab65e21
feat(core): Implement GetFirmwareHash message.
2022-05-03 19:00:04 +02:00
Andrew Kozlik
6fe2d76dc1
feat(common): Add GetFirmwareHash message.
2022-05-03 19:00:04 +02:00
Tomas Krnak
e166aef820
test(core): add test for zip244
2022-05-02 16:07:31 +02:00
Tomas Krnak
9985a72c6a
feat!(core): support Zcash v5 transaction format
...
This implements:
- ZIP-225: Version 5 Transaction Format
- ZIP-244: Transaction Identifier Non-Malleability
BREAKING CHANGE: Zcash prevouts are not verified (as in Taproot). Zcash replacement transactions are not supported.
2022-05-02 16:07:31 +02:00
Tomas Krnak
670d11d627
feat(core): add tx
argument to create_sig_hasher
method
2022-05-02 16:07:31 +02:00
Pavol Rusnak
a411a964e1
fix(core): re-enable passing of TREZOR_EMULATOR_RASPI flag
...
to re-enable build of Emulator for Raspberry Pi with a display
related to commit daf0d77
which removed the functionality from the makefile
but we missed that there is now no way how to pass the flag to emit the #define
[no changelog]
2022-04-29 13:55:11 +02:00
Martin Milata
18c8304339
fix(core): leftover TREZOR_MODEL defines
...
[no changelog]
2022-04-28 16:47:22 +02:00
Pavol Rusnak
8f1d33d5f9
build(core,legacy): remove gcc, use cc instead of gcc
...
for firmware builds we still use arm-none-eabi-gcc via $(PREFIX)gcc
[no changelog]
2022-04-27 15:48:14 +02:00
TychoVrahe
7912a7d0d3
build(core,storage): fix conditional compilation for different Trezor models
...
* build(core,storage) - Fix conditional compilation for different trezor models
* build(core) - Rename MODEL_* macro to TREZOR_MODEL_*, remove the original TREZOR_MODEL macro (replaced by conditional compilation for QSTR generation)
* build(core) - fixed missing TREZOR_MODEL to TREZOR_MODEL_x changes
[no changelog]
2022-04-26 13:47:40 +02:00
Martin Milata
49dbc92782
fix(core/ui): add missing sources to build
...
[no changelog]
2022-04-19 17:35:15 +02:00
tychovrahe
0a735ead1e
build(core) - Move comments to separate lines to avoid spaces being added to the value
2022-04-13 17:26:14 +02:00
Ondřej Vejpustek
8356d0a572
fix(crypto): use zero auxiliary data in BIP340
2022-04-12 16:22:42 +02:00
matejcik
a9b46f0249
fix(core/rust): be more defensive about strings coming in from uPy
2022-04-11 16:49:58 +02:00
matejcik
8dd7a22f8b
refactor(core/rust): disallow creating byte buffers from &str
2022-04-11 16:49:58 +02:00
matejcik
32c3320f07
refactor(core/rust): pass around &str instead of [u8] in most places
2022-04-11 16:49:58 +02:00
matejcik
785dc7f4d7
feat(core/rust): introduce StrBuffer
...
it is a variant of Buffer specifically for accepting python `str`
2022-04-11 16:49:58 +02:00
Ondrej Mikle
2ced50ed16
fix(core): update JLink command line flashing parameters
...
[no changelog]
2022-04-11 12:26:01 +02:00
Martin Milata
1f612580f7
feat(core): enable UI tests for redesigned UI
...
[no changelog]
2022-04-07 17:58:41 +02:00
Martin Milata
2f987c3c5e
refactor(core/ui): remove dependencies on old layouts
...
[no changelog]
2022-04-07 17:58:41 +02:00
Martin Milata
2a3f0c16bd
ci(monero): update test executable, enable more tests
2022-04-07 16:28:12 +02:00
Martin Milata
38f4ab0983
feat(core/rust/ui): return Layout results as singleton objects
...
[no changelog]
2022-04-04 13:32:07 +02:00
Martin Milata
4cf917c7cb
build(core): fix TREZOR_EMULATOR_DEBUGGABLE
...
[no changelog]
2022-04-04 13:32:07 +02:00
Jan Pochyla
36829cfa8f
feat(core/rust): Add obj_module! macro
...
[no changelog]
Co-authored-by: Martin Milata <martin@martinmilata.cz>
2022-04-04 13:32:07 +02:00
Martin Milata
30ec1802f4
chore(core): bump version to 2.5.1
...
[skip_ci]
2022-03-30 21:57:54 +02:00
Pavol Rusnak
9a8e257619
fix(core): fix SDL2 include path
...
[no changelog]
2022-03-29 12:22:11 +02:00
Pavol Rusnak
334f7bbbe6
chore(common): defs cleanup
...
- drop Gamecredits - they became an ERC-20 token in 2020
- drop Nix - dead coin
- drop Polis - coin became a BEP-20 token and later Olympus network in 2021
2022-03-25 14:27:30 +01:00
matejcik
61718aff49
feat(tools): make pyright_tool more user-friendly
...
[no changelog]
* passed in directory respects absolute and relative paths instead of
working "from repository root"
* we don't require the enableTypeIgnoreComments to be set so both
`pyright` and `pyright_tool` can work with the same config at the same
time
* use click's magic functionality to deal with missing / unreadable /
unwriteable files
* read the error results via a pipe, do not write to filesystem unless
requested
* simplified logic regarding "test mode"/"dev mode"
* renamed `--log` to more typical `--verbose`
* use pathlib more extensively
2022-03-23 14:55:05 +01:00
Martin Milata
45276963c0
fix(core): fix timers for rust layouts
...
[no changelog]
2022-03-23 13:40:45 +01:00
Martin Milata
4eefaffac9
fix(core/rust/ui): recovery/passphrase keyboard fixes
...
[no changelog]
2022-03-23 13:40:45 +01:00
Martin Milata
efe25a6ab4
fix(core/rust/ui): pin keyboard tweaks
...
[no changelog]
2022-03-23 13:40:45 +01:00
Martin Milata
d51072b8c1
refactor(core/rust/ui): unhardcode screen size
...
[no changelog]
2022-03-23 13:40:45 +01:00
Jan Pochyla
801679bccf
chore(core/rust): Add dynamic place system
2022-03-22 16:08:50 +01:00
David Misiak
915781bfb1
chore(cardano): update changelog and ui tests
2022-03-18 14:32:54 +01:00
David Misiak
fec4fa2257
refator(cardano): validate map key order in HashBuilderDict
2022-03-18 14:32:54 +01:00
David Misiak
a36fc6cadc
fix(cardano): display tADA in testnet transactions
2022-03-18 14:32:54 +01:00
David Misiak
1f20c49536
feat(cardano): allow device-owned outputs in plutus txs
2022-03-18 14:32:54 +01:00
David Misiak
117c3c932f
fix(cardano): update testnet protocol magic
2022-03-18 14:32:54 +01:00
David Misiak
962f689e8a
feat(cardano): display tx id for plutus txs
2022-03-18 14:32:54 +01:00
David Misiak
f0e230642b
fix(cardano): display reward addresses for withdrawals
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
1388912762
fix(cardano): add map key canonical order validation
2022-03-18 14:32:54 +01:00
David Misiak
143af80aea
fix(cardano): add input validation
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
6052e71bbb
fix(core): fix build with FEATURE_FLAGS.SECP256K1_ZKP=False
...
[no changelog]
2022-03-18 12:03:41 +01:00
matejcik
cdca0bad9e
fix(core): do not drop cashaddr prefix for QR code
...
[no changelog]
2022-03-18 11:59:04 +01:00
Pavol Rusnak
edb87359eb
feat(core): headless emulator implies disabled animations
...
[no changelog]
2022-03-18 11:58:04 +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