1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-19 05:58:09 +00:00
Go to file
matejcik 43677c6afd style(core): add check for utils.INTERNAL_MODEL in (tuple)
The static replacer doesn't understand tuples (it's just a dumb sed,
we'd need to teach it the python ast which is a somewhat bigger project
that would also make the build slower)
so instead we spell out every "utils.INTERNAL_MODEL == xyz" equality
check separately.

If you don't, you don't get static replacement and you're checking at
run-time in every firmware for every device.

This pylint will catch the problem.
2024-08-29 10:56:21 +02:00
.clusterfuzzlite Run fuzzer in CI 2023-07-12 10:13:17 +02:00
.github ci: add arm emulator build in github actions 2024-08-06 15:34:29 +02:00
ci feat(core/ui): rust-based UI flows 2024-05-31 11:59:52 +00:00
common chore(common): add T3B1 to the list of supported models in support.json 2024-08-28 16:15:35 +02:00
core fix(core): fix button alignment in T3T1 bootloader 2024-08-29 10:49:32 +02:00
crypto refacor(crypto): refactor hdnode_public_ckd 2024-08-23 17:00:52 +02:00
docs chore(python): annotate package with minimum python 3.8 2024-06-25 13:43:13 +02:00
legacy feat: Remove display_random feature. 2024-08-27 19:33:23 +02:00
python feat(python): make webusb transport more resilient 2024-08-28 00:08:48 +02:00
rust feat: Remove display_random feature. 2024-08-27 19:33:23 +02:00
storage feat(storage): Do not lock freshly initialized storage. 2024-07-09 16:52:50 +02:00
tests chore(common): remove ropsten and rinkeby from fixtures 2024-08-28 16:15:35 +02:00
tools style(core): add check for utils.INTERNAL_MODEL in (tuple) 2024-08-29 10:56:21 +02:00
vendor chore(crypto): update secp256k1 submodule to 0.5.1 2024-08-23 17:00:52 +02:00
.clang-format clang-format: set the IncludeBlocks setting to "Preserve" 2020-05-04 17:17:06 +02:00
.editorconfig style: add .editorconfig [skip ci] 2020-11-05 16:45:52 +01:00
.gitattributes chore: tag generated files for github diffs 2024-03-15 13:11:17 +01:00
.gitignore fix(core,crypto): add more test cases from bip-173 2021-07-21 11:20:11 +02:00
.gitlab-ci.yml ci: move hardware tests over to github actions 2024-02-20 19:49:41 +01:00
.gitmodules chore(core): change STM32Cube submodule to separate hal driver and cmsis submodules. 2024-02-29 23:05:56 +01:00
.pylintrc style(core): add check for utils.INTERNAL_MODEL in (tuple) 2024-08-29 10:56:21 +02:00
.yamllint.yml style: ignore yaml files in venv 2021-06-08 09:55:19 +02:00
build-docker.sh build(core): add T3T1 to build-docker.sh 2024-06-06 21:17:54 +00:00
CODEOWNERS chore(CODEOWNERS): remove me from some components 2021-10-17 10:45:14 +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 refactor(core): move vendor headers to model specific directories 2024-07-16 15:56:28 +02:00
poetry.lock chore(core/tools): make the core-tools available in top level poetry env 2024-08-28 16:15:10 +02:00
poetry.toml build(poetry): use new (parallel) installer 2022-11-08 12:21:46 +01:00
pyproject.toml chore(core/tools): make the core-tools available in top level poetry env 2024-08-28 16:15:10 +02:00
README.md chore(readme): add link to trezor.io KB disclosure article 2023-01-09 10:45:31 +01:00
SECURITY.md docs: use monospace for fingerprints 2019-08-16 18:47:46 +02:00
setup.cfg chore: upgrade style checkers 2024-02-29 13:08:18 +01:00
shell.nix nix: unify ci/shell.nix and shell.nix 2020-07-03 12:32:55 +02:00

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.

Documentation

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