1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 11:28:14 +00:00
Commit Graph

651 Commits

Author SHA1 Message Date
tychovrahe
1600759457 refactor(core): simplify secret.h api, hide platform differences
[no changelog]
2024-04-11 16:13:58 +02:00
Martin Milata
418bc924c4 fix(python): missing PIL.Image.ANTIALIAS
[no changelog]
2024-04-10 12:42:49 +00:00
Martin Milata
b1c670090a feat(python): more compact debuglink logging
[no changelog]
2024-04-09 12:10:17 +00:00
tychovrahe
ffccf849eb chore(core): fill T3T1 model full name
[no changelog]
2024-04-04 12:46:44 +02:00
grdddj
0e6b3299af chore(python): include the model names in Unsupported model error
[no changelog]
2024-04-02 14:31:59 +02:00
grdddj
605692e5ce chore(python): remove redundant variable assignment for T3T1 TrezorModel
[no changelog]
2024-04-02 14:31:59 +02:00
Martin Milata
73a7223e7b test(core): add T3T1 support
[no changelog]
2024-03-12 20:55:23 +00:00
tychovrahe
c3f84e2949 perf(core): optimize boot speed on U5 by using has processor to calculate image hashes, switches to sha256
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
a71a608ea7 feat(core): add basic support for T3T1 2024-02-29 23:05:56 +01:00
tychovrahe
353095ae95 feat(core): add support for STM32U5A9J-DK board
[no changelog]
2024-02-29 23:05:56 +01:00
matejcik
5f016a896a chore: upgrade style checkers
black 24.2.0
flake8 7.0.0

some neat improvements for if-else statements there
2024-02-29 13:08:18 +01:00
Martin Milata
48124023d7 feat(core): Add Capability.Translations to Features
[no changelog]
2024-02-29 11:16:05 +00:00
Martin Milata
ae1f4cf5c9 feat(core/bitcoin): send BIP-380 descriptor in GetPublicKey response 2024-02-27 11:09:56 +01:00
Martin Milata
3f10a291b5 feat(common): send BIP-380 descriptor in GetPublicKey response
[no changelog]
2024-02-27 11:09:56 +01:00
Martin Milata
f53b945e61 feat(common): Add language_version_matches flag to Features
[no changelog]
2024-02-26 18:10:24 +01:00
obrusvit
e2b7244383 Rename trezorctl self-test to prodtest-t1.
It was confusing for trezorctl users. The new name clearly signals that
it's meant to work only for Model One.
2024-02-22 11:47:26 +01:00
grdddj
8d1e002dfb chore(python): include error when wanting to upload a JSON file as a translation payload
[no changelog]
2024-02-21 12:44:40 +01:00
matejcik
6a280a279a feat(python): add cosi.sign_with_privkeys
we've had multiple copies of this function all over the codebase, it's time to move it where it belongs
2024-02-12 14:49:32 +01:00
matejcik
fd7b94a6e9 fix(python): fix model enum aliases
the previous spelling of "aliases" created completely new enum entries

per Enum documentation:

