News for hackers. Stuff that matters.
Re:Apple introduces end-to-end encryption for backups by joshstrange on Wednesday December 07, 2022 @02:02PM (#33898634)
The number of people in the comments complaining or finding new places to move the goalposts to is astounding.

> what good is that encryption, if Apple obviously can do almost anything with your device?

> They can still simply push a software update that sends the victim's keys to the mothership and/or simply decrypts everything

> This all just seems like pandering while they continue to accept billions from Google in exchange for their user's privacy.

> Couldn’t they simply use an encryption algorithm that has two private keys and they control one?

Apple could say they are going to cease operations tomorrow, close down the company, and people would comment "Yeah but they could always create a new company". I guess for those people nothing is ever enough.

This is a huge step forward (specifically iCloud E2EE) that I'm super excited about and people are busy coming up with threat models that 99% of us have zero use for and pretending as if this doesn't matter. It's disappointing.

Re:Apple introduces end-to-end encryption for backups by smoldesu on Wednesday December 07, 2022 @02:10PM (#33898748)
> It's disappointing.

What's disappointing is that Apple has zero accountability for any of these services. Nobody would be so critical of iCloud if it wasn't your only sync option on iPhone, but they force everything to go through them. Apple says 'trust us ;)' and gives the user no way to confirm that they're not decrypting your data as soon as it hits their servers.

The argument is the same as it's ever been. Apple took away too much of the user's control; if the iPhone were a more open platform, nobody would be squabbling over our only sync option.

Edit: Background Sync has apparently been available as an API since iOS 13, but that doesn't change Apple's lack of accountability wrt security practices.

Re:Apple introduces end-to-end encryption for backups by teekert on Wednesday December 07, 2022 @02:22PM (#33898912)
The only sync option? My Pictures go to NextCloud, my contacts and calendar are on NextCloud, and in contrast to Android (I recently switched) I don't even need an app (like davx5, great app though, as said here) to sync them, it all just works from the standard contacts and calendar app. Oh and the mail app doens't push me anywhere, it just works with my local provider via IMAP.

My vpn is a Wireguard server (and some Tailscale, recently tested mullvad, works great as well), my position is updated to my family via Home Assistant, Bitwarden pops up automatically anywhere I need to enter a password. Podverse is great for podcasts.

Sure, it's a walled garden and I have my annoyances but much less so than I was led to believe before I got my first iPhone last year. I find it easy to swap out default components where I don't like them (like iCloud and Apple podcasts) and use them when they are superior (like the calendar and mail app, I was always trying 3rd party apps on Android).

Re:Apple introduces end-to-end encryption for backups by smoldesu on Wednesday December 07, 2022 @02:38PM (#33899124)
Does your NextCloud sync in the background like iCloud does? I don't believe third-party apps have access to background usage, unless something has changed since I last used iOS.
Re:Apple introduces end-to-end encryption for backups by sirn on Wednesday December 07, 2022 @02:44PM (#33899215)
Photos are synced in the background via location change events (and thus requiring Location permission). It can be a bit unreliable from time to time, but generally works. Contacts and calendars are synced in the background via iOS' CalDav/CardDav integration.

Nextcloud app also exposed itself as file provider in Files.app, so it's possible to use it in place of iCloud Drive for apps that use the appropriate API. (Unfortunately most apps use CloudKit, which sync over iCloud.)

Re:Apple introduces end-to-end encryption for backups by smoldesu on Wednesday December 07, 2022 @02:46PM (#33899238)
Ah, I see this now. Me and my boyfriend tried switching to Nextcloud a few years ago, but this wasn't implemented on iOS yet so we had to look elsewhere. Nice to see this opened up, it's about time. Hopefully they'll reverse their sideloading opinions as well.
Re:Apple introduces end-to-end encryption for backups by teekert on Thursday December 08, 2022 @05:14AM (#33906296)
It really got a lot better over the past years indeed. I do miss support for Heic, recently NC just decided to upload Jpeg instead of Heic, and I have mixed feeling about that (Jpeg just works, the new pictures app is great because of it... But I would prefer to have heic and live images everywhere...).
Re:Apple introduces end-to-end encryption for backups by baxtr on Wednesday December 07, 2022 @02:42PM (#33899188)
That was a 5s google search.

You’re welcome.

https://help.nextcloud.com/t/ios-background-sync/145197

Re:Apple introduces end-to-end encryption for backups by diarrhea on Wednesday December 07, 2022 @02:21PM (#33898905)
I’m syncing almost all data via Nextcloud. That includes actual files as well as contacts and calendars. The files are obviously on my iPhone, but not in iCloud. In fact, iOS makes CalDAV and CardDAV as easy as they could be. It’s natively supported, whereas Android requires an extra, paid for app (worth the money though).

Other synchronisation like Joplin and Zotero happens via WebDAV. My iCloud is basically empty yet I have every file I could ever need on both iOS as well as iPadOS. Some apps I don’t care for sync via iCloud, that’s all so far. I’m not bought into the whole ecosystem (i.e. apps) too much though. If all you use are apps that only support iCloud, that’s a problem indeed.

Re:Apple introduces end-to-end encryption for backups by rrix2 on Wednesday December 07, 2022 @02:54PM (#33899347)
fwiw davx5 is libre licensed and available in fdroid: https://f-droid.org/en/packages/at.bitfire.davdroid/

there is also a free fork of davx5 on Play as OpenSync: https://play.google.com/store/apps/details?id=com.deependhul...

agree that it should be bundled in to the system though....

Re:Apple introduces end-to-end encryption for backups by canes123456 on Wednesday December 07, 2022 @02:20PM (#33898882)
Apple offers local backups. Every cloud backup depends on "trust us", even if open source, externally audited, etc. They can offer a third party online sync option but that seems like functionality would open up more security holes than it fixes. You would just have bad actors convincing users to sync to their servers.

If you don't trust Apple, you should also not trust other cloud back up services. Just turn off iCloud

Re:Apple introduces end-to-end encryption for backups by julkali on Wednesday December 07, 2022 @02:23PM (#33898937)
FWIW, you can sync files with Nextcloud on IOS and it works fine. Also automatically syncs photos which makes it a viable alternative for cloud storage on iPhone. What it doesn't sync are things like settings, though.
Re:Apple introduces end-to-end encryption for backups by teekert on Wednesday December 07, 2022 @02:30PM (#33899032)
Did your photo's also recently got synced to JPEG (by NC), whereas at first the heic's were uploaded? Heic works poorly in browser on other platform so JPEG is ok, would prefer heic to work everywhere though...
Re:Apple introduces end-to-end encryption for backups by ericmay on Wednesday December 07, 2022 @02:30PM (#33899028)
> The argument is the same as it's ever been. Apple took away too much of the user's control; if the iPhone were a more open platform, nobody would be squabbling over our only sync option.

It's just moving the goalposts. If Apple gave you more control then people would demand that the source code for the chips be open source, or that you could stand over the shoulder of the person assembling your iPhone and make sure they don't plug in a USB drive and install some malware. It's a never-ending battle. You're just going to have to start trusting Apple and other companies, or build your own device from raw materials you mine yourself.

Re:Apple introduces end-to-end encryption for backups by fnordpiglet on Wednesday December 07, 2022 @02:56PM (#33899378)
This isn’t actually true. Yes they don’t give you personally the ability to conduct assurance on their controls. That couldn’t scale. But they do allow large corporations looking to standardize on apple tech, governments, and other like entities the opportunity to verify the controls, their effectiveness, and continued compliance. Further they generally have to attest to their controls under a variety of regulatory regimes with third party auditors verifying.

Your startup may be able to weaken or circumvent your controls and no one would know. But is not true of apple.

Re:Apple introduces end-to-end encryption for backups by jjtheblunt on Wednesday December 07, 2022 @02:34PM (#33899090)
What? I sync to Google for instance and iCloud, and use Azure as well.
Re:Apple introduces end-to-end encryption for backups by scarface74 on Wednesday December 07, 2022 @02:37PM (#33899120)
How is this the only sync option? My pictures go to iCloud, OneDrive, Google Photos and Amazon’s photo storage.

My Contacts and calendar can sync with any provider that supports whatever porn standards are behind it.

When I save and load files using the iOS file dialog, it shows every storage provider I have installed - Dropbox, OneDrive, iCloud Drive and I assume Box if I had it.

Re:Apple introduces end-to-end encryption for backups by rootusrootus on Wednesday December 07, 2022 @02:27PM (#33898998)
I don't use iCloud for anything. Dropbox gets my pictures, Google has my contacts, 1Password handles my passwords, etc.
Re:Apple introduces end-to-end encryption for backups by dmitriid on Wednesday December 07, 2022 @02:45PM (#33899228)
> Nobody would be so critical of iCloud if it wasn't your only sync option on iPhone

I sync my photos with Google Photos because they are a magnitude faster and more predictable than Apple's own Photos.

My passwords are in 1Password.

Can't really say I sync much else.

Re:Apple introduces end-to-end encryption for backups by threeseed on Wednesday December 07, 2022 @02:34PM (#33899091)
iPhone launched with local syncing 3 years before iCloud.
Re:Apple introduces end-to-end encryption for backups by gigantaure on Wednesday December 07, 2022 @02:31PM (#33899049)
> Apple took away too much of the user's control;

Apple couldn't take away what it never gave in the first place. Anyone using an IOS device should have a basic understanding that Apple highly integrates their devices, OSes and services.

Re:Apple introduces end-to-end encryption for backups by zuhsetaqi on Wednesday December 07, 2022 @02:21PM (#33898907)
> Apple took away too much of the user's control;

Apple didn't took away anything. It wasn't there in the first place and never promised.

Re:Apple introduces end-to-end encryption for backups by AshamedCaptain on Wednesday December 07, 2022 @02:40PM (#33899164)
> new places to move the goalposts

"moving the goalposts"?

Since when has closed source unverifiable crypto been a good idea? Since when has it been a good idea to trust a provider that fully controls the encryption algorithm to also be the only possible store for your supposedly encrypted data?

This is no better than Facebook claiming that Whatsapp is now "E2EE" encrypted. It's a useless PR tactic. If you mistrust Facebook, why would you suddenly trust their unverifiable claim that the data is now E2EE? You could have an argument if at least 3rd party clients were allowed, so that you could detect when they silently change the protocol. But not even that.

There's absolutely no _technical_ thing they could do to gain any trust. The goalpost has never been there.

Re:Apple introduces end-to-end encryption for backups by brookst on Wednesday December 07, 2022 @02:50PM (#33899288)
> why would you suddenly trust their unverifiable claim that the data is now E2EE

> It's a useless PR tactic.

Maybe because a single whistleblower would bring down the mother of all class action lawsuits?

Hardcore anti-corporate types like to imagine that these companies are evil geniuses, where all 100,000 employees are operating in perfect alignment, with no mistakes or disagreements, and all secrets are kept perfectly.

It just doesn't work like that. Threat model it for a second: how many more phones is Apple going to sell with this? Maybe a 1% increase, to wildly overestimate it? And what would be the financial harm from a single engineer popping on HN and saying "it's all BS, phones send the keys to the cloud, I worked on the system to store them."?

> There's absolutely no _technical_ thing they could do to gain any trust.

Well, that's true. But there's also no non-technical thing they could do. It is literally impossible to prove perfect technical compliance on an ongoing basis using any combination of technical and non-technical means.

That goes for open source too. Evil compilers, etc, can turn perfectly solid source into malicious binaries. The compiler's source can even be perfectly secure.

At some point you have to think about probabilities and motivations, and move away from this "anything not 100% perfect, which BTW is not possible, is 100% useless" world view.

Re:Apple introduces end-to-end encryption for backups by AshamedCaptain on Wednesday December 07, 2022 @02:52PM (#33899324)
> Maybe because a single whistleblower would bring down the mother of all class action lawsuits?

Sure, like that is going to happen. I mean, "Facebook can read your supposedly-encrypted Whatsapp messages" will raise how many eyebrows exactly?

> But there's also no non-technical thing they could do

No, that's untrue. For starters, release the source. Allow me to run my own backup software on their servers. Allow me to transparently run my own encryption before I upload stuff to their servers. And a very long etc.

> anything not 100% perfect, which BTW is not possible, is 100% useless

This is 100% useless not because it is not 100% perfect (it very well could be), but because it is 100% useless by conception. What threat model does this protect against exactly? The scenario where Apple servers get compromised? I'm quite sure this risk does not even enter the mind of the target audience here, and if it did, the hacker could very well push the silent update anyway. The scenario where Apple itself has access to the data? This does absolutely nothing to prevent it. The scenario where someone can social engineer an Apple employee to give your iCloud key to someone else? It was already not possible.

Re:Apple introduces end-to-end encryption for backups by brookst on Wednesday December 07, 2022 @03:01PM (#33899430)
> What threat model does this protect against exactly?

Two big threats: 1) insider attacks like the Saudi Twitter infiltration[0], and 2) Overreach by legitimate government process like subpoena[1].

> release the source

Useless. How do you know it's the exact source running on-device?

> Allow me to run my own backup software on their servers

Useless. How do you know your own backup software isn't compromised via a secret deal with Apple?

> Allow me to transparently run my own encryption before I upload stuff to their servers.

Useless. How do you know the OS isn't grabbing the raw files? How do you know your own encryption isn't compromised? How do you know that Xcode isn't inserting backdoors in the encryption you compiled from source?

> And a very long etc.

All useless. Tell me your perfect solution and I promise I can show it's useless (by your standards).

[0] https://en.wikipedia.org/wiki/Saudi_infiltration_of_Twitter

[1] https://ijunkie.com/your-icloud-data-phenomenal-law-enforcem...

Re:Apple introduces end-to-end encryption for backups by AshamedCaptain on Wednesday December 07, 2022 @03:08PM (#33899537)
> Two big threats: 1) insider attacks like the Saudi Twitter infiltration[0], and 2) Overreach by legitimate government process like subpoena[1].

This does not prevent any of these threats, it does not even necessarily make them more difficult whatsoever. "Insiders" will still have access to the source code doing the encryption and communications, and it is just not possible to protect against government overreach that can literally force you to do anything and keep quiet about it, even in otherwise relative sane countries. Search for NSA letter.

I actually don't expect any corporation to be above the government, fwiw, but this is off-topic.

> Useless. How do you know it's the exact source running on-device?

Because you built it yourself?

> Useless. How do you know your own backup software isn't compromised via a secret deal with Apple?

Because it's YOUR OWN backup software?

> Useless. How do you know the OS isn't grabbing the raw files? How do you know your own encryption isn't compromised? How do you know that Xcode isn't inserting backdoors in the encryption you compiled from source?

Because I have the source of the OS and I built it myself? Because I have literally used the same compiler I use for other platforms and not Facebook's? Because I can then actually monitor the actual communications between the device and the mothership? etc. etc.

The point of this entire thing was to show that _there is_ non-technical policies they can do to actually increase the trust level (or at least have a discussion about it -- as you are), but there is very few technical stuff they can do to increase it, and that's because it would miss the entire point. It's not about "trusting trust perfection" or whatever you think you are trying to argue here. You are trying to protect stuff from Alice by trusting Alice without even being capable of verifying it. It just can't academically work. You need to either be able to verify it or at the very minimum separate both roles.

Re:Apple introduces end-to-end encryption for backups by brookst on Wednesday December 07, 2022 @03:19PM (#33899684)
> This does not prevent any of these threats, it does not even necessarily make them more difficult whatsoever. "Insiders" will still have access to the source code doing the encryption, and it is just not possible to protect against government overreach that can literally force you to do anything and keep quiet about it, even in otherwise relative sane countries. Search for NSA letter.

There you go again :)

You literally just said something that used to take a subpoena from any law enforcement now takes an NSA letter. And that an insider attack that used to mean retrieving a backup file now means inserting back doors in source code that go undetected.

And somehow those aren't even more difficult?

> Because I have literally used the same compiler I use for other platforms

https://www.awelm.com/posts/evil-compiler/

It is literally provable that Apple will never be able to satisfy you. For any mitigation they introduce, you can (rightfully) create a hole in that mitigation.

What you're missing is that the same flaws and attacks appear in all of your "it would be better if" solutions. Once you're invoking NSA letters and malicious source code, all bets are off... including for open source.

> It just can't academically work.

Yes, we agree on that. But it also doesn't work if you're protecting stuff from Alice by trusting Bob, who might be secretly an agent of Alice.

Re:Apple introduces end-to-end encryption for backups by AshamedCaptain on Wednesday December 07, 2022 @03:23PM (#33899732)
> You literally just said something that used to take a subpoena from any law enforcement now takes an NSA letter

I didn't say that. You said "overreaching government".

> It is literally provable that Apple will never be able to satisfy you

Nothing _technical_, that is, which has exactly been my point.

> Once you're invoking NSA letters and malicious source code, all bets are off... including for open source.

That's not true at all. There's an entire world of difference where "oh the software is just hidden from my eyes, communicating constantly and opaquely with the mothership, changeable at any moment by the same mothership, and all of it running in the same hardware also made by the same mothership" versus "I have these separate components that are only communicating through these channels in these clearly specified ways". The first only allows useless technobabble fake solutions, the second system actually allows discussion about trust and is usually the very minimum expectation of any cryptosystem.

> But it also doesn't work if you're protecting stuff from Alice by trusting Bob, who might be secretly an agent of Alice.

I don't see that as necessarily true either. But anyway, I can now choose between multiple providers for encryption, which _finally_ goes towards measurably increasing trust. Remember, despite the accusations, I have never claimed it had to be 100% trusting trust perfect, I am just claiming this one proposal is 100% useless. If you didn't trust Apple backups before and you would now, I'd question your judgement.

Re:Apple introduces end-to-end encryption for backups by judge2020 on Wednesday December 07, 2022 @03:03PM (#33899456)
> Sure, like that is going to happen.

Something like hacking into a journalist's phone would require a lot of cooperation between infrastructure, software, and security to actually perform a targeted attack.

Despite Apple's harsh warnings about leaking secrets, people at Apple have already been spilling the beans about Apple's upcoming Ad platform for over a year, and that's just for something as morally grey as ads that they're going to spin as "privacy preserving" anyways. For something that actually goes against <everything> Apple has ever stood for, like targeting a journalist's phone to read their communications or extract data and secret keys from their advanced protection-protected iCloud Backups, at least one of the hundred involved would find a comfy bunker to live in with a phone line leading straight to News Corp or NYT.

Re:Apple introduces end-to-end encryption for backups by sianemo on Wednesday December 07, 2022 @03:16PM (#33899647)
Do you honestly believe that a malicious actor who can access data storage can also necessarily access a silent mechanism to affect the security internals of a given iPhone? And also the theoretical hacker wouldn't be able to just push said theoretical silent update to your device to just exfil the data anyway?

Really having a hard time understanding the detailed security implications of your scenario beyond this vague notion you're presenting that a theoretical hacker can use theoretical tools to silently pwn any Apple device collected to the internet at any time.

Re:Apple introduces end-to-end encryption for backups by AshamedCaptain on Wednesday December 07, 2022 @03:21PM (#33899711)
> that a malicious actor who can access data storage can also necessarily access a silent mechanism to affect the security internals of a given iPhone?

A malicious actor who can access _already encrypted_ data storage where you cannot even associate files with a given account ID _without_ having already put a backdoor in the corresponding code may be able to actually put such backdoor in the software that is distributed to iPhones? Yes, I believe that.

Re:Apple introduces end-to-end encryption for backups by judge2020 on Wednesday December 07, 2022 @02:57PM (#33899386)
The goalposts have been moved because the leading argument for the past few years has been "it's not actually encrypted because you or the person you're talking to could be using iCloud Backup". Now all you have to do is make sure you and the people you talk to have this simple option enabled in settings (with the only risk being that you lose all your data if you need Apple Support to give you access to your iCloud again after losing all backup codes and encryption keys).

As for your actual argument, there are always tradeoffs when we implement "good" but not "perfect" encryption solutions. Here, your trust is indeed in Apple to not perform an evil maid attack, but for many of us, we trust that Apple doing this to a regular person (or journalist, or government official) would be absolutely devastating to their entire brand. Even if most people wouldn't care if Apple cooperated with the CIA to perform a coup in $x country via sending out targeted malware to the leader's phone, they still stand to lose hundreds of billions of, if not a trillion, dollars over the following decade in lost iOS product sales, due to them purposefully hacking their own product to steal user data.

Re:Apple introduces end-to-end encryption for backups by jdiez17 on Wednesday December 07, 2022 @02:55PM (#33899355)
Closed source applications like WhatsApp can be and in fact are reverse engineered by researchers who want to verify the end-to-end encryption claim. For example, see this BlackHat talk: https://i.blackhat.com/USA-19/Wednesday/us-19-Zaikin-Reverse...
Re:Apple introduces end-to-end encryption for backups by bdominy on Wednesday December 07, 2022 @02:53PM (#33899336)
In an ideal world, E2EE would be in high demand and used anytime sensitive info is exchanged between parties, but the reality is that most people don't know about it or the protections it provides. If FB and Apple can educate people about E2EE, even as a PR tactic, it helps grow that awareness.
Re:Apple introduces end-to-end encryption for backups by karaterobot on Wednesday December 07, 2022 @02:20PM (#33898884)
Shouldn't people demand more and more privacy protections? It's not like these changes solve the problem. Since Apple is managing so much data, they must keep it secure and give users the ability to maintain privacy and confidentiality, even with respect to Apple itself. I think the goal post has stayed pretty constant, Apple just keeps moving in a zig-zag pattern that occasionally involves backward steps.
Re:Apple introduces end-to-end encryption for backups by brookst on Wednesday December 07, 2022 @02:54PM (#33899348)
> Shouldn't people demand more and more privacy protections?

Yes!

> It's not like these changes solve the problem.

Perhaps because it is impossible to 100% solve the problem?

A lot of people, me included, are just tired of the endless litany of "50% secure is not secure! 75% secure is not secure! 90% secure is not secure! 99% secure is not secure! 99.9% secure is not secure! 99.999% secure is not secure!"

There is no 100%. Hearing the same level of outrage over a 0.001% gap that we heard over a 50% gap is just fatiguing.

Especially in this audience, everyone knows there is no such thing as verifiable perfect security. Asymptotic progress towards that is interesting; decrying the latest improvement as no better than no security at all just feels... IDK, lazy.

Re:Apple introduces end-to-end encryption for backups by bdominy on Wednesday December 07, 2022 @02:44PM (#33899216)
In my experience having released an E2EE contact info sharing app, most people don't think about privacy protection and they won't tolerate much inconvenience to add them. So the more a large company supports efforts to mainstream E2EE, the better it is for everyone.
Re:Apple introduces end-to-end encryption for backups by Klonoar on Wednesday December 07, 2022 @09:40PM (#33903430)
HN is increasingly not the best source for technical discussion due to the bias you're noting here. It's unfortunate given the general level of discussion that's historically been happening here.

I find Matthew Green's take more useful than just about anything in this thread - someone who's very critical of Apple but able to articulate why this is overall net good:

https://twitter.com/matthew_d_green/status/16005676040154972...

Re:Apple introduces end-to-end encryption for backups by josephcsible on Wednesday December 07, 2022 @03:32PM (#33899833)
The issue is that it's not just that Apple "could" add client-side scanning or something tomorrow. It's that they've already tried to do so once.
Re:Apple introduces end-to-end encryption for backups by Blue111 on Wednesday December 07, 2022 @02:53PM (#33899335)
> The number of people in the comments complaining or finding new places to move the goalposts to is astounding.

But why does Apple want to be the only administrator on your device?

Note: "Apple Kills Its Plan To Scan Your Photos for CSAM"