I have some code that stores data in keychain. The code is working during unit testing. The value that I store is Data However, when I specify
kSecClass : kSecClassGenericPassword, I get OSStatus 0 - success
kSecClass : kSecClassInternetPassword, I get OSStatus -25303
What are the storage requirements or differences between kSecClassGenericPassword and kSecClassInternetPassword? (Same code fails with kSecClassInternetPassword)
Update: potentially the internet password query was missing one of the required fields, like kSecAttrServer
,not kSecAttrService