1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 04:18:10 +00:00
Go to file
matejcik dcc38f5267 refactor(core/ui): replace confirm_hex, clarify API
Truncation options were removed.

Subtitle distinct from description was removed.

confirm_hex was replaced by confirm_blob. You should use confirm_blob
when displaying data that is not human readable and can be broken at any
character.

Also it is now possible to pass bytes, which are automatically converted
to hex.

For displaying addresses, a separate confirm_address is introduced,
which simply delegates to confirm_blob, but has a more limited
signature.

Analogously, there is confirm_text for text data (should maybe be used
in many places where we currently use confirm_metadata) and a
specialized confirm_amount.
2021-07-26 14:48:35 +02:00
.github fix(ci): gh actions set to fetch all history for changelog check 2021-07-26 13:40:33 +02:00
ci docs(core+legacy): use towncrier for generating CHANGELOG.md 2021-07-21 14:27:20 +02:00
common fix(common): Add new rpId to Binance's FIDO definition. 2021-07-21 13:19:16 +02:00
core refactor(core/ui): replace confirm_hex, clarify API 2021-07-26 14:48:35 +02:00
crypto style(legacy): Remove nested conditional operators. 2021-07-22 10:54:49 +02:00
docs docs: allow adding changelog entries without linked issue 2021-07-21 15:47:16 +02:00
legacy feat(legacy): make sure that known_bootloader check contains the hash of our bundled bootloader 2021-07-23 13:46:06 +02:00
python fix(python/trezorctl): firmware download does not require connected trezor 2021-07-20 11:03:57 +02:00
storage refactor(core): move wait_random and rdi into separate file 2021-05-21 13:42:53 +02:00
tests fix(core): properly respond to USB events while on a paginated screen 2021-07-20 12:59:26 +02:00
tools docs: allow adding changelog entries without linked issue 2021-07-21 15:47:16 +02:00
vendor chore(vendor): update nanopb to 0.4.5 2021-07-14 17:34:12 +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
.gitignore fix(core,crypto): add more test cases from bip-173 2021-07-21 11:20:11 +02: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
.yamllint.yml style: ignore yaml files in venv 2021-06-08 09:55:19 +02:00
build-docker.sh feat(ci): some systems do not have sha256sum only shasum 2021-07-20 17:30:15 +02:00
CODEOWNERS chore(github): remove myself from some CODEOWNERS parts 2021-02-23 08:35:29 +01: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 all: replace /bin/bash with /usr/bin/env bash 2019-09-12 17:35:55 +02:00
LICENSE.md docs: clear up licensing information 2021-03-31 18:51:52 +02:00
Makefile docs(core+legacy): use towncrier for generating CHANGELOG.md 2021-07-21 14:27:20 +02:00
poetry.lock chore(vendor): update nanopb to 0.4.5 2021-07-14 17:34:12 +02:00
poetry.toml build: workaround poetry bug (KeyError) 2021-01-28 23:03:02 +01:00
pyproject.toml chore: update mypy to stable 0.901 2021-06-14 12:12:58 +02:00
README.md chore(docs): update README 2021-02-19 20:04:11 +01:00
SECURITY.md docs: use monospace for fingerprints 2019-08-16 18:47:46 +02:00
setup.cfg style(core): use more recent type annotation syntax 2021-04-01 11:12:30 +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.

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.