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
Pavol Rusnak 2798109872
clang-format: set the IncludeBlocks setting to "Preserve"
4 years ago
.github/ISSUE_TEMPLATE github: update issue templates 4 years ago
ci docs: document CI jobs 4 years ago
common common/defs: regenerate coins 4 years ago
core core: remove f-strings from headertool (python 3.5 compatibility) 4 years ago
crypto crypto: add tests for chacha_drbg 4 years ago
docs docs: document CI jobs 4 years ago
legacy core, legacy: bump versions 4 years ago
python python: convert chunks to bytes when reading from hid 4 years ago
storage storage: Add storage_ensure_not_wipe_code(). 4 years ago
tests core: disable passphrase_always_on_device when turning off passphrase 4 years ago
tools ci: upload ui tests fixtures 4 years ago
vendor vendor: update fido2-tests 4 years ago
.clang-format clang-format: set the IncludeBlocks setting to "Preserve" 4 years ago
.gitignore add .DS_Store to .gitignore (#900) 4 years ago
.gitlab-ci.yml ci: remove 'only changes' 4 years ago
.gitmodules vendor: change fido2-tests to our fork 5 years ago
.travis.yml ci: check if commit message contains fixup on travis 4 years ago
CONTRIBUTING.md docs: add PR workflow info; move CONTRIBUTING to docs 4 years ago
Makefile python: drop coins.json (fixes #752) 4 years ago
Pipfile pipenv: add serial 4 years ago
Pipfile.lock pipenv: add serial 4 years ago
README.md readme: fix link to Contributing 4 years ago
SECURITY.md docs: use monospace for fingerprints 5 years ago
build-docker.sh build: in build-docker.sh, remove containers after we are done 4 years ago
create_monorepo.py all: replace /bin/bash with /usr/bin/env bash 5 years ago
setup.cfg tests: silence pytest 6.0 warning 4 years ago
shell.nix nix: remove scons from shell.nix as it is installed via pipenv 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.

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.