https://mullvad.net/en/help/install-mullvad-app-linux

Trying to install VPN and these are the instructions Mullvad is giving me. This is ridiculous. There must be a more simple way. I know how to follow the instructions but I have no idea what I’m doing here. Can’t I just download a file and install it? I’m on Ubuntu.

  • @GenderNeutralBro@lemmy.sdf.org
    link
    fedilink
    English
    3310 months ago

    That page lists multiple installation methods, for multiple distros. There simplest one for you is just two steps.

    1. Download .deb installer

    2. 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.

    • @library_napper
      link
      1010 months ago

      Its more secure to go through a package manager. Checking signatures is important.

      • @GenderNeutralBro@lemmy.sdf.org
        link
        fedilink
        English
        310 months ago

        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.

        • @library_napper
          link
          110 months ago

          Https is vulnerable to loads of attack. That’s why we sign packages.

            • @library_napper
              link
              3
              edit-2
              10 months ago

              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.

              • @GenderNeutralBro@lemmy.sdf.org
                link
                fedilink
                English
                210 months ago

                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.

    • @where_am_i@sh.itjust.works
      link
      fedilink
      -6
      edit-2
      10 months ago

      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

      • @GenderNeutralBro@lemmy.sdf.org
        link
        fedilink
        English
        610 months ago

        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.

        • @library_napper
          link
          -410 months ago

          Yes, there is. You’re risking downloading malicious software.

          • @BoneALisa@lemm.ee
            link
            fedilink
            English
            510 months ago

            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.

            • @library_napper
              link
              110 months ago

              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)

              • @BoneALisa@lemm.ee
                link
                fedilink
                English
                110 months ago

                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.

                • @library_napper
                  link
                  110 months ago

                  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

                  • @BoneALisa@lemm.ee
                    link
                    fedilink
                    English
                    110 months ago

                    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.

          • @Falcon@lemmy.world
            link
            fedilink
            210 months ago

            The Deb and ppa will have the same content, the ppa is just automatic, assuming the owner maintains it.