GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Drew DeVault (drewdevault@fosstodon.org)'s status on Wednesday, 01-Nov-2023 18:52:22 JST Drew DeVault Drew DeVault

    @marcan
    TLS provides privacy but not integrity. In case of a server-side exploitation, or simply memory corruption for any other reason ECC failures are not nearly as uncommon as anyone would like to believe!), TLS provides nothing.

    In general this practice to installing software with curl | sh is a huge side-step around all of the security and trust that comes built-in to the system package manager, and tends to litter your system with stuff the package manager doesn't know about -- [cotd]

    In conversation Wednesday, 01-Nov-2023 18:52:22 JST from fosstodon.org permalink

    Attachments


    • Haelwenn /элвэн/ :triskell: likes this.
    • Embed this notice
      Drew DeVault (drewdevault@fosstodon.org)'s status on Wednesday, 01-Nov-2023 18:52:22 JST Drew DeVault Drew DeVault
      in reply to

      @marcan -- how do you uninstall something installed like this?

      I know that your use-case is a bit different, though I think you might lean on that difference too heavily to justify this approach. But there is a good reason we train users NOT to do this when they see it and argue against anyone who proliferates and normalizes it.

      t. former author of curl | sh installers

      In conversation Wednesday, 01-Nov-2023 18:52:22 JST permalink
      Haelwenn /элвэн/ :triskell: and clacke like this.
    • Embed this notice
      Drew DeVault (drewdevault@fosstodon.org)'s status on Thursday, 02-Nov-2023 04:16:42 JST Drew DeVault Drew DeVault
      in reply to
      • Billy O'Neal

      @malwareminigun t. Microsoft employee

      In conversation Thursday, 02-Nov-2023 04:16:42 JST permalink
      Haelwenn /элвэн/ :triskell: likes this.
    • Embed this notice
      Drew DeVault (drewdevault@fosstodon.org)'s status on Thursday, 02-Nov-2023 04:16:44 JST Drew DeVault Drew DeVault
      in reply to
      • Billy O'Neal

      @malwareminigun *sigh*

      https://drewdevault.com/2019/12/09/Developers-shouldnt-distribute.html

      In conversation Thursday, 02-Nov-2023 04:16:44 JST permalink
    • Embed this notice
      Billy O'Neal (malwareminigun@infosec.exchange)'s status on Thursday, 02-Nov-2023 04:16:44 JST Billy O'Neal Billy O'Neal
      in reply to

      @drewdevault all bow to our RedHat and Canonical overlords. No thanks.

      In conversation Thursday, 02-Nov-2023 04:16:44 JST permalink
    • Embed this notice
      Billy O'Neal (malwareminigun@infosec.exchange)'s status on Thursday, 02-Nov-2023 04:16:46 JST Billy O'Neal Billy O'Neal
      in reply to

      @drewdevault I don’t see how this is specific to macOS. The only solution presented is “all software must come from the distro” which is a terrible answer.

      In conversation Thursday, 02-Nov-2023 04:16:46 JST permalink
    • Embed this notice
      Drew DeVault (drewdevault@fosstodon.org)'s status on Thursday, 02-Nov-2023 04:16:47 JST Drew DeVault Drew DeVault
      in reply to
      • Billy O'Neal

      @malwareminigun yeah, I heard. So rinse and repeat the same arguments for why homebrew ought to get their shit together, too.

      In any case, as I've said earlier, macOS is a dumpster fire.

      In conversation Thursday, 02-Nov-2023 04:16:47 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: www.hitmedia.in
        Under Construction
    • Embed this notice
      Billy O'Neal (malwareminigun@infosec.exchange)'s status on Thursday, 02-Nov-2023 04:16:48 JST Billy O'Neal Billy O'Neal
      in reply to

      @drewdevault homebrew’s installer does curl | sh. 🤷

      In conversation Thursday, 02-Nov-2023 04:16:48 JST permalink
    • Embed this notice
      Billy O'Neal (malwareminigun@infosec.exchange)'s status on Thursday, 02-Nov-2023 04:16:50 JST Billy O'Neal Billy O'Neal
      in reply to

      @drewdevault great, so to ship software you want the distributor to go through approval processes at all N distros.

      Oh wait there isn’t such a package manager that does that on macos.

      Wait, wasn’t this discussion about curl | sh?

      In conversation Thursday, 02-Nov-2023 04:16:50 JST permalink
    • Embed this notice
      Drew DeVault (drewdevault@fosstodon.org)'s status on Thursday, 02-Nov-2023 04:16:50 JST Drew DeVault Drew DeVault
      in reply to
      • Billy O'Neal

      @malwareminigun there are at least two, homebrew and macports.

      In conversation Thursday, 02-Nov-2023 04:16:50 JST permalink
    • Embed this notice
      Drew DeVault (drewdevault@fosstodon.org)'s status on Thursday, 02-Nov-2023 04:16:51 JST Drew DeVault Drew DeVault
      in reply to
      • Billy O'Neal

      @malwareminigun (1) the system should check it for you, as in the case of package managers, which is overwhelmingly the norm on Linux (2) yes

      In conversation Thursday, 02-Nov-2023 04:16:51 JST permalink
    • Embed this notice
      Drew DeVault (drewdevault@fosstodon.org)'s status on Thursday, 02-Nov-2023 04:16:52 JST Drew DeVault Drew DeVault
      in reply to
      • Billy O'Neal

      @malwareminigun @marcan this is not true if the server is offering up a binary signed by the distributor.

      In conversation Thursday, 02-Nov-2023 04:16:52 JST permalink
    • Embed this notice
      Billy O'Neal (malwareminigun@infosec.exchange)'s status on Thursday, 02-Nov-2023 04:16:52 JST Billy O'Neal Billy O'Neal
      in reply to

      @drewdevault @marcan 1. Ok but who really checks the sig in these scenarios? (Do 99% of users even know how?)
      2. If I owned the distributor I probably can get something signed too?

      In conversation Thursday, 02-Nov-2023 04:16:52 JST permalink
    • Embed this notice
      Billy O'Neal (malwareminigun@infosec.exchange)'s status on Thursday, 02-Nov-2023 04:16:53 JST Billy O'Neal Billy O'Neal
      in reply to

      @drewdevault @marcan if the server is exploited whether you put the exploiting script in a file first means nothing. This is running code. The user needs to trust where they get that code.

      In conversation Thursday, 02-Nov-2023 04:16:53 JST permalink
    • Embed this notice
      werdahias (werdahias@pleroma.debian.social)'s status on Thursday, 02-Nov-2023 04:17:43 JST werdahias werdahias
      in reply to
      • Billy O'Neal
      @malwareminigun @drewdevault upstream shouldn't need to ship anything, if it's a good and free software people will distribute it.
      In conversation Thursday, 02-Nov-2023 04:17:43 JST permalink
    • Embed this notice
      Billy O'Neal (malwareminigun@infosec.exchange)'s status on Thursday, 02-Nov-2023 04:17:44 JST Billy O'Neal Billy O'Neal
      in reply to
      • werdahias

      @werdahias @drewdevault Great, that means 2 groups of people have to be convinced to ship anything before one can ship anything.

      The amount of folks I deal with who want to ship to Windows, Linux and Mac but drop Linux when they realize it’s actually like supporting at least 5 different platforms (RHEL, Fedora, Debian, Ubuntu, Arch, Alpine, …) is depressing.

      Reinventing another package manager just makes N+1 package managers one has to support. This is why we explicitly refuse requests to make vcpkg into an application deployment system, as we don’t want to make the fragmentation of that universe even worse.

      In conversation Thursday, 02-Nov-2023 04:17:44 JST permalink
      Haelwenn /элвэн/ :triskell: repeated this.
    • Embed this notice
      werdahias (werdahias@pleroma.debian.social)'s status on Thursday, 02-Nov-2023 04:17:46 JST werdahias werdahias
      in reply to
      • Billy O'Neal
      @malwareminigun @drewdevault ~80 % of the packages in ubuntu are based on the debian ones which are maintained by unpaid volunteers for the most part. I don't know how the numbers are for fedora, but I imagine it's similar. Imho distro packages are the superior in many ways, and I'd rather compile from source than use a flatpak or curl | sh tbh. Most applications I use are distro packages anyway. I think reinventing package formats isn't gonna improve linux itself
      In conversation Thursday, 02-Nov-2023 04:17:46 JST permalink
    • Embed this notice
      Billy O'Neal (malwareminigun@infosec.exchange)'s status on Thursday, 02-Nov-2023 04:18:32 JST Billy O'Neal Billy O'Neal
      in reply to
      • werdahias

      @drewdevault @werdahias I did. I don’t see how it changed this equation. Saying “Don’t worry about how long it takes distros to ship you” does not solve the problem. I can’t tell customers “sorry, I fixed that bug last year, but your system runs Ubuntu 20.04 or RHEL8 and we haven’t waited around long enough for the unpaid voulentrers that maintain those to ship our update so there’s just nothing I can do for you”.

      In conversation Thursday, 02-Nov-2023 04:18:32 JST permalink
    • Embed this notice
      Drew DeVault (drewdevault@fosstodon.org)'s status on Thursday, 02-Nov-2023 04:18:32 JST Drew DeVault Drew DeVault
      in reply to
      • Billy O'Neal
      • werdahias

      @malwareminigun @werdahias enterprise settings should pick a distro and maintain their own repo for it.

      In conversation Thursday, 02-Nov-2023 04:18:32 JST permalink
      Haelwenn /элвэн/ :triskell: likes this.
    • Embed this notice
      Drew DeVault (drewdevault@fosstodon.org)'s status on Thursday, 02-Nov-2023 04:18:33 JST Drew DeVault Drew DeVault
      in reply to
      • Billy O'Neal
      • werdahias

      @malwareminigun @werdahias read my blog post.

      In conversation Thursday, 02-Nov-2023 04:18:33 JST permalink
    • Embed this notice
      Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Thursday, 02-Nov-2023 04:22:13 JST Haelwenn /элвэн/ :triskell: Haelwenn /элвэн/ :triskell:
      in reply to
      • Billy O'Neal
      • werdahias
      @malwareminigun @drewdevault @werdahias
      > we haven’t waited around long enough for the unpaid voulentrers

      Yeah, because either you rely on yourself and maintain a repo (which btw means proper public-key-based authentication), or you get a proper *paid* contract.
      And this goes for everything FOSS, somehow outside of software this is a well understood concept.
      In conversation Thursday, 02-Nov-2023 04:22:13 JST permalink
    • Embed this notice
      Billy O'Neal (malwareminigun@infosec.exchange)'s status on Thursday, 02-Nov-2023 04:29:28 JST Billy O'Neal Billy O'Neal
      in reply to
      • Haelwenn /элвэн/ :triskell:

      @lanodan so to ship my software I now need a paid contract with every distro every one of my customers use? That’s great.

      In conversation Thursday, 02-Nov-2023 04:29:28 JST permalink
    • Embed this notice
      Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Thursday, 02-Nov-2023 04:29:28 JST Haelwenn /элвэн/ :triskell: Haelwenn /элвэн/ :triskell:
      in reply to
      • Billy O'Neal
      @malwareminigun Yet somehow for mobile applications this isn't a problem for businesses to understand.

      And you can cover the vast majority of people with just deb/rpm, there will be some outliers of course but that always happens (like how not everyone has either iOS or Google Play on their smartphones).
      In conversation Thursday, 02-Nov-2023 04:29:28 JST permalink
    • Embed this notice
      Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Thursday, 02-Nov-2023 04:36:39 JST Haelwenn /элвэн/ :triskell: Haelwenn /элвэн/ :triskell:
      in reply to
      • Billy O'Neal
      @malwareminigun Which you would still have to manage regardless, you're typically not compiling anything with a curl|sh for example.
      And using repo tools means you get proper tooling to effectively make something for all those targets.
      In conversation Thursday, 02-Nov-2023 04:36:39 JST permalink
    • Embed this notice
      Billy O'Neal (malwareminigun@infosec.exchange)'s status on Thursday, 02-Nov-2023 04:36:41 JST Billy O'Neal Billy O'Neal
      in reply to
      • Haelwenn /элвэн/ :triskell:

      @lanodan It isn't 'just deb/rpm', since any given deb/rpm often will not install unless it was produced on a matching distro, because the distros pick particular dependencies.

      In conversation Thursday, 02-Nov-2023 04:36:41 JST permalink
    • Embed this notice
      Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Thursday, 02-Nov-2023 04:54:25 JST Haelwenn /элвэн/ :triskell: Haelwenn /элвэн/ :triskell:
      in reply to
      • Billy O'Neal
      @malwareminigun What is snap except a packaging format? (That's also exclusive to Ubuntu, even distros derived from Ubuntu typically don't use snap)

      You can also ship static binaries in an rpm or a deb, how do you think Go and Rust applications are packaged?

      And curl|sh has the following core issues:
      - HTTPS provides no authentication, you're just downloading things from the net at random, this is very different from adding repository keys
      - Can't uninstall things properly or at least be sure that they are
      - Good luck making sure that updates work properly and are done in a timely manner with using a homegrown solution

      Didn't even Windows graduate from accepting to launch random binaries and require signatures?
      In conversation Thursday, 02-Nov-2023 04:54:25 JST permalink
    • Embed this notice
      Billy O'Neal (malwareminigun@infosec.exchange)'s status on Thursday, 02-Nov-2023 04:54:26 JST Billy O'Neal Billy O'Neal
      in reply to
      • Haelwenn /элвэн/ :triskell:

      @lanodan If I make a snap package or similar I don't have to manage that, because my app comes with all its dependencies.

      Similarly if my app is a bash script or I can statically link everything that matters.

      Again, putting that into an rpm or deb does not fix the original argument, since that rpm or deb won't be signed by the distro. Installing malicious code through an rpm or deb is no different than installing malicious code through curl|sh.

      If you require it to be signed by the distro, you are back in 'supporting Linux actually means supporting ~10 different platforms since there are ~5 distros that matter and their different versions are different universes'. This is a big part of why there's almost no commercial software on Linux.

      In conversation Thursday, 02-Nov-2023 04:54:26 JST permalink
    • Embed this notice
      Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Thursday, 02-Nov-2023 05:20:34 JST Haelwenn /элвэн/ :triskell: Haelwenn /элвэн/ :triskell:
      in reply to
      • Billy O'Neal
      @malwareminigun Right, forgot about that one. You got a single packaging format that mostly works for almost all distros.
      So how does it not renders curl|sh obsolete?
      In conversation Thursday, 02-Nov-2023 05:20:34 JST permalink
    • Embed this notice
      Billy O'Neal (malwareminigun@infosec.exchange)'s status on Thursday, 02-Nov-2023 05:20:35 JST Billy O'Neal Billy O'Neal
      in reply to
      • Haelwenn /элвэн/ :triskell:

      @lanodan sorry I don’t know why I said snap, I meant flatpak.

      In conversation Thursday, 02-Nov-2023 05:20:35 JST permalink
    • Embed this notice
      Breizh (breizh@pleroma.breizh.pm)'s status on Thursday, 02-Nov-2023 06:13:00 JST Breizh Breizh
      in reply to
      • Haelwenn /элвэн/ :triskell:
      • Billy O'Neal

      @malwareminigun @lanodan You need to pay if you want to have a word on how it’s done. You can pay nothing, but then you can’t complain on how they manage your software in their repositories.

      So either you do their work yourself (by having your own repository), or you pay them, if you want to have a bit of control on the distribution process.

      In conversation Thursday, 02-Nov-2023 06:13:00 JST permalink

      Attachments


      Haelwenn /элвэн/ :triskell: likes this.
    • Embed this notice
      Breizh (breizh@pleroma.breizh.pm)'s status on Thursday, 02-Nov-2023 06:33:41 JST Breizh Breizh
      in reply to
      • Haelwenn /элвэн/ :triskell:
      • Billy O'Neal

      @malwareminigun @lanodan You don’t have to support everything. If the distro’s packagers are in charge of distributing your software, bug reports will first go through the distro’s ticket system - normally, I admit, sometimes it’s not the case, but then you can say “it works here/can’t reproduce, contact your distribution packagers”. If it’s on their side, they’ll fix it, and you won’t hear about it. If they think it’s related to upstream, they’ll report the bug to you, usually after having reproduced it and with potentially much more detail than the end-user. It’s a win-win situation.

      Similarly, if the maintainers can’t package your application, perhaps they’ll ticket you for help (or report a problem if it’s because your generic build/deployment process is flawed). But it’s not up to you to test that it works on this distro, or to understand why it doesn’t work for them when it does for others. It’s their job, not yours.

      In conversation Thursday, 02-Nov-2023 06:33:41 JST permalink
      Haelwenn /элвэн/ :triskell: likes this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.