1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-31 01:41:18 +00:00
Go to file
gabrielkerekes e1615e60ec Update Cardano to support Shelley era 1/3
Update protobuf

- Previous transactions don't need to be sent anymore, because fee is
  included in the transaction now. Thus transactions_count can be
  removed from CardanoSignTx message and the CardanoTxAck and
  CardanoTxRequest messages can be removed altogether.
- CardanoTxInputType.type is unused so remove it

Add NULL (None type) serialisation to CBOR

- Transaction metada must either have a valid structure or CBOR NULL
  must be used (if metadata is empty) - it can't be simply left out.

Add protocol_magics file

- Just to have a nicer way of representing protocol magics

Update transaction signing

- Previous transactions no longer need to be requested
- Output building is simplified, since fee doesn't need to be calculated
- Remove transaction class since it is no longer needed (only functions
  remained)
- Reorder functions so it reads top to bottom

Add protocol magic to byron address on testnet

- This has always been a part of the spec, but it hasn't been
  implemented before, because it wasn't really needed.

Update trezorlib

Update tests

- Transaction messages are no longer required
- Expected values are different since tx format changed
- Common values in test cases have been extracted

Remove unused file

- Progress was used when receiving previous transactions

Add CRC check to output address validation
2020-07-27 13:04:49 +02:00
.github/ISSUE_TEMPLATE github: firmware version AND revision (#1057) 2020-06-09 11:43:52 +02:00
ci ci: add btconly debug build and run hardware tests for it 2020-07-15 18:07:21 +02:00
common Update Cardano to support Shelley era 1/3 2020-07-27 13:04:49 +02:00
core Update Cardano to support Shelley era 1/3 2020-07-27 13:04:49 +02:00
crypto crypto: add fuzz testing harnesses and documentation 2020-07-07 14:41:10 +02:00
docs docs: inform where you can find the UI master diff report 2020-07-22 16:31:31 +02:00
legacy legacy: convert old changelogs to new format 2020-07-27 12:13:43 +02:00
python Update Cardano to support Shelley era 1/3 2020-07-27 13:04:49 +02:00
storage core: unify usage of TREZOR_MODEL 2020-06-06 21:06:15 +02:00
tests Update Cardano to support Shelley era 1/3 2020-07-27 13:04:49 +02:00
tools style: add changelog checks 2020-07-08 10:43:40 +02:00
vendor vendor: update fido2-tests 2020-05-14 13:36:45 +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 vendor: change fido2-tests to our fork 2019-11-01 12:35:12 +01:00
.travis.yml ci: check if commit message contains fixup on travis 2020-03-06 18:45:46 +00:00
build-docker.sh ci: use nix docker image 2020-07-03 17:33:59 +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: add serial 2020-04-10 11:23:07 +02:00
Pipfile.lock pipenv: add serial 2020-04-10 11:23:07 +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.