How safe are you and how much do you trust your distro?



Except for a few distros that assist their users to build everything they install from source (kiss and forks, LFS and forks, gentoo and forks, crux, exherbo, T2-sde, etc), most linux-distributions, offer binaries to be installed, usually backed up by the source code (script) building the package from either their own source code, or what we call upstream (other FOSS sources). How do you know though, that what the source repository shows and what the binary package contains is the same? One way is to build it with the same recipe (packaging source script) and compare the sums. Very few people do this and in very rare and controlled environments is the product the same, meaning checksums are identical (Arch is reporting 15-20% failure to reproduce their own packages). So what most distros do is they sign their packages and by having their public signature key, you know what they built is what you got. But are you sure they built it right, or did they take adequate measures to make sure what they pulled from upstream to build the package is what the author really published? How can you check?
There are two general methods packagers make sure what they use is what the author released. One is using git to draw the source which contains various tools in making sure the author’s repository of source and what you cloned is the same. The other way is a tarball of the source repository, signed by the author with a GnuPG key, known as a gpg key, and you check the tarball (a compressed archive xxxx.tar.xzz yyyy.tar.bz2 zzz.tar.gz .. etc accompanied with a same name .asc or .sig file containing the signature). It is virtually impossible as far as we know that a “man in the middle” will be able to switch the tarball on you “live”, and be able to counterfeit the signature so your altered code is signed by the correct author as well. But “man-in-the-middle” MIM attacks are not as rare as you think, even though it takes tremendous infrastructure to make one and get away with it. For people though who may be targeted by such infrastructure it is not unlikely, it is expected (highly likely). How do you know you may be targeted? I think you know, we know, that you know, why you are targeted by you know whom.
-

- Login or register to post comments
Printer-friendly version- 1836 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is released
After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release.
|
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future Tech
The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world.
Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility.
|
today's howtos
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago