295 points · by jonas21 · 11y ago · 152 comments
"Apple issued a new, stronger (SHA-2) Mac App Store certificate in September, before the older (SHA-1) one expired, as planned. The new Mac App Store certificate was using the current, strong SHA-2 algorithm. However, some apps were running receipt validation code using very old versions of OpenSSL that don’t support SHA-2.
OpenSSL started supporting SHA-2 in 2005, which is why Apple didn’t foresee this issue."
It's not as if there wasn't a way for Apple to detect this (if there wasn't then again it's their own fault) and it wasn't as if they couldn't have renewed with another SHA-1 cert for a few months until they figured out how to roll out SHA-2 one without causing a lot of people a lot of trouble.
Neither OS distributors, nor app makers, nor sysadmins seem to be uniformly good at (or interested in) staying on top of this, and it means users get unreliable security.
One of my Macs is stuck on Snow Leopard. On Lion & El Capitan, I sign in to the App Store again and it's resolved. But on Snow Leopard, it doesn't display the sign-in error like 10.7 - 10.11 do. It just complains and tells you to redownload the apps from the App Store.
But I can't. Apple doesn't let you download old versions from the Mac App Store. Byword 1.5.2 is the last version that works on 10.6, the current 2.x version requires 10.8. Similarly with Tweetbot, Mémoires, Space Gremlin, etc. Unless Apple magically allows old downloads, I don't think this can be fixed without Apple patching Snow Leopard. I'm not going to hold my breath.
It really seems like Apple has permanently broken my purchased apps.
Actually the other reason for me also was Visual Studio - I develop quite a bit of C/C++ code and recently moved to developing an Android app - VS Emulator for Android is a godsend - you can't do those things on OS X without trouble - Xcode is buggy and the emulator with HAXM is crashy although that's Intel's fault.
And bonus points to Dmitry of Coding Robots <https://www.codingrobots.com> for offering this, because this was partly my own fault. I'd moved and archived the app, but not actually deleted it, and this didn't clear the App Store install receipt from my computer. I had to actually move the app to the trash for OS X to remove the install receipt. Once I did, the App Store let me reinstall Mémoires again, now code signed until Feb 7 2023. But I'll now be using the non Mac App Store version Dmitry just sent me.
[No such luck with Byword though, as I still can't download the old Snow Leopard version of the app from the App Store.]
(Thank you for trying to help, though!)
For instance, they could have:
- Quietly noted the issue in a file somewhere, waited 24 hours, and checked again.
- If the problem was still present after 24 hours, they could have made the software discreetly submit a problem report to Apple (but still launch and work correctly).
- After 48 hours, they could issue a background notification to the user indicating that a problem has been detected in the program and to “please check for updates on the App Store”; but again, continue to work correctly.
Or in other words, there were only about a half dozen more reasonable things they could have done that didn't involve an Amazonian break-things-immediately type of response.
Being this strict at the cost of usability isn't about security, it's about DRM and making sure you don't get to keep using your software after the subscription has expired.
A reasonable thing to do instead is to give a warning like "The security certificate for app X is expiring in two days. Please update it" or something like that.
OR don't have expiration dates on a cert, if that is preferable.
If my driver's license expires and I drive, I'm breaking the law. Sure, a judge or cop could be lenient, but there is no legal requirement (or justification?) for them to do so.
I have an issue with the concept of MAS as a monopoly (the same I've had with Windows Update), but MAS as a tool is undoubtedly a good thing.
Source: http://www.macrumors.com/2015/05/07/redacted-mac-app-profits...
Oh the other hand, if you do your own marketing and use the app store as a distribution channel, you could probably do just as well (or better) as if your app wasn't in the store. Depends on whether the benefits of the store are worth the 30% cut they're keeping.
I used the Mac App Store because it really is just very convenient. But I also thought it worked. Now I see that it doesn't, so I will not be obtaining software from it again.
What possible problem could you have with Windows Update? WU is Microsoft's platform for updating it's operating system, core software, and hardware drivers. It isn't a 3rd party app store and doesn't sell anything. In fact they'll host 3rd party drivers for Windows compatible hardware for free as long as the OEM or IHV goes through the proper certification process. It's not even a monopoly because you can disable it and use LanDesk or some other vendor's update platform.
Were you just trying to get a dig in at Microsoft because you don't like them?
Eventually they got around building an apt-get clone targeted at opensource developers, and an appstore for Metro apps nobody wants. In 15 years, that's not a great track record.
It's completely ridiculous and has me vowing never to buy (or get for free) anything from the Mac App Store again. Unfortunately I have little choice on iOS.
I had a combination of things happen where I installed an upgrade, and it effectively locked me out of my files. I had to pay for a new Keynote version to get around the problem (I no longer remember all the details ... I think it had something to do with an iLife subscription vs. standalone and auto-upgrading my data file version).
I was REALLY pissed off. And vowed I would never buy software again where I didn't control the physical copy.
I love Cask but I'll choose App Store apps over their counterpart until the app devs can improve licensing and settings syncing.
Is the Mac App Store really not popular? One of my reasons for wanting to get away from Windows again is that I miss my central package management from linux, which is what I kind of thought the App Store did (besides collecting Apple's cut).
There's Chocolatey on Windows. The best I can say about it is that.. erm.. their hearts are in the right place.
So as someone who didn't really know what was going on: It didn't really affect me too much, most apps seemed to still work partially (1Password, etc.). Still it didn't seem annoying because I thought it was the upgrade process.
I still love Apple hardware, but they keep screwing up the software side of things on both OSX and iOS.
Installing a different OS (like Windows 10, or Debian) can be a great way to give older hardware new life & continued productive use.
[1] Yes, Macs support mice with more than a single button now ;-)
“The last versions of OS 9 were pretty good about right mouse button support. Most mice should work fine.”
I would test it myself on my iMac G3 (Summer 2001), but unfortunately, I already upgraded it to Mac OS X v10.4.11 Tiger, and it’s getting active use, so I can’t exactly go downgrading it at the moment.
――――――
Hopefully they've actually fixed this now but I was pretty confused about what could be going on. The only other time I've gotten messages like that is when I'm opening an unsigned application Apple doesn't think is good, and the Security settings say to only allow trusted software.
Hopefully they're aware of what's causing this bug and will fix it in an OS update.
Of course, when the certificate is actually expired, and they haven't replaced it yet, then the "damaged" dialog is reasonable, because the system cannot get a valid replacement receipt. But once they replaced it, OS X should have just started working again. In fact, I'm going to go file a radar right now.
It involves analyzing full logs of all supported client enctypes and tracking down the full set of "flavors" of clients that only do SHA-1.
At the end of the day, you're going to break people, and it's all about minimizing how many people that is. Imagine the situation with hardware devices in the field from ten or so years ago. You can't update them and their software rev only supports SHA-1. What do you do?
(You break them.)
Isn't then the app store validated with the same method?
The expired certificate was part of the receipt that gets generated for an App Store app to indicate that you have the right to use that app on your computer. Stuff that ships with the system doesn't need this and so doesn't have receipts.
2035?
>The new Mac App Store certificate was using the current, strong SHA-2 algorithm. However, some apps were running receipt validation code using very old versions of OpenSSL that don’t support SHA-2.
I sure hope it's not a SHA-1 expiring in 2035...
You imply that Apple is going to keep using the cert until 2035. I can assure you they won't.
The nice thing about root certs is the private key is only needed to sign intermediate certs and CRLs. This means they can be kept offline in a secure location, and only accessed once every few months or so to sign new intermediate certs or CRLs. The actual crypto typically happens in a special locked-down piece of hardware, so that the actual private key never touches the memory or disk of the computer being used.
The whole process is called a "key ceremony" and follows strict procedures, with technical staff and outside auditors watching every step.
As far as I know, no CA has ever had its root key compromised. It would require physically breaking into a secure facility, or factoring of public key. Considering there's much lower-hanging fruit for anyone attempting to attack PKI, I'm not too concerned with a 20 year root cert lifetime. (Like you say, they could just remove it from future versions of OSX before then!)
[1] http://furbo.org/2013/10/21/mac-app-store-receipts-and-maver...
“Apple issued a new, stronger (SHA-2) Mac App Store certificate in September, before the older (SHA-1) one expired, as planned. The new Mac App Store certificate was using the current, strong SHA-2 algorithm. However, some apps were running receipt validation code using very old versions of OpenSSL that don’t support SHA-2. OpenSSL started supporting SHA-2 in 2005, which is why Apple didn’t foresee this issue.”
Since I seriously doubt any of Apple apps would be using the older SHA-1 certificate, this probably only affected third-party apps.
――――――
So, instead of buying overpriced software from the mac store, just building it from source.