Reputation: 4377
I created an iOS test app that applies NSFileProtectionComplete
for a test file's NSFileProtectionKey attribute. I kill the app, and lock the device with a passcode. I then SSH into the device. In the SSH session, I can still read the test file as if it wasn't encrypted or any protection was put in place.
Using FileDP via SSH on the test file, the protection level shows up as expected which was set to NSFileProtectionComplete
.
I tried logging in as both root and mobile via SSH and the results are the same. Is on device encryption disabled if the device is jailbroken?
Or is SSH not a reliable test if the file has been protected? If not SSH, how should file protection be tested?
Upvotes: 3
Views: 1075
Reputation: 3794
Make sure:
Note that:
Upvotes: 2