Is keychain password a backup of iTunes / iCloud?

I could not find a definite answer to this in the official documentation.

Does kSecAttrAccessible affect the behavior of backing up a keychain item for the kSecClassGenericPassword class or not?

Only kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly explicitly states that the item has not been reserved. AFAICS, the only reason kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly makes this explicit is because it is designed.

Does this mean that kSecClassGenericPassword backup is an implementation detail and as such may change?

+5
source share
1 answer

The emphasis is mine.

iCloud Backup acts as an iTunes backup without a password: keychain items are included in the backup, but they are enclosed in a key for a specific device. Thus, they can only be restored on the device on which they were originally backed up , which means that they are lost when restoring the backup to another device.

Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Kernel OS, and Hardware

Link: https://forums.developer.apple.com/message/282490#282490 enter image description here

+1
source

All Articles