You are viewing a single thread.
View all comments
40 points

Time to bring back the reproducible build hype

permalink
report
reply
0 points

Probally more SLSA which reproducible builds is apart of

permalink
report
parent
reply
57 points

Won’t help here; this backdoor is entirely reproducible. That’s one of the scary parts.

permalink
report
parent
reply
27 points
*

The backdoor wasn’t in the source code, only in the distributed binary. So reproducible builds would have flagged the tar as not coming from what was in Git

permalink
report
parent
reply
2 points

Not exactly - it was in the source tarbal available for download from the releases page but not the git source tree.

permalink
report
parent
reply
41 points

Reproducible builds generally work from the published source tarballs, as those tend to be easier to mirror and archive than a Git repository is. The GPG-signed source tarball includes all of the code to build the exploit.

The Git repository does not include the code to build the backdoor (though it does include the actual backdoor itself, the binary “test file”, it’s simply disused).

Verifying that the tarball and Git repository match would be neat, but is not a focus of any existing reproducible build project that I know of. It probably should be, but quite a number of projects have legitimate differences in their tarballs, often pre-compiling things like autotools-based configure scripts and man pages so that you can have a relaxed ./configure && make && make install build without having to hunt down all of the necessary generators.

permalink
report
parent
reply
14 points

The back door is not in the source code though, so it’s not reproducible from source.

permalink
report
parent
reply
12 points
*

Part of the payload was in the tarball. There was still a malicious shim in the upstream repo

permalink
report
parent
reply
3 points

Why didn’t this become a thing? Surely in 2024, we should be able to build packages from source and sign releases with a private key.

permalink
report
parent
reply
5 points

It’s becoming more of a thing but a lot of projects are so old that they haven’t been able to fix their entire build process yet

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 6.8K

    Monthly active users

  • 6.6K

    Posts

  • 181K

    Comments