Most active commenters
  • nmg(3)
  • jachee(3)

←back to thread

2603 points mattsolle | 28 comments | | HN request time: 1.05s | source | bottom
Show context
modeless ◴[] No.25075336[source]
You've got to be kidding me. When Apple's servers are down, all Macs worldwide start freezing randomly? My XCode is hanging during builds, is this why?

This code signing enforcement stuff has gone way too far. Heads should roll for this.

replies(7): >>25075369 #>>25075380 #>>25075549 #>>25075960 #>>25076693 #>>25079741 #>>25080072 #
p1necone ◴[] No.25075549[source]
Wait what happens if you don't have an internet connection? Can Macs not be used offline any more, surely that's still a relatively common use case for a laptop even today in a lot of places?
replies(7): >>25075778 #>>25075945 #>>25076204 #>>25078280 #>>25078541 #>>25081169 #>>25083116 #
josephcsible ◴[] No.25075778[source]
My understanding is that if you're offline, it skips this check and everything works fine. The reason this is a big deal is that the problem's on their end, so you're not offline, so it keeps trying and waiting instead of just letting you skip the check.
replies(3): >>25075909 #>>25076399 #>>25076495 #
1. 8note ◴[] No.25076399[source]
That still seems weird. Why does running unrecognized software become safe when you're off line?
replies(3): >>25076483 #>>25077222 #>>25082161 #
2. sprt ◴[] No.25076483[source]
Yes, can someone clarify this? What the hell is going on here?
replies(1): >>25077571 #
3. type0 ◴[] No.25077222[source]
It's a security theater
replies(4): >>25077806 #>>25078011 #>>25079751 #>>25080381 #
4. db48x ◴[] No.25077571[source]
It doesn't become safe when you're offline, it's just that you're no worse off than you were. OCSP is s a certificate revocation protocol. It's only used for disabling certificates which were issued in good faith but now need to be revoked. Suppose Apple signs application X, and the signature is good for a year. Six months later, Apple discovers that application X contains malware, so they revoke the certificate. However, your computer doesn't know about the revocation until it checks the OCSP server, which requires you to be online. If you're offline, it just skips the check; the certificate wasn't revoked yesterday, so it's probably fine today too. The bug is that if you're connected to a network but can't contact the OCSP server (either because the OCSP server is down, or because you're not connected to the internet) then OSX keeps trying to connect and becomes sluggish and/or unresponsive. This is how we know that it's a defect rather than a deliberate choice; if they had decided to make the OS non−functional unless connected to the internet they would have done a better job of it.

It wouldn't surprise me if they one day wanted to require you to be online 100% of the time so that you can't skip the OCSP checks on applications, but I don't think that would go over very well. Apple wouldn't even be the first to produce applications that refuse to work if there's no internet connection. If you don't like the thought that they might one day spring this on you, I recommend investigating Linux.

5. nmg ◴[] No.25077806[source]
Thank you. Phrased perfectly.

It's an invasive restriction, cynically designed, poorly engineered and improperly managed, that impairs your ability to function.. masquerading as security.

macOS is my favorite OS, but I don't need to use it. I was so psyched reading about the new Macbooks, and I've had to walk all that excitement back now. I cannot invest in a computer that locks me out of my job if a cable gets cut by a maintenance crew in Cupertino.

replies(2): >>25077953 #>>25078576 #
6. bnj ◴[] No.25077953{3}[source]
I agree that it’s security theater and a suspect implementation, but I was playing a game of “let’s imagine why someone might do this...”—

I’m wondering, suppose it was designed this way because part of the goal is to prevent the spread of malware, the fastest means of which is an internet connected computer. In that event, the feature only intrudes when the computer, by virtue of it’s internet connection, is a member of the threat class.

So... plausible?

replies(2): >>25078107 #>>25088723 #
7. johncolanduoni ◴[] No.25078011[source]
Mandatory OCSP is security theater? That’s a pretty bold claim.
replies(1): >>25078132 #
8. nmg ◴[] No.25078107{4}[source]
Apple built the computer; I exchanged money for the computer; now I own the computer.

Apple does not own the computer.

If Apple wants to own the computer, they can pay me instead.

replies(1): >>25079446 #
9. josephcsible ◴[] No.25078132{3}[source]
Mandatory OCSP that fails open when you're offline is security theater.
replies(1): >>25078452 #
10. snowwrestler ◴[] No.25078452{4}[source]
OCSP fails open by definition because it is a revocation protocol. In the absence of revocation, a valid cert continues to be valid.

