You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Martin Milata fddac0434b test: add device tests for non-standard paths 2 days ago
.github feat(ci): add checks to github actions 2 months ago
ci ci: add duration timestamps on all test jobs 1 week ago
common git subrepo push common 1 week ago
core docs(core): Fix dates in changelog 7 days ago
crypto test(crypto): Add progressive tests for hash functions. 7 days ago
docs ci: improve changelog check 2 weeks ago
legacy docs(legacy/firmware): Fix dates in changelog. 7 days ago
python fix(core/cardano): forbid tx outputs with both address and address parameters 1 week ago
storage refactor(core): move wait_random and rdi into separate file 4 weeks ago
tests test: add device tests for non-standard paths 1 day ago
tools refactor: rework pb2py generator 1 week ago
vendor feat(core): preallocate sys.modules to an appropriate size 1 month ago
.clang-format clang-format: set the IncludeBlocks setting to "Preserve" 1 year ago
.editorconfig style: add .editorconfig [skip ci] 7 months ago
.gitignore add .DS_Store to .gitignore (#900) 1 year ago
.gitlab-ci.yml ci: also run regular tt tests on hw 4 months ago
.gitmodules feat(common): add upstream Ethereum chains repository 7 months ago
.yamllint.yml style: ignore yaml files in venv 1 week ago
CODEOWNERS chore(github): remove myself from some CODEOWNERS parts 4 months ago docs: introduce conventional-commits (#1234) 9 months ago docs: add PR workflow info; move CONTRIBUTING to docs 1 year ago
COPYING update license (use GPLv3) 4 years ago docs: clear up licensing information 3 months ago
Makefile docs(core): use towncrier for generating 2 months ago chore(docs): update README 4 months ago docs: use monospace for fingerprints 2 years ago build(docker): add possibility to skip core/legacy/bitcoinonly builds 1 month ago all: replace /bin/bash with /usr/bin/env bash 2 years ago
poetry.lock chore: update mypy to stable 0.901 4 days ago
poetry.toml build: workaround poetry bug (KeyError) 5 months ago
pyproject.toml chore: update mypy to stable 0.901 4 days ago
setup.cfg style(core): use more recent type annotation syntax 3 months ago
shell.nix nix: unify ci/shell.nix and shell.nix 12 months ago

Trezor Firmware


Repository Structure

  • ci: Gitlab CI configuration files
  • 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



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 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, also see the disclosure section on the website. Please do NOT create publicly viewable issues for suspected security vulnerabilities.


See the docs folder or visit