iOS: keychain on new devices or on restores

情到浓时终转凉″ 提交于 2019-12-12 04:49:28

问题


I thought about storing important and sensitive information in iOS' keychain. But now I read that the keychain is only restored if the backup is encrypted in iTunes (don't know about iCloud backups). This is especially a problem when users buy a new iPhone/iPad and restore them from a backup. The information stored in the keychain by the old device will be lost.

Is there any (secure) possibility to transfer the data to new devices or on restores independently of the backup settings?


回答1:


You can transfer data using the iCloud, but this is NOT really secure! Save this data ENCRYPTED on your server and let the app read this data would be a solution. Btw. you shouldn't save sensible data unencrypted in the keychain. The keychain can be read really easy after jailbreak.

For more information about handling with sensible data you may read this book: Hacking and securing iOS Applications



来源:https://stackoverflow.com/questions/17921931/ios-keychain-on-new-devices-or-on-restores

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!