Keychain Access Service returns -25308 UserInteraction not allowed

Number:rdar://14560931 Date Originated:26-Jul-2013 12:23 PM
Status:Open Resolved:
Product:iOS SDK Product Version:6.1.3
Classification:Security Reproducible:Rarely
26-Jul-2013 12:23 PM Amruta Krishna Ravavarapu:
Summary: Keychain Access Service returns -25308 UserInteraction not allowed when trying to access the keychain items data when the app is launched. This happens when the user tries to use the app after restarting the device. We are using the default kSecAttrAccessible attribute value (i.e. kSecAttrAccessibleWhenUnlocked). This doesn't happen consistently. 

Steps to Reproduce: Set the pin lock for the device. Run the sample project on the device and reboot the device and unlock your device.  Use the app after restart, and it should crash. Since we are raising unhandled exception when we get this error.

Expected Results: Should be able to give access the keychain service since the user has unlocked his device and every app should be able to access its own keychain items.

Actual Results: Sometimes, after the reboot of the device and the unlocking of the device, we are not able to access keychain service since it is throwing an error -25308 UserInteraction not allowed 



26-Jul-2013 12:23 PM Amruta Krishna Ravavarapu:
'' was successfully uploaded


It's resolved ? I have same issue in 2019 year :)

By subach.pavel at Jan. 30, 2019, 10:12 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!