SecKeychain API deprecated

My application runs as root and accesses the keychain file of all regular users. It uses SecKeychainOpen API to get a reference to the user keychain. Since this API is now deprecated, what would be the right approach to get reference to keychain of all users from root process.

My application runs as root and accesses the keychain file of all regular users.

Well, that puts you on very shaking ground, compatibility-wise. For example, this will fail if the user has a network home directory.

Why are you doing this?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

SecKeychain API deprecated
 
 
Q