5 ms·
I don't think any major desktop OS handles this well. I suspect the final form for software installation is probably where iOS and Android are going in the EU,
by highwaylights 3y ago
I don't think any major desktop OS handles this well.
I suspect the final form for software installation is probably where iOS and Android are going in the EU, where there's a single means of installing software to the device so that everything can be sandboxed properly, but the acquisition/update process can be pointed to a URL/Store that the user has pre-approved.
macOS comes pretty close to what I'd ideally want in an OS with regards to installation - independent packages that are certified/notarised, but I'd like to see the OS allow for user-specified authorities beyond just Apple. That being said, I'm not sure I'd ever use them as it's part of what I'm paying Apple for, I'm really thinking more of Linux there.
A kind of flatpak/snap approach, but that has signing of the package and centralised management of the permissions for the sandbox at an OS level would be ideal in my view. That way it's still free-as-in-speech as the user can specify which notarisation authority to use (or none at all).
I really don't understand why seperate programs are handling removing their mother program in 2023, that's registry spaghetti messy.
- tobias3 3y agoYou are basically describing what Windows has as appx/msix. The decentrialized notarization authorities are the code signing certificate providers.
- highwaylights 3y agoI had not seen this, but it absolutely does (on the surface) seem like a solution to this problem. Thanks! I’d need to educate myself a bit more in terms of whether there are third-party authorities beyond Microsoft for the packages. Found this introductory video for anyone else interested: https://www.youtube.com/watch?v=phrD081sMWc https://www.youtube.com/watch?v=phrD081sMWc Note: I didn’t intend the Surface pun above, but it happened and we can all be glad that it did.
- mike_hearn 3y agoYes there are a few certificate authorities. For example DigiCert, SSL.com and others. You can also create your own e.g. for enterprise deployments. Or you could even set up a public CA if you wanted to, the process is standardized. So whilst Microsoft will sign for you if you distribute via their store, otherwise you pay per year for certificates and can distribute outside the store. There are problems with the system (cost, bugs, usability problems) but it is decentralized.
- mschuster91 3y ago> macOS comes pretty close to what I'd ideally want in an OS with regards to installation - independent packages that are certified/notarised, but I'd like to see the OS allow for user-specified authorities beyond just Apple. It's easy to run unsigned binaries/app packages on macOS: right click on the .app, hold down Option, then click Open and confirm the warning.
- tmpX7dMeXU 3y agoThat is not a user-specified authority.
- TheNewsIsHere 3y agoI would also like this option. I see why Apple finds it undesirable though. Software installation safeguards are a game of whack-a-mole with (e.g.) support scammers who ask grandma/Lee-in-accounting/Cindy-next-door to naively click through all the warnings. The closest Apple comes to this capability is achieved via device Supervision and MDM, which might be comfortable for some of us here in this forum but obviously isn’t practical beyond more technical circles. Baddies keep ruining all the fun for the rest of us.
- cm2187 3y agoAnd being the only authority also happens to be conveniently aligned to their financial incentives.
- mschuster91 3y ago> Baddies keep ruining all the fun for the rest of us. IMHO the blame rather lies with our politicians who are unwilling to take the steps necessary to cut the baddies off from the Internet. Let's see just how fast India, Pakistan, Turkey and other scammer hotspots clean up their act when the US+EU threaten to cut them off from the Internet and SS7 unless the scam callcenters are closed down for good... the amount of corruption regularly exposed by scambaiters on Youtube is insane. Billions of dollars of damages each year [1] from that bullshit and our politicians don't. fucking. care. [1] https://www.vibesofindia.com/fraudsters-in-india-cost-americans-almost-10-billion-in-2022/ https://www.vibesofindia.com/fraudsters-in-india-cost-americ...
- irusensei 3y agoEveryone is pointing at Windows but there are still installer software on MacOS. Normally crusty old corpoware like Citrix that needs to extend its tentacles to the whole system. On Unix/Linux land the prevalence of pipe curl to bash type installers is not much different. I normally keep both types away from my computers.
- jjgreen 3y agoOn Unix/Linux land the prevalence of pipe curl to bash type installers is not much different. True, but saying so will likely to earn you downvotes from those committed to this unhygenic practice ...
- bombolo 3y ago[dead]
- madeofpalk 3y agoOnly installers I’ve seen are the .installer bundles, which leave behind a manifest for automated uninstalling.
- Matl 3y ago> On Unix/Linux land the prevalence of pipe curl to bash type installers is not much different. This is a problem but only if you install software on Linux by manually going to the project page and copy-pasting whatever curl they have there, I think the difference is that mostly you're encouraged to go the package manager route, whereas on windows downloading .exes directly (ala the curl example) is the norm.
- jjgreen 3y agoActually no, the problem with curl | bash is that it can be detected on the server, so if the server is compromised, it can serve you malware and you will never know about it. It is safe(r) to curl > file, inspect the file, then execute it under bash.
- 3y ago
- alerighi 3y ago> I suspect the final form for software installation is probably where iOS and Android are going in the EU, where there's a single means of installing software to the device so that everything can be sandboxed properly, but the acquisition/update process can be pointed to a URL/Store that the user has pre-approved. Basically how Linux distributions works since the beginning. Tough at the start the installation source was not remote but a CD-ROM things didn't change. You have a repository of packages (that can be on a local source as a CD or remote source such as an HTTP/FTP server), that have some sort of signature (on Linux usually the pagkage is signed with GPG) with some keys that the user trusts (and the default are installed on the system), and a software that allows to install, uninstall and update the packages. Android/iOS arrived later, but they didn't invent anything.
- efreak 3y agoAndroid/iOS didn't invent this, no, however you're missing the sandbox part. Most Linux package managers don't sandbox anything.
- brap 3y agoiOS is the gold standard IMO. Apps are sandboxed, can only interact with the outside world via APIs (that the user needs to approve), one click uninstall and it’s all gone without a trace (at least in theory). Love it.
- fomine3 3y agoI think Android does it better with third party store and sideload support. It seems that iOS depends some security to their own the AppStore. (example: disallow dynamic code generation like JIT)