Giter Site home page Giter Site logo

dumie505-github-com / keepkey-firmware Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dumie505/keepkey-firmware

1.0 1.0 0.0 38.28 MB

KeepKey Device Firmware

License: GNU Lesser General Public License v3.0

C 89.55% C++ 6.09% Shell 0.48% Assembly 1.61% GDB 0.01% Pawn 0.04% CMake 2.02% Dockerfile 0.14% Python 0.06%

keepkey-firmware's Introduction

CircleCI

KeepKey Build Procedure

Toolchain Installation

Install Docker Community Edition from: https://www.docker.com/get-docker

$ docker pull kktech/firmware:v5-beta

Clone the Source

The sources can be obtained from github:

$ git clone [email protected]:keepkey/keepkey-firmware.git
$ git submodule update --init --recursive

Build

To build the firmware using the docker container, use the provided script:

$ ./scripts/build/docker/device/release.sh

Verifying Published Binaries

Compare the hash of a given tagged build:

$ git checkout v6.2.0
$ git submodule update --init --recursive
$ ./scripts/build/docker/device/release.sh
$ tail -c +257 ./bin/firmware.keepkey.bin | shasum -a 256

With that of the signed v6.2.0 binary on github, ignoring signatures and firmware metadata:

$ tail -c +257 firmware.keepkey.bin | shasum -a 256

Then inspect the metadata itself by comparing against the structure described here:

$ head -c +256 signed_firmware.bin | xxd -

Caveats:

  1. v6.2.2 and v6.3.0 had an issue with build reproducibility. See #212.
  2. As of v6.1.0 and later, we started prepending empty slots for signatures as part of the build, and prior firmwares were emitted without that metadata section. See 87b9ebb84

Docs

Documentation can be found here.

License

If license is not specified in the header of a file, it can be assumed that it is licensed under LGPLv3.

keepkey-firmware's People

Contributors

keepkeyjon avatar uwehermann avatar pkhx02 avatar esden avatar fnoble avatar chrysn avatar bufran avatar tsquarex avatar mossmann avatar karlp avatar solipsis avatar gsmcmullin avatar proofofkeags avatar bgamari avatar lowellskoog avatar scott-keepkey avatar mrnuke avatar jboone avatar bvernoux avatar pastaghost avatar flixr avatar felixheld avatar schodet avatar roosmaa avatar tdaede avatar bgok avatar markrypto avatar molnarkares avatar uwebonnes avatar kantoralex avatar

Stargazers

TAURUS MINDSET avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.