A good sign that the friendly competition by Guix has a positive influence :) https://guix.gnu.org/manual/en/html_node/Bootstrapping.html https://guix.gnu.org/en/blog/2020/guix-further-reduces-boots...
This smaller bootstrap seed thing is a different problem from reproducible builds. nixpkgs does still have a pretty big initial TCB (aka. stage0) compared to Guix. But as far as I can tell NixOS has the upper hand in terms of how much can be built reproducibly (aka. the output hash matches across separate builds).
Nixos-unstable’s ISO_minimal.x86_64-Linux is 100% reproducible
31–40 of 232 posts
Re: Nixos-unstable’s ISO_minimal.x86_64-Linux is 100% reproducible
#32Earlier quoted context omitted.
That's too black-and-white. Being able to reproduce stuff makes some kind of attacks entirely uninteresting because malicious changes can be traced back. Which is what many types of attackers do not want. Debian, or the Linux kernel, for example, are not fool-proof, but both are in practice quite safe to work with.
Who are you going to trace it back to if not the maintainer anyways? If the delivery method then why is the delivery of the source from the maintainer inherently any safer?
Re: Nixos-unstable’s ISO_minimal.x86_64-Linux is 100% reproducible
#33Earlier quoted context omitted.
This is great! The one fly in the ointment, pardon, is that Nix is a bit lax about trusting proprietary and binary-only stuff. It would be great if there were a FLOSS-only core system for NixOS which would be fully transparent.
Nix/Nixpkgs blocks unfree packages by default, so I presume it would be relatively easy to disable packages with the `unFree` attribute.
Re: Nixos-unstable’s ISO_minimal.x86_64-Linux is 100% reproducible
#34Re: Nixos-unstable’s ISO_minimal.x86_64-Linux is 100% reproducible
#35Earlier quoted context omitted.
That's too black-and-white. Being able to reproduce stuff makes some kind of attacks entirely uninteresting because malicious changes can be traced back. Which is what many types of attackers do not want. Debian, or the Linux kernel, for example, are not fool-proof, but both are in practice quite safe to work with.
Who are you going to trace it back to if not the maintainer anyways? If the delivery method then why is the delivery of the source from the maintainer inherently any safer?
Re: Nixos-unstable’s ISO_minimal.x86_64-Linux is 100% reproducible
#36This really deserves more love. Who remembers Ken Thompson's "Reflections on Trusting Trust"? The norm today is auto-updating, pre-built software. This places a ton of trust in the publisher. Even for open-source, well-vetted software, we all collectively cross our fingers and hope that whoever is building these binaries and running the servers that disseminate them, is honest and good at security. So far this has mo…
Re: Nixos-unstable’s ISO_minimal.x86_64-Linux is 100% reproducible
#37This means everyone building NixOS will get the exact same binary, meaning you can now trust any source for it because you can verify the hash.
It’s a huge win compared to the current default distribution model of “just trust these 30 american entities that the software does what they say it does”.
Big congratulations to the team.
Re: Nixos-unstable’s ISO_minimal.x86_64-Linux is 100% reproducible
#38Earlier quoted context omitted.
Who are you going to trace it back to if not the maintainer anyways? If the delivery method then why is the delivery of the source from the maintainer inherently any safer?
No, it is not always the maintainer. Imagine you download a binary software package via HTTPS. In theory, the integrity of the download is protected by the server certificate. However, it is possible that certificates get hacked, get stolen, or that nation states force CAs to give out back doors. In that case, your download could have been changed on the fly with arbitrary alterations. Reproducible builds make it pos…
It's not that reproducible builds provide 0 value it's that they don't truly solve the trust problem as initially stated. They also have non-security value to boot which is often understated compared to the security value IMO.
Re: Nixos-unstable’s ISO_minimal.x86_64-Linux is 100% reproducible
#39Earlier quoted context omitted.
Nix/Nixpkgs blocks unfree packages by default, so I presume it would be relatively easy to disable packages with the `unFree` attribute.
I totally believe it is possible, it is perhaps more of a cultural thing.
Re: Nixos-unstable’s ISO_minimal.x86_64-Linux is 100% reproducible
#40This really deserves more love. Who remembers Ken Thompson's "Reflections on Trusting Trust"? The norm today is auto-updating, pre-built software. This places a ton of trust in the publisher. Even for open-source, well-vetted software, we all collectively cross our fingers and hope that whoever is building these binaries and running the servers that disseminate them, is honest and good at security. So far this has mo…
The problem is unmaintainability, I can’t imagine it’d be easier for medium sized teams where security isn’t a priority, either.