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
    arrow-up
    29
    arrow-down
    2
    ·
    11 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.

      • GenderNeutralBro@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        11 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@monyet.cc
              link
              fedilink
              arrow-up
              3
              ·
              edit-2
              11 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
                arrow-up
                2
                ·
                11 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
      arrow-up
      6
      arrow-down
      12
      ·
      edit-2
      11 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
        arrow-up
        9
        arrow-down
        3
        ·
        11 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.

          • BoneALisa@lemm.ee
            link
            fedilink
            English
            arrow-up
            6
            arrow-down
            1
            ·
            11 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@monyet.cc
              link
              fedilink
              arrow-up
              1
              ·
              11 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
                arrow-up
                1
                ·
                11 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@monyet.cc
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  11 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
                    arrow-up
                    1
                    ·
                    11 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
            arrow-up
            2
            ·
            11 months ago

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