5 ms·
Hash verification does nothing as SSL is protecting ordinary downloads from MITM attacks already. Actually, binary package managers are arguably strictly less
by mike_hearn 5y ago
Hash verification does nothing as SSL is protecting ordinary downloads from MITM attacks already.
Actually, binary package managers are arguably strictly less safe than getting the binaries directly from upstream because you've just introduced a (literal) "man in the middle", who might have their own agendas and their own need to monetize. Like, for example ... SourceForge did. In a different context these MITM attacks can go wrong even when they're genuinely trying to be helpful, as we may remember when Debian accidentally patched out important code from a core encryption library and caused everyone to get the same SSH keys.
Generally for security you want to reduce the number of middlemen who can tamper with things, unless those middlemen are explicitly adding some sort of security value by pre-tasting the apps. So, Apple app reviewers: yes. Linux distro maintainers: sorta sometimes. Homebrew, winget etc: no. It's all automated.
- noasaservice 5y agoExplain to me how SSL tells me so I know which is the right site: https://www.vlcdownload.com https://www.vlcdownloads.com https://www.videolan.com https://www.vlc.com https://www.downloadvlc.com https://www.videolan.org https://www.videolan.co.uk https://sourceforge.net/projects/vlc/ In linux/Mac, I can "sudo apt install vlc", "sudo yum install vlc", or "sudo brew install vlc". I know I'm getting a valid and good software delivery. It just works. No malware. No sketchy websites. No malware packages. On Windows, well, you feelin lucky?
- yurymik 5y agoNow we have `winget install VideoLAN.VLC` :)
- sharken 5y agoWhich is sadly not as intuitive as 'choco install vlc', WinGet really needs to support aliases to become widely used. Chocolatey does have it's quirks though, there is both a '7zip' and a '7zip.install' package, it's not intuitive what the difference is.
- arinlen 5y ago> On Windows, well, you feelin lucky? Doesn't chocolatey fit the bill? https://chocolatey.org/ https://chocolatey.org/
- willismichael 5y agoThe whole point of the earlier comments is that it is preferable to use a package manager instead of using a browser to download binaries.
- TheSpiceIsLife 5y agoOn Windows I can just choco install vlc
- dijit 5y agoIt is preferable to read comments before replying.
- deleted 5y ago[deleted]
- arinlen 5y ago> The whole point of the earlier comments is that it is preferable to use a package manager instead of using a browser to download binaries. But there are package managers for Windows, aren't there? Microsoft even has its own app store, that you need to use to install applications such as Windows Terminal. People often install software on Linux and macOS by downloading installers using a browser. In fact, that's how non-bleeding edge versions of Xcode are installed.
- deleted 5y ago[deleted]
- mike_hearn 5y agoThat's true, but it cuts both ways. apt-get install wine Did you just get Wine from upstream? The answer is no and this has wasted significant amounts of time of Wine developers in the past. I used to be one and spent way too many free evenings and weekends debugging subtle crashes reported by users, that turned out to be packaging bugs introduced by men-in-the-middle. Lots of other Wine devs had the same experience, so at that time we had a policy that if someone reported a bug the first instruction was to uninstall their distro package and to install the binary packages produced by the Wine project itself. Sometimes users were upset by this advice, but it resolved a significant number of "bugs" that were being added by the distributors.
- InfiniteRand 5y agoAs a practical approach on Windows, for well-known software, I go to Wikipedia, look up the project there and then get the link, obviously that's not guaranteed to be correct, but for well-known projects bad links usually get corrected relatively fast, so it's probably correct For lesser known projects I just cross my fingers, but typically lesser known projects are less likely to have malware posing as them
- abetancort 5y agoGo to GitHub directly... forget direct links.
- deleted 5y ago[deleted]
- saghm 5y agoI think the idea is that a lot of the major package repositories tend to curate what's published (rather than let anyone arbitrarily publish whatever they'd like). If I trust the maintainers of the Debian or Fedora or Arch repos or whatever, then the fact that they serve a package means I would trust it more than downloading from some random website I don't know.