this post was submitted on 01 Jan 2024
157 points (81.3% liked)
Linux
48077 readers
789 users here now
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
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That page lists multiple installation methods, for multiple distros. There simplest one for you is just two steps.
Download .deb installer
Run
apt install ~/Downloads/MullvadVPN-*_amd64.deb
It's not that complicated. That's just confusingly written. And caters to a wide range of users.
Its more secure to go through a package manager. Checking signatures is important.
You can verify the signature of the manual download as well. Either way, you are trusting the files you download over HTTPS from mullvad.net. There's no real difference, except that when you use the repo, you are trusting it indefinitely, whereas if you download the deb directly, you are only trusting it once.
Using the repo is less secure, because it opens you to future attacks against the repo itself.
Https is vulnerable to loads of attack. That's why we sign packages.
You're downloading the signing key over HTTPS either way, from the same server. That's the common point of failure.
That's why you download the key from multiple distinct domains from multiple distinct locations using multiple distinct devices and veryify their fingerprints match. If the key/fingerprint is only available on one domain, open a bug report with the maintainer.
Agreed.
Unfortunately, Mullvad's instructions just have you download the key from mullvad.net and add it in with no further validation.
You can also get it from their GitHub page, at least for the individual debs. Not sure if they have the repo key on GitHub.
bad advise, OP should use a repo if they have apt
edit: yes, I understand, one day I'll get rooted by whoever hacked the VPN app's servers
There's nothing wrong with installing a .deb manually.
Personally, I'd hesitate to add any third-party repos unless there is a very good reason. In this case, the only real difference is that you won't get the updates automatically with
sudo apt update; sudo apt upgrade
without the repo. Either way, the desktop app will notify you when updates are available. There's very little advantage to using the repo.Adding a repo is very rarely required. It has deeper consequences than simply installing an app, and requires a higher level of trust. If you don't understand the security implications of adding a repo (and its associated key), then my advice is: just don't.
Yes, there is. You're risking downloading malicious software.
What are you on about? If you are using the 3rd party repo, you are just as likely to get malware than if you download the deb directly from the wbsite. Its literally the same thing, just adding the repo means that the malware could get installed automatically and without you knowing where it came from.
No, you're confusing two vectors of attack. I'm saying that if you fan trust the vendor, then you're still at risk from downloading malicious software that was manipulated between the vendor and you (man in the middle attack), unless you verified a signature using a key stores offline (note https is still vulnerable because the keys are stored online)
Not untrue, and I don't think that the possibility should be glossed over, but honestly, what do you think is more likely: this specific person getting specifically MitM'ed by a bad actor, or a bad actor taking control of a repo that hundreds of people blindly trust. I have a sneaking suspicion that OP's threat model isn't sophisticated enough to need to really, truly, be worrying about that.
This sort of thing happens dragnet. And mullvad users are definitely a group to be targeted. Dont assume OP isnt a refugee or journalist and give them bad advice that could get them killed
If OP is a journalist or refugee at risk of being targeted and killed, my advice is don't use a VPN, use TOR lol.
The Deb and ppa will have the same content, the ppa is just automatic, assuming the owner maintains it.