mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-05-25 10:18:45 +00:00
![]() Tested on T2T1: ``` $ pytest -v tests/device_tests/ -k lots --durations 0 ... ==================================================================== slowest durations ==================================================================== 309.73s call tests/device_tests/bitcoin/test_signtx.py::test_lots_of_inputs 61.37s call tests/device_tests/bitcoin/test_signtx.py::test_lots_of_outputs 5.73s setup tests/device_tests/bitcoin/test_signtx.py::test_lots_of_change 5.03s call tests/device_tests/bitcoin/test_signtx.py::test_lots_of_change 4.10s setup tests/device_tests/bitcoin/test_signtx.py::test_lots_of_outputs 4.09s setup tests/device_tests/bitcoin/test_signtx.py::test_lots_of_inputs ... ===================================================== 3 passed, 1588 deselected in 390.63s (0:06:30) ====================================================== ``` ``` $ pytest -v tests/device_tests/ -k recovery --durations 0 ... ==================================================================== slowest durations ==================================================================== 191.90s call tests/device_tests/reset_recovery/test_reset_recovery_slip39_advanced.py::test_reset_recovery 116.65s call tests/device_tests/reset_recovery/test_reset_recovery_slip39_basic.py::test_reset_recovery 24.95s call tests/device_tests/reset_recovery/test_reset_backup.py::test_skip_backup_manual[BackupType.Slip39_Advanced_Extendable-backup_flow_slip39_advanced] 24.74s call tests/device_tests/reset_recovery/test_reset_backup.py::test_skip_backup_msg[BackupType.Slip39_Advanced_Extendable-backup_flow_slip39_advanced] 23.49s call tests/device_tests/reset_recovery/test_reset_slip39_advanced.py::test_reset_device_slip39_advanced 18.58s call tests/device_tests/reset_recovery/test_recovery_slip39_advanced_dryrun.py::test_2of3_dryrun 17.13s call tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_noabort 16.74s call tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_extra_share_entered 14.05s call tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_secret_click_info_button[shares0-c2d2e26ad06023c60145f150abe2dd2b] 13.84s call tests/device_tests/reset_recovery/test_reset_slip39_basic.py::test_reset_entropy_check 13.13s call tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_secret[shares0-c2d2e26ad06023c60145f150abe2dd2b] 12.74s call tests/device_tests/reset_recovery/test_recovery_slip39_advanced_dryrun.py::test_2of3_invalid_seed_dryrun 9.42s call tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_secret_click_info_button[shares1-c41d5cf80fed71a008a3a0ae0458ff0c6d621b1a5522bccbfedbcfad87005c06] 9.13s call tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_secret[shares1-c41d5cf80fed71a008a3a0ae0458ff0c6d621b1a5522bccbfedbcfad87005c06] 8.48s call tests/device_tests/reset_recovery/test_reset_slip39_basic.py::test_reset_device_slip39_basic_256 7.91s call tests/device_tests/reset_recovery/test_reset_recovery_bip39.py::test_reset_recovery 7.68s call tests/device_tests/reset_recovery/test_recovery_slip39_basic.py::test_noabort ... ========================================= 61 passed, 15 skipped, 1515 deselected, 1 warning in 885.84s (0:14:45) ========================================== ``` [no changelog] |
||
---|---|---|
.clusterfuzzlite | ||
.github | ||
ci | ||
common | ||
core | ||
crypto | ||
docs | ||
legacy | ||
nordic | ||
python | ||
rust | ||
storage | ||
tests | ||
tools | ||
vendor | ||
.clang-format | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.pylintrc | ||
.yamllint.yml | ||
build-docker.sh | ||
CODEOWNERS | ||
COMMITS.md | ||
CONTRIBUTING.md | ||
COPYING | ||
create_monorepo.py | ||
LICENSE.md | ||
Makefile | ||
poetry.lock | ||
poetry.toml | ||
pyproject.toml | ||
README.md | ||
SECURITY.md | ||
setup.cfg | ||
shell.nix |
Trezor Firmware
Repository Structure
ci
: Ancillary files, data, and scripts for the CI pipelinecommon/defs
: JSON coin definitions and support tablescommon/protob
: Common protobuf definitions for the Trezor protocolcommon/tools
: Tools for managing coin definitions and related datacore
: Trezor Core, firmware implementation for Trezor Tcrypto
: Stand-alone cryptography library used by both Trezor Core and the Trezor One firmwaredocs
: Assorted documentationlegacy
: Trezor One firmware implementationpython
: Python client library and thetrezorctl
commandstorage
: NORCOW storage implementation used by both Trezor Core and the Trezor One firmwaretests
: Firmware unit test suitetools
: Miscellaneous build and helper scriptsvendor
: Submodules for external dependencies
Contribute
See CONTRIBUTING.md.
Using Conventional Commits is strongly recommended and might be enforced in future.
Also please have a look at the docs, either in the docs
folder or at docs.trezor.io before contributing. The misc chapter should be read in particular because it contains some useful assorted knowledge.
Security vulnerability disclosure
Please report suspected security vulnerabilities in private to security@satoshilabs.com, also see the disclosure section on the Trezor.io website. Please do NOT create publicly viewable issues for suspected security vulnerabilities.
Documentation
See the docs
folder or visit docs.trezor.io.