1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-03 13:08:17 +00:00
Commit Graph

11730 Commits

Author SHA1 Message Date
Andrew Kozlik
9732f6524a refactor(legacy): Extract segwit signing code. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
1ecb0f0c1c feat(legacy): Implement SLIP-0021 symmetric key derivation. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
779f5dbc7d refactor(legacy): Move script type functions to crypto.h. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
11109b4e46 feat(legacy): Support serialize option in SignTx. 2023-02-27 14:22:25 +01:00
grdddj
acec852aa4 feat(core): show welcome screen after device is connected
[no changelog]
2023-02-27 13:22:09 +01:00
grdddj
5d987b2bc9 feat(core): not showing Starting up progress loader after connecting device
[no changelog]
2023-02-27 13:22:09 +01:00
Andrew Kozlik
00dde0e312 feat(core): Handle .dummy RP ID in Chrome FIDO2. 2023-02-23 13:02:33 +01:00
Andrew Kozlik
2ee5b0aa15 fix(core): Fix FIDO2 falling back to U2F.
[no changelog]
2023-02-23 13:02:33 +01:00
Andrew Kozlik
deb38a2db5 feat(core): Ignore channel ID in U2F.
Safari browser changes the CID for every single operation. We need to
keep up the same U2F dialog for different CIDs as long as the dialog
corresponds to the same request data.
2023-02-23 13:02:33 +01:00
grdddj
ccf08df07d fix(legacy): show complete taproot QR code without any missing rows/columns
The QR code will be smaller (only one pixel per module), but scannable anyway.

When the QR code was bigger, but incomplete, Android devices had issues with scanning it.

[no changelog]
2023-02-22 14:48:04 +01:00
grdddj
107a7c93b1 chore(core): enable reboot-to-bootloader without experimental features 2023-02-22 10:21:24 +01:00
Martin Milata
fa34247c38 chore(core): update fixtures 2023-02-21 10:23:46 +01:00
Martin Milata
7408f169cb ci: drop cached-nix-shell 2023-02-21 10:23:46 +01:00
matejcik
966e5d8286 fix(python): allow unsigned legacy firmware (fixes #2801) 2023-02-20 14:59:02 +01:00
matejcik
c4bf4fa884 fix(python): improve type checking 2023-02-20 14:59:02 +01:00
matejcik
00304471ca feat(python): add pybridge tool
[no changelog]
2023-02-20 14:59:02 +01:00
Martin Milata
d3dd0e3c6f build(core): fix filename when BITCOIN_ONLY is unset
[no changelog]
2023-02-19 23:23:27 +01:00
Andrew Kozlik
0a955b4ad6 feat(core): Force basic attestation in FIDO2 for google.com. 2023-02-17 16:00:41 +01:00
grdddj
07e51279e2 feat(python): ability to not show passphrase coming from host
[no changelog]
2023-02-17 12:55:11 +01:00
grdddj
20d280d7e0 feat(core): ability to not show passphrase coming from host
[no changelog]
2023-02-17 12:55:11 +01:00
Martin Milata
afb5c55416 feat(core/ui): reset_device copy change
[no changelog]
2023-02-17 12:35:19 +01:00
grdddj
89b905a349 fix(tests): make master_diff more reliable
[no changelog]
2023-02-17 10:28:35 +01:00
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
Martin Milata
4d87ac253f ci: drop redundant yaml check 2023-02-15 10:34:32 +01:00
Martin Milata
12b2ea01e8 ci: don't use cached-nix-shell in hardware tests 2023-02-15 10:34:32 +01:00
grdddj
82bd908246 feat(core): EIP712 signing shows the ethereum address at the beginning 2023-02-14 15:30:05 +01:00
grdddj
aa283a8392 fix(core): remove the possibility of AssertionError in select_word
In case there are less than three unique word to choose from, duplicating the last word to make the length of 3.

[no changelog]
2023-02-14 15:28:37 +01:00
matejcik
9d7342e0aa ci: conditionally use cached-nix-shell in env setup 2023-02-13 08:49:47 +01:00
Pavol Rusnak
e4661e8f05
fix(nix): cached-nix-shell is not available on darwin
[no changelog]
2023-02-11 14:53:18 +01:00
tychovrahe
9f7edf210e feat(core/rust): basic marquee implementation
[no changelog]
2023-02-10 19:33:12 +01:00
Pavol Rusnak
bfda33dddc docs: reorganize hardware docs
- delete most of the files since they are maintained in the hardware repo
  (https://github.com/trezor/trezor-hardware)
- move docs/hardware/model-one/* to docs/legacy
- move docs/hardware/model-t/* to docs/core/misc

[no changelog]
2023-02-10 15:37:26 +01:00
matejcik
b2be58c6d2 build: also deploy click-test fixtures 2023-02-10 15:19:31 +01:00
Martin Milata
6c1e6fd0cb ci: make connect test core manual 2023-02-10 13:23:17 +01:00
matejcik
9add2b0027 fix(tests): more robust master diff handling
fixes #2799
2023-02-10 13:03:29 +01:00
Martin Milata
034947985a fix(tests): increase delay between click test button presses
[no changelog]
2023-02-10 13:03:29 +01:00
Martin Milata
7a375b5642 feat(core/ui): adjust device customization layouts 2023-02-10 13:03:29 +01:00
Martin Milata
7fb357dac6 ci(nix): don't use cached-nix-shell for arm builds and hw tests 2023-02-09 12:16:45 +01:00
Martin Milata
1e4b42792d ci(nix): use cached-nix-shell for speed
[no changelog]
2023-02-08 23:01:35 +01:00
tychovrahe
9aa8662ba9 feat(core): implement loaders for T2B1
[no changelog]
2023-02-08 12:18:33 +01:00
tychovrahe
52cd43bf29 fix(core): improve tearing effect prevention
[no changelog]
2023-02-07 19:05:01 +01:00
grdddj
996fec5aae chore(core): delete newlines in strings where they do not delimit useful info
Done so we can use the same strings for both TT and TR

[no changelog]
2023-02-07 12:26:33 +01:00
Martin Milata
099d00de84 perf(core/rust): use less Button instances in PassphraseKeyboard
[no changelog]
2023-02-06 17:35:31 +01:00
Martin Milata
0df81b18e3 perf(core/rust): parse Toif metadata on demand
[no changelog]
2023-02-06 17:35:31 +01:00
Martin Milata
194868438a perf(core/rust): drop NamedToif
Makes structs larger despite only being used in panic.

[no changelog]
2023-02-06 17:35:31 +01:00
grdddj
1fa9a58fa5 feat(tests): generate UI report with all unique differing screens
[no changelog]
2023-02-03 16:51:14 +01:00
grdddj
491a8523bc feat(tests): allow for saving text layout of all screens during UI tests
[no changelog]
2023-02-03 16:51:14 +01:00
grdddj
eb195d038b chore(tests): small naming changes and docs
[no changelog]
2023-02-03 16:51:14 +01:00
matejcik
39a8e6bb50 tests(cosi): add invalid path tests 2023-02-03 13:01:47 +01:00
matejcik
0846f3a9e3 fix(python/transport): fix UDP prefix search if correct full path is given 2023-02-03 13:01:47 +01:00
matejcik
8d44db5270 fix(core): ensure SLIP26 path is accepted for SignMessage 2023-02-03 13:01:47 +01:00