1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 05:28:40 +00:00
Go to file
Ondrej Mikle ff3b10a329
legacy/intermediate_fw: Intermediate firmware for T1 (#1084)
* legacy/intermediate_fw: skeleton FW with RAM shim function

* legacy/intermediate_fw: reboot from RAM

* legacy/intermediate_fw: flash erase from RAM

* legacy/intermediate_fw: port flash erase body from cm3

* legacy/intermediate_fw: erase works with flash unlock

* legacy/intermediate_fw: wait for flash controller ready

* legacy/intermediate_fw: cleanup and add comments

* legacy/intermediate_fw: disable IRQ before reboot

* legacy/intermediate_fw: also erase storage

* legacy/intermediate_fw: style

* legacy/intermediate_fw: dialogs for update bootloader/erase FW

* legacy/intermediate_fw: style

* legacy/intermediate_fw: add bootloader replacement code

* legacy/intermediate_fw: add CI build script for intermediate FW

* legacy/intermediate_fw: call bootloader update

* legacy/intermediate_fw: add bootloader update dependency

* legacy/intermediate_fw: change setup() at start of main

* legacy/intermediate_fw: deduplicate code

* docs: table for MEMORY_PROTECT combinations that work on T1

* legacy/intermediate_fw: deduplicate code

* legacy/intermediate_fw: check if running in privileged mode

* legacy/intermediate_fw: style

* legacy/intermediate_fw: ChangeLog

* legacy/intermediate_fw: make version match latest bootloader included

* legacy/intermediate_fw: style
2020-08-21 14:58:13 +02:00
.github/ISSUE_TEMPLATE github: firmware version AND revision (#1057) 2020-06-09 11:43:52 +02:00
ci ci: fail if coverage falls under threshold 2020-08-18 21:08:46 +02:00
common common/defs: enable extra_data for XSN (#1208) 2020-08-20 20:40:30 +02:00
core core/bootloader_ci: fix typos in the previous commit 2020-08-21 14:47:35 +02:00
crypto crypto: add fuzz testing harnesses and documentation 2020-07-07 14:41:10 +02:00
docs legacy/intermediate_fw: Intermediate firmware for T1 (#1084) 2020-08-21 14:58:13 +02:00
legacy legacy/intermediate_fw: Intermediate firmware for T1 (#1084) 2020-08-21 14:58:13 +02:00
python build-docker.sh: print fw fingerprints after build (#1209) 2020-08-21 14:09:21 +02:00
storage core: unify usage of TREZOR_MODEL 2020-06-06 21:06:15 +02:00
tests core: fix boot loop after uploading invalid homescreen (#1205) 2020-08-21 12:00:42 +02:00
tools tools/build_protobuf: don't compare __pycache__ 2020-08-21 14:12:49 +02:00
vendor vendor: update micropython to include lineinfo fix 2020-08-18 21:08:46 +02:00
.clang-format clang-format: set the IncludeBlocks setting to "Preserve" 2020-05-04 17:17:06 +02:00
.gitignore add .DS_Store to .gitignore (#900) 2020-03-11 20:22:56 +01:00
.gitlab-ci.yml ci: set core/legacy version in .gitlab.yml 2020-07-06 19:07:00 +02:00
.gitmodules git: readd ethereum/tokens 2020-08-05 12:20:13 +02:00
.travis.yml ci: check if commit message contains fixup on travis 2020-03-06 18:45:46 +00:00
build-docker.sh build-docker.sh: print fw fingerprints after build (#1209) 2020-08-21 14:09:21 +02:00
CODEOWNERS CODEOWNERS: add more people 2020-05-09 22:24:35 +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 style: add changelog checks 2020-07-08 10:43:40 +02:00
Pipfile pipenv+poetry: downgrade virtualenv to 20.0.23 2020-08-08 18:58:57 +02:00
Pipfile.lock pipenv+poetry: downgrade virtualenv to 20.0.23 2020-08-08 18:58:57 +02:00
poetry.lock poetry: add pyblake2 2020-08-08 20:29:46 +02:00
pyproject.toml poetry: min supported python version is 3.5 2020-08-09 11:18:25 +02:00
README.md readme: fix link to Contributing 2020-04-30 15:03:56 +02:00
SECURITY.md docs: use monospace for fingerprints 2019-08-16 18:47:46 +02:00
setup.cfg core: update isort config to place relative imports last 2020-05-18 14:31:51 +02: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.

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.