1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 01:48:17 +00:00
Commit Graph

321 Commits

Author SHA1 Message Date
Andrew Kozlik
5715fbfc9c fix(tests): Fix ownership proof unit test to match test vector 2 from SLIP-19.
[no changelog]
2023-02-15 10:37:49 +01:00
grdddj
428ac8d2ac chore(core): delete unused code in src
[no changelog]
2023-01-25 19:17:56 +01:00
grdddj
c068c668fa feat(core/ethereum): remove EIP-712 field size limitation of 1024 bytes 2023-01-13 16:39:43 +01:00
Martin Novak
58276a7443 feat(core/ethereum, legacy/ethereum): add support to Ledger Live legacy derivation path 2022-11-30 14:23:47 +01:00
grdddj
d045e0089d feat(core/ui): delete old UI code 2022-11-21 14:08:47 +01:00
grdddj
bd7513f2df chore(core): decrease crypto size by 60 bytes 2022-11-10 14:08:28 +01:00
grdddj
55bb61d404 chore(core): decrease bitcoin size by 1740 bytes 2022-11-10 14:08:28 +01:00
grdddj
0c8528821f chore(core): decrease cardano size by 2290 bytes 2022-11-10 14:08:28 +01:00
grdddj
26fd0de198 chore(core): decrease ethereum size by 17250 bytes 2022-11-10 14:08:28 +01:00
grdddj
0c3423b1c7 chore(core): decrease webauthn size by 1270 bytes 2022-11-10 14:08:28 +01:00
grdddj
3711fd0f19 chore(core): decrease common size by 5200 bytes 2022-11-10 14:08:28 +01:00
grdddj
d182ac5b53 chore(core): decrease nem size by 1550 bytes 2022-11-10 14:08:28 +01:00
grdddj
32125ef51f chore(core): decrease zcash size by 300 bytes 2022-11-10 14:08:28 +01:00
grdddj
164be3ac8f chore(core): decrease tezos size by 860 bytes 2022-11-10 14:08:28 +01:00
grdddj
80ab7f1c29 chore(core): decrease eos size by 1kb 2022-11-10 14:08:28 +01:00
grdddj
47b924cbec chore(core): decrease binance size by 460 bytes 2022-11-10 14:08:28 +01:00
grdddj
f25119e44d chore(core): import trezor.messages in TYPE_CHECKING branch - saving 1kb 2022-11-10 14:08:28 +01:00
grdddj
756a97a95d chore(core): delete unused functions 2022-11-10 14:08:28 +01:00
Martin Milata
4e800b6ffd fix(core/tests/monero): docker command line
[no changelog]
2022-11-04 15:11:24 +01:00
Andrew Kozlik
91e38ebd03 fix(core): Change precision of CoinJoin fee rate in unit tests.
[no changelog]
2022-10-31 16:27:26 +01:00
David Misiak
51a8e18c8d feat(cardano): add preprod and preview testnets 2022-10-31 16:08:39 +01:00
Andrew Kozlik
7a02be077f tests(core): Implement CoinJoin requests in unit tests. 2022-10-27 17:37:48 +02:00
grdddj
fac4e2f157 chore(xmr): delete unused code
[no changelog]
2022-10-25 21:36:03 +02:00
Dusan Klinec
26711857e8 refactor(xmr): remove old BP code 2022-10-25 21:36:03 +02:00
Andrew Kozlik
d815a7d6de chore(core): Use C implementation of Bech32 decode. 2022-10-17 15:20:46 +02:00
Andrew Kozlik
5bbfd40df6 feat(core): Add set_int() and get_int() to storage cache.
[no changelog]
2022-10-10 20:32:36 +02:00
Dusan Klinec
90771ebb59 fix(xmr): fix tx sending to an integrated address 2022-09-30 13:47:06 +02:00
Tomas Krnak
031bac4a9b feat(core): add support for Zcash unified addresses 2022-08-30 21:15:49 +02:00
Andrew Kozlik
77be3653b4 feat(core): Implement SLIP-0025 CoinJoin accounts. 2022-08-30 15:53:44 +02:00
Andrew Kozlik
fa5e7feda6 fix(crypto): Fix nonce bias in CoSi signing. 2022-08-02 20:38:04 +02:00
matejcik
114376f734 feat(core/strings): use thousands separator (fixes #2394) 2022-08-02 20:35:49 +02:00
Andrew Kozlik
8ca785925d fix(core,legacy): Fix tx_weight to tx_size conversion.
[no changelog]
2022-08-02 14:30:38 +02:00
Andrew Kozlik
90792eb438 fix(core): Fix Decred transaction weight calculation. 2022-08-01 15:10:34 +02:00
David Misiak
f7d0507a65 feat(cardano): add support for chunked embedded CBOR 2022-07-04 15:58:27 +02:00
David Misiak
50ad00a3c0 refactor(cardano): use module imports for addresses, certs, aux data 2022-07-04 15:58:27 +02:00
David Misiak
2724d29968 refactor(cardano): introduce Signer and its subclasses 2022-07-04 15:58:27 +02:00
Dusan Klinec
2d36c4e8f3 fix(core/monero): add missing view_tags to hf15 2022-06-28 16:21:29 +02:00
Dusan Klinec
1e9acf10fa fix(xmr): remove inv8 optimization as in xmr master 2022-06-08 08:59:34 +02:00
Martin Novak
85f0d3a741 feat(core,legacy): show fee rate when signing transaction 2022-05-25 14:43:45 +02:00
Martin Milata
c5f1bec474 Merge branch 'release/22.05' 2022-05-18 12:43:53 +02:00
Dusan Klinec
5e6582a3fe feat(xmr): add support for HF15, BP+ 2022-05-16 12:37:24 +02:00
Dusan Klinec
25d32a8144 feat(xmr): implement bp+, refactor, code cleanup
- implement BulletProof plus verifier and prover
- use bulletproof exception to signalize proof generation failed and should be tried again. More robust, fixes bug that was not triggered yet (return tuple did not work properly in all situations)
- precomputed 2**i vector is removed as it can be easily computed
- BP code cleanup, minor optimizations, comments
2022-05-16 12:37:24 +02:00
Dusan Klinec
98ec1fb067 chore(core/monero): update test binary to newest version
[no changelog]

Co-authored-by: Martin Milata <martin@martinmilata.cz>
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
Andrew Kozlik
b1c6b42201 fix(core): Stricter Bitcoin transaction checks. 2022-05-03 22:14:40 +02:00
Andrew Kozlik
106ab65e21 feat(core): Implement 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
Ondřej Vejpustek
8356d0a572 fix(crypto): use zero auxiliary data in BIP340 2022-04-12 16:22:42 +02:00
Martin Milata
2a3f0c16bd ci(monero): update test executable, enable more tests 2022-04-07 16:28:12 +02:00