Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does iOS clean keychain items automatically?

Tags:

ios

keychain

I use KeychainItemWrapper to store an identifier of my users in keychain of iOS. I noticed that when we uninstall the app, the identifier persist in the keychain yet; but I'm wonder Does iOS will clean the items automatically when the keychain goes so big? or some other applications can remove or access the items?

like image 276
Husein Behboudi Rad Avatar asked Jun 09 '16 13:06

Husein Behboudi Rad


People also ask

How does keychain work in iOS?

With iCloud Keychain, you can keep your passwords and other secure information updated across your devices. iCloud Keychain remembers things, so that you don't have to. It auto-fills your information—like your Safari usernames and passwords, credit cards, and Wi-Fi passwords on any device that you approve.

How do I clean up my Mac keychain?

In the Keychain Access app on your Mac, if your keychains aren't visible, choose Window > Keychain Access. Select a keychain in the Keychains list. Choose File > Delete Keychain [keychain name]. Click Delete References.

How secure is iOS keychain?

Everything stored in iCloud Keychain is secure—it's protected by industry-standard encryption. Your iCloud Keychain can't be set up on another Mac or iOS or iPadOS device unless you approve it.


1 Answers

It will be deleted if the device is wiped or restored, whatever that resets your device.

Access to the keychain is tied to the provisioning profile used to sign the app. Consequently no other apps would be able to access that app's keychain info. This answers your question about some other App being able to access your App's keychain items or not.

For reference: Same Question on Apple Developer Forum

like image 179
viral Avatar answered Sep 27 '22 02:09

viral