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
Ioan Bizău
7c97561565
chore(core): rename "seed" to "backup"
2024-05-01 09:23:40 +02:00
Ioan Bizău
8ec9545b89
chore(core): add an extra confirmation for non-1-of-1 Shamir backups
2024-05-01 09:23:40 +02:00
Ioan Bizău
4afe42a57e
refactor(core): make 1-of-1 SLIP39 backups use same messaging as BIP39
2024-05-01 09:23:40 +02:00
Ioan Bizău
3006224bff
feat(core): add ability to request backups with any number of groups/shares
2024-05-01 09:23:40 +02:00
Andrew Kozlik
d6b352befe
core(feat): Add FIRMWARE VERSION command to prodtest.
2024-04-30 11:14:22 +02:00
M1nd3r
0d7fe7d643
chore(core): add colors to unittest prints
...
[no changelog]
2024-04-26 18:04:33 +02:00
tychovrahe
ea1c32f90e
fix(core/rust): fix bindgen macros generation
...
[no changelog]
2024-04-26 13:36:58 +02:00
tychovrahe
91a783ee37
chore(core): fix flash_combine makefile command
...
[no changelog]
2024-04-26 12:36:45 +02:00
Andrew Kozlik
27f54eec9c
feat(core): Add unit packaging variant field to Features.
...
[no changelog]
2024-04-25 15:51:52 +02:00
tychovrahe
d349c44a58
refactor(core): generate macros for rust bindgen automatically
...
[no changelog]
2024-04-25 13:20:07 +02:00
tychovrahe
c635b945e1
chore(core/boardloader): bump version after release
...
[no changelog]
2024-04-24 15:15:14 +02:00
tychovrahe
d9590cbe90
chore(core/boardloader): generate changelog
...
[no changelog]
2024-04-24 15:15:14 +02:00
tychovrahe
ab11afa442
fix(core): set proper VDD level for T3T1 boards
...
[no changelog]
2024-04-24 12:55:52 +02:00
matejcik
39e1085295
chore(core): add T3T1 QA bootloader 2.1.5
2024-04-22 10:56:25 +02:00
matejcik
66b96bc279
build(core): fix prodtest build from build-docker
...
build-docker.sh will unconditionally pass in a value for the
VENDOR_HEADER envvar. This is a problem if the user didn't specify one,
because the value inside the container is going to be empty string.
We make prodtest look at whether the value of VENDOR_HEADER is truthy
instead of a literal None. Which is a correct logic: if the user
deliberately sets the value to an empty string, the build will fail
anyway, so we ignore such value.
2024-04-22 10:56:25 +02:00
matejcik
f0c7cc4e8e
chore(core): add signed vendor headers for T3T1
2024-04-22 10:56:25 +02:00
matejcik
c01302dd31
chore(core): add signed production T3T1 bootloader v2.1.5
2024-04-22 10:56:25 +02:00
tychovrahe
e5e40cf4a8
fix(core): ensure correctly programmed oem key option bytes
...
[no changelog]
2024-04-22 09:15:42 +02:00
Ondřej Vejpustek
db3b7563b2
fix(crypto): imporve handling of return value
2024-04-19 15:51:33 +02:00
Ondřej Vejpustek
057b927e99
refactor(crypto): explicitly ignore return value
2024-04-19 15:51:33 +02:00
Ondřej Vejpustek
80029823be
refactor(crypto): remove unnecessary if
2024-04-19 15:51:33 +02:00
tychovrahe
916dbdff9c
fix(core): fix reboot to bootloader crash when display copying is in progress
...
[no changelog]
2024-04-18 10:50:46 +02:00
Pavol Rusnak
caa3c035e7
build(deps): drop curve25519-donna and ed25519 from deps
...
[no changelog]
2024-04-17 15:40:39 +02:00
matejcik
90afd9c96a
chore(core): bump versions of prodtest / bootloader after release
2024-04-17 14:40:30 +02:00
matejcik
af6c4efed5
build: allow targets list in build-docker.sh
...
this is a cleaner way to skip building firmware when we don't have data
for it
also removes --prodtest option, which is superseded by the targets list
2024-04-17 14:40:30 +02:00