简体   繁体   English

iOS磁盘上加密。 如果用户在加密文件后禁用了密码怎么办?

[英]iOS On-Disk Encryption. What if user disabled passcode after the file was encrypted?

I'm currently trying to understand how the iOS On-Disk Encryption works. 我目前正在尝试了解iOS磁盘上加密的工作方式。 I've read Protecting Data Using On-Disk Encryption in the iOS App Programming Guide. 我已阅读《 iOS App编程指南》中的使用磁盘上的加密保护数据 It says that user must have an active passcode lock set for the device. 它说用户必须为设备设置一个活动密码锁。

But some things are still unclear for me: 但是有些事情对我来说仍然不清楚:

Will application still be able to decrypt previously encrypted file if... 如果出现以下情况,应用程序仍将能够解密以前加密的文件吗?

  1. user will disable passcode? 用户将禁用密码?
  2. user will disable passcode and then enable it back with the same value? 用户将禁用密码,然后以相同的值启用它?
  3. user will change passcode? 用户会更改密码吗?

Yes. 是。 There really isn't much more to the answer. 答案确实没有更多。 The OS manages all of this for you. 操作系统为您管理所有这些。

If you want all the gory details, they're explained in the iOS Security Guide . 如果您需要所有详细信息,请参阅《 iOS安全指南》中的说明 It's not trivial to explain because there are multiple keys wrapped in keys, and various keys may be unwrapped and rewrapped when the user changes things. 解释起来并不容易,因为在密钥中包装了多个密钥,并且当用户进行更改时,各种密钥可能会被拆开和重新包装。 But the short version is "yes." 但是简短的版本是“是”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如果尚未启用用户密码锁,我如何使用iOS磁盘加密保护数据? - How can I protect data using iOS on-disk encryption when the user passcode lock has not been enabled? 如何从磁盘文件中指定与 iOS 模拟器兼容的金属纹理格式? - How do you specify a Metal texture format that's compatible with the iOS Simulator from an on-disk file? iOS密钥链是否在没有设备密码的情况下加密? - Is the iOS keychain encrypted without device passcode? 在iOS上是否可以通过设备密钥和应用专用密码使用硬件加密? - Is it possible on iOS to use the hardware encryption with the device key and an app specific passcode? iOS:获取iPhone密码以生成用于加密的对称密钥 - iOS: Get iPhone passcode to generate symmetric keys for encryption 强制用户在iOS中设置密码和屏幕超时 - Force user to Set Passcode and Screen Timeout in iOS iOS“数据保护”是否取决于用户密码设置? - iOS “Data Protection” depends on user passcode set or not? iPhone上是否有可用的磁盘缓存? - Is there on-disk cache available on iPhone? 如何在我的IOS应用程序中读取AWS-S3加密文件(AES-256加密)? - How to read AWS-S3 encrypted file (AES-256 encryption) in to my IOS application? 有没有办法在 iOS 钥匙串中使用 Touch ID 但不提示输入用户密码? - Is there a way to use Touch ID with the iOS Keychain but not prompt for the user passcode?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM