Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check and document reproducible builds #692

Closed
tsusanka opened this issue Nov 10, 2019 · 4 comments · Fixed by #1918
Closed

Check and document reproducible builds #692

tsusanka opened this issue Nov 10, 2019 · 4 comments · Fixed by #1918
Assignees
Labels
code Code improvements docs Firmware documentation related https://docs.trezor.io/trezor-firmware/index.html

Comments

@tsusanka
Copy link
Contributor

tsusanka commented Nov 10, 2019

Part of #685.

Check or add a guide how to build firmware yourself and check it against the one provided by us. Some content is on our wiki https://wiki.trezor.io/Developers_guide:Deterministic_firmware_build but it is outdated.

I suggest to document it here in this repository and add a link to the wiki.

@tsusanka tsusanka added the docs Firmware documentation related https://docs.trezor.io/trezor-firmware/index.html label Nov 10, 2019
@prusnak prusnak added this to the backlog milestone Nov 10, 2019
@ZdenekSL ZdenekSL added P3 Medium code Code improvements labels Dec 5, 2019
@prusnak
Copy link
Member

prusnak commented Jun 7, 2020

I just checked the wiki and it seems pretty fine - i.e. there is no outdated stuff there.

@tsusanka
Copy link
Contributor Author

I have tried this for 2.3.1 and the fingerprints did not match. So this is most likely caused due to the fact that we have introduced NixOS after 2.3.1. So let me try again during the next release and let's close then.

@tsusanka tsusanka removed W2 labels Feb 19, 2021
@tsusanka tsusanka moved this from 📥 Inbox to 👨‍💻 Code in Firmware · Backlog 🗂 Oct 5, 2021
@tsusanka tsusanka removed this from the backlog milestone Oct 6, 2021
@alex-jerechinsky alex-jerechinsky added this to 💻 Code in Backlog 🗂 Oct 22, 2021
@alex-jerechinsky alex-jerechinsky removed this from 💻 Code in Firmware · Backlog 🗂 Oct 22, 2021
@tsusanka tsusanka removed this from 💻 Code in Backlog 🗂 Oct 22, 2021
@tsusanka tsusanka added this to 🎯 To do in Oct 21 - Nov 4 via automation Oct 22, 2021
@tsusanka tsusanka removed this from 🎯 To do in Oct 21 - Nov 4 Nov 5, 2021
@tsusanka tsusanka added this to 🎯 To do in ❄️ Nov 4 - Nov 18 via automation Nov 5, 2021
@mmilata
Copy link
Member

mmilata commented Nov 15, 2021

I've reviewed https://wiki.trezor.io/Developers_guide:Deterministic_firmware_build and it seems correct, at least for recent versions.

  • legacy/v1.9.0 + core/v2.3.0: build gets stuck due to micropython submodule that fell off github
  • legacy/v1.9.4 + core/v2.3.5: first version with newer micropython, builds fine, comparison to official fw OK
  • legacy/v1.10.3 + core/v2.4.2: builds fine, comparison OK

Verifying legacy FW is a bit complicated due to the legacy header. #1918 attempts to improve the description of the process.

❄️ Nov 4 - Nov 18 automation moved this from 🎯 To do to 🤝 Needs QA Nov 16, 2021
@bosomt
Copy link

bosomt commented Nov 17, 2021

Does it needs QA or i can move it to approved issues section ?

@alex-jerechinsky alex-jerechinsky moved this from 🤝 Needs QA to ✅ Approved in ❄️ Nov 4 - Nov 18 Nov 18, 2021
@hynek-jina hynek-jina added this to the Improve documentation 📚 milestone Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code Code improvements docs Firmware documentation related https://docs.trezor.io/trezor-firmware/index.html
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

6 participants