Hacker News new | past | comments | ask | show | jobs | submit login

On iOS the Documents and Library folders exist per application in a sandbox, so those can be deleted with the app binary. Preferences like location permissions are reset too. But some things persist, like the app's related keychain data, which might contain a user session. Apps have the choice of where they store things and therefore what behavior to give users in a delete and reinstall scenario.

Of course any files saved in iCloud Drive or "On my iPhone" stay put, which users would expect.

I think the value of retaining the keychain is related to 1. automatically deleting least recently used apps and restoring them when a user goes to launch them, and 2. restoring from encrypted backups, in which the downloaded apps are not backed up themselves, slowly install after the restore completes, and find the keychain data waiting for them.

If I recall, not all methods of backup include the keychain, which I think was the difference between having to sign into every app again or just a few due to a new device's Secure Enclave. These days if you get a new device you'll have a much better time with the phone-to-phone migration assistant then a backup and restore.




Good to know the details, thank you.

It's sounds like a good feature, however,

> "But some things persist, like the app's related keychain data, which might contain a user session."

this is also functioning as a "super cookie". Once you've installed a Google app, Google will always know it's you. Even when reinstalling/using another account.

Apple should provide a mechanism to clear these items too, and prevent tracking users.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: