SAMKeychain icon indicating copy to clipboard operation
SAMKeychain copied to clipboard

iOS 12,iPhone X,Keychain data lost

Open qtechdrew opened this issue 6 years ago • 5 comments

We store an encrypted string in keychain as the password for Touch ID or Face ID login,but some of our users fail to load this string which make them unable to use Touch ID/Face ID login, is there any bugs that will cause this problem.BTW,most of the abnormal devices are iPhone X with iOS 12.0.1

qtechdrew avatar Oct 26 '18 09:10 qtechdrew

Yes, we too. I tried to find why the device_id that is a number saved in the keychain didn't not find, but I don't know why all the time. So please have a look, Sir.

yinanwang1 avatar Jan 03 '19 08:01 yinanwang1

Yes, we too. I tried to find why the device_id that is a number saved in the keychain didn't not find, but I don't know why all the time. So please have a look, Sir.

  • We use "Security" framework to save device_id in Keychain directly and meet the same problem.
  • Have you solve the problem or any other info?

kuyeluofan avatar Jan 10 '19 12:01 kuyeluofan

Load data form keychain when user locked iphone, I got error.The error code is errSecInteractionNotAllowed.what can I do to fix this error??

6lihaitao avatar Feb 14 '19 02:02 6lihaitao

I am also facing the issue that sometimes keychain data gets lost. It seems to be related with turning the device off and on again but neither is it reproducble nor do I have any idea whether it's a SAMKeychain bug or a genereal iOS keychain problem.

luzianscherrer avatar Feb 20 '19 13:02 luzianscherrer

Hi everybody, as some of you may know, there are known and unsolved issues with Keychain in general, where access to data, in certain weird conditions results in a failure in a completely random way. Maybe the answer at the below link may help you to solve this issue:

https://stackoverflow.com/questions/51830841/intermittent-temporary-ios-keychain-failure/57400690#57400690

LucaIaco avatar Aug 07 '19 19:08 LucaIaco