1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 02:58:57 +00:00
Commit Graph

11926 Commits

Author SHA1 Message Date
Martin Novák
e42e87174f docs(common): how to add new protobuf message 2023-03-24 13:24:46 +01:00
matejcik
505e014ae1 refactor(core): delegate EthereumGetPublicKey to bitcoin GetPublicKey 2023-03-24 13:24:46 +01:00
Andrew Kozlik
01edf3f796 fix(storage): Adapt to changing insecure PRNG to be opt-in. 2023-03-24 11:10:42 +01:00
Martin Milata
877a236d74 chore(core/ui): update fixtures
[no changelog]
2023-03-23 20:16:22 +01:00
Martin Milata
e60ed788f2 fix(core/rust/ui): add cargo flag for Component::bounds() support
Rarely used debugging feature.

[no changelog]
2023-03-23 20:16:22 +01:00
Martin Milata
afe965687f fix(core/ui): style update: frame and corner button
[no changelog]
2023-03-23 20:16:22 +01:00
Martin Milata
670cbd7a1d fix(core/ui): style update: paging
[no changelog]
2023-03-23 20:16:22 +01:00
Martin Milata
19a2ea21b6 fix(core/ui): Model T style update
[no changelog]
2023-03-23 20:16:22 +01:00
Martin Milata
3623f966dc fix(core/rust/ui): fix text baseline calculation
[no changelog]
2023-03-23 20:16:22 +01:00
Martin Milata
4199d4ad41 fix(core/ui): style update: fonts
[no changelog]
2023-03-23 20:16:22 +01:00
grdddj
287bb1518b fix(tests): record all getaddress_show.py fixtures
[no changelog]
2023-03-23 17:35:09 +01:00
grdddj
219ecc8b49 fix(ci): increase PYTEST_TIMEOUT to 400 seconds
With 300, it was sometimes timing out in CI.

[no changelog]
2023-03-23 17:35:09 +01:00
grdddj
31ef923e15 fix(core): create separate display buffer for gamma correction
So that the screenshots in UI tests are not affected by it.
Also not doing the gamma correction in case of SDL_VIDEODRIVER=dummy.

[no changelog]
2023-03-23 17:35:09 +01:00
grdddj
4babb3f5db Revert "chore(tests): regenerate fixtures.json after emulator display gamma correction"
This reverts commit 3ffe3912dc.
2023-03-23 17:35:09 +01:00
grdddj
3ffe3912dc chore(tests): regenerate fixtures.json after emulator display gamma correction
[no changelog]
2023-03-23 09:37:59 +01:00
grdddj
70120b72cc feat(core): allow for changing the emulator gamma correction value by keyboard arrows
[no changelog]
2023-03-23 09:37:59 +01:00
grdddj
a1974f6953 feat(core): perform 0.55 gamma correction on emulator display
[no changelog]
2023-03-23 09:37:59 +01:00
tychovrahe
3f54b84aef fix(core/bootloader): fix retries when reading from USB 2023-03-22 15:09:39 +01:00
Ondrej Mikle
4d0381055c fix(crypto): adapt to changing insecure PRNG to be opt-in 2023-03-22 10:21:21 +01:00
Ondrej Mikle
a5f7c19f7e fix(core/bootloader): do not use insecure LCG PRNG. Change insecure PRNG to be opt-in, not opt-out 2023-03-22 10:21:21 +01:00
grdddj
12eb192b3f feat(legacy): use new artifacts naming for legacy builds
[no changelog]
2023-03-21 15:52:19 +01:00
matejcik
0e9aa7c5dc fix(tests): add forgotten assert 2023-03-21 12:47:28 +01:00
matejcik
80af1c552e feat(tests): seemingly stable workaround for the wait_layout instability
[no changelog]
2023-03-21 12:47:28 +01:00
matejcik
160addce4b fix(tests): fix and re-enable broken tests 2023-03-21 12:47:28 +01:00
matejcik
0c4c229c50 fix(tests): display missed testcases in the UI report 2023-03-21 12:47:28 +01:00
matejcik
f2fe960fcd docs: add PR template with useful reminders :) 2023-03-21 09:29:37 +01:00
Andrew Kozlik
c94b891b6f fix(tests): skip unreliable test_show_ 2023-03-20 17:55:49 +01:00
Andrew Kozlik
35bb1e5473 test: Add SLIP-25 descriptor tests. 2023-03-20 17:55:49 +01:00
Andrew Kozlik
9e23ba8864 feat(trezorctl): Support SLIP-25 in get-descriptor 2023-03-20 17:55:49 +01:00
Martin Milata
05f8c1e9f7 test(chore): skip unreliable test_show_
[no changelog]
2023-03-20 13:03:39 +01:00
Martin Milata
dce876069b Merge branch 'release/23.03'
Conflicts:
	legacy/firmware/version.h
	tests/ui_tests/fixtures.json
