Thank you so much for the reply!
As -50 is a vague error code, I'm lost what should I look into. I know that I got the error after I added the kSecUseKeychain attribute. And looking at the documentation, I failed to find more information related to the keychain attribute Item Attribute Keys and Values. Would you have any information related?
Would you mind also providing more information about execution context? I'm not sure what is it about.
For the password example, I tried with a generic password, it pop out the same error: errSecInteractionNotAllowed. I guess the issue was with the execution context?
Topic:
App & System Services
SubTopic:
Core OS
Tags: