thrusty
thrusty

Reputation: 864

When are iOS keychain items removed?

I could have sworn this worked differently in previous versions of iOS, but as of iOS 4.0 it looks like my app's keychain items are not removed when the app is removed. However, it looks like some are cleared when the app is upgraded without first removing?

Can someone provide a clear explanation of when iOS keychain items are removed?

Upvotes: 24

Views: 25043

Answers (4)

ForceMagic
ForceMagic

Reputation: 6378

I was sad to found out that this is not the case anymore, the keychain won't persist anymore since 10.3.

See my reply here.

Upvotes: 0

Ocelot
Ocelot

Reputation: 1753

It persists even after app uninstall. For an enterprise scenario, you may configure n use MDM solution to control the device keychain.

Upvotes: -1

hotpaw2
hotpaw2

Reputation: 70703

If you do a secure wipe of the device, then you may get a fresh keychain.

Upvotes: 0

jps
jps

Reputation: 11597

As answered here, and somewhere else (I can't remember where I read it), the keychain will persist even after the app is removed. I am almost positive that the keychain isn't cleared unless you explicitly delete an item in it.

Upvotes: 19

Related Questions