1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-24 16:38:15 +00:00
Commit Graph

13007 Commits

Author SHA1 Message Date
Ondřej Vejpustek
68114fa43d test(crypto): add elligator2 tests 2024-05-10 20:05:37 +02:00
Ondřej Vejpustek
88a9574e57 feat(crypto): implement elligator2 2024-05-10 20:05:37 +02:00
Martin Milata
be049ba619 ci: actions: no block-fixup on scheduled pipelines 2024-05-10 09:41:54 +00:00
matejcik
5f0d028a83 ci: avoid ASAN related failures on build_bootloader_emu
The build job is setting too many variables. The sconscript is
responsible for those, but bootloader_emu does not support ASAN and does
not have the right linker flags to make "-Z sanitizer=address" work. We
don't care because bootloader emulator is not used in the test suite so
we couldn't catch anything with ASAN anyway.
2024-05-10 10:29:29 +02:00
Jan Šetina
447c680b88 chore(core): update cs.json and fixtures
Fixes https://github.com/trezor/trezor-firmware/issues/3697

[no changelog]
2024-05-09 21:12:44 +00:00
Martin Milata
946e855e5d ci: actions: don't fill logs with junk when uploading to s3 2024-05-09 15:39:14 +00:00
Martin Milata
067daa790c ci: bump action dependencies 2024-05-09 15:39:14 +00:00
Martin Milata
5ef428ef55 ci: run common.yml and prebuild.yml nightly 2024-05-09 15:39:14 +00:00
tychovrahe
d04ecba815 fix(core): fix tt ui loader haptic feedback
[no changelog]
2024-05-09 14:51:05 +02:00
tychovrahe
c680187b0e feat(core): add disable haptic option to tt ui button
[no changelog]
2024-05-09 14:51:05 +02:00
cepetr
04d5017228 feat(core): improve loader haptic effect
[no changelog]
2024-05-09 14:51:05 +02:00
M1nd3r
2e58a4959f docs(core): fix reference to SLIP-23 in cardano node derivation
[no changelog]
2024-05-09 13:34:28 +02:00
obrusvit
30b50c6462 refactor(core): update T3T1 fixtures
[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
50eba3cfbb refactor(core): update other langs fixtures
[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
069ed1eb32 refactor(core): no all-caps in other langs jsons
This commit changes translations strings of ES, FR, CS, DE langs so that
they do not use UPPERCASED titles, button labels and other texts.

[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
ef3c49c347 fix(tests): update fixtures of T2B1
Probably an omission after pull #3710.

Update using
../tests/update_fixtures.py local -r

[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
df9f9f6cb4 refactor(core): update EN fixtures
Updating after UTF-8 uppercasing issue.

Only changes for Model T are during language change where it actually
fixes a problem.

Model R has more changes - especially in show_warning invocation.

See PR 3696 for more info.

[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
aaff0fe2d3 refactor(core): do not use all-caps in en.json
The change is necessary for future models where titles might not be
uppercased.

[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
b24e044499 fix(tests): button content comparison
[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
fccfa43ac9 fix(core/ui): fix model R common title
The title previously disappeared after going back and forth. Used in PIN
setting and FIDO confirm.

[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
68e01a48cb fix(core/ui): fix model R altcoin summary
[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
f8fcb49ba6 refactor(core): allow changing button font on R
By default, buttons have uppercased font. The addition is necessary to
customize font on info buttons where we need normal font.

[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
f9e55a215d refactor(core): replace upper calls by upper font
[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
43e759ea0b refactor(core): apply uppercased fonts in build
[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
c448a7bcfc refactor(tools): add gen_upper arg to gen_font
The new option allows generation of font glyph definition where both
lowercase and uppercase letters are mapped to uppercase glyphs.

[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
86e543c8d3 fix(tests): regenerate fixtures.json
Using ./tests/update_fixtures.py

Current order on main branch is this: T1B1, T3T1, T2B1, T2T1
instead of what the script generates: T1B1, T2B1, T2T1, T3T1

[no changelog]
2024-05-07 13:01:57 +02:00
matejcik
a5aa515631 style(python): upgrade to pyright 1.1.361
had to add a typestub for PIL due to
https://github.com/microsoft/pyright/issues/7832

We should remove it if that is either fixed or, if I fail to convince
Eric, after the relevant type information is added to Pillow

[no changelog]
2024-05-07 11:57:10 +02:00
matejcik
8640b50d81 style(core): upgrade pyright to 1.1.361
[no changelog]
2024-05-07 11:57:10 +02:00
matejcik
ec8da46fe5 build: upgrade pyright to 1.1.361 2024-05-07 11:57:10 +02:00
tychovrahe
6fe476a828 chore(core): fix typos in usb implementation
[no changelog]
2024-05-06 19:51:06 +02:00
tychovrahe
1ce694b7fc fix(core): fix usb configuration for FS peripheral (use 6 endpoints)
[no changelog]
2024-05-06 19:51:06 +02:00
matejcik
12725d9835 chore(core): bump bootloader / prodtest versions after release 2024-05-06 13:21:14 +02:00
matejcik
e8c65b9f24 chore(core): changelog for bootloader and prodtest 2024-05-06 13:20:39 +02:00
tychovrahe
6b31b8eec3 chore(core): change USB manufacturer and product strings for new models
[no changelog]
2024-05-06 13:10:36 +02:00
tychovrahe
8ebb8c2128 fix(core): fix prodtest WIPE on STM32U5
[no changelog]
2024-05-05 18:36:47 +02:00
Andrew Kozlik
f8be07b732 feat(core): Increase Optiga I2C timeout.
[no changelog]
2024-05-05 10:03:32 +02:00
Andrew Kozlik
d453dac45c feat(core): Measure Optiga response timeout in ms not number of attempts.
[no changelog]
2024-05-05 10:03:32 +02:00
Andrew Kozlik
594d7425cd feat(core): Retry getting Optiga response even when it doesn't seem to have one.
[no changelog]
2024-05-05 10:03:32 +02:00
Andrew Kozlik
62e3a414ad chore(core): Disable wait_random() for prodtest and VCP.
[no changelog]
2024-05-05 10:03:32 +02:00
matejcik
45a973b8f9 feat(core/prodtest): do not lock Optiga in non-production builds
[no changelog]
2024-05-03 09:49:37 +02:00
Andrew Kozlik
ed43a5bc5b feat(core): Don't lock Optiga in debug builds.
[no changelog]
2024-05-03 09:49:37 +02:00
matejcik
54c441a607 feat(core): enable Optiga logging in debug builds by default
[no changelog]
2024-05-03 09:49:37 +02:00
matejcik
8623e57f43 chore(core): add prodtest provisioning script
[no changelog]
2024-05-03 09:49:37 +02:00
Andrew Kozlik
4fb06815b5 feat(core): Set trust anchor data type in prodtest.
[no changelog]
2024-05-03 09:49:37 +02:00
Andrew Kozlik
182a9b1ce8 refactor(core): Refactor Optiga macros.
[no changelog]
2024-05-03 09:49:37 +02:00
Andrew Kozlik
9a5e9b25c7 feat(core): Add Optiga command logging macro.
[no changelog]
2024-05-03 09:49:37 +02:00
matejcik
a4f8d2b877 refactor(tests/ui): properly propagate model css class 2024-05-01 14:17:58 +02:00
matejcik
2523597c2a fix(tests/ui): fix failing master diffs 2024-05-01 14:17:58 +02:00
matejcik
421b2d8db1 refactor(tests/ui): use internal names for UI fixtures 2024-05-01 14:17:58 +02:00
Ioan Bizău
394a86dd1c chore(core): update multilanguage fixtures 2024-05-01 09:23:40 +02:00