News for hackers. Stuff that matters.
Re:Apple needs a Snow Sequoia by hkpack on Thursday March 27, 2025 @07:28PM (#43499462)
I understand that you're doing it on principle, but for a software development team, 99$/year is a really minuscule price to pay to be able to build / notarise / distribute software.

Developers pay exorbitant amount of money for much lesser value, and the idea of putting your teammates at risk to stick it to apple is kind of sad bordering with negligence from a business POV.

Re:Apple needs a Snow Sequoia by joezydeco on Thursday March 27, 2025 @08:18PM (#43499835)
The tool is built deep in our CI/CD chain. The whole thing is a house of cards built on a massive pile of tinder next to an open drum of kerosene. You want me to integrate XCode into that?

Last time I tried setting up an Apple developer license inside a large corporation, one that they paid for and not tied to me or my credit card, it was also a nightmare.

And yes, it's also on principle.

Re:Apple needs a Snow Sequoia by plorkyeran on Thursday March 27, 2025 @09:02PM (#43500198)
Who said anything about Xcode? The codesign tool is part of macOS, not Xcode. The CLI tool for notarization is bundled with Xcode, but you don't have to use it; they have an official REST API that you can use directly.
Re:Apple needs a Snow Sequoia by joezydeco on Friday March 28, 2025 @08:34AM (#43504607)
Do you have any notes on how to run it inside a Gitlab pipeline via a Linux Docker instance? I'd love to learn how to do this, then.
Re:Apple needs a Snow Sequoia by ryandrake on Thursday March 27, 2025 @07:55PM (#43499668)
The principle is what matters. The amount is not the issue. The issue is that there is a cost at all. "It's so cheap" is never an excuse for charging for something that should be free. In this case, running software you have no intent to charge for, on your computer. It's as if someone started charging $0.01/month for breathable air. "But $0.01 is trivial," would not excuse it.
Re:Apple needs a Snow Sequoia by hkpack on Thursday March 27, 2025 @08:45PM (#43500058)
The commenter I replied to employed by a business, develops software and distributes it within a team of engineers with Macs.

For your personal needs, you do not need to pay anything for building and using apps locally.

Re:Apple needs a Snow Sequoia by bshacklett on Saturday March 29, 2025 @03:44PM (#43518069)
Untrue. There are specific APIs which require notarization , regardless of usage. Credential autofill is one such API.
Re:Apple needs a Snow Sequoia by ethersteeds on Thursday March 27, 2025 @09:35PM (#43500440)
It costs money, and isn't free, for a reason you're not acknowledging. I don't think it's a major profit center for Apple.

It's about setting a higher floor for malicious actors than "random botnet residential IP + a captcha solving service". It's about proving some semblance of identity through a card number and a transaction that goes through without a chargeback.

As the case upthread shows, there's plenty to dislike about a system that inhibits running code built for personal use. And it's obviously neither foolproof nor without collateral damage. Reasonable people can debate if it's worth it. But it still ought be acknowledged that the motivations are closer to the reason you have to identify yourself and pay a nominal fee to drive a vehicle on public roads.

Re:Apple needs a Snow Sequoia by amluto on Thursday March 27, 2025 @11:26PM (#43501202)
I don't buy it. Or rather, I am willing to believe that some team at Apple has convinced itself that this makes sense, but they're wrong.

In particular, the security boundaries are nonsensical. The whole model of "notarization" is that the developer of some software has convinced Apple that the software as a whole (not a specific running instance) is worthy of doing a specific thing to the system as a whole.

But this is almost useless. Should Facebook be allowed to do various things that can violate privacy and steal data? What if the app has a valid reason to sometimes do those things?

Or, more egregiously, consider something like VSCode. I run it, and the fancy Apple sandbox helpfully asks me if I want to grant access to "Documents." The answer is really "no! -- I want to grant access to the specific folders that I want this workspace to access", but MacOS isn't even close to being able to understand that. So instead, one needs to grant permission, at which point, the user is completely pwned, as VSCode is wildly insecure.

So no, I really don't believe that MacOS's security model makes its users meaningfully more secure. At best, the code signing scheme has some value for attribution after an attack occurs, but most attacks seem to involve stolen credentials, and I bet a bunch just hijack validly-notarized-but-insecure software a la the VSCode example.

Re:Apple needs a Snow Sequoia by dwaite on Friday March 28, 2025 @09:36PM (#43511942)
Notarization is not a trusted system on macOS - or rather, notarized binaries still have a "this was downloaded from the internet" prompt, and the user is meant to make a decision on whether it is trustworthy.

Notarization does some minimal checks, but is mostly about attaching a real identity so that maliciousness has at least some real-world consequences. The most obvious being that you lose the ability to get more apps notarized.

Re:Apple needs a Snow Sequoia by eviks on Thursday March 27, 2025 @10:35PM (#43500861)
> But it still ought be acknowledged that the motivations are closer to the reason

Since this isn't true, no acknowledgement required, it doesn't need to be a "major" profit center to magically become a benevolent feature

Re:Apple needs a Snow Sequoia by csomar on Thursday March 27, 2025 @11:47PM (#43501340)
Actually the cost is not the issue (you are paying for it one way or the other), the issue is the authorization to do such an action on your (supposedly) own hardware.
Re:Apple needs a Snow Sequoia by hamandcheese on Thursday March 27, 2025 @07:41PM (#43499565)
Adding signing as a requirement can easily make what was once a very simple distribution mechanism into something much more complex - now you need manage signing certificates and keys to be able to build your thing.

The cost is far far higher than the price.

Re:Apple needs a Snow Sequoia by hkpack on Thursday March 27, 2025 @07:48PM (#43499627)
But it doesn't in practice.

I develop and distribute few free apps for macOS, and building / notarising is never a problem.

Re:Apple needs a Snow Sequoia by makeitdouble on Thursday March 27, 2025 @08:45PM (#43500053)
You seem to be comparing a single dev sending apps to the world vs a corporate team pushing to employees (if I get parent's case right).

In most cases, just involving account management makes the corporate case 10x more of a PITA. Doing things in a corporate environment is a different game altogether.

Re:Apple needs a Snow Sequoia by JamesonNetworks on Thursday March 27, 2025 @08:47PM (#43500066)
In contrast to this point, as long as I use Xcode and do the same thing I've always done allowing it to manage provisioning and everything else, I don't have a problem. However, I want to use CI/CD. Have you seen what kind of access you have to give fastlane? It's pretty wild. And even after giving it the keys to the kingdom, it still didn't work. Integrating apple code signing with CI/CD is really hard, full of very strange error messages and incantations to make it "work".
Re:Apple needs a Snow Sequoia by hkpack on Thursday March 27, 2025 @09:23PM (#43500353)
I don't know about fastlane, since my CI/CD is just a shell script, and signing and notarising is as hard as (checking the script) running `codesign ...` followed by `notarytool submit ... --wait`

Yes, you need to put keys on the build server for the "Developer ID Application" (which is what you need to distribute apps outside of AppStore) signature to work.

You do not need to give any special access to anything else beyond that.

Anyway, it is indeed more difficult than cross-build for Darwin from linux and call it a day.

Re:Apple needs a Snow Sequoia by mvdtnz on Thursday March 27, 2025 @09:12PM (#43500269)
Hey man just so you know, your consistent repeated badgering of people who don't want to funnel money to Apple in order to run their own software on their own hardware is coming across really weird and creepy.
Re:Apple needs a Snow Sequoia by 0xCE0 on Friday March 28, 2025 @05:08AM (#43503136)
Code signing is absolutely disgusting practically and philosophically. It has very reasonable and good intent behind it, but the practical implementations cause great suffering and sadness both for developers (cert management, cost, tools) and end-users (freedom of computing).

It is ugly: https://hearsum.ca/posts/history-of-code-signing-at-mozilla/

Re:Apple needs a Snow Sequoia by bshacklett on Saturday March 29, 2025 @03:49PM (#43518121)
Do you distribute OSS software which requires notarizing? If so, have you found a way to let the community build the software without a paid developer account? I would be very interested in a solution which allows OSS development, relying on protected APIs without requiring that anyone who builds the app to have a paid developer account.
Re:Apple needs a Snow Sequoia by ehutch79 on Thursday March 27, 2025 @08:21PM (#43499865)
I take it you feel the trade off for dev team inconvenience, vs end user security, is not worth it?
Re:Apple needs a Snow Sequoia by makeitdouble on Thursday March 27, 2025 @08:42PM (#43500019)
They're talking about internal software for internal users. It can be made insanely secure, but that surely isn't the primary concern in this case.
Re:Apple needs a Snow Sequoia by hamandcheese on Thursday March 27, 2025 @09:31PM (#43500413)
I'm just observing that the cost is a lot higher than $99/year.

I do this professionally, I maintain macOS CI workers for my employer. Apple doesn't make it easy.

Re:Apple needs a Snow Sequoia by jasonjayr on Thursday March 27, 2025 @09:05PM (#43500213)
Sure it's trivial, but it is tacit acceptance that you need permission to make a program on their platform. Permission that needs to be renewed year over year. Permission to earn a living on this platform.

Permission that can be revoked for any reason, including being compelled by someone with more power than Apple.

Re:Apple needs a Snow Sequoia by hkpack on Friday March 28, 2025 @10:28AM (#43505873)
It is permission to _distribute to others_, you can build and run on your own computer without a problem.

Once signed, binary will work forever, you only need active subscription when you need to re-sign / re-notarise.

Re:Apple needs a Snow Sequoia by jasonjayr on Friday March 28, 2025 @10:58AM (#43506290)
They can revoke a signature too.
Re:Apple needs a Snow Sequoia by hkpack on Friday March 28, 2025 @11:18AM (#43506527)
If your signature is compromised and you start signing malware then yes. That's the whole purpose of it.

Do you have any evidence that it happened in any different circumstances at least once?

Re:Apple needs a Snow Sequoia by NegativeK on Thursday March 27, 2025 @10:24PM (#43500787)
$99/year for one of the basic uses of a computer isn't okay.
Re:Apple needs a Snow Sequoia by dwaite on Friday March 28, 2025 @09:41PM (#43511967)
Distributing software is not what I would call one of the basic uses of a computer.