dimanche 10 mai 2015

Weird iOS Keychain access group behaviour

Recently we added Apple Pay support to our project and it caused some problems accessing data stored in iOS KeyChain. Basically we couldn't access "old" data that was stored before adding the entitlements file. In the entitlement file we only got the com.apple.developer.in-app-payments value (we don't used shared keychain groups).

I manually dumped the keychain data from the simulator and noticed that the "old" data access group (agrp) is set to test and the new data (I wrote a value to the same "default" keystore to understand the difference) agrp is set to the bundle identifier.

Anyone knows what's the "test" agrp and why the old data gets that access group? More importantly - is there any way to access that old data again?

Aucun commentaire:

Enregistrer un commentaire