1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-19 04:48:12 +00:00
Go to file
Martin Milata f38abf9d89 refactor(core): introduce layouts
Layouts can be used by the application code to interact with user using
small number of dialogs or other groups of UI components. Each layout is
identified by name and takes some parameters. Most layouts will have an
implementation for each hardware model, mechanism is provided to import
the correct version so that application code can be oblivious to the
model.

This commit introduces the layout concept and converts a couple of
dialogs to use it.
2021-02-10 13:57:19 +01:00
.github/ISSUE_TEMPLATE github: firmware version AND revision (#1057) 2020-06-09 11:43:52 +02:00
ci fix(ci): copy nixpkgs.nix to container 2021-02-09 16:47:11 +01:00
common feat(common): set more fields as required (#1406) 2021-02-10 10:56:52 +01:00
core refactor(core): introduce layouts 2021-02-10 13:57:19 +01:00
crypto style: reformat with clang-format 11 2021-01-04 14:40:16 +01:00
docs docs: hardware CI test jobs 2021-02-06 11:56:23 +01:00
legacy fix(legacy): do not query presence of newly-required protobuf fields 2021-02-10 10:56:52 +01:00
python chore: regenerate protobuf classes 2021-02-10 10:56:52 +01:00
storage core: unify usage of TREZOR_MODEL 2020-06-06 21:06:15 +02:00
tests refactor(core): introduce layouts 2021-02-10 13:57:19 +01:00
tools style(core): style for systemview 2021-01-26 20:53:38 +01:00
vendor chore(vendor): bump micropython (add systemview support) 2021-01-26 20:53:38 +01: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
.gitignore add .DS_Store to .gitignore (#900) 2020-03-11 20:22:56 +01:00
.gitlab-ci.yml ci: also run regular tt tests on hw 2021-02-05 12:58:21 +01:00
.gitmodules feat(common): add upstream Ethereum chains repository 2020-11-20 18:55:35 +01:00
.travis.yml ci(travis): install editorconfig-checker 2020-11-14 16:41:32 +01:00
.yamllint.yml ci: exclude more submodules from the yaml checker 2020-11-20 18:55:35 +01:00
build-docker.sh ci: drop experimental --platform argument from docker 2021-01-22 16:55:27 +01:00
CODEOWNERS CODEOWNERS: add more people 2020-05-09 22:24:35 +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
create_monorepo.py all: replace /bin/bash with /usr/bin/env bash 2019-09-12 17:35:55 +02:00
Makefile ci: enable editorconfig checks, fix whitespace issues 2020-11-11 14:43:50 +01:00
poetry.lock chore: bump shamir-mnemonic to 0.2.1, regenerate poetry.lock 2021-02-05 10:44:09 +01:00
poetry.toml build: workaround poetry bug (KeyError) 2021-01-28 23:03:02 +01:00
pyproject.toml chore: bump shamir-mnemonic to 0.2.1, regenerate poetry.lock 2021-02-05 10:44:09 +01:00
README.md docs: introduce conventional-commits (#1234) 2020-09-15 16:11:39 +02:00
SECURITY.md docs: use monospace for fingerprints 2019-08-16 18:47:46 +02:00
setup.cfg chore: rename deprecated pytest option 2021-02-05 10:44:09 +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.

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.