> However, an enum member can have other names associated with it.
> Given two entries A and B with the same value (and A defined first),
> B is an alias for the member A. By-value lookup of the value of A will
> return the member A. By-name lookup of A will return the member A.
> By-name lookup of B will also return the member A.
2024-02-12 14:49:32 +01:00
matejcik
519e591d91 chore(python): deprecate language setting in apply_settings / reset / recover 2024-02-12 14:49:32 +01:00
matejcik
055662ea27 chore(common): deprecate language fields in ApplySettings, ResetDevice, RecoveryDevice 2024-02-12 14:49:32 +01:00
grdddj
b8ea21d24a feat(all): implement translations into Trezor
Co-authored-by matejcik <ja@matejcik.cz>
2024-02-12 14:49:32 +01:00
overcat
579cc0d882 feat(common & core & legacy & python/stellar): add support for ClaimClaimableBalanceOp. 2023-12-11 11:14:33 +01:00
gabrielkerekes
6aa5ac869a feat(solana): add additional info with token account 2023-12-05 22:11:41 +01:00
gabrielkerekes
bf45d51af6 feat(solana): basic sign_tx setup and support 2023-12-05 22:11:41 +01:00
gabrielkerekes
44dc417c0e feat(solana): add get_address 2023-12-05 22:11:41 +01:00
gabrielkerekes
ec4a607dbe feat(solana): add get_public_key 2023-12-05 22:11:41 +01:00
gabrielkerekes
50861eb019 feat(solana): basic Solana setup 2023-12-05 22:11:41 +01:00
gabrielkerekes
0dff9390db fix(python): replace base58 implementation with a more correct one
based on https://github.com/keis/base58/blob/master/base58/__init__.py
2023-12-05 22:11:41 +01:00
matejcik
a4486efc5a feat(python): allow devkit-signed firmwares in trezorctl fw update 2023-10-27 16:43:04 +02:00
cepetr
523e50db49 feat(python): introduce interaction-less upgrade 2023-10-27 16:41:56 +02:00
cepetr
ba83a7e644 feat(core): introduce interaction-less upgrade 2023-10-27 16:15:15 +02:00
Martin Milata
14335e5371 feat(python): add chunkify parameter to message signing/verification 2023-10-26 18:29:52 +02:00
tychovrahe
8a4f376f20 refactor(core): prepare fw for differently sized fw chunks
[no changelog]
2023-10-20 16:33:53 +02:00
matejcik
07b6ae9f77 chore(python): bump version after release 2023-10-20 16:08:14 +02:00
matejcik
3c0344304f feat(python/trezorctl): notify user about PIN/passphrase entry in terminal (fixes #3203) 2023-10-20 15:45:32 +02:00
matejcik
b68412e89b style(python): use 'h' for hardening in descriptors too 2023-10-20 15:45:32 +02:00
matejcik
7d8a57a806 style(python): use 'h' for hardening instead of apostrophe (fixes #3037) 2023-10-20 15:45:32 +02:00
matejcik
e590efaddd fix(python): bump web3 dependency (fixes #3136) 2023-10-20 15:45:32 +02:00
matejcik
72c52f2ffa feat(python): support model recognition throughout cli.firmware 2023-10-18 13:18:32 +02:00
matejcik
4ed8f3494d refactor(python): make client.model not optional 2023-10-18 13:18:32 +02:00
matejcik
9b9ce11395 feat(python): support case-insensitive choicetype 2023-10-18 13:18:32 +02:00
matejcik
3ee051bf69 feat(python/trezorctl): respect current firmware bitcoinness when updating 2023-10-18 13:18:32 +02:00
matejcik
c9be90788f fix(python): fix printing of model in print_firmware_version 2023-10-18 13:18:32 +02:00
matejcik
a4f378e565 chore(python): use model names more consistently 2023-10-18 13:18:32 +02:00
matejcik
f7aec0aeb1 tests(python): bump Stellar SDK version
fixes a problem with outdated python 3.11 dependencies
2023-10-16 13:51:36 +02:00
Martin Milata
0c5836605f fix(tests): Safe 3 model name
[no changelog]
2023-10-12 11:31:57 +02:00
Martin Milata
fca82273cf Merge branch 'release/23.09' 2023-10-11 23:34:06 +02:00
Pavol Rusnak
9b78dd107b fix(python): drop simple-rlp dependency and use internal copy 2023-10-11 13:04:26 +02:00
matejcik
bb5b91b920 Merge branch 'master' into release/23.09 2023-09-27 12:58:22 +02:00
grdddj
65c9380ab7 feat(core): triggering delete action in ChoicePage after 1 second even without release
[no changelog]
2023-09-26 08:07:32 +02:00
Martin Milata
07027a69e9 Merge branch 'master' into release/23.09 2023-09-15 14:33:20 +02:00
Andrew Kozlik
c48b606867 feat(core): Add bootloader_locked flag to Features message.
[no changelog]
2023-09-15 14:08:02 +02:00
grdddj
68013bdb1b feat(python): allow for chunkifying addresses in trezorlib functions and CLI 2023-09-15 09:50:21 +02:00
grdddj
618bf43743 feat(all): add optional chunkify parameter for all getAddress and signTx protobuf messages 2023-09-15 09:50:21 +02:00
Andrew Kozlik
1f45e9338a feat(trezorctl): Implement device authenticate command. 2023-09-13 15:45:48 +02:00
Andrew Kozlik
2dc5857336 feat(common): Add AuthenticateDevice message.
[no changelog]
2023-09-13 15:45:48 +02:00
Martin Milata
c1492159f0 fix(core): cardano: include chain code when displaying public key
[no changelog]
2023-09-12 00:39:08 +02:00
tychovrahe
1b08be0186 fix(core/python): print correct model in print_firmware_version 2023-08-22 11:23:29 +02:00
tychovrahe
c9a657b074 feat(core): set final name for Safe 3
[no changelog]
2023-08-18 16:14:47 +02:00
matejcik
821d70dd8d style(python): implement isort 5 for trezorlib
[no changelog]
2023-08-16 13:29:51 +02:00
tychovrahe
5a86add884 refactor(core): differentiate models by internal name in python
[no changelog]
2023-08-15 22:08:11 +02:00
tychovrahe
e8281385f6 feat(core): implement secret handling in bootloader 2023-08-15 09:37:38 +02:00
Ferdinando M. Ametrano
59ba113b07
fix(python): nest logger in the proper way (#3190)
this way logger is properly nested even when the library is used as submodule (e.g. HWI)

see https://github.com/bitcoin-core/HWI/pull/697
2023-08-03 14:41:40 +02:00
grdddj
c97c515718 chore(tests): increase the number of asserts of screen content in input flows
Done to make tests more readable and so that they fail at the right spot when something changes

[no changelog]
2023-07-28 09:41:04 +02:00
grdddj
0a4b7eb06f fix(tests): fix unstable UI in test_busy_expiry testcase
Asserting the device comes back to Homescreen, so the UI result is always the same
(when it does not get there, the assert will fail and the test will rerun).

[no changelog]
2023-07-20 10:02:11 +02:00
grdddj
03f77c50e9 feat(core/rust): new design of wallet creation dialogs
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
672d6b7d13 feat(core): new design of PIN dialogs
[no changelog]
2023-07-17 15:30:00 +02:00
tychovrahe
32a2b371bd feat(core): allow different screen sizes for TT UI
[no changelog]
2023-06-15 17:08:14 +02:00
tychovrahe
d3284baf21 feat(core): support STM32F429 discovery board 2023-06-15 17:08:14 +02:00
tychovrahe
8d812ca36e feat(core): support device variants
[no changelog]
2023-06-07 19:48:53 +02:00
tychovrahe
cd722f5126 fix(python): fix T2B1 keys in trezorlib
[no changelog]
2023-06-06 22:12:53 +02:00
tychovrahe
a2f8cb9d1c feat(core): add internal model field to features
[no changelog]
2023-06-06 09:39:45 +02:00
Martin Milata
46f9e898ca fix(core/ui): padding when backing up mnemonic words
[no changelog]
2023-06-02 18:47:09 +02:00
matejcik
703a38517a chore(python): bump version after release 2023-06-02 14:49:48 +02:00
matejcik
c3eb1664ef chore(python): add T2B1 keys to trezorlib 2023-06-02 14:48:59 +02:00
matejcik
b6c2f2e5ba feat(core): add hw_model field to vendor headers 2023-06-02 14:43:19 +02:00
grdddj
da14c22712 feat(all): add UI for Model R 2023-05-31 10:14:54 +02:00
grdddj
590315bdc1 feat(all): change debugging messages in protobuf 2023-05-11 21:02:21 +02:00
grdddj
bd6783b1a3 feat(all): increase stability of debug-decision events + parsing JSON from Rust 2023-05-11 21:02:21 +02:00
matejcik
00a4fe44e8 chore(python): bump version after release 2023-04-27 13:38:21 +02:00
matejcik
f6534d4220 feat(python/trezorctl): better conversion to Trezor homescreen format (fixes #2880) 2023-04-27 13:37:16 +02:00
matejcik
1141ccdf79 fix(python/trezorctl): limit memory for one field (fixes #2439) 2023-04-27 13:37:16 +02:00
matejcik
09de7ce4f2 feat(python/trezorctl): support prompt configuration for encrypt/decrypt keyvalue
fixes #2608
2023-04-27 13:37:16 +02:00
matejcik
cc2314d89d fix(python/trezorctl): do not prompt twice when enabling force-on-device
fixes #2833
2023-04-27 13:37:16 +02:00
grdddj
abeb34454c feat(python): use DebugLinkRecordScreen.refresh_index when restarting emulator
During each restart, Emulator will transfer the original screen-recording directory
to the new emulator/client and will change the refresh_index so that older screenshots
are not being overwritten by new ones.

[no changelog]
2023-04-11 15:15:44 +02:00
grdddj
9804926682 feat(common/protob): add optional uint32 refresh_index into DebugLinkRecordScreen message
Allows for screenshots from multiple emulator restarts being recorded in the same
directory without being overwritten by each other.
(As core/embed/unix/display-unix.c::display_save() starts with zero index after each restart.)

[no changelog]
2023-04-11 15:15:44 +02:00
tychovrahe
923b1c42b0 fix(cli): don't try to initialize device after wipe in bootloader 2023-04-11 13:57:12 +02:00
matejcik
606518d80e tests: test behavior of USB-ignoring autolock
[no changelog]
2023-04-07 19:44:32 +02:00
matejcik
7638694484 chore: make fields on FirmwareRequest required (fixes #1941)
[no changelog]
2023-04-03 22:01:26 +02:00
matejcik
6e85d61688 feat(core): QA build for testing bootloaders / upgrades
[no changelog]
2023-04-03 22:01:26 +02:00
matejcik
fa7c818cfc fix(python/trezorctl): re-enable trezorctl -p udp
[no changelog]
2023-04-03 22:01:26 +02:00
Martin Milata
c100358ce2 fix(core/ui): don't send ButtonRequest when displaying GetAddress QR code
[no changelog]
2023-04-03 17:57:18 +02:00
matejcik
92c037d89e fix(python/trezorctl): fix colliding option shortcut in ethereum sign-tx
fixes #2535
2023-03-24 13:24:46 +01:00
Martin Novák
e6a7b9ccaa feat(python): support external Ethereum definitions 2023-03-24 13:24:46 +01:00
matejcik
80af1c552e feat(tests): seemingly stable workaround for the wait_layout instability
[no changelog]
2023-03-21 12:47:28 +01:00
Andrew Kozlik
9e23ba8864 feat(trezorctl): Support SLIP-25 in get-descriptor 2023-03-20 17:55:49 +01:00
Martin Milata
483c7a6342 chore(python): debuglink: wait for swipe
[no changelog]
2023-03-09 23:36:36 +01:00
Martin Milata
4af5939a0b feat(core/ui): redesigned receive flow
[no changelog]
2023-03-09 23:36:36 +01:00
David Misiak
826ade2a8d chore(cardano): rename voting public key to vote public key 2023-03-06 11:27:13 +01:00