4 ms·
Unfortunately neither the excellent LWN article nor the comment thread so far talk about the main benefit of reproducible builds, which is security, at least po
by kragen 11y ago
Unfortunately neither the excellent LWN article nor the comment thread so far talk about the main benefit of reproducible builds, which is security, at least potentially. If you're running an irreproducible build of some piece of software in your user account, you're running on hope that the person who compiled that software didn't have malware on their machine that inserted a backdoor into the software. Reproducible building makes that kind of attack enormously more difficult: not only does the attacker need to insert the same backdoor on the machines of all the developers who are reproducing the build, but now the malware is almost certain to be detected, sooner or later. Coupled with diverse double-compiling, reproducible build processes can even detect the Thompson attack.
The big push for reproducible builds came in the wake of the Snowden evidence that the NSA was specifically and systematically attacking the machines of system administrators in order to gain access to the machines they controlled. Debian and Tor developers should logically be even bigger attack targets.