The problem here is simply that Apple did not build a short enough timeout into their client.

replies(1): >>25080027 #
11. snowwrestler ◴[] No.25078576{3}[source]
If you point the request at localhost, the problem resolves. This means that a cable getting cut in Cupertino won’t matter. It is a revocation protocol; it fails open.

The problem today is that not that the connection to the server failed, but that it succeeded very slowly. The result was an accidental denial of service on the client.

It is a bug, and an easily fixed one at that.

replies(1): >>25078757 #
12. tomxor ◴[] No.25078757{4}[source]
This particular issue is easy to work around for technical users; the _problem_ is the philosophy that made it possible.

This is the reason I can no longer use Apple computers - the continuous battle they are waging against the users freedom on all fronts - the anxiety of what they will do next to _my_ computer is too much.

replies(1): >>25079438 #
13. jachee ◴[] No.25079438{5}[source]
Good luck finding a suitable replacement. Microsoft does unpredictable things to Windows. Linux maintainers do unpredictable things to all sorts of things.

Your only real recourse is to compile everything from source after a thorough review every time...

...or else trust someone.

Sure Apple had a problem here, but there are so many other reasons to trust them over any other org that I can't in good conscience switch platforms, because there's so much more anxiety elsewhere.

replies(2): >>25079462 #>>25087766 #
14. jachee ◴[] No.25079446{5}[source]
They own the software.

You didn't pay for that. You licensed it from them.

replies(1): >>25081596 #
15. heavyset_go ◴[] No.25079462{6}[source]
> Linux maintainers do unpredictable things to all sorts of things.

With Linux you don't have to worry about every program you launch being reported to the mothership, or that failure of the mothership to respond would cause your computer to not function.

replies(1): >>25079548 #
16. jachee ◴[] No.25079548{7}[source]
If you're not reading all the source of everything you're running, any or all of it it absolutely could be reporting usage/stats/your data to a "mothership".

Just because there's no single central org involved doesn't mean there aren't risks.

replies(3): >>25079992 #>>25081276 #>>25086229 #
17. unethical_ban ◴[] No.25079751[source]
Or defense in depth.

I hate it too, but 'theater' implies it isn't useful in any way.

18. inimino ◴[] No.25079992{8}[source]
You don't need to read it, you just need to be able to read it.

Just because there are risks doesn't mean the risks are meaningfully comparable.

replies(1): >>25080967 #
19. anticensor ◴[] No.25080027{5}[source]
Make OCSP fail locked and it would be a software imprisonment protocol instead.
20. sildur ◴[] No.25080381[source]
And probably a ruse to amass application usage stats.
21. muraiki ◴[] No.25080967{9}[source]
Ken Thompson won a Turing Award for showing how that isn’t the case: http://users.ece.cmu.edu/~ganger/712.fall02/papers/p761-thom...
replies(2): >>25088083 #>>25090093 #
22. nmg ◴[] No.25081596{6}[source]
That's a fair point that I hadn't considered, and I appreciate it. But I still feel like "ability to use your computer as a service" is not something I signed up for.
23. eternalban ◴[] No.25082161[source]
Because it is not yet illegal to operate a computing machine that is not centrally monitored. New Normal, get used to it. Soon, this corner case will go away.

"Why were you offline when using your computer?"

24. heavyset_go ◴[] No.25086229{8}[source]
We already know that, by design, macOS will report back to the mothership. If things are working 100% correctly, Apple will collect what programs you run and when you do so.

Linux won't report to the mothership by design. If things work 100% correctly, you don't have to worry about some company knowing what programs you run and when.

25. tomxor ◴[] No.25087766{6}[source]
I've already found a replacement, Debian stable + i3wm has been my happy place for the last 5 years. No unexpected behavior changes on update, just bug fixes, it does what I tell it, nothing crazy like Debian maintainers dictating what binaries I can run... if you want more or less control you've got plenty of Ubuntu style distros in one direction and Arch style in the other.

If you're a media person then yeah, I feel bad for you, i've been there and it sucks, you're stuck with mac and windows if you require mainstream design apps.

26. teddyh ◴[] No.25088083{10}[source]
May I direct your attention to https://reproducible-builds.org/
27. boneitis ◴[] No.25088723{4}[source]
Plausible a la NSA, yeah?

I presume this setup wasn't public knowledge.

28. inimino ◴[] No.25090093{10}[source]
That what isn't the case? Pointing out additional threat vectors doesn't in any way contradict my point.