SecKeychain deprecation

SecKeychain API has been declared deprecated a long time ago. Do people from Apple or developers have a rough idea when this API will be definitely removed? One year from now? More? Less?

Answered by DTS Engineer in 801687022
Do people from Apple … have a rough idea when this API will be definitely removed?

TN3137 On Mac keychain APIs and implementations talks about this, but it doesn’t offer any timeline.

Note that:

  • SecKeychain was deprecated because it’s intimately tied to the file-based keychain, which is largely deprecated in favour of the data protection keychain.

  • However, certain things — most notably, using the keychain from a daemon — are currently not supported by the data protection keychain.

If you’re able to use the data protection keychain, I recommend that you make a plan for migrating to it. If you’re not able to use the data protection keychain, write back with an explanation of as to why not.

Share and Enjoy

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

Do people from Apple … have a rough idea when this API will be definitely removed?

TN3137 On Mac keychain APIs and implementations talks about this, but it doesn’t offer any timeline.

Note that:

  • SecKeychain was deprecated because it’s intimately tied to the file-based keychain, which is largely deprecated in favour of the data protection keychain.

  • However, certain things — most notably, using the keychain from a daemon — are currently not supported by the data protection keychain.

If you’re able to use the data protection keychain, I recommend that you make a plan for migrating to it. If you’re not able to use the data protection keychain, write back with an explanation of as to why not.

Share and Enjoy

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

SecKeychain deprecation
 
 
Q