Skip to content

What is being backed up to iCloud? #5498

Closed
matrix-org/matrix-ios-sdk
#1361
@aaronraimist

Description

@aaronraimist

@faenil:matrix.org noticed this a few days ago https://matrix.to/#/!pMBteVpcoJRdCJxDmn:matrix.org/$oJZGCUKoKELfzzljZ5Liq3PxQ8h9Qx-vybxdp6oLKwg?via=matrix.org&via=privacytools.io&via=tchncs.de

Steps to reproduce

  1. Have iCloud Backup enabled
  2. Login to Element iOS
  3. Open Settings.app
  4. Tap your name
  5. Tap iCloud
  6. Tap Manage Storage
  7. Tap Backups
  8. Tap on your device
  9. Scroll down to Element

Outcome

What did you expect?

Element iOS shouldn't be backing up message contents, encryption keys, or media since to iCloud Backup since it is not end-to-end encrypted https://support.apple.com/en-us/HT202303

Alternatively if does backup things to iCloud, it should be encrypted by the app before it is backed up. I'm not sure what there would be to backup to iCloud though considering Matrix already has it's own key backup feature and the homeserver should be storing all of the other stuff.

What happened instead?

Element iOS has backed up a somewhat large amount of data. For me it was 58 MB.

image

I then sent a 6 MB image in an encrypted room and backed up to iCloud again. The backup increased to 88 MB.

image

I'm not sure what exactly is being backed up but I searched the repos for https://developer.apple.com/documentation/foundation/urlresourcekey/1408756-isexcludedfrombackupkey and didn't see anything marked as being excluded from backups. I'm guessing this means everything stored locally is being backed up.

For comparison my Signal iCloud Backup is only 300KB. It looks like they have excluded most stuff from being backed up signalapp/Signal-iOS@fb0281f.

Your phone model

No response

Operating system version

15.3

Application version

1.7.0

Homeserver

No response

Will you send logs?

No

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

O-FrequentAffects or can be seen by most users regularly or impacts most users' first experienceS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-DefectSomething isn't working: bugs, crashes, hangs and other reported problems

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions