M(DM)acOS
michaellynn.github.io
michaellynn.github.io
1. iOS devices are locked down.
2. Current iOS devices have security features in HFS+ that aren't present in macOS HFS+ (such as?).
3. APFS has more security (encryption?) features that bring macOS in line with iOS.
4. macOS is going to become locked down.
This may be true, but I don't see it from the evidence provided. I may be wrong, but I don't think that the file system on iOS is the reason that it is locked down and the file system on macOS is why it is open? Disk encryption has very little to do with cryptographically signing and protecting the OS.
Apple has been taking the good bits from iOS and moving them to macOS. Deprecating software update in favour of the App Store and changing how the OS is downloaded seems to be one of these cases.
Apple has repeatedly said that they aren't going to merge iOS and macOS. They're two different systems with different contexts. Walling macOS off makes little more sense than opening up iOS completely.
But it works, so all the best to him.
Two things caught my attention in apfs - 'space sharing', where two volumes can take the same extents on disk, rather than having non-overlapping bounds (in practice, if not implementation, this so far acts as if its one volume, where members are tagged with which filesystem they belong to) - and linked clones for copies.
It doesn't seem inconceivable to me that the 'recovery volume' holds a copy of the OS, and the installed OS is just linked clones to the recovery volume.
On the surface this is a lot like how we treat unixy hardlinks, but a) linked clones can diverge from each other on a block-by-block basis, rather than "you're a link or you're not". and b) because two filesystems can take the same physical location on disk, a linked clone _could_ (and this doesn't appear to be possible in the current developer previews) act as a hardlink across volumes.
I realise this seems like a lot of effort with little gain, but the 'how' seems to be all in place - and with SSDs setting us back a step to 256GB volumes at the entry tiers, the space-savings wouldn't be unwelcome.
.. or this could all be hand-wavy nonsense. But there does seem to be some interesting features in apfs, and I really an curious to see where they go with them - apple rarely do nuts'n'bolts changes this big unless they have a use-case waiting for them (like spotlight & the fs_usage API).
eg. NTFS' index means you can look for a file in milliseconds using a utility like Everything from Void Tools. I know Apple mentioned the planned ability to quickly look up directory sizes without having to iterate through all child nodes, but still there is nothing accessible or equivalent to this NTFS index (please correct me if I am wrong - I would love to put this sort of thing to use on macOS without having to rely on Spotlight being enabled). Spotlight is a bit different as it maintains a large database on top of the filesystem, not in the filesystem.
NTFS' feature list is massive.
And it hasn't meant the complete lockdown of Windows machines, despite the inability to know when updates will be installed.
I believe it was mentioned in the WWDC APFS session that Apple maintain several folks of HFS+ for different platforms. For example, iOS version of HFS+ shipped with per-file encryption, which is not present elsewhere.
Edit: from the transcript:
https://developer.apple.com/videos/play/wwdc2016-701/?time=2...
> So on iOS today we already shipped a version of HFS+ that uses per file encryption. So every file is encrypted differently on storage form every other file on the file system. [...] We have an iOS specific variant of HFS+ as well as one that supports the per file encryption that we just discussed.
If they were to attempt to turn macOS into a compelling, competitive UNIX-like OS that could serve in production, then maybe it would matter (note that I'm not saying it couldn't now -- it just seems to occupy such a tiny segment of this market).
But they don't seem to have much intention of going there, seriously. They've gone after the average consumer market agressively for pretty much their entire existence. They stayed that course and it appears to have paid off for them.
So if they do wall off macOS in an iOS manner, who will care?
I'm sure I would feel differently if I was using my Mac for Xcode development or video editing or something totally different and specialized - but I'm not. So for me its kind of just a really beautiful shell interface and web browser.
I personally see that as a bad change for macOS -- the app store is really not very good, and it's very slow and clunky at downloading and installing system updates. The old built-in Software Update was much more reliable.
By "slow and clunky" I mean it'll tell you it has an update, but opening the app first shows you a page of ads for the latest apps that you don't need right now. Then when you click on the "updates" tab, you get the old spinning beach ball for an inordinate amount of time before it finally tells you what updates are available. Often it'll just be a massive iTunes update that requires you to quit Safari(!?!) before installing.
iOS doesn't use the app store for system updates (did it ever?) -- it's in Settings, which I think makes sense. It would be a good course correction if macOS were to do the same.
(edit: typos)
On multiple systems, using multiple versions of OSX[1], I have actually never gotten the app store to even launch properly.
Luckily, system updates for SL came via the apple menu so it wasn't an issue. In Mavericks, however, it took multiple (sometimes 8 or 10) tries just to fire up the app store without an infinite beach ball in order to do simple OS updates.
[1] Snow Leopard and Mavericks
https://developer.apple.com/videos/play/wwdc2016/701/
That page: Streaming is available in Safari, and through the WWDC app.
Me: "Right."
FFmpeg handles .m3u8 files just fine now, as does VLC and mplayer.
Here's the playlist hiding in the HTML of the above page: http://devstreaming.apple.com/videos/wwdc/2016/701q0pnn0ietc...
That master playlist further references sub-playlist URLs for each resolution, so you can pick the resolution you want manually if you like.
- 1080p: http://devstreaming.apple.com/videos/wwdc/2016/701q0pnn0ietc...
- 960x540 (the one I grabbed; 718MB): http://devstreaming.apple.com/videos/wwdc/2016/701q0pnn0ietc...
I downloaded it with
ffmpeg -i <URL> -c copy apfs.tsThe convoluted way he uses to get there should one day make him President. Basically it's "they're unifying file systems across iOS and macOS" -> "they must be unifying something else" -> "They must be getting rid of root".
Never mind that they could effectively do that today, without a filesystem switch, with System Integrity Protection. Yes, you can boot into the rescue system and deactivate it but nobody does, and those that do don't make a difference. Because (assuming Apple's goal is revenue), SIP in /Applications would be enough to destroy the market for independently distributed applications.
"For some, this will feel like a bleak story.
Or even a scary one.
In the name of security."
Or maybe... In the name of love.
Or strangely important(ish) sounding short paragraphs.
Encryption in this context is about native support for full-disk encryption. It's completely removed from the iOS mechanisms that stop you from accessing the file system, which is based on signatures.
https://github.com/micromdm https://micromdm.io/community/
Also, Apple has finally released the protocol, which previously was behind the Enterprise Developer portal.
https://developer.apple.com/library/content/documentation/Mi...
Will this also support iOS, e.g. per-app VPN profiles, VPN certs?
There's a lot of work that needs to be done for micromdm to be a usable replacement in the enterprise though. Right now it's still a experiment -- the focus(at least for me) is to try to create a tool which is extensible(API driven) and one that will be acceptable in environments where people today use configuration management everyday.
If there comes a time when I can't just "brew install" the stuff I need, the Mac becomes useless (to me) as a development platform. If I were simply forced to install stuff in my home directory, I guess that would be okay.
I wonder what the story would be for things that (currently) need root or kernel access, though, like FUSE or VMware.
I agree with other comments that this particular article seems a bit speculative and overblown, but the Mac has been increasingly locked down for several years now so it's worth thinking about.
Mobile devices are now powerful enough that they could connect to a screen and display a desktop environment to perform everyday tasks. I'm almost certain Apple isn't doing this because it would canibalise its products.
If the rumoured Andromeda OS by Google is what I'm describing, macOS and Windows will become the trucks of desktop OSs.
OS X and now macOS already has System Integrity Protection, where a large portion of the filesystem cannot be touched even by root.
Maybe they'll eventually move that to its own partition?