Developers guide:Deterministic firmware build

From Trezor Wiki
Jump to: navigation, search
Trezor Wiki/Developer/Developers guide/ Deterministic firmware build


We want to invite the wider community to participate in the verification of the firmware built by SatoshiLabs. To do this, one has to check the source code of the particular tag and compare the fingerprints of the built firmware with the fingerprints of the official firmware.

Trezor One firmware[edit]

  1. clone the sources using git clone --recursive https://github.com/trezor/trezor-mcu.git
  2. select the tag you want to build, e.g., git checkout v1.7.0
  3. run ./build.sh - you need to have Docker installed for this to work
  4. compare the fingerprint computed via the command above with fingerprint in releases.json

Trezor Model T firmware[edit]

  1. clone the sources using git clone --recursive https://github.com/trezor/trezor-core.git
  2. select the tag you want to build, e.g., git checkout v2.0.7
  3. run ./build-docker.sh - you need to have Docker installed for this to work
  4. compare the fingerprint computed via the command above with fingerprint in releases.json
Like Trezor? Get one here!