Shame on you, Homebrew, for effectively killing FOSS apps from casks.

  • woelkchen@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 days ago

    Homebrew could provide their own casks of FOSS applications, compiled on their infrastructure and signed by their key. It’s kinda what F-Droid does on phones.

  • masterspace@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 days ago

    Code signing should be done though.

    You can disagree with Apple’s approach that maintains them as the only signing authority, but, at a fundamental level, code signing is the only way to distribute an executable and have the user be able to trust who authored it and what’s in it.

  • piyuv@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 days ago

    https://github.com/Homebrew/brew/issues/20755#issuecomment-3330984446

    In the end, the whole point of Gatekeeper is to protect end users as much as reasonable, and continuing to make it easy to bypass isn’t a good thing in my view.

    Whole point of Gatekeeper is Apple policing users’ devices. The security benefit is just a side effect. If anything, users need to be protected from Apple more than small time hackers.

    This is a shame. Big tech brain is affecting developers everywhere.

    Controversial opinion: best way to learn fire will burn you is to try and see. I personally learned a lot about computers by infecting my machine with a shitton of malware when I was a kid. Modern parents are very adamant on letting kids run free and learn stuff by themselves, why not apply the same logic to computers?

    • Noa Himesaka@lemmy.funami.techOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 days ago

      Yes and no. Yes, it has to be signed, but no, it doesn’t have to be Apple’s signing, it can be ad-hoc signed for the device programmatically. What they’re doing is that removing that ability to remove quarantine bits and ad-hoc signing on installation and forcing everything to be Apple-signed.

  • brax@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 days ago

    But I thought Mac was just Linux for people who loved to spend money… Seems on brand to me.

  • mumblerfish@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 days ago

    I never understood what a “cask” in the brew lanuage means. I just do installs and if the brew install instructions involves a cask I just do it. How do I figure out which packages this will have an effect on on my system?

  • plz1@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 days ago

    Heh, there goes Librewolf’s only sane updating mechanism. IIRC, the devs of that are vehemently against paying Apple the money to sign the code, and they also fail to provide their own updater. It was one of the main drivers behind my switch to Waterfox.

  • myfunnyaccountname@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 days ago

    Of the like 30 things I have installed through brew, 1 is not signed. Do I agree with the change, no. But there are other options out there.

  • M.int@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 days ago

    The unsigned (FOSS) Apps aren’t removed yet. They will be removed by 2026-09-01. Removing --no-quarantine before that seems counter productive. And quite frankly removing unsigned Apps at all seems like a stupid idea. Homebrew is a third party package mamager, why are they precapitulating to Apple?
    Third party taps (or are they fourth party?) will step in. You can run xattr -d com.apple.quarantine in the .rb file.

    Relevant links.

  • KoalaUnknown@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    6 days ago

    Their explanation as to why:

    --no-quarantine is used to forcibly bypass Gatekeeper, which is a built-in macOS security mechanism. This is used to run unsigned/unnotarized applications.

    macOS Tahoe is the final release to support Intel systems, and last year Apple updated macOS runtime protection to make it harder to override Gatekeeper. Macs with Apple silicon also don’t “permit native arm64 code to execute unless a valid signature is attached”. Finally, we are ending support for all casks that fail Gatekeeper checks on September 1st, 2026.

    With the above in mind, it’s time to deprecate the --no-quarantine flag from brew. It intentionally bypasses macOS security mechanisms, which we already actively discourage. Deprecating now will give a decent lead time for users using it to come up with another solution or adjust their workflows.

    • arcterus@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 days ago

      Deprecating now will give a decent lead time for users using it to come up with another solution or adjust their workflows.

      The adjusted solution/workflow: use something other than homebrew

      • dreadbeef@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 days ago

        I mean, theres macports and what else? Is macports even kickin still? No other package managers other than homebrew

        • arcterus@piefed.blahaj.zone
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          6 days ago

          By doing what homebrew currently does when you pass the --no-quarantine flag, which is call xattr.

          Note that I’d probably support removing --no-quarantine if Apple’s notarization service was free.

          • monogram@feddit.nl
            link
            fedilink
            English
            arrow-up
            0
            ·
            6 days ago

            Notarisation, free (as in beer) limits your ability to run your code that (Corporate) doesn’t like, making it inherently non free (as in freedom).

            • arcterus@piefed.blahaj.zone
              link
              fedilink
              English
              arrow-up
              0
              ·
              6 days ago

              Yes, but you can still compile the code yourself. It’s only problematic for binary distribution. This is basically a question of balancing security vs. freedom I suppose.

              • monogram@feddit.nl
                link
                fedilink
                English
                arrow-up
                0
                ·
                5 days ago

                Talking about balance when google is using the same tricks to crush f-droid is not reading the room.

                • arcterus@piefed.blahaj.zone
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  ·
                  5 days ago

                  Difference is compiling an app from source for Android is not really feasible on Android devices, whereas doing so on macOS is literally built into the package managers for macOS and is generally pretty trivial beyond it taking more time.

                  Also, macOS doesn’t prevent you from running the apps entirely.

  • Nate Cox@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 days ago

    Well, I’m pretty happy that I’ve moved most of my app downloads to a nix config I guess.

    Seems like a bigger change than deserves to be buried in the changelog. I wonder what the intent here is.