1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 14:58:09 +00:00
Go to file
Jan Pochyla 6257584951 feat(core): Add Rust bindings to MicroPython and trezorhal
core: Remove dangling module decls

core: Use new Cargo feature resolver, use external MacOS debug info

core: Rust docs improvements

core: Upgrade bindgen

core: Add test target to Rust

ci: build rust sources

build(core): .ARM.exidx.text.__aeabi_ui2f in t1 firmware size

It's an unwind table for softfloat function inserted by rustc, probably
can be removed to save 8 bytes:
599c58db70/link.x.in (L175-L182)

scons: Remove dead code

core: Move Rust target to build/rust

core: Replace extern with a FFI version

core: Add some explanatory Rust comments

core: Use correct path for the Rust lib

core: Remove Buffer::as_mut()

Mutable buffer access needs MP_BUFFER_WRITE flag. TBD in the Protobuf PR.

core: Improve docs for micropython::Buffer

core: Minor Rust docs changes

core: Rewrite trezor_obj_get_ll_checked

core: Fix incorrect doc comment

core: Remove cc from deps

fixup! core: Rewrite trezor_obj_get_ll_checked

core: update safety comments
2021-05-05 16:00:21 +02:00
.github feat(ci): add checks to github actions 2021-05-03 18:52:16 +02:00
ci feat(core): Add Rust bindings to MicroPython and trezorhal 2021-05-05 16:00:21 +02:00
common fix(common): bitcoin:XRC wallet link 2021-05-04 14:28:09 +02:00
core feat(core): Add Rust bindings to MicroPython and trezorhal 2021-05-05 16:00:21 +02:00
crypto fix(crypto): update case of windows.h (#1560) 2021-04-08 14:16:23 +02:00
docs docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
legacy docs(legacy/bootloader): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
python docs(python): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
storage fix(storage): Check for overflow in counter increment. 2021-03-26 10:54:56 +01:00
tests refactor(trezorlib/cardano): rename create_* functions 2021-04-23 11:09:29 +02:00
tools chore(tools): script for version bumping 2021-05-04 14:18:01 +02:00
vendor chore(vendor): bump secp256k1-zkp to latest 2021-03-18 14:37:28 +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 build(docker): add possibility to skip core/legacy/bitcoinonly builds 2021-05-04 16:09:03 +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): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
poetry.lock docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
poetry.toml build: workaround poetry bug (KeyError) 2021-01-28 23:03:02 +01:00
pyproject.toml docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +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.