🔒 Trezor Firmware Monorepo
  • C 45.6%
  • Python 30.8%
  • Rust 18.2%
  • HTML 3.7%
  • Nix 0.4%
  • Other 1.2%
Find a file
Roman Zeyde 360fd957f9 fix(core): remove MicroPython math and complex builtins
Saves ~11 kB of flash.

[no changelog]
2026-03-27 15:49:33 +01:00
.clusterfuzzlite Run fuzzer in CI 2023-07-12 10:13:17 +02:00
.github Fix tropic emulator discovery and harden upload path handling 2026-03-19 10:09:06 +01:00
ci ci(core): add a workflow to generate translation context 2026-01-30 12:04:18 +01:00
common feat(core): Evolu key rotation 2026-03-24 21:57:02 +01:00
core fix(core): remove MicroPython math and complex builtins 2026-03-27 15:49:33 +01:00
crypto fix(crypto): Avoid caching uncacheable nodes in bip32.c 2026-03-19 08:03:59 +01:00
docs tests: download tropic emulator variants 2026-03-19 10:09:06 +01:00
legacy docs(legacy): unify 1.14.1 changelog entries 2026-03-19 08:03:59 +01:00
nordic chore(nordic): adding "build*" directories to be ignored (the dirs can be named e.g. "build", "build_debug", etc.). 2025-11-19 16:09:34 +01:00
python feat(core): Evolu key rotation 2026-03-24 21:57:02 +01:00
rust refactor(rust/trezor-thp): always validate control byte 2026-03-26 14:06:19 +01:00
storage refactor(core): simplify flash area api 2026-03-06 15:18:42 +01:00
tests fix(tests): Fix Evolu nightly tests 2026-03-26 09:59:14 +01:00
tools chore(tools): remove fonttools from automatic_battery_tester 2026-03-19 14:49:33 +01:00
vendor chore(vendor): update ts-tvl to allow update of cryptography 2026-03-11 15:43:40 +01:00
.clang-format chore(common): add protobuf style check 2026-03-02 18:12:20 +01:00
.editorconfig feat(core): Introduce nfc commands in prodtest & update NFC library [no changelog] 2025-02-25 18:29:54 +01:00
.gitattributes chore(core): remove unused all_modules.py 2025-04-08 17:48:15 +03:00
.gitignore chore: ignore hypothesis artifacts 2025-04-16 12:30:39 +03:00
.gitmodules feat(core): Use ML-DSA-44 for MCU device attestation key. 2025-09-02 19:12:27 +02:00
.pylintrc chore: tighten pylint 2025-11-19 18:31:26 +02:00
.yamllint.yml refactor(nordic): rename west to nordic 2025-02-10 17:22:57 +01:00
build-docker.sh ci(core): copy kernel artifacts from Docker build 2026-03-03 10:51:24 +01:00
CODEOWNERS chore: update CODEOWNERS 2025-07-17 11:15:40 +02:00
COMMITS.md docs: introduce conventional-commits (#1234) 2020-09-15 16:11:39 +02:00
CONTRIBUTING.md docs: add PR workflow info; move CONTRIBUTING to docs 2020-04-30 14:49:47 +02:00
COPYING docs: clear up licensing information 2021-03-31 18:51:52 +02:00
create_monorepo.py chore: update branch name to main where its used 2023-10-18 10:40:05 +02:00
LICENSE.md docs: clear up licensing information 2021-03-31 18:51:52 +02:00
Makefile chore(common): add protobuf style check 2026-03-02 18:12:20 +01:00
pyproject.toml chore: drop support for python 3.9 2026-03-11 16:05:08 +01:00
pyrightconfig.json chore(test): run pyright_tool for common and tools 2025-11-21 11:34:28 +01:00
README.md ci: drop GitLab config and mentions 2025-04-15 14:50:45 +03:00
SECURITY.md chore(docs): update SECURITY.md 2025-05-13 13:57:43 +02:00
setup.cfg ci(core): enable retries only for HW tests 2025-05-23 13:18:11 +03:00
shell.nix chore: remove obsolete darwin depedencies 2026-01-13 10:10:44 +01:00
uv.lock chore(deps): bump pyasn1 from 0.6.2 to 0.6.3 2026-03-19 17:11:44 +01:00

Trezor Firmware

img

Repository Structure

  • ci: Ancillary files, data, and scripts for the CI pipeline
  • common/defs: JSON coin definitions and support tables
  • common/protob: Common protobuf definitions for the Trezor protocol
  • common/tools: Tools for managing coin definitions and related data
  • core: Trezor Core, firmware implementation for Trezor T
  • crypto: Stand-alone cryptography library used by both Trezor Core and the Trezor One firmware
  • docs: Assorted documentation
  • legacy: Trezor One firmware implementation
  • python: Python client library and the trezorctl command
  • storage: NORCOW storage implementation used by both Trezor Core and the Trezor One firmware
  • tests: Firmware unit test suite
  • tools: Miscellaneous build and helper scripts
  • vendor: 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.