1169 points · by bangonkeyboard · 6y ago · 746 comments
If the message were completely transparent, something like "The developer didn't pay $99 for us to do a cursory check on them (or whatever it is that Apple does with that money), are you sure you want to run their software? [Move to trash] [No] [?]", then that would give the user the relevant information to make this decision, but as it is, virtually no mac user will understand what is really going on.
I also can't imagine $100 is easy to come up with in countries below level 4[1]. The OpenStreetMap Foundation recently introduced a way to waive the yearly £15 fee for OSMF membership if you have a certain number of map edits or otherwise contributed to the project. The OSM community seems to be quite diverse, but I can't imagine that Apple computers are less widespread than OpenStreetMap.
[1] https://www.gatesnotes.com/Books/Factfulness#incomegroups
GPL3 allows that. And looking backwards, apple shipped software that was GPL2, but would not ship software that was GPL3. As one example, bash and make all quietly stopped getting updates from apple when the GPL3 versions came out. (although apple sort of broke GPL with bash as it never shipped all the source for it -- missing the header file rootless.h)
One other point about these dialogs + the help message. You are required to contact apple to even see this online help. Apple deals itself into the equation no matter what.
- in apple tech, the users are volunteer products where servicing them gets a myriad of monetization, notarization etc.
- hope open source starts to ignore apple platforms as a target at some point. Being "*nixy" and presence of "brew" etc gave the false impression apple is in the open source camp.
The level of rationalization of these lock in practices is just sad to be honest, fully neglecting how software becomes more accessible.
Even signed apps have been victims of malware attacks and I do think the check is primarily to ensure the developer has paid their Apple tax. It isn't that high, but I don't think I want to spend it. If it normalized, Apple will surely increase it and developers would have absolutely no handle to protest.
People have been saying it since day 1 of the Apple App Store. It's called a walled garden and it should be attacked as the abuse of a dominant position it is.
That was wishful thinking from the get go.
No commercial UNIX was ever on open source camp, in fact they are the very reason while GCC was ignored for several years, it got a bunch of helping hands as Sun started the trend of user and development UNIX versions.
Also given NeXTSTEP heritage, UNIX on NeXTSTEP was always a means to have a foot on the DoD UNIX requirements, there was nothing open source about Renderman, Lotus Improv and many other NeXTSTEP based tooling.
GPL software can be used for any purpose, you just have to pass along the rights you were provided if you redistribute it.
https://opensource.apple.com/source/X11/X11-0.40/xc/programs...
But that’s for Apple’s X server, so maybe Bash’s is different? But I couldn’t find anything about that in a quick google search.
What's that about? The "macOS User Guide" is available online only?
Apple's focus is on maximising profit, and ours is on maximising mapping and the width of our membership, especially after the entryism attempt last year ( https://news.ycombinator.com/item?id=19008792 ).-
We've also recently received a non-profit signing certificate from Apple through our German local chapter, and two of us are working on getting JOSM automatically signed and notarized. Our workflow is at https://github.com/thomersch/josm/blob/master/.github/workfl... and a JOSM.app built yesterday can be downloaded at https://github.com/thomersch/josm/actions/runs/214334897 .
$99+ every year is a lot of money to an independent open source developer who's in most cases losing money for their work. The fact that a company worth $2 trillion is demanding it - it's really beyond outrageous.
Many of us used to pay for every single piece of software that we had to run on top of our already expensive computer around 2000 euros on today's money.
Apologies for the hijack...
Back to the main issue with right click.....
For that particular case, if you post the URL or location I can take a look if you want.
Interestingly enough, it seems to be possible to notarize someone else's app, so perhaps it might be a worthwhile use of my developer ID to provide this service to people I trust but don't want to shell out money…
If you check the code signature of a Developer ID signed app, you'll see the developer's name and Team ID from the signing certificate. This guarantees the app was signed by that developer, as long as the developer has kept their private key secure.
First you sign the app, then you upload it to App Store Connect for notarization. It's an "open secret" that Apple has allowed any Apple Developer Program member to submit any app for notarization, even if the app wasn't signed by them. Apple really wanted all apps notarized. Whether Apple will crack down on this practice in the future, who knows.
The notarization "ticket" is signed by Apple, not by the developer. I've heard of developers who discovered that someone else notarized their app. But nobody else can put their "name" on the app except the owner of the Developer ID certificate. If you Developer ID sign someone else's unsigned binary, you're presenting it to the world as your own. But that's not the case with notarization. Nobody except Apple knows who submitted an app for notarization.
Note that I'm not necessarily arguing that training people to click "yes, yes, continue..." is a good idea. Digital security is my day job and I totally see why Apple wants digital signatures for software. However, the message is opaque about what is really going on and just tries to scare people into buying "trusted" software rather than using free software: that developer fee doesn't pay itself.
> perhaps it might be a worthwhile use of my developer ID to provide this service to people I trust
I was thinking the same, we could pool the money, but figured Apple almost certainly prohibits that "for security".
I don't think so, the concern would be revokation, if someone does a bad thing and Apple pulls the cert your entire friends would lose access.
I wonder if it would make sense to do ring-based instead (r0 being most trusted)
macOS is becoming an increasingly difficult platform on which to release software. We're going down the notarization rabbit hole (which is a nightmare), but given that we don't fit on the App Store, it's very obvious that Apple doesn't want us on the platform.
My suspicion is that they will eventually charge $$$ for a "developer unlock" on Apple Silicon, a move that I think will make both Windows and Linux look increasingly attractive to developers.
I should also note directly launching the binary inside the App bundle from Terminal bypasses the UI dialog. The assumption is you know what you are doing in that case.
You can also remove quarantine flags from anything you download and after that you don't have the right click option either.
For example:
xattr -dr com.apple.quarantine ~/Downloads/Absolutely-Not-Malware.dmgIt isn't. Apple's view of the world is that computer users are non-technical consumers who need to be protected from others and themselves, and that Apple are the ones to offer that protection. Open source is antithetical to this view because it puts the responsibility on the user, which is the last thing Apple wants.
I can sympathize to some extent with this view. There's obviously a large (perhaps majority) share of computer users who it describes - just not small/independent developers/hackers. Those users are better served elsewhere.
E.g., a reader would have to understand the perspective of the developer to even start to guess what that might mean. (Why would a developer pay or not pay $99 to Apple for verification? How do the implications of that affect my decision to run this program?) It would be pretty much meaningless to the average non-developer user.
I agree the price of notarization should be a nominal incremental cost. I don't know if there are many level 3 people doing MacOS development, but if so, there needs to be a cheaper price for them. (The numbers of level 1 and 2 MacOS developers must be practically nothing.)
>>I also can't imagine $100 is easy to come up with in countries below level 4[1]
Someone who is developing for Apple platform in specific, has already spent ~$1000 in devices. Say they couldn't afford to build explicitly for Apple[1], they instead develop for web using a Raspberry Pi and try to leverage smartphone capabilities using PWAs; Alas Apple throws in hurdles there as well so that your PWA doesn't function properly on Apple devices[2].
I get it, perhaps this is part of Apple's aspiration i.e. 'You should deserve to be part of the Apple ecosystem' which is enticing to its customers.
But what's overwhelming to me is, Apple's blatant hypocrisy.
Exihibit -1: Data
Apple calls Google by name, questioning its business model around data and proudly calims 'they chose not to do business with data'.
Then why does Apple advertise its products using Google Ads?
So, it's like 'I will call out dirty work, but I will use the results of that dirty work for my own advantage'.
Exihibit -2 : Values
Apple claims itself to be the beacon of human rights.
a. We know Apple was included among list of other companies supplying user data for snooping in the documents highly regarded to be genuine.
b. We know Apple actively cooperates with an autocratic regime and its highly publicised 'Privacy features' isn't applicable there. But, Apple never includes 'USA only' when it advertises it's 'Privacy'. More over when confronted with proof of Apple's platform being actively used for exploitation of minorities, it outright downplayed/dismissed the impact of it.
[2]https://ionicframework.com/blog/is-apple-trying-to-kill-pwas...
Ignoring the fact someone might have been given a Mac by someone else, or bought one second-hand for less, or that they might be working on a computer they don't own themselves, why is it that someone who can afford $1000 for a Mac can automatically afford another $100? Surely there has to be an amount that you assume they can't afford, right? If they can afford 10% more then why not 15%? Or 20% or 100%?
You're applying a sort of reverse of Zeno's Arrow[1] to affordability, and I think shows a distinct lack of understanding of how money works when you don't have all that much of it.
[1] https://en.wikipedia.org/wiki/Zeno%27s_paradoxes#Arrow_parad...
Someone who has invested in ~$1000 specifically to develop applications for Apple ecosystem has to invest $100 to release the application, that is the overall context of my statement in that sentence.
>You're applying a sort of reverse of Zeno's Arrow[1] to affordability, and I think shows a distinct lack of understanding of how money works when you don't have all that much of it.
Cherry picking part of my sentence to make a statement, then claiming to throw insight about my understanding of how money works based on how much of it I have seems like using your own logical fallacy intentionally to make an ad hominem argument.
> ...Then why does Apple advertise its products using Google Ads?
Congratulations, this cracks top 5 oddest Apple hater argument ever posted in this land of many of 'em.
Why again? In the world of silos and proprietary platforms it's an absolute godsend that PWAs even exist.
If you could give a justifiable answer to what you've quoted from me, I'm all ears.
"Here are the sources, here are the binaries, here you subscribe to get access to signed binaries that run without the scare quotes"
Not to mention it undermines the purpose of notarization, so if it became popular enough they'd probably just squash it.
sudo spctl --master-disable
This removes all of these dialog boxes entirely.
Does this change affect running unsigned binaries from the terminal?
Apple has as low as 0% penetration in those countries. The market has solved this problem. They still use technology; there are alternative platforms. Android, Windows, ChromeOS, KaiOS, and desktop Linux (which has as high as 5% market share in India) are cheap to use and develop for. It was always going to end up this way. There's the brand for the haves and the brand for the have-nots. Although even people on welfare in the United States have iPhones, consider that they're still the elite in global terms.
What they primarily "do" is have an identity to sue or pursue in case of issues. That keeps everyone in line.
They do the same on Windows of course and on Linux package managers.
When Windows 10 finds an unsigned installer it shows a dialog with a Don't Run button and as the name suggest clicking that button does not run the installer.
To run the installer the user needs to first click on the More Info link which will then present the user with an option to Run the installer.
Here's an example: https://www.zeusedit.com/images/zeus_install.png
For years, Windows got laughed at by EVERYONE because there was so much malware on it - in part because of its laissez-faire approach to letting the user install anything from anywhere.
Mac went for the closed garden approach and there's hardly any malware, adware, scareware or whatever -ware you can think of on the platform, which is one of the reasons why Mac is safer and considered to have a better user experience.
Curation is not a bad thing. And if an open source application wants to become popular for the masses - not the HN power user crowd, which represents only a small percentage of potential customers - they have to conform to its rules.
Likewise, they will want to be available through the Windows store as well.
Using the tools and platforms offered by the OS developers is the lowest friction option for installing software.
As for poorer people and countries, isn't this where the open source charities come in? Isn't this where the big FAANGs - including Apple - and the investors and everyone that earned billions off of software should come in? I mean come on, it's only $99.
Gatekeeper is a commercial boiling-frog lock-in strategy sold as a security feature nobody asked for.
> open-source charities
Open-source, as a term, was invented in order to sell what was then called Free Software. It has nothing to do with charity.
> Curation is not a bad thing
Apple does little or no curation on the Mac AppStore, because the amount of developers using it is still relatively low.
This comment makes it seem like installing software outside of a curated store is responsible for security issues, but this is exactly what Linux and other like OSes do. You can install apps from anywhere and I'll wager you'll find less malware, adware etc. for them in the wild, than the Mac. Granted usage of these platforms as a Desktop is way lower making it a less attractive target for bad actors, but much of it owes to inherent OS design.
> And if an open source application wants to become popular for the masses - not the HN power user crowd, which represents only a small percentage of potential customers - they have to conform to its rules.
Open source applications have been popular with the masses way before the curated store app store model came into place. Publishing on an app store has a good chance for increasing outreach, but it should not make distribution and installation of applications in the classical way more cumbersome, should the user so desire.
The difference is that there is no rent seeking and you can choose your curator.
It would be hilarious if Facebook, Apple, Google, Microsoft, Amazon, Netflix, etc. decide to start a charitable foundation which just deposits $99 checks into Apple's bank account. They should do it. I wouldn't be able to stop laughing.
Curation, in the sense that Apple uses the term, is a bad thing because it creates a false sense of security. It blurs the line between protecting users from security threats and protecting Apple's business interests.
If Apple was truly interested in protecting users, they would keep these things separate as much as possible.
But they're doing the exact opposite. They keep mixing these things up as much as they can in order to shield their questionable business practices from scrutiny.
On top of that, the iOS side-loading ban is clearly aiding and abetting human rights violations.
So small utils and stuff, smaller open source projects etc. are not legitimate? Or should they shell out $99 extortion fee to have the pleasure of giving stuff away for free? This is just one of thousands cuts that will kill traction for Mac software.
I mention this since these stores are more comparable in size than Mac v Windows.
> As a Mac developer, it's nearly impossible to run a viable software business when this is the first-run experience of new customers. You'll never get any new customers! This is why every Mac developer I know signs up for Developer ID and ships only signed, notarized apps. It would be financial suicide to do otherwise.
If you have hung your shingle out to make a profit, then the developer account, signing, notarizing, etc. is a cost of doing business, and you can easily justify it. The more customers you get, the more money you get, so you are motivated to reduce the first-run friction.
If you are not in it for profit, you probably have a lot more tolerance for a little first-run friction, and having users drop out of the funnel. Fewer users does not affect you financially. As a hobbyist programmer, I wouldn't care. I'm just releasing a program--not looking to dominate a market.
I don't need to many money on my side projects. I do, however, want to help people. If I can't help people on a Mac because of the install friction, then it isn't worth my effort to create a MacOS port of my software at all.
But what if I'm not doing this for profit? Can Nirsoft or Mozilla apply for a waiver? Can I? We may not be looking to dominate the market, but it would be a shame if our work just went to waste because people would rather pay for something crappier that is closed source rather than our free (as in freedom & beer) software.
(Yes, Mozilla is a huge project where it isn't worth employee's time to apply for a waiver, I just needed at least one name that people know is a non-profit software developer as an example.)
It is still convenient enough for me to run software I want that isn't signed, but sufficiently obtuse that neither of my parents have figured it out. Given they are both prone to running any executable that any website tells them to download and run, this feature has probably save me several dozen hours of fixing their computers.
New versions of mac os introducing new restrictions.
Doesn't take a genius to see that their end goal is to make mac os as restrictive as ios.
When that happens, will it still be the right spot for you?
Apple moved their focus from the professional market who were willing to pay premium for productivity with better UX/Hardware/Software, to people paying just the premium .
It is a lifestyle brand now, people money because it is Apple, not because there is real value they gain for the higher cost.
Depending on what you work with, Windows or Linux is by far better option today. MS listens to developers (eventually), WSL , professional support, a lot of graphical professional grade applications all make it attractive. Linux is lot more flexible, works with less friction makes it easy to work with containers servers etc,
If you really need Apple hardware dual boot or flash a sensible OS .
Oh come now, there are millions and millions of professionals using macOS to do work every single day.
This is basically a slippery slope fallacy. Today they're making it marginally hard, what might they do tomorrow?!?
There are many reasons to prefer macOS to Linux or Windows. The Apple ecosystem works extraordinarily well together. There is nothing that you can buy, not with all the money in the world, that matches the seamlessness of owning an Apple Watch, iPhone, iPad, AirPods, and a macOS device. You can't do it with Linux, Windows, Android, or anything else. It doesn't exist.
I prefer macOS for development work, and for basically any kind of work. I loathe the Windows UI/UX and Linux is far too often a second (or third) class citizen. There is nothing that I have needed to do that I have been unable to do because of macOS. Not once.
Not to mention... if you want to write software for macOS, iPadOS, WatchOS, or iOS you must own at least one Mac.
My 2013 Macbook Pro is also still the best laptop I have ever used (I also have a 2017 Macbook Pro for work and I have to admit that the newer models rightfully earn their bad reputation).
If Apple continues to head in this direction, I think the right move is to migrate to Linux. Windows is a huge step back, as far as I'm concerned.
People who do not see the value love to say this, but it doesn't make it true.
Or you just buy apple stock and keep using Apple ? That way you are just helping yourself.
I've been hearing that for the past decade. With the exception of some reasonably deprecated technologies (32-bit support, etc...), to this day I'm able to run essentially all of the software on my Mac that I did back in 2010.
If and when Apple does prohibit the running of third party apps, I'll switch to another platform. Until then, this is all just FUD.
So yes, you can run the same software (mostly) as in 2010 knowing the workarounds. But as a consumer you are probably missing out on new, great software because developers wont pay the apple tax to make their stuff available. So you're already affected. It's not FUD, you're just not seeing the issue.
Apple doesn't really care that you can run it by using a bunch of workarounds if they have 99.9% control over all software distribution.
still the real concern many have is, with the switch to ARM based processors will MacOS effectively inherit the restrictions of iOS
What makes me sad is there is nowhere to switch to seamlessly.
The writing has been on the wall since gatekeeper was introduced, but we stayed because there is just no better option. Some options are viable, but require sacrificing a decent chunk of the comfort we have now. It's the eternal waiting for the "year of desktop linux" except we moved the goalpost to laptop linux, battery performance, commercial third party support etc.
The funny thing being that people who didn't have these frictions already switched and will say "just do it, it's easy". But we won't have a choice anyway.
I do wish they would just bundle up all of the safety-guards under a single toggle - put it in the recovery UI for maximum obscurity - to make this stuff as convenient for developers as possible. But I take the fact that they don't to be a shortcoming of product development, not malice.
I don’t see that. I see them trying to protect average users from malware, something they have done a pretty decent job of.
It’s the job of a gui shell (finder/explorer) to discern user intent and do the thing it thinks the user wants. This is that happening. Users don’t want to run malware.
I’ve not seen anything that suggests that Apple wants to remove the ability of people to run arbitrary programs. Indeed, it is essential for developers to run novel binaries.
People like Gruber coined the term "App Console" to try and justify locked down iOS yet we're also told how powerful iPads are and how they're computers.
Why is it ok for the iPads to be locked down "App Consoles", if that's ok shouldn't it also be fine to lock down Macs and force everything through the App Store and make sure Apple gets a cut from say Creative Cloud subscriptions and Alberton Live installations?
I personally don't agree with any of it but I'd like to try and understand why people think one is ok but also not the other.
The iPad is by definition a more limited environment in that it IS locked down and heavily sandboxed. What you get from that is a hyperportable tool that pretty much Just Works All The Time without the need to worry about security or administration.
There are absolutely things you can't do there. For any advanced user, it's unlikely to provide a sufficient computing environment in and of itself -- but there are lots of folks for whom a nice iPad is entirely enough. My 80 year old mother only rarely touches her laptop nowadays (realistically, it exists for the version of Quicken she likes + the need to write embroidery patterns to flash drives for use with her INSANELY complicated sewing machine).
This is good.
But you trade some things away by setting the dials in that way (high portability & battery, high security) -- obviously, there's less direct user control, and less ability to customize, and outside environments like Pythonista I don't think there's any way to write code on it you could use on it.
But that's fine, because if the iPad doesn't meet your need as a primary, you probably have a regular computer on your desk, too. A Mac works just like computers have worked for 40 years -- you own the machine, down to the metal, and can do anything you want with it. This freedom comes at a cost (increased risk of crashes or malware infection), and may not represent the dominant mode of computing for regular humans going forward. That's fine. Not everybody needs that.
So the distinction is actually really simple: They're different products, positioned to address different user stories. Why shouldn't they have different approaches to lockdown/security/customization?
I mean, car makers have several models available, too, with often very very different capabilities and functions. That's also ok.
Well, there is no Mac ransomware, right?
Apple's new linker automatically adds an ad-hoc signature to ensure people building outside Xcode don't experience any disruptions as part of this new requirement.
This requirement does not change GateKeeper or Notarization.
More details here: https://eclecticlight.co/2019/07/09/understanding-signature-...
However my impression is also that it's mostly non Mac users who are concerned with this, so it seems unlikely that Apple will have much incentive to reverse course unless they screw up and go a few steps too far too soon and create a bigger outcry. Even that would probably just delay the process.
Nothing has really changed in this article though. You can still run software just as before.
Can anyone confirm if I am recalling this correctly?
But I almost never see anyone pointing out this is the equivalent of think of the children applied to software distribution.
While indeed this kind of control reduces the chance less informed users run random code downloaded from sketchy sites. I think it does little to actually curb malware, since all you have to do to pass the bar is pay 100 dollars to apple.
I believe this is Apples attempt to fully control the software distribution business for macs the way they do for iphones. Eventually mandating that all software comes through their store, uses their payment provider, etc.
Out of curiosity, how often do your parents encounter the dialog in the article?
But in the Windows days every time I'd visit, they'd say there computer was "fucked" and had been put away until I could look at it.
It's shocking, it's worse than Windows (sad fact: Mac has more malware/adware than Windows since the last 3 years).
Of course you can't see that if you're not on Mac or if you have an adblocker. Ads detect the browser and specifically target Safari. Safari removed support for extensions last year, dropping all adblockers, it's wide open to targeting.
Safari has ad-blockers. It also has extensions. Just google it.
> Safari removed support for extensions last year, dropping all adblockers, it's wide open to targeting.
This is not true. There’s a dedicated section in the Mac App Store for Safari extensions, including ad blocking extensions:
The issue is not whether expert users can run unsigned software, the issue is whether unsigned software will even be written and distributed by developers. Perhaps some free software, but it's not a viable way to distribute paid software.
Currently most desktop management structures try to do it backwards by taking an OS, i.e. macOS or Windows, and then trying to glue restrictions on top of it which always leaves holes or undesired side-effects.
The best 'middle of the road' so far seems to be active monitoring with Apple's or Microsoft's native management tools or with stuff like OSQuery; it also tends to be less intrusive for people that are convinced they are 'better than average' (nobody is) and don't need to have an MDM babysitting them.
But even then, there will always be people thinking their personal preference definitely means the big bad corp did it wrong or their personal need is more important than trying to do something about the constant barrage or crap any machine faces during its lifetime.
For the home user, all bets are off.
I know the complaints remain that not enough apps are in the Microsoft Store, especially compared to iPadOS and Chrome OS if you include Android apps, but it is comparable to Chrome OS without Android support and still seems like an "alright, not terrible" third choice.
Personally I'd prefer family to be on iOS than MacOS, there's even less rope to hang yourself with there.
Mobile OSes got to rethink everything in an era of constant adversarial connectivity and started off on a better foot in this regard.
Software like clipboard managers also wont work. Screen sharing and remote desktop software similarly wont work. Screencast software wont work. Hotkeys software wont work. Most desktop automation software wont work.
I could go on and start looking at what i have installed to extend this list (i'm sure most of the software i have on my PC wont work), but i guess you get the idea. Almost everything that doesn't fit in the media consumption model that you'll often find on a phone or a tablet wont work (and amusingly enough, at least on my Android, stuff like a file server does work, though i've heard Google wants to remove that functionality).
For example, some backgrounding modes on iOS require an app to get an entitlement to act as a VOIP client, or a mapping directions app. The system access is limited to only give access to the things which a VOIP client or map should need in the background.
On iOS, ReplayKit allows apps to participate in screen casting - both with first party support for an app being cast, and for an app which wants to share a video stream out.
Screen sharing on macOS also will likely move to ReplayKit, but it currently requires the user to approve a request to share the screen.
You can open a 'folder' rather than individual files to gain access to a full project structure.
Clipboard managers are difficult in a sandbox model where the clipboard manager has no permission to stay running in the background. Similar applications like custom keyboards on iOS solved this by having a smaller 'extension' stay resident, and having that extension run with a very restricted set of permissions. For instance, no access to shared storage, IPC, or to the network. A keyboard must work without these permissions to get in the App Store, but they may prompt the user to elevate permissions.
I agree with this, but I can't fully get on board with it.
I've worried about the lax security model of desktop software too. Apps these days need to ask permission before accessing my documents, or my desktop, or my downloads folder, but they can still access all my company's code and SSH private keys. It feels wrong for this to be open-by-default. Same with accessing the clipboard, or drawing on the screen, or changing system settings, or injecting code into the Finder: these all seem like things I want to opt in to doing.
But my problem with this — and it's a stretch, I know — is that if the only extra entitlements a program can have are the ones that Apple explicitly allows, then no developer can have any ideas outside of what's already been thought up. As we increase security, we also dry up the innovation well.
For example, there's a Finder API that allows you to add badges to files in a directory to reflect their syncing status. This is an API that Apple allows apps to use — but it was originally implemented by Dropbox, which injected code into the Finder. They had the idea, and the idea turned into a general API.[1] (Now that I think about it, there's almost certainly prior art to this, but Dropbox was where I first saw it)
Similarly, I use a whole bunch of background utilities that currently use the "Screen Recording" or "Accessibility" Privacy permission on macOS, even if they aren't screen recorders or accessibility helpers: things like letting me move windows by holding Option, or switching apps by using the keyboard, or a Spotlight replacement, or adding a delay to ⌘Q, or the snippet manager I just used to insert the '⌘' character there. The entitlements that allow these applications to continue existing were developed after the applications themselves, and to use them, I have to opt-in to functionality that was previously allowed. If the entitlements didn't exist, we'd have to rely on Apple to think it up, and the way they're behaving, I doubt they'd be as generous as allowing one like "can read any pixel and draw anywhere on the screen".
Clipboard managers are another thing that wouldn't exist if OSes started out locked down. Not only do you need to access the keyboard, you need to do so from the background! It was the openness of desktop OSes that gave developers this idea — on iOS, nobody would have thought it up.
Way back when, in iOS 4, Apple gave apps the ability to run in the background, but only certain types of app — music playing, voice calling, and location-based apps received dedicated APIs to do that. Again, Apple waited to see which types of program were popular on other platforms, and based their APIs around allowing those specific kinds of app. If all platforms started life locked-down, maybe one or two of these categories won't be available today.
f.lux, the program that runs in the background and dims your screen red in the evening, is another example. I used to love using it on my desktop computer. But in iOS, they asked for the API, and weren't given it. And honestly, I'm kind of on Apple's side with this one: tinting the screen is the sort of system property I want only done by the OS itself, not an app, so now I use Apple's implementation of the same idea, Night Shift. But again, if the ability to tint your screen did not exist on desktop OSes, I'm willing to bet that Apple would not have come up with the idea.
And even if the idea is there for an entitlement to exist, that doesn't mean that Apple are going to allow it: adding one costs developer time, testing time, and documentation time. In a recent episode of Accidental Tech Podcast, I discovered that Switchglass (a Dock replacement I use) isn't allowed to Quit other apps, a feature I've sorely missed, because it's disallowed by the macOS sandbox. The idea for the entitlement is there, and the need is there, but Apple isn't bothered about apps opting in to such fine-grained functionality as quitting others. Ask me it through a prompt! That would be great!
I hope you see what I'm trying to say here. It used to be the case that macOS "allowed" iOS to exist, because it soaked up all the complexity — and slowly, features that proved popular on the desktop were allowed to exist, in a secure fashion, on mobile. I'm worried about how when I run random programs on my Mac, they have access to all my important files. But I'm also worried about the future. The tighter the grip OS manufacturers have on what sort of code can run on users' machines, the less innovation we'll see, and the worse computers will become.
[1]: https://developer.apple.com/library/archive/documentation/Ge...
The real problem is that the desktop security model is outdated - it was designed for a world where software developers are trusted by default and users need to protect their data from each other. Today we can’t trust that developers will respect my data. I mean, the fact that any application I run or any npm module I transitively install could upload or delete any of my personal documents is insane. We absolutely need to preserve my ability to run software I write, and run screencast software, file servers, etc. But permission to read my data should not be given by default to any software I happen to run. The Epic thing makes me nervous but generally I think Apple’s direction here is the right one.
Media consumption apps are nice and good but I think pretty much all innovation is dependent on media production apps. A permissions model that treats media consumption as the most important use case will necessarily inhibit artistic expression and utility.
Why is it any different today? You can always only install applications you trust. It would be useful to have sandboxing for untrusted applications (especially when said sandboxing would also allow you to monitor what the application is doing), but not all applications are untrusted.
A game engine isn't likely to do that in a production build. Even if it wanted to though, these sorts of "file ticket" sandboxes still has support for "directory ticket" and "file watchers". Even if storage specifics like "drive" or "path" are opaque to the application, they can still ask the user for permission to an entire directory (either explicitly in an "Open Directory" or implicitly in directories they naturally own such as "app data" and "resources" directories). Figuring out "where" that directory is for the user in Blender or Krita might not be straightforward, but just because those "tickets" are designed to be opaque to applications doesn't mean they have to be opaque to users and the operating system has lots of interesting possibilities to answer user questions about where things are, such as smarter Save File dialogs that are "ticket aware". ("Open Tickets > Game X has an Active File Watcher on this Resource Directory")
Almost all the same applies to other similar tools like file servers, file managers, VCS clients. Opaque/transparent is a "cone" in "ticket" based systems. It probably should be opaque where exactly my "file share" folder is stored, and all of my folders that are not my file share folder to a file server, so long as the contents inside that file share are transparent enough. The hard thing is defining those "cones", but the past default of "everything is transparent" is a problem and the over-correction in some systems to "nothing is transparent" sometimes blinds us to finding better ways to define these visibility cones rather than complain that they exist at all.
(Fwiw, all of the above is possible in the strict UWP Windows sandbox today: you can ask for directory tickets, you can ask for file watchers with those tickets. This isn't entirely theoretical, there have been practical applications, if not enough.)
I actually have worked on two AAA game engines that did exactly that. The entire idea was to make importing stuff easier and minimize the time between the artists editing content in their content editor and having it imported and visible in the engine.
> Even if it wanted to though, these sorts of "file ticket" sandboxes still has support for "directory ticket" and "file watchers".
How are those given exactly? You'd need to ask for permission for every directory? If you cannot have the program monitor the directories, how would it know that a file changed before asking permission? Or the permissions will be asked at startup (since it is very common to edit existing content instead of only importing new content - the editor remembers the original paths for all content and can start monitoring it at startup).
TBH this all sounds like a UX nightmare, especially when the entire goal is to make the process smoother.
just curious, but what makes it specifically hard?
SPI is system private interface, also known as private API–Apple doesn't document it, can change it at any time, and usually discourages its use.
Whilst this works for some programs, it gets... Difficult... When dealing with others.
What permissions should sh get, for example? And do the programs it will call inherit the same, or do they get their own permissions, or a hybrid?
The permission model works pretty similar here to a restricted user account. It sees system files as read-only, cannot see the contents of certain files and directories, etc. The root of the filesystem might be of the parent system or of the sandbox itself.
On macOS, reading certain directories (like the user's Desktop) will result in a user consent prompt due the sensitive contents. There is, after all, no guarantee that the request was directly initiated by the user, and not some curl-pipe shell script. There is however a "Developer Tools" entitlement that encompasses all of these sorts of prompts - but this is meant to be enabled through a developer action and not any user-presented prompt.
On macOS, there are basically higher-than-root system integrity protections, such as modifying files that the OS maintains. You can disable this system protection by booting into recovery mode and running a command-line tool.
Generally, the goal with system integrity protection is not to restrict professional work but to restrict the ability to publish software that tells the user to disable system-wide protections. There was recently an issue with the Google installer where a Chrome update wiped out part of the system when these protections were disabled, primarily noticed on hackintoshes and video production Macs where tools require SPI to be disabled to run unsigned kernel extensions, etc. Oops.
Apple has been trying to reduce the need across macOS releases to have applications need to be installed at all, with recent releases making items like browser, system, and kernel extensions bundled inside the application itself rather than being distributed across the filesystem. The goal is likely to eliminate app installation on macOS from needing to be a privileged operation.
For example, say you use pass [0], it's just a Bash script. You want it to be able to access pbcopy/pbpaste, for basic functionality to work. You don't want to give it permission every time.
However, you probably don't want sh to be able to access pbcopy/pbpaste without permission.
Scripts themselves should hold certain permissions, but those permissions are currently held by their host application, because sh /usr/local/bin/pass isn't identified by the system as an application. The app is still considered to be sh.
More importantly, if they see something like a permissions screen, they will have a false sense of security.
And severe restrictions on the app, would hamper user experience. Code signing and developer ID are the most practical means to ensure quality software.
With weak sandboxing we're still left with the problem of LPE -- once you're on the box (with, by default, unlimited network access!) you can gain root quite quickly, because the kernel interface is rather large. So you still need code signing and developer IDs. However dev IDs could be a federated system -- user's shouldn't have to accept Apple as the total and sole authority for accepting or rejecting apps/developers.
$100/year to avoid a scary warning about how your app is definitely a virus? It's like a protection racket.
Developer time to build out the signing and notarization features is not free, and running the notarization servers in a highly-available manner is also not free. As much as we all like to call out Apple sometimes for how they don't take good care of their developers, adding hoops for your developers to jump through is not a great idea.
So I think in some ways Apple really does it for the security aspects, and also probably just because Apple likes to maintain rigid control over their experience.
Why not?
Apple has been pushing very hard lately to increase their 'services' revenue, by getting users to sign up for Apple Music, iCloud, etc. It makes perfect sense for Apple to force developers to jump through hoops, not because it makes the developers' lives worse, but because it gives Apple a leg up! Some examples:
• When launching Chrome for the first time, you have to opt-in to Chrome notifications, but macOS pops up its own notification telling you to use Safari instead.
• Similarly, Apple News notifications are allowed by default, but you have to explicitly opt-in to notifications from other news websites.
• Again, similarly, you'll get Apple Music adverts through push notifications, something that's explicitly disallowed in the App Store guidelines.
• System Preferences gets an obnoxious (1) badge next to it, because I haven't signed in to iCloud.
I use SyncThing, rather than iCloud Drive. It definitely benefits Apple to waste the SyncThing developers' time and money keeping up with things the iCloud Drive team doesn't need to deal with — do you really think the sort of company that pulls shit like the above would do anything different?
I can definitely see it not really being about money, and more about leveraging their monopoly to push their own competing services.
Link to a screenshot of this Safari notification when Chrome is run?
> Similarly, Apple News notifications are allowed by default, but you have to explicitly opt-in to notifications from other news websites.
Reference to an article about this?
> • System Preferences gets an obnoxious (1) badge next to it, because I haven't signed in to iCloud.
This is something other apps can't display...?
There are +20M registered Apple developers.
https://techcrunch.com/2018/06/04/app-store-hits-20m-registe...
So while $100M might not look like a ton to Apple as a hole, it might look like a lot to the business unit responsible for apps on macOS
Since the latest awful hardware products (terrible keyboard, control strip thing that breaks, no escape key) with MacBooks and a great improvement with using Linux via Purism and System76 I've managed to move away from Apple.
There's also a physical ESC key now, and for me, personally, the touchbar is a pretty neat feature after a bit of getting used to it, and some tweaking.
No idea if it is prone to fail, but I believe the rather sizeable fleet of touchbar Macbooks at work hasn't had a broken touchbar yet (there have been other failures)
I've yet to see anyone get a Linux machine and not struggle with something; maybe that'll happen someday soon, but so far everyone seems to have issues that I'd find unacceptable.
(Hopefully Apple comes up with a more formal process going forward...)
People from rich countries that have the spare time and skills to write reasonably decent software are likely to have $100 of disposable money per year and would probably be donating anyway, so a donation might be reasonable, and I'd understand if Apple takes a few dollars to do <whatever they claim to currently use this money for, I imagine there is some sort of vetting going on even if it's only to check that you're not on their malware authors blacklist> but it really won't cost a full $100 per developer per year. For that money they can fly in from the nearest English-speaking country to verify my scowl.
The most recent opportunity to attempt this would be with the architecture change this fall, which they have not taken.
Epic is empowered to get their app back in the store tomorrow if they want to release an updated build without the contract-infringing functionality.
They probably have lost their chance to be features by Apple or to be invited back on stage in future keynotes, but at least to me it appears Apple is trying to not be punitive in their reactions. Epic has consistently been given a no-nonsense way to recover.
Especially when it comes to privacy protections, where every user's standard for privacy is going to be unique.
I do wish Apple had a free tier for open source projects, just like many other tools on the web.
As an alternative, I wish there was an easy way to "sponsor" open source projects for this sort of thing. (I guess there is in some cases, but it's pretty hit or miss)
On Windows, although it's pretty easy to run unsigned applications, it's a huge pain to install unsigned 64 bit drivers, even if it's just the inf file that's custom. I've ended up signing open-source drivers several times with my own code signing certificate (a few hundred bucks every few years) although I haven't distributed the result. Drivers for things like USB SDRs.
Thanks for the comment! I've referenced this in a new addendum to the article.
Moral of the story is, if you want to protect your users, you have to bring some level of inconvenience and frustration to them. Or be sure that I will run that malware no matter what you say.
[1] https://forum.transmissionbt.com/viewtopic.php?f=4&t=17834
Being required to load your app every 7 days is such a major pain in the ass. Does anyone actually think that sideloading/self-signing is a realistic and viable way to build your own software stack (that can also be shared with other people) on an iOS device? It's obvious that this mechanism is only for development environments and the intention is that the app will eventually be signed with the $99/year version.
It turned out to be ransomware, for anyone not following.
Because that's a bad moral.
There seems to be a trend in the US society today to error more on the side of safety than liberty than I've seen ever before. Particularly, this is a change in the tech community which has been a bastion in the fight for individual freedoms since I've been alive.
In the end, when you make that bargain at the levels we are making it today, the safety is only temporary but the damage to liberty is unrecoverable without starting over.
It's a bad bargain.
To be clear of straw men, I'm not saying that individuals (not groups) who have personally demonstrated bad behavior should have complete freedom to repeat such acts. This argument is, and always has been, about pre-emptive actions against the innocent in the name of safety.
Perhaps the fine article has mischaracterized this behavior?
The same happens on Windows through SmartScreen, but you can easily turn that off[2] at least. As far as I know, you can't disable this on macOS.
[1]: https://sigpipe.macromates.com/2020/macos-catalina-slow-by-d... [2]: https://www.tenforums.com/tutorials/5593-turn-off-smartscree...
It's on first launch of an application, but not on subsequent launches of that application.
I assume you use Linux or anything other than Windows? Because the "SmartScreen"[1] feature in the newer versions of Windows does the same thing.
[1] A common trend in these times: the word "smart" really means "we think you are stupid"
1.1 Hit "Cancel" in the warning dialog.
1.2 Open "System Preferences" / "Security & Privacy" and select the "General" tab.
1.3 It should have a notice about the unverified app being blocked, and offer the chance to approve it. Do so.
1.4 Try to launch the app again. You'll get the dialog again, but this time it should have a button to tell it to go ahead and launch it. That will also remember that you have approved the app so you should be OK from them on (or at least until the app updates, and you will have to redo this).
Another way is to fix it from the command line.
2.1 Locate the executable.
2.2 Do "xattr -d com.apple.quarantine /path/to/executable"
I just hit this today when doing some web testing with Selenium, and it could not use chromedriver because the developer was not verified. My chromedriver is installed via Homebrew and evidently it had been updated since I last used it. A search for how to deal with that turned up both of the above solutions as part of this Stackoverflow question [1].
[1] https://stackoverflow.com/questions/60362018/macos-catalinav...
This is so far beyond reasonable from a ux standpoint and they have no reason to improve because what am I going to do? Not use macos to work on iOS stuff? It pisses me off so much
> There isn’t a specific identity requirement for this signature: a simple ad-hoc signature issued locally is sufficient, which includes signatures which are now generated automatically by the linker. This new behavior doesn’t change the long-established policy that our users and developers can run arbitrary code on their Macs
So, the sky isn't falling yet, but it is reasonable to be concerned.
This irks me, I don't know why. Maybe because calling it an Apple policy is something that can be changed. I consider it more a right that I can run arbitrary code on my computer.
So yes, I would agree, quite reasonable to be concerned.
Now we are literally only one step away from not being able to run our own software on Macs without paying Apple 100$/year (or whatever amount they want).
They just need to disable adhoc blocking, and require a signed developer. All systems are in place for this. The only thing they need to justify such a change is a "catastrophe". For example, next year, some macos malware might pop up, that could have been prevented with this signing. And Apple could just use that as an excuse to fully lock their platform.
We are fast becoming corporate citizens, for better and for worse: https://www.youtube.com/watch?v=l3pkkSNRug4
While there is some truth to the security argument - security after all is sometimes at odds with freedom - good computer security can certainly be achieved without this degree of centralization of power. Maybe you can't protect a determined user from hurting themselves, but that seems like an acceptable price for freedom.
I’m constantly running npm, mvn, sbt, docker and some that download hundreds of megabytes from unknown organizations, hosted on unknown servers, written by unknown developers.
Next to that, I’m running desktop applications downloaded roughly under the same circumstances, and was the update image it just installed when I opened it genuine? Transmission was 0wned, as well as Handbrake. Any other I was never aware of? Perhaps one that I’m currently using?
I have several GB of irreplaceable (to me) photos and financial documents on this laptop. When was the last time I tested my cold-storage restore procedure? (Hint: never.) What if I get hit by a ransomware? What if they grab my GAccount cookie and run away with my identity?
All this makes me fret, and aware of how much vulnerable my information persona has become.
I can run Linux, and trust Ubuntu or Debian or whatever to thoroughly audit and verify every line before PGP signing any package released for distribution (riiight, it’s already a gift out of free will, am I going to make demands now?) I could manage, begrudgingly though because I’m more interested in using the tool than to constantly grind it’s sharp edges.
But what about normal users? Not necessarily idiots. Just people that haven’t explored the dense thicket of Linux on the desktop and ACPI, and kernel driver (oh, by the way... what about those drivers?) Don’t they have the right to some trust and expectation of privacy? (that they can immediately forego and upload to Facebook)
Why must everyone constantly have to risk their own neck to defend someone else’s perception of freedom. Why should they all pay (in terms of risk and time mitigating against it) for something that someone else presumes it would benefit them?
Apple can abuse their grip on their integrated platform. Apple can turn this infrastructure into a rent-seeking scheme, into extortion.
But for the time being, they can’t deliver cryptographic app control soon enough.
Even giving warnings by default about unsigned apps requesting high privileges would be fine if the implied message weren't basically "everything we haven't checked is malware". Something like "We nor any other provider you've chosen to trust have no idea who made this and we haven't checked if it contains malware. This program may steal and delete all your files. Be really sure you trust the author before running this." would be much more honest.
Good security does not require a single entity becoming the sole gatekeeper and taxman for a huge fraction of users.
> Why must everyone constantly have to risk their own neck to defend someone else’s perception of freedom. Why should they all pay (in terms of risk and time mitigating against it) for something that benefits someone else alone?
I'm not advocating for Windows-levels of "install anything with access to everything with barely any warnings". And I wouldn't say you're "constantly risking your own neck" if you deliberately ignore warnings.
In computing as in society, I don't see how we can remove all possibility of getting cheated into hurting yourself (by installing malware in this case) without essentially submitting to some form of autocracy. And I think freedom benefits almost everyone, at least indirectly. As a concrete example, in the Apple/Epic case, an alternative game store would likely result in healthier competition i.e. lower prices. As another example, Hong Kong protesters with iPhones would have had an alternative way to coordinate: https://www.bbc.com/news/technology-49919459
Well, what you ask is what's written in the very first prompt screenshotted in the blog post; it says "the developer cannot be verified", "macOS cannot verify that this app is free from malware." I don't see how this choice of words is much different from your proposal.
I don't want to go too deep into the "alternative store" discussion, it's much broader than this, but let me just say Adobe Flash. I don't think Apple will ever relinquish the strategic power to force developers to adopt APIs and track their lifecycle, and never again have to deal with the Flash scenario.
If they let the door open to "alternative stores" good luck explaining to the general public how it's not their fault if <insert major app> works like shite and kills hardware performance. As an example, to this day, people still rant about Apple's "proprietary music file formats" when really it's just bog standard mp4 (it's even unencrypted... you can copy it over to any industry-standard decoder and you're good to go. Good luck with WMA (if they're still around) or whatever madness Sony came up with.
The moment they would decide a major overhaul, you'd see "alternative app stores" advertising "backward compatibility", "freedom from Apple's treadmill", fragmenting user experience in an endless passing of blame about who's fault it is for the rot.
Nothing like a good old protection racket. No wonder Apple's worth trillions of dollars.
It would be nice if there was a Sys Prefs option to add a "run anyway" button to the initial prompt. It wouldn't even need to be on by default. Just give me the option.
> sudo spctl --master-disable
> sudo defaults write /Library/Preferences/com.apple.security GKAutoRearm -bool false
> :> ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV2
> sudo chflags simmutable ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV2
You may need to disable system integrity protection to do this
> csrutil disable
If you know what you're doing, like probably everyone here, you don't need any of this junk. I didn't need it in 1998, and I don't need it now either.
Imagine I install some app from a trusted third party and am walked through the steps to toggle the system setting to allow installs. Then a year later when I am installing some untrustworthy tool, I am no longer warned (at least not to the same severity) that this tool is unsigned. It leaves me more likely to install that software and end up putting myself at risk in the future.
Take for example the Android settings for installing third party apps. I can enable it on a per-app basis, but that permission persists for the lifetime of my device. If I allow Chrome to install apps for me, that enables apps from ANY site from now until the EOL of my device, to more easily make their way onto my phone.
If I am asked every time (or even periodically) I am given a moment to consider if I know what I am doing.
It's impossible for someone who's not technically oriented to know how to disable S mode or even what it is, and trying to get my mum to install Google Chrome on her new computer was harder than it has any right to be.
When did the ability to run software get this bad?
The reality is that the HN audience are complete outliers. Just look at the junk your friends and family install on their machines.
On a related note, the equivalent in Windows is SmartScreen. It prompts similarly to Mac for unsigned downloads as well as signed ones where there isn't yet sufficient reputation on the signing key. That last part is frustrating - we have a downloadable software component for our SaaS. It's not that frequently used and every time we renew the cert (third party BTW, not with MS), it takes a few weeks for SmartScreen to start trusting it.
If you’re including solo non-business programmers in that, I’ll say I find it unreasonable to ask of an open-source developer that in addition to giving their time to develop and support their software, they should also give their money.
It’s great that $100 is chump change for you. That’s not the case for everyone, certainly not all open-source developers.
But the issue isn’t about money, it’s about the control a petty company exerts on what you can develop: https://news.ycombinator.com/item?id=24217921
They just confirm the developer has $100? Does Apple actually make sure signed binaries don't do anything bad?
This is how some mac viruses were stopped; the developer license was retracted, making the executables hard to open in the background, slowing the spread or even killing the virus during its infection track.
It also maintains Apple as the administrator of your computer. You may have paid Apple for your laptop, but it is Apple who decides what you can and cannot execute. Options to work around the blocks Apple throws up are reduced and made harder with every new release. I predict that eventually all binaries will need to have Apple's blessing or be signed with a corporate certificate, just like on iOS. It's still years away, but the direction Apple is taking this is obvious.
Also, what kind of "viable software business" has trouble paying $100 a year?
The issue isn't the money. The blog post was written in the context of the widely reported story of Apple threatening to terminate the developer account of Epic Games, which would prevent them from signing and notarizing their Mac software.
This part is key. It shows that Apple's signing and notarising requirement isn't about money, nor is it about security. Epic broke the rules of the iOS store, and now they'll be forbidden from developing on a completely different platform, just because Apple doesn't like them.
Apple has a single developer program for all platforms. Epic has been given a deadline to stop breaking the contract terms - submit a new version of the application which reverts the remotely activated payment logic.
Epic didn't simply implement their own in-app purchase plan; they also remotely updated Fortnite to include it after it had passed app review (because Apple wouldn't have approved it, obviously). The whole point of app review is that Apple can assure its customers that apps are safe to run. Having apps that bypass the review by updating themselves subverts the whole process. You may not agree with the app review process, but it's clearly a feature that Apple regards as an important selling point.
Given that Epic has demonstrated a willingness to subvert the app review process, why should Apple allow such an untrustworthy developer to place its apps on any Apple platform?
(To be clear, Apple has said that they will gladly allow Epic back onto the App Store if they remove the private in-app purchase mechanism, so apparently Apple has not fully adopted this viewpoint -- at least, not yet...)
Whether or not this is a good thing for most users is certainly arguable, but it still doesn't sit right that you have to pay Apple and get their permission to distribute macOS software that isn't presented to the user as likely malware.
Do you know how much $100 is in Iran?
It doesn't really matter, because for developers in Iran, the question becomes do you know how hard it is to pay US companies from Iran?
2. Your information regarding salary seems terribly outdated. There has been several sudden and dramatic losses of purchasing power and reduction in exchange rate for Iranian Rial, cumulatively by a factor of more than 7, during the past year. At the current exchange rate of ~220,000 IRR to 1 USD, the monthly salary of an Iranian developer would be around ~160 USD a month. Breaking the 100MM IRR/~454 USD barrier would be difficult for most developers. So even if the sanctions were lifted tomorrow, only large corporations would be willing to spend 100 USD at the current exchange rate, not independent developers.
Source regarding salary [in Farsi]: https://jadi.net/2020/02/programmers-97-stats/
Much less than a Mac that you need to develop macOS software.
With a gate like the developer account that's far less possible.
It's also easy to buy a mac laptop from the blackmarket in Iran (since Apple can't legally export their laptops there), but you can't really do that with a developer account.
If this is a problem, projects can join together into one large app.
The actual java binary (JVM) can be (is?) signed and used for many different apps/programs. But the .jar file that is executed probably can't be signed.
(Note: I have never done any "native" Mac programming)
In my opinion, it's simply not possible to learn how to override it by following macOS UI "hints". Every step of the way seems designed to hide this possibility, instead of giving users a warning and a clear choice.
$ sudo spctl --master-disable
Then the “Anywhere” option is visible in the System Preferences UI. But only while active.Not for nothing, Gatekeeper once did not exist. Myriads of Mac OS X users were not p0wned. But your point is not lost on me.
I have a similar idea about services like Amazon Lambda; why would developers build apps tightly integrated with a product that they don't own.
Most millennials these days own nothing because they keep perpetually accepting their position as 'renters' through every decision they make.
For me, this is a much stronger reason to avoid Apple software than whether it's FOSS or not. I can live with a company which makes some proprietary app. I mean, I am annoyed that access to it is restricted, but at least the "deal" is upfront.
When what I see and what I can run and how it runs is the object of direct partisan manipulation, and trade between commercial companies for epistemic access to a captive user-base, that's a whole other story and it just makes me sick.
---
[1] : I'm letting Apple enjoy the benefit of the doubt and assuming the "signing" business is not enforced at kernel-level, only by the graphical desktop environment's application launching mechanism.
It is displeasing to see Apple not having an open-source program in-which they give free certificates for popular open-source projects after a review. They are a large beneficiary of OSS after all.
Furthermore, smaller companies do it frequently these days: Jetbrains gave me free IDE licenses, poeditor gave me a free account, github hosts the project code, ticketing system, and is the distribution channel for first downloads and updates, appcenter hosts crash reports for free, travis does the CI for free, etc.
That, or their "techy friend" will jailbreak it for them, and now we're worse off in every way.
Of course, more tech-savvy users can always use a system that doesn't impose this on them, but I really wish Apple would provide different experiences to different users. If they hadn't diluted the "Pro" moniker, I'd advocate for "Pro" editions of MacOS that remove all this stuff. As it is, every amateur user thinks they should get a Macbook Pro, and my user experience on any distro of Linux is miles ahead of any other platform available. That's fine for me (I'll probably never leave Linux unless something drastic changes), but what about folks that love Apple and are tech-savvy? Why should they have to jump through increasingly arcane hoops to do very reasonable things (like run unsigned code) on a machine they bought? It seems like a massive missed opportunity.
The industry tried to morph desktop computing into the world of Windows XP playschool friendly computing. Teach grandma for the 6th time how to click the start menu, etc.
That was a stopgap solution, and that era is over. We need to move all of those people off of computers and onto consumer-safe devices. Then restore desktop computing back to its originally intended audience, take off the bumpers and give unregulated access back to serious computer users who want to build important stuff, not get constantly nagged and prohibited from doing so.
Thankfully one of my users is also a developer and now he signs all my releases.
What does this have to do with users being savvy or not? Unsurprisingly nothing at all.
Is your app signed and secured? it runs in the current environment. Otherwise it runs in a copy of the current environment, with restrictions as to what it can send/receive from the world.
The next step is naturally adding boundaries about what applications can do just akin to containers, sandboxes, or permissions found on smartphones operating systems. I just hope some sort of standard emerges so we don't have each major vendor implementing their own incompatible system (okay, too late).
Incidentally I have never run those binaries via the Finder either, so it makes one wonder where exactly this check is --- is it something Finder does when you open apps, or when GUI libraries are loaded, or something much lower-level in the kernel, like on an exec() call? I don't have a suitable machine around at the moment to check, but the need to right-click suggests Finder is doing this?
Either there could be a pro-mode app/setting that let's use tone down the warnings a bit and give the extra "allow" option already in the first dialog.
And/or let app developers add an extra dialog to ask for ermissions on install (e.g. in Homebrew).
I haven't tested this but apparently you can disable Gatekeeper completely using:
sudo spctl --master-disable
from https://help.apple.com/xcode/mac/10.2/index.html?localePath=...
To my knowledge, this depends on what APIs you wanna use. Using certain capabilities like Network Extensions (the on-device low-level networking APIs) requires paying $99/year for the Apple Developer Program. See https://developer.apple.com/support/app-capabilities/ for more details.
Probably not as much as I used to think.
I'm starting to realize something. I'm almost certain I would be just as happy with a Linux capable laptop, loaded up with Ubuntu 20.04. I'm pretty sure my next laptop purchase will not be another Macbook pro. It will surely save me a ton of money, and I'm just not convinced the walled garden is adding enough to my life to make it worth it.
Like it or not, America’s founders didn’t bow to the European kings, but now we have new tech emperors that we must bow to.
This would be totally unnessisary if apps could run in a sandbox. It wouldn't matter if I run some random game I downloaded off the internet if it can't do anything on my computer outside of its own sandbox.
And to the people that say it's not possible, just look at web browsers. Each website runs in a complete sandbox.
For apps that do need to use operating system functions, then you can escalate privellages with user consent. For example, mobile apps, that ask: "This app wants access to your camera"
Absolutely agree. There is a risk of prompt fatigue but that's a UX problem that can be solved during the installation process or first run.
I've ported an already running and shipped desktop application from Linux and Windows to Mac. First and foremost you save some time with the network stuff because there is still some POSIX in MacOS and you got a usable shell also.
We cannot use reliable XCode, because it doesn't support Meson or anything else outside of Apples own world reliable. Compiling code with 'homebrew' works, yes.
Creating the App Bundle itself is the first big burden, because outside of XCode you have to create them fully manually and using 'otool' to adjust every library path which is used internally. Even the icons hurt you, you cannot provide one big PNG or SVG (Linux) or melt it into the executable (Windows), but a icon for every size someone can imagine. ImageMagick is your friend. What year is it? 1995?
Because we cannot use XCode and have to build stuff repeatable, we also stick with 'codesign'. Which is horrible to use, because it's recursive option is not reliable and you have to sign nearly every bit in an App Bundle. On Windows you sign the executable or the howl installer, here you sign nearly everything.
But watch out. The certificates included by default in your Apple Account are likely all false friends. There badly name and desribed and you cannot see that you don't get the needed type of certificate as non account owner. So be careful with company accounts! Always ensure that multiple people have permanent access to this as owners and can immediately accept the new terms - or you cannot ship anything anymore. Happened this spring/summer to me :(
Signing done? Fine. Now hope that your 3rd party code doesn't show nasty bugs after signing, like the code from our partner. Furthermore don't expect that MacOS tell you via console what is going wrong and what you need. But itt could maybe help a little.
Then uploading for "notarization" follows. I hope you didn't make something bad and placed the right file in the wrong directory of the bundle or it is declined.
Finally attach (staple) the notarization to your bundle! Or every Mac there will ask the Apple Servers if it is "okay to execute this code now". Without it privacy is lost. And the startup is slowed down also.
If your going to support MacOS, don't assume that portable code is portable. The shipping is actually the hard part.
A more appropriate approach would be to use an actual malware detection system, similar to what AVs to when checking binaries (check fingerprints etc.). AFAIK this is what Windows does, and it's way more inclusive.
I guess if they make it more intuitive for users to run unsigned apps when they want to, everyone would be still happy with those restrictions. It's just about adding clear message and additional buttons. So I would be happy with having the option and my grandmother is also happy with some level of protection.
> Finally, we see the instructions to right click. Err, control click.
Just recently I was on my iMac playing the "free guess" minesweeper where guessing is safe whenever you're forced to guess. The game needed a right-click to mark mines, and I got frustrated by Apple's magic mouse being prone to misinterpret right-clicks as left-clicks.
Now I know how to be in control with my right-clicks!
Yes, I know that ideally Apple should be allowing opensource apps or at least have a mechanism for opensource apps also to be verified by the gatekeeper and that is something we can campaign for, but in the absence of that, we can atleast educate the users.
Where is this comming from? I doubt Apple indicated such a thing.
Why does anyone who's a creator of anything stand for this?
I don't mean to keep beating a dead horse on this subject, but why are we acting like this is only a possibility? Apple is almost certainly going to remove the ability to run unsigned code in the future.
A day or two I wrote[0] about the timeline that took Facebook from guaranteeing that you'd never need to sign into an account on Oculus to requiring a Facebook account on Oculus. Different company, same story.
We spent a long time having concerns dismissed, and then once everyone was used to the idea and the uproar had been reduced to a manageable level, Facebook did it. People get told that they're paranoid when they express concerns about the future. Then those concerns turn out to be correct, but by then the concerns seems less dystopian, and we've moved on to dismissing other concerns even farther down the road.
I'm not going to find the other threads and articles, but:
Voice assistants: same story different companies. Concerns about recordings leaking, being distributed outside of the company to 3rd-party contractors were all paranoia until they weren't.
Facebook, again: same story different company. Facebook would need to be stupid to use 2-factor phone numbers for advertising and promotion services, the people worrying about that scenario were paranoid. Until they were proven right.
Browsers: same story different companies. You can not run unsigned extensions in Chrome. You can not run unsigned extensions in Firefox unless you are on the beta-version developer branch. In both cases, even though Firefox technically has an escape hatch, the effect is the same: normal no longer have the unrestricted ability to write software for their own devices.
I'm not going to argue that Mozilla's worries about malware aren't real, I'm not even going to argue about whether or not they made the right decision overall. BUT, anyone who thinks for one second that Apple isn't in a position to bring up the exact same security justifications for removing unsigned code from the Mac is fooling themselves.
We keep on taking these companies at face value, assuming the most permissive, conservative version of their policies, and then using that assumption to avoid talking about the real dangers of a corporate war on user-controlled general-purpose computing.
When Mac signing came out, so many people were telling me that it was stupid to object, because this was just about stopping specific malware. It would never be used to enforce a ToS or directly punish another company. So when we have conversations about Apple's dominance in the space, about what walled gardens mean for Apple, we need to have those conversations under the assumption that the most likely future is one where those same exact policies apply to both Apple phones and Apple desktop computers.
iOS does this in a much more violent approach - the app verification process.
At least in Vista it was a separate command “Run as administrator”...
Anyone have a source for when Apple has indicated this?
Nit: I believe stapling is supposed to fix this issue.
No, even stapled apps phone home. The difference is that stapled apps can still run if Catalina can't contact Apple (e.g., no internet), whereas unstapled apps can't.
Look closely at the Gatekeeper dialog with and without your internet connected.
Have you really done that? REALLY? Because I work on Mac, Win10 and Linux every day. And Win10 doesn't even come close to the other two in terms of reliability, stability, and lack of unnecessary bullshit.
I just don't understand who can make this claim that Win is better than Macos with a straight face. Maybe for gaming. Maybe. The cost/fps is clearly better for Windows machines, but Apple puts so much more thought into their OS than windows. Hell, Windows still pops a Win95 dialog for drivers. Come on, man. Seriously? MacOs doesn't have built in ads on the home screen. MacOS has no REAL viruses, and clicking on malware is even harder now than Windows.
Downvote me all you want, but I think a lot of people on this thread have never even used a mac for more than five minutes, let alone developed on one. HN monoculture is real.
I have when I started a new job and they gave me a macbook and said it's the only option. After 2 weeks I told them I'll need a linux box asap or I'll look for a different job.
It's in my opinion the absolute worst garbage of an operating system I've ever had the displeasure of using and their window manager is a completely unusable pile of shit. Their hardware doesn't have proper cooling and burns your hands if you actually use your CPU.
People have different tastes and I really don't think you should assume people haven't tried.
Yes, I too think windows is way better than OSX, but well I also think windows is pretty shit. However, I wouldn't quit my job over having to use windows, I would have for OSX.
One day I just got tired of that thing overheating and being loud. Was given a real linux machine to work with.
Windows 10 is slowly getting better every year and honestly there are only a handful of things left that I think really lag behind Mac, Explorer being the main one.
> reliability, stability,
They're basically identical at this point, my PC runs for months on end just fine. One of my macs does the same, my USB-C MBP is the only standout as it kernel panics in it's sleep most nights.
If your Windows machine is having stability issues you probably have bad hardware, like my USB-C MacBook.
> and lack of unnecessary bullshit.
I'd say they're both about the same, windows has it's issues but so does MacOS, my mac asks me every single day if I want to update the OS and there is no "No" option only "Restart" and "Later", it also warns me 10 times a day that the disk space is running low, yep I know it's low because it's a 128GB machine, nothing I can do to fix that.
The days of Apple being against this sort of stuff is over, my iPhone asks me once a month to subscribe to Apple music when I open my Music app, out of the box iPhones have Apple News notifications. Daily OS upgrade request on MacOS
I for one, use mac and develop on it for my job, and I like windows significantly more than mac. Dunno how many people here are like me, but I don't think this kind of assumption is fair.
Windows 10 + WSL is amazing. It's definitely getting better all the time while macOS is getting worse each year. Plus more and more I just seem to only need Chrome, VSCode, and a Terminal.
So yes I have done it, and I now prefer Windows.
It truly is. Especially Surface Go - the best portable computer IMO (iPads aren't real computers).
Until it forcefully restarts to update overnight, killing all you apps.
I'm not claiming it's a good OS, but it is definitely possible to make it usable if you spend 20 minutes reading and 1 hour configuring.
I did that after 13 years as an Apple/Mac customer. I was enough of an Apple fanboy that I queued on Day 1 for iPhone 4, and did various other things that only diehard Mac users who obsessively read Daring Fireball and MacRumors do.
I use a ThinkPad X1 running Windows 10 as my daily driver now.
The last Mac I bought was so unreliable that it had to be repaired six times by the Apple Store. Every six months the internal SATA cable failed. (Mid-2012 MBP, it's a known design flaw.) On one of those occasions, I had to help the Apple "Genius" understand what a SATA flex cable was, how it plugs into a drive, and provide him with part numbers because he couldn't find the parts on his Genius iPad. Apple refused to give me a replacement machine when I saw the manager after the second incident. It wasn't until the 5th time (!) that they finally offered a replacement Mac laptop... however, it would have been a 1st Gen butterfly keyboard model. Y'know, the model known to break so often that Apple introduced a separate "warranty" just for the keyboards.
It honestly took me until the 6th repair to understand that being an Apple customer (nevermind an Apple developer) is being in an abusive relationship. I had to get out, because frankly I needed to get work done instead of all this Apple Store repair downtime.
And that's not counting the $100s of App Store software I've lost when Apple forgot to renew their App Store Developer certificates & now the OS thinks those apps are corrupt, and I can't redownload them because the App Store doesn't keep old versions. Or how Apple mistakenly revoked the developer certificate for Charlie Munroe Software, so now the Eon business timer app I use has been remotely disabled by Apple, even though there's nothing wrong with it and Apple admits it was a false positive. Much like the false positive that won't let me launch my old REALbasic compiler anymore because Apple has flagged it as malware too. At least I stayed on High Sierra, so the 32-bit software that interfaces with my digital hardware guitar amp still works.
I've had my ThinkPad a couple of years now. I don't "love" it, but it hasn't broken on me in all that time, making it more reliable than all 4 Mac laptops I've owned. The keyboard is better than any Mac keyboard I've used, except maybe the 2000-era Pismo G3. Sometimes reliability and stability is more important - just get work done with the least downtime. I can run more audio software on Windows than was ever available for my Mac. I've never had a virus on Windows and I only run the built-in firewall & anti-virus, and I don't need to deal with that Xcode worm that's going around right now. And while there's a ton of apps that don't use it yet, the Windows approach to HiDPI works better for me than the Mac 2x / 4x system... being able to run a crisp 1.5x on my external monitor instead of jumbo 2x icons is bliss.
Honestly, I do understand where you're coming from, there's a lot Mac OS X got right and a ton of areas for Windows still to improve, but this is not the Snow Leopard era Apple anymore. Apple just doesn't care, unless it's an iPhone. And I switched to Android years ago....
However in terms of the actual topic - code signing, Windows is almost as bad. If you run an unsigned program now you get a Smart Screen prompt and you have to click a small "More info" link and then "Run anyway".
It's a bit more obvious than Mac, and I believe there is some system to recognise common but unsigned binaries, but they're still clearly trying to head in the same direction, Apple are just a bit further down the slope.
I could say whinge but it doesn't quite convey what I'm seeing here.
Apple has been hostile to openness since inception, see: right to repair or basically any Louis Rossman video on YouTube.
Not to mention years of news stories showing how little apple cares for developers or individuals.
What fraction of unsigned app openings, across the entire world each and every day, are safe?
If 99% of these events are unsafe, then such an experience seems warranted, given real malware and security threats.
The question is, what is that fraction?
Folks may say I want my computer to be “open” but do you want it open in the same way for your grandad and grandma?
Generally you see all major distribution options have signatures with a CA-type trust structure no matter what you use, be it open-source, free or commercial paid software. On Windows, macOS and at least all Linux distros based on dpkg or rpm you have signatures and circumventing that requires a bunch of steps that will prevent most users from shooting themselves in the foot.
From what I understand, the most common use case here is to match against known malware inserted into an otherwise normal release, either from an infected dev machine or by way of an attacker coopting stolen credentials. It's not going to guard against truly novel malware for obvious reasons, but the vast majority of malware is a repackaging of stuff that's already out there.
It means that it is harder for an attacker to abuse your systems or key material to sign something in your name.
Perhaps the best analogy I can come up with is the dns-01 verification with ACME and a lower TTL. You need to compromise more pieces of the puzzle on a shorter timeline to attack that specific part of the system.