Commit Graph

15 Commits

Author SHA1 Message Date
matejcik
6e3018509b refactor(python): rework session-based API
Co-authored-by: M1nd3r <petrsedlacek.km@seznam.cz>
Co-authored-by: Roman Zeyde <roman.zeyde@satoshilabs.com>

[no changelog]
2026-02-03 14:47:31 +01:00
Martin Pastyřík
d1d28b86b7 fix(tests): fix Evolu tests on HW devices
Evolu tests now do not depend on hardocded values but compute the expected value from the `delegated_idenetity_key` of the tested device. Therefore enabling testing on HW devices where the master key is not initialized to all zeroes.

A check function was added to the `sign_registration` tests to determine if the device has Optiga available. If not, the test will mark itself as `xfail` - we expect Optiga signing to fail if there is no Optiga.

All the Evolu test have been simplified so that the logic is the same for THP and non-THP devices.

Lastly, the verification of certificate chain and Optiga and Tropic signatures and certificates has been refactored from `test_authenticate_device.py` as it is now used in other tests.

 [no changelog]
2026-01-13 09:48:25 +01:00
Ioan Bizău
65154d9038 feat(tests): check Tropic signature and cert chain
[no changelog]
2025-10-14 11:29:38 +03:00
Andrew Kozlik
1940bd5638 feat(core): Use Tropic in AuthenticateDevice. 2025-09-18 18:37:58 +02:00
M1nd3r
78ecfb2caa test(python): adjust tests to session-based trezorlib
Co-authored-by: mmilata <85857+mmilata@users.noreply.github.com>
Co-authored-by: romanz <9900+romanz@users.noreply.github.com>
2025-07-31 20:29:05 +02:00
Roman Zeyde
97442ebd45 test(core): xfail test_authenticate_device on unlocked bootloader
[no changelog]
2025-05-30 19:41:23 +03:00
Lukas Bielesch
459f851779 feat(eckhart): implement missing eckhart tests and flows 2025-05-30 17:38:16 +02:00
Lukas Bielesch
5fa68d15a3 chore(automation): enable T3W1 CI jobs and tests
- eckhart tests
- add Eckhart screen buttons
- rename passphrase click test file + fixtures
- eckhart click tests
- eckhart persistance tests
- eckhart device tests
- skip tests for unimplemented features
2025-05-30 17:38:16 +02:00
matejcik
a50e49afa9 chore(core): include T3B1 certificate for the emulator 2025-04-15 12:37:25 +02:00
matejcik
b3bd85b1fb refactor(tests): introduce a better model selection mechanism 2024-09-11 12:59:04 +02:00
matejcik
8a3133bacc fix(core): include valid staging certificate for T3T1 emulator 2024-06-25 13:35:16 +02:00
Martin Milata
e7f2d3f6cc test(core): use internal model names
[no changelog]
2024-03-12 20:55:23 +00:00
Martin Milata
73a7223e7b test(core): add T3T1 support
[no changelog]
2024-03-12 20:55:23 +00:00
Andrew Kozlik
1f7c78a4ed test(core): Update emulator device certificate.
[no changelog]
2023-09-19 21:41:42 +02:00
Andrew Kozlik
140e17039a feat(tests): Add AuthenticateDevice test. 2023-09-13 15:45:48 +02:00