iOS 12.2 Keychain returns weird data

Hi Apple team,


We are storing and retreiving data in Keychain, the process is working fine in all OS and devices. But in some devices especially in iOS 12.2, when app trying to fetch the data from Keychain, it is returning wrong data.


Eg., We are storing the data AB21-DC42 in keychain but it is returning Aw4kaldk421/r/n21.... (we are storing 36 character data but returning 100 characters data).


Please help us resolve this issue.

Replies

This doesn’t match any keychain failure mode that I’m aware of. Can you reproduce this yourself? Or are you just seeing it being reported from devices in the field?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Dear Eskimo,


Thanks for your reply,


From our end we are not able to reproduce the issue, but this issue has been reported by the end user of our Mobile app.


Storing the UUID into the Keychain and retriving it is common to all the iOS app users, but some iOS 12.2 users are getting 100 characters of UUID on retrival from keychain.


Regards,

Sri

From our end we are not able to reproduce the issue …

Yeah, that makes things tricky.

Are you in touch with a user that’s experiencing this problem? Can you send them an ad hoc build with extra debugging enabled?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"