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.
 
 
 
 
 
 
Go to file
Martin Milata 6be367bf8b
build: workaround poetry bug (KeyError)
3 years ago
.github/ISSUE_TEMPLATE github: firmware version AND revision (#1057) 4 years ago
ci ci: drop experimental --platform argument from docker 3 years ago
common Add multiasset sending and min validity to Cardano transactions 3 years ago
core chore(core): bootloader_ci - decouple file links from original bootloader 3 years ago
crypto style: reformat with clang-format 11 3 years ago
docs docs/tests: animations need to be disabled in ui tests 3 years ago
legacy fix: Improve wording when showing multisig XPUBS. 3 years ago
python Add multiasset sending and min validity to Cardano transactions 3 years ago
storage core: unify usage of TREZOR_MODEL 4 years ago
tests Add multiasset sending and min validity to Cardano transactions 3 years ago
tools style(core): style for systemview 3 years ago
vendor chore(vendor): bump micropython (add systemview support) 3 years ago
.clang-format clang-format: set the IncludeBlocks setting to "Preserve" 4 years ago
.editorconfig style: add .editorconfig [skip ci] 3 years ago
.gitignore add .DS_Store to .gitignore (#900) 4 years ago
.gitlab-ci.yml chore(python): replace pipenv with poetry 4 years ago
.gitmodules feat(common): add upstream Ethereum chains repository 3 years ago
.travis.yml ci(travis): install editorconfig-checker 3 years ago
.yamllint.yml ci: exclude more submodules from the yaml checker 3 years ago
CODEOWNERS CODEOWNERS: add more people 4 years ago
COMMITS.md docs: introduce conventional-commits (#1234) 4 years ago
CONTRIBUTING.md docs: add PR workflow info; move CONTRIBUTING to docs 4 years ago
Makefile ci: enable editorconfig checks, fix whitespace issues 3 years ago
README.md docs: introduce conventional-commits (#1234) 4 years ago
SECURITY.md docs: use monospace for fingerprints 5 years ago
build-docker.sh ci: drop experimental --platform argument from docker 3 years ago
create_monorepo.py all: replace /bin/bash with /usr/bin/env bash 5 years ago
poetry.lock feat(ci): introduce yamllint 3 years ago
poetry.toml build: workaround poetry bug (KeyError) 3 years ago
pyproject.toml build(core): install trezorlib in development mode (#1421) 3 years ago
setup.cfg test(python): add flake8-requirements 4 years ago
shell.nix nix: unify ci/shell.nix and shell.nix 4 years ago

README.md

Trezor Firmware

img

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

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.

Issue Labels

Priority

Label Meaning (SLA)
P1 Urgent The current release + potentially immediate hotfix (30 days)
P2 High The next release (60 days)
P3 Medium Within the next 3 releases (90 days)
P4 Low Anything outside the next 3 releases (120 days)

Severity

Label Impact
S1 Blocker Outage, broken feature with no workaround
S2 Critical Broken feature, workaround too complex & unacceptable
S3 Major Broken feature, workaround acceptable
S4 Low Functionality inconvenience or cosmetic issue

CI

The complete test suite is running on a public GitLab CI. If you are an external contributor, we also have a Travis instance where a small subset of tests is running as well - mostly style and easy fast checks, which are quite common to fail for new contributors.

Documentation

See the docs folder or visit docs.trezor.io.