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

Reproducible builds and info leakage about the builder in binaries #57

Open
bunnie opened this issue Apr 21, 2021 · 2 comments
Open

Reproducible builds and info leakage about the builder in binaries #57

bunnie opened this issue Apr 21, 2021 · 2 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed security An issue potentially related to security - memory leaks, architectural crypto, etc.

Comments

@bunnie
Copy link
Member

bunnie commented Apr 21, 2021

Our build system is Rust's default build system, which by default includes things like the full path of the code (including the username) inside the binaries (for panic messages, strings, etc.).

This makes the builds un-reproducible, and would also lead to compromise of users' identities if they are building their own binaries and loading it onto their devices.

There are some things that could be done to improve this:

We'd love some help from someone who is more skilled in reproducible builds than us to rework our methodology to address this problem.

@bunnie bunnie added good first issue Good for newcomers help wanted Extra attention is needed security An issue potentially related to security - memory leaks, architectural crypto, etc. labels Apr 21, 2021
@bunnie bunnie added this to the MVP - Xous 1.0 milestone Apr 21, 2021
@eupn
Copy link
Contributor

eupn commented Aug 14, 2022

Nix with cargo2nix may help.

@jeandudey
Copy link
Contributor

Also adding to this, GNU Guix is another option for reproducibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed security An issue potentially related to security - memory leaks, architectural crypto, etc.
Projects
None yet
Development

No branches or pull requests

3 participants