2023-03-20 13:02:35 +01:00
vdovhanych
2b74d103db chore(ci): update project automation workflow 2023-03-16 12:29:32 +01:00
Pavol Rusnak
67f3af619a chore(vendor): replace secp256k1-zkp with secp256k1 (v0.3.0)
We don't use any ZKP features at the moment, so we might as well switch
to upstream secp256k1 which does stable releases now.

I am keeping the original submodule name and "zkp" in all integrations,
because it seemed kind of pointless to try to rename/refactor everything,
especially when we might want to switch back to secp256k1-zkp in the future.
2023-03-14 15:37:12 +01:00
Dusan Klinec
eacd15383b chore: update trezor_tests binary
- tests revamp, always use passphrase flow with transaction signing, more passphrase-related tests, pin test, invalid passphrase test. Chain generation optimized
2023-03-13 16:09:52 +01:00
Jan Šetina
04964dc2e8 feat(core/ui): change GREY_DARK and GREY_MEDIUM
[no changelog]
2023-03-13 01:34:14 +01:00
Martin Milata
483c7a6342 chore(python): debuglink: wait for swipe
[no changelog]
2023-03-09 23:36:36 +01:00
Martin Milata
b8abccbc94 feat(core/rust/ui): implement Clone for StrBuffer
[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
Martin Milata
1b94a7cb7b feat(core/ui): page break icons
Co-authored-by: grdddj <jiri.musil06@seznam.cz>

[no changelog]
2023-03-09 23:36:36 +01:00
Andrew Kozlik
60aa2e7292 feat(core): Show source account path in BTC signing. 2023-03-09 23:36:36 +01:00
Andrew Kozlik
d4ddc78dbb feat(core): Show path for internal outputs in BTC signing. 2023-03-09 23:36:36 +01:00
Martin Milata
4622aec0f1 refactor(core): switch to Rust implementation of QR-Code-generator
[no changelog]
2023-03-09 23:36:36 +01:00
grdddj
d8603dcc23 fix(ci): export coverage file from click tests
[no changelog]
2023-03-09 16:50:32 +01:00
grdddj
a1663de771 chore(core): silence false alarms in coverage report
[no changelog]
2023-03-09 16:50:32 +01:00
grdddj
d4fbd4a95d feat(core): adjust coverage-report for local usage
It is now possible to run the coverage tests without moving any files
manually and the script can be called multiple times without failing.
Also improves reporting of errors.

[no changelog]
2023-03-09 16:50:32 +01:00
grdddj
07797158db feat(core): adjust the coverage file output for multicore tests
When the tests are run using multiple cores, there will

be one .coverage file for each core. So that the one file

is not being overwritten many times, using unique

filename for each core.

[no changelog]
2023-03-09 16:50:32 +01:00
grdddj
41e07769e2 feat(tests): allow for coverage report even when emulator is controlled by the tests
Allowing tests to specify the profiling wrapper over the emulator
it is starting.

[no changelog]
2023-03-09 16:50:32 +01:00
grdddj
315b6f9b06 fix(docs): update links to the UI report
[no changelog]
2023-03-09 16:50:32 +01:00
grdddj
6a51351983 feat(ci): run core device test with multicore support
Tests are much quicker. Max amount of cores chosen
as 4, bigger values were sometimes unstable.

[no changelog]
2023-03-09 16:50:32 +01:00
tychovrahe
d633fa885b feat(core/rust): model R bootloader implementation in rust 2023-03-09 16:14:36 +